Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="site_width">
- <ul>
- <?php
- $args = array( 'tag' => 'featured', 'posts_per_page' => '3' );
- $recent_posts = wp_get_recent_posts( $args );
- ?>
- <li>
- <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" rel="nofollow">
- <?php the_post_thumbnail('featured', array( 'title' => '' )); ?>
- </a>
- <label>
- <a href="<?php the_permalink(); ?>" rel="bookmark">
- <?php the_title(); ?>
- </a>
- </label>
- </li>
- <?php wp_reset_query(); ?>
- </ul>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement