Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1421479

    Hi,
    I#m looking for a possibility to change the main menu at some special sites (via functions.php or directly within Enfolds Options or….?). How can I manage this?

    Thanks for quick reply
    Tim

    #1421560

    Hi Tim,

    Please try the solution mentioned on this article: https://www.wpbeginner.com/plugins/how-to-add-conditional-logic-to-menus-in-wordpress/
    Hope it helps.

    Best regards,
    Nikko

    #1421741

    Hi Nikko,
    I don’t want to use plugins for every special need – it’s a security risk and make mainteancing the site more work. It is a bad habbit, using plugins for every need…
    Please show me a way via functions.php or so. Must be possible. “For a specific site id use a specific menu”. I guess the metioned plugin does it exaktcly like this.

    Thanks
    Tim

    #1421767

    Hi,
    Try this thread, if you have trouble setting it up please include an admin login in the Private Content area and explain which page you want which menu to show on so we can examine.

    Best regards,
    Mike

    #1421783

    HI Mike,

    looks exactly like what I need. How can I figure out the ID of the menus I created in the WP-Backend?

    Thanks
    Tim

    #1421787

    Hi,
    Go to your menus and hover over the “delete menu” and you should see a browser tool tip for the URL, in the URL you should see the menu ID like this screenshot that shows menu=12
    Enfold_Support_3602.jpeg

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.