• Hi

    I’m working on a site that I didn’t build. There was a place put in for a featured video on the side of the homepage. It is linked to a featured video category. When I put the youtube url a post and check the featured video category the video is not showing up on the homepage. There is obviously some disconnect happening but I can’t figure out where it is. The URL is daily-download.com. Here is the featured video code from the homepage in case it helps.

    <div class="featured-video" style="margin-bottom:20px;">
    	<h2 class="bg" style="font-size:16px;line-height:20px;">Featured Video</h2>
    <?$categories = array( 3, 5, 6, 8, 9, 10, 11 );
    $args = array(
    	'category__in' => 5464,
    	'posts_per_page' => 1,
    	'paged' => $pagenum,
    	'orderby' => 'date',
    	'total' => 1,
    	'order' => 'desc'
    	);
    $query = new WP_Query( $args );
    
    while( $query->have_posts() ) : $query->the_post();
    	?>
    <a>" rel="prettyPhoto" title="<? the_title?>" alt=" title="<? the_title?>"><?php echo the_post_thumbnail('medium');?></a>
    
    <?
    	endwhile;

    [Please post code & markup between backticks or use the code button. Your posted code has now been permanently damaged by the forum’s parser.]

    I’m not sure if this is enough information to help, but if it is I would appreciate it!
    thanks

  • The topic ‘Featured video not showing’ is closed to new replies.