Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $args = array(
- 'posts_per_page' => 1,
- 'tag' => 'featured',
- );
- $featured = new WP_Query($args);
- if($featured->have_posts()): while($featured->have_posts()): $featured->the_post();
- the_title();
- the_content();
- endwhile; else:
- endif;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement