Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php /* The loop */
- $temp2 = $wp_query;
- $wp_query= null;
- $wp_query = new WP_Query();
- $wp_query->query('showposts=4'.'&paged='.$paged.'&category_name=Donations');
- /* declare variable, use it to call 4 posts, with Donations Category */
- ?>
- <?php while ($wp_query->have_posts()) : $wp_query->the_post(); ?>
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <header class="entry-header">
- <div class="entry-thumbnail">
- <?php the_post_thumbnail(); ?>
- </div>
- </header><!-- .entry-header -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement