daily pastebin goal
7%
SHARE
TWEET

pagination wordpress

zied86 Jan 23rd, 2013 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. query_posts('orderby=ID&order=desc&post_type=custom_post');
  3. theme_pagination();
  4.  
  5. while (have_posts()) : the_post();?>
  6.         <a href="<?php echo get_permalink(); ?>"><strong><?php the_title(); ?></strong></a>
  7.         <hr />
  8. <?php endwhile;?>
  9.  
  10. <?php theme_pagination(); ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top