SHARE
TWEET

Untitled

a guest Feb 14th, 2012 39 Never
  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 } ?>
RAW Paste Data
Top