This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 14th, 2012  |  syntax: None  |  size: 0.84 KB  |  views: 36  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php if (is_page_template('album.php')) { ?>
  2. <div class="more_entries">
  3.         <div class="fr"><?php next_posts_link(__('Older Entries &raquo;', '')) ?></div>
  4.         <div class="fr"><?php previous_posts_link(__('Newer Entries &raquo;', '')) ?></div>
  5.         <br class="break" />
  6. </div>
  7. <?php } ?>
  8. <?php if(is_single()) { ?>
  9. <div class="more_entries">
  10.         <div class="fr"><?php previous_post_link('%link','Previous photo &raquo;'); ?></div>
  11.         <div class="fr"><?php next_post_link('%link','Next photo &raquo;'); ?></div>
  12.         <br class="break" />
  13. </div>
  14. <?php } ?>
  15. <?php if (is_archive()) { ?>
  16. <div class="more_entries">
  17.         <div class="fr"><?php next_posts_link(__('Older Entries &raquo;', '')) ?></div>
  18.         <div class="fr"><?php previous_posts_link(__('Newer Entries &raquo;', '')) ?></div>
  19.         <br class="break" />
  20. </div>
  21. <?php } ?>
clone this paste RAW Paste Data