Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- get_header(); ?>
- <div id="primary">
- <div id="content" role="main">
- <div id="pet_gallery">
- <ul class="petlist">
- <?php
- $query = new WP_Query(array('post_type' => 'pet', 'status' => 'adopt'));
- while ($query->have_posts()) : $query->the_post();
- ?>
- <li>
- <h2><a" title="<?php the_title(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
- <a href="<? the_permalink()?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_post_thumbnail( 'thumbnail' ); ?></a>
- </li>
- <?php endwhile; wp_reset_query(); ?>
- </ul><!-- #pet post list -->
- </div> <!-- #pet_gallery -->
- </div><!-- #content -->
- </div><!-- #primary -->
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement