Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php // Now Playing posts loop
- global $post;
- $args = array(
- 'numberposts' => 1,
- 'cat' => 278
- );
- $vidposts = get_posts( $args );
- foreach( $vidposts as $post ) : setup_postdata( $post );
- ?>
- <div class="home-post">
- <div class="home-thumbnail homepage-thumb">
- <?php if ( has_post_thumbnail() ): ?>
- <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_post_thumbnail('homepage-thumb'); ?></a>
- <?php endif; ?>
- </div><!-- .home-thumbnail -->
- <h4><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h4>
- <?php the_excerpt(); ?>
- <?php do_action('wanda_after_podcast_post'); ?>
- <div class="clear"></div>
- <div class="wanda-filed-under">
- Filed Under: <?php the_category(', '); ?> | <?php comments_popup_link(); ?>
- </div>
- </div> <!-- .home-post -->
- <?php endforeach;?>
- <?php wp_reset_query(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement