• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Add Single Post Navigation To Any Theme

This code includes 4 separate snippets which you need to paste into 3 different files to achieve something like this.

post nav after single posts

functions.php – Paste the code which includes the template-tags.php file and conditionally hooks in the template tag using the genesis_entry_content hook which can be changed to any other theme specific or WordPress hook like the_content()

template-tags.php – Create a new file name template-tags.php and paste all the code into this new file including the opening php tag. Upload this file to your child themes root directory.

style.css – Add this sample CSS code which can be easily modified near the end of your child themes style.css file before the Media Queries section.

Register for full access

Related Tutorials

  • Cool Previous & Next Links

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems