Hello All, I am trying to develop wordpress blog with youtube plugin I am using theme called wordtube and plugin called tubepress auto youtube plugin but after activated both and make the configuration the thumbs not showing and the videos also. so anyone can help me to solve this issue or recommend to me another theme or another plugin? check please http://youtubeavideos.info Thanks
I'm pretty sure that WordTube is not designed to be used with a YouTube plugin. To make a WordTube post, you enter a thumbnail link and an embed code. The index page simple retrieves twelve thumbnail links for each section. TubePress works differently because it grabs videos directly from YouTube depending on the shortcode used. You will not get the exact same look because the TubePress gallery is different to the one in WordTube. In this comment, the maker of WordPress comfirms the problem. This might work but it might not It's the default index.php file from WordTube, but with TubePress shortcodes in place of the galleries. <?php get_header(); ?> <div id="content"> <div class="postsbody"> <? global $options; foreach ($options as $value) { if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } } ?> <div class="ads1"> <? if ($wt_ad1) { ?> <? echo $wt_ad1; ?> <? } else { ?> <img src="<?php bloginfo('stylesheet_directory'); ?>/ads/ad1.png" alt="" /> <? } ?> </div> <div class="featured"> <h2>Featured Videos</h2> <div style="padding:15px 0 15px 20px;"> [tubepress] </div> </div> <div class="ads2"> <? if ($wt_ad2) { ?> <? echo $wt_ad2; ?> <? } else { ?> <img src="<?php bloginfo('stylesheet_directory'); ?>/ads/ad2.png" alt="" /> <? } ?> </div> <div class="featured"> <h2>Latest Videos</h2> <div style="padding:15px 0 15px 20px;"> [tubepress] </div> </div> </div> <?php include (TEMPLATEPATH . '/sidebar_right.php'); ?> </div> <?php get_footer(); ?> Code (markup): You will need to mess around with the shortcodes and TubePress settings to get it right.
Ah sorry! I forgot that shortcodes only work in posts or pages. According to this post, it can still work with a few changes: <?php get_header(); ?> <div id="content"> <div class="postsbody"> <? global $options; foreach ($options as $value) { if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } } ?> <div class="ads1"> <? if ($wt_ad1) { ?> <? echo $wt_ad1; ?> <? } else { ?> <img src="<?php bloginfo('stylesheet_directory'); ?>/ads/ad1.png" alt="" /> <? } ?> </div> <div class="featured"> <h2>Featured Videos</h2> <div style="padding:15px 0 15px 20px;"> <?php echo do_shortcode('[tubepress]'); ?> </div> </div> <div class="ads2"> <? if ($wt_ad2) { ?> <? echo $wt_ad2; ?> <? } else { ?> <img src="<?php bloginfo('stylesheet_directory'); ?>/ads/ad2.png" alt="" /> <? } ?> </div> <div class="featured"> <h2>Latest Videos</h2> <div style="padding:15px 0 15px 20px;"> <?php echo do_shortcode('[tubepress]'); ?> </div> </div> </div> <?php include (TEMPLATEPATH . '/sidebar_right.php'); ?> </div> <?php get_footer(); ?> Code (markup): Sometimes it works but other times only the shortcode appears. I'm not sure why that happens yet. Failing that, just create a page and put the tubepress shortcode in it, then set that as the main page.