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' );

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.