Guest User

Untitled

a guest
Nov 12th, 2013
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.86 KB | None | 0 0
  1.                 <?php
  2. $args = array( 'post_type' => 'staff', 'orderby'=> 'title', 'order' => 'ASC', 'posts_per_page' => 10, 'paged' => $paged);
  3. $queryPost = new WP_Query( $args );
  4. while ( $queryPost->have_posts() ) : $queryPost->the_post();
  5.  
  6. ?>
  7.                
  8.                 <div class="td_mod6 td_mod_wrap staff span3" itemscope="" itemtype="http://schema.org/Article">
  9. <div class="thumb-wrap">
  10. <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">
  11. <?php the_post_thumbnail('thumbnail', array('class' => 'entry-thumb','itemprop' => 'image')); ?>
  12. </a>
  13. </div>
  14. <h3 itemprop="name" class="entry-title"><a itemprop="url" href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
  15. </div>
  16. <?php endwhile;?>  
  17. </div>
  18.                 <?php echo td_page_generator::get_pagination();
  19.                 ?>
  20.  
  21.             </div>
Advertisement
Add Comment
Please, Sign In to add comment