Okay
  Public Ticket #3600381
Turn off 'Salient Menu Item Options' possible?
Closed

Comments

  •  2
    d0r1an-web started the conversation

    Hello,

    I'm trying to use https://de.wordpress.org/plugins/category-posts-in-custom-menu/ on my newest project - but it does not seem to be compatible with Salient theme. It is supposed to show the latest # posts from Category X in the menu, instead it shows nothing.
    (Works fine with Twenty Twenty-One theme or if it's only one post in the category, but breaks with multiple posts)

    I'm guessing it's out of your scope to make it compatible with said plugin. Instead my idea was to turn off your Salient Menu Item Options for the whole menu since I don't need it anyways. Is that possible somehow, with a filter or something?

    Thanks for any advice!

    Cheers,
    Dorian

  •  8,838
    Tahir replied

    Hey Again,

    Escalating this to the developer for further response.

    Thanks.


    ThemeNectar Support Team 

  •  1,069
    ThemeNectar replied

    Hey Dorian,

    You can use the filter "nectar_menu_options_enabled" from your child theme and just set the hooked function to return false.

    Kind regards

  •  2
    d0r1an-web replied

    Hey ThemeNectar,

    I managed to turn the options off, thank you.

    It still doesn't work though, I'm guessing Salient still makes changes to the menu?
    'Salient Menu Item Options' is gone, but I'm still seeing 'Menu Item Style' - can this be turned off as well?

    Might be worth one last try.

    THX
    Dorian

  •  1,069
    ThemeNectar replied

    Hey Dorian,

    You can also remove the Menu Item Style with the following child theme addition:

    function nectar_nav_button_style() {
      return false;
    }
    

    Kind regards

  •  2
    d0r1an-web replied

    I've given up, it does not seem to be compatible with Salient.
    Thanks for helping out.
    Dorian