Home › Forums › Support › secundary navigation position › Reply To: secundary navigation position
October 26, 2015 at 12:20 am
#147596
Tom
Lead Developer
Lead Developer
Not 100% sure this will work, but you can try creating a shortcode for the secondary navigation:
function generate_secondary_navigation_shortcode() {
if ( function_exists( 'generate_secondary_navigation_position' ) ) :
ob_start();
generate_secondary_navigation_position();
$output_string = ob_get_contents();
ob_end_clean();
return $output_string;
endif;
}
add_shortcode( 'generate_secondary_navigation', 'generate_secondary_navigation_shortcode' );
Then use this shortcode in a regular text widget: [generate_secondary_navigation]
Not sure it will work, and will most likely need a little CSS, but it should get you started 🙂