Hi David works perfect.
Just to know, if I need to also configure the navigation in the home.
To add is_front_page () and is_product () in the same filter code
This is the correct way to do it?:
add_filter( 'option_generate_menu_plus_settings', 'lh_custom_homepage_menu_plus_settings' );
function lh_custom_homepage_menu_plus_settings( $options ) {
if ( is_front_page() ) {
$options['mobile_header_sticky'] = 'disable';
}
if ( is_product() ) {
$options['mobile_header_sticky'] = 'disable';
}
return $options;
}
Thanks for your time