Created
November 6, 2013 15:17
-
-
Save csknk/7337739 to your computer and use it in GitHub Desktop.
Next and Previous Post Links, Thesis 2.1 hook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /**Next & previous post link**/ | |
| function add_next_post() { | |
| ?><div class ="half"><?php echo previous_post_link('%link', '« View the Previous News Item');?></div><?php | |
| ?><div class="half_right"><?php echo next_post_link('%link', 'View the Next News Item »');?></div><?php | |
| } | |
| add_action('hook_bottom_next_post', 'add_next_post'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment