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

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

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

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.