Kind of carrying over this question from the wordpress plugin support site, now that I’ve purchased GP Premium.
I’m trying to not have the primary nav menu on single posts of a custom post type (ncpage). I activated the Blog module, and understand that should activate the filter I’m trying to use. Here’s what I have in functions php and is not working:
add_filter( 'option_generate_blog_settings', 'fp_no_nav' );
function fp_no_nav( $options ) {
if ( is_singular( 'ncpage' ) ) {
$options[‘single_post_navigation’] = false;
}
return $options;
}
Any thoughts?