Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $args = array( 'post_type' => 'staff', 'orderby'=> 'title', 'order' => 'ASC', 'posts_per_page' => 10, 'paged' => $paged);
- $queryPost = new WP_Query( $args );
- while ( $queryPost->have_posts() ) : $queryPost->the_post();
- ?>
- <div class="td_mod6 td_mod_wrap staff span3" itemscope="" itemtype="http://schema.org/Article">
- <div class="thumb-wrap">
- <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">
- <?php the_post_thumbnail('thumbnail', array('class' => 'entry-thumb','itemprop' => 'image')); ?>
- </a>
- </div>
- <h3 itemprop="name" class="entry-title"><a itemprop="url" href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
- </div>
- <?php endwhile;?>
- </div>
- <?php echo td_page_generator::get_pagination();
- ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment