wpexplorer

WordPress Next/Previous With Titles

Sep 22nd, 2012
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. <?php next_post_link('<div id="single-nav-left">%link</div>', '<span class="wpex-icon-chevron-left"></span>%title', false); ?>
  2. <?php previous_post_link('<div id="single-nav-right">%link</div>', '%title<span class="wpex-icon-chevron-right"></span>', false); ?>
Advertisement
Add Comment
Please, Sign In to add comment