Jump to content

Babaman

+ Customer verified
  • Posts

    52
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Babaman

  1. .dooplay_player .options ul li span.server {display:none}
  2. would it be nice an anti-adblock function on the inside players, with this plugin it's possible?
  3. Thanks for this, so the search results are also cached
  4. You use the_content function in almost every page of your dooplay theme. For instance you use in peliculas.php, series.php file and it will echo all the content for one post or page. But you don’t want to show all content. Maybe only 80 words. Here how you can limit the_content Using Custom Function This method is going to be the best and most flexible way to limit the_content words length. Write the following custom function in your functions.php file. function dooplay_content($limit){ $content = explode(' ', get_the_content(), $limit); if (count($content)>=$limit){ array_pop($content); $content = implode(" ",$content).'...'; } else { $content = implode(" ",$content); } $content = preg_replace('/\[.+\]/','', $content); $content = apply_filters('the_content', $content); $content = str_replace(']]>', ']]&gt;', $content); return $content; } Use the custom function instead of the_content. For example: <?php echo dooplay_content(80); ?>
  5. Stack Lemp and Set Up Nginx FastCGI Cache + Cloudflare DNS
  6. Hello guys, I read this guide for a more seo friendly title, very interesting https://perishablepress.com/how-to-generate-perfect-wordpress-title-tags-without-a-plugin/ I need to add custom Keyword to the tag <title>, like "streaming hd" after the movie title or TV series. I saw that it can be done from the Dbmovies panel -> settings -> tab title, but it is published on the page, it's not what I want. Help for this could be useful to many people example: <title> <?php if (is_home()) { bloginfo('name'); echo ' | en Streaming' ;} elseif (is_category()) { single_cat_title(); echo ' en Streaming | ' ; bloginfo('name');} elseif (is_single()) { single_post_title(); echo ' ('; $category = get_the_category(); $parent = get_cat_name($category[0]->category_parent); if (!empty($parent)) {echo ''. $parent; } else { echo ''. $category[0]->cat_name; }echo')'; $terms_as_text = strip_tags( get_the_term_list( $wp_query->post->ID, 'anno', '(', ', ', ')' ) ); echo $terms_as_text; echo ' in Streaming e Download Cacaoweb|Nowvideo';}//echo get_post_meta($post->ID, "subtitle", true); elseif (is_page()) { bloginfo('name'); echo ' | '; single_post_title();} elseif (is_author()) { echo 'User '; wp_title(); echo ' | '; bloginfo('name');} elseif (is_tax('cast')) { echo 'Filmografia '; $term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy')); echo $term->name; echo ' in Streaming | '; bloginfo('name');} elseif (is_tax('director')) { echo 'Filmografia '; $term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy')); echo $term->name; echo ' in Streaming | '; bloginfo('name');} elseif (is_tax('year')) { echo 'Film del '; $term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy')); echo $term->name; echo ' in Streaming | '; bloginfo('name');} else {wp_title('',true);} ?> </title> Thanks
  7. Hello, I want to enable jwplayer for compatibility with AirPlay and Chromecast, how should I proceed? https://support.jwplayer.com/articles/how-to-enable-casting-and-airplay Thanks
  8. ok solved, it was enough to select URL MP4, it also works with m3u8
  9. Custom CSS .dooplay_player .options ul li span.server{display:none}
  10. hello guys but assistance for this theme exists?
  11. I apologize if I have the wrong section, I ask the admin to move
  12. I use the loco translate plugin https://wordpress.org/plugins/loco-translate/ it works very well
  13. hello guys I want to feed a hls m3u8 stream to jwplayer, how can I do? I can't find the documentation to be able to move me? I ask you for help thanks
×
×
  • Create New...