• 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

Single CPT Template With Custom Fields, Widget & Page Navigation

This single template for custom post types works in Genesis child themes only.

The code generates 2 custom fields enabling you to add unique content to any/all single cpt pages.

The code also creates a widget area and adds single post navigation to every single CPT page.

template

You can also change the template from full width to content sidebar simply by removing one line of PHP code.

The order of the custom fields, widget and post navigation can also be changed simply by changing the hook position for each function.

Here’s the code and step by step installation instructions.

Register for full access

Related Tutorials

  • 5 Ways To Use a Single Post Template for Custom Post Types

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