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

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Add Sidebar To Navigation Pro Single Posts Template

The way Navigation Pro is coded, doesn’t let you change the layout on single posts because of this line of PHP code located around line 31 in image-functions.php.

What happens if we remove the code which checks to make sure the layout used is full width:

genesis_site_layout() === 'full-width-content' &&

Then you get this :

Resulting in this :

You can then change the layout by adding this line of code to the Navigation Pro themes single.php template file :

add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_content_sidebar' );

Featured Image Layout Navigation Pro Theme

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.