WP SITES

3082 Coded Tutorials & 284 Plugins

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

Leave a Reply

New Plugins