Doesn't work.

This topic contains 4 replies, has 2 voices, and was last updated by  tapio 2 weeks, 1 day ago.

  • Author
    Posts
  • #2974
    tapio
    Participant
    • Topics: 1
    • Replies: 2

    Hi, Vinod.
    I am very excited to use this plugin as this plugin received lots of full 5 star reputation.

    Btw, I have some problems in using this plugin.
    I’ve followed the guide but it is not working.

    1. I’ve installed the plugin activated it.
    2. I’ve confirmed the “Primary Menu” is assigned already.

    Can you have some time to fix this issue for me, please?

    Thanks.

  • #2975
    Vinod Dalvi
    Keymaster
    • Topics: 0
    • Replies: 318

    Hi @tapio,

    Sorry to hear of the problem you are having.

    Could you please share me your site URL where it’s happening so that i can troubleshoot it?

    This can be theme issue used on your site so to confirm it just temporary use the Twenty Seventeen theme instead on your site. If everything works fine then it’s your theme issue.

    Also this can be due to plugin conflict on your site so please try temporary deactivating all plugins except Add Search TO Menu plugin and see whether everything works fine and then enable the plugins one by one to see which plugin is conflicting if any.

    Best regards,
    Vinod Dalvi

  • #2977
    tapio
    Participant
    • Topics: 1
    • Replies: 2

    Hi, Vinod.
    Thanks for your quick response.

    I solved this issue by adding ‘theme_location’ option to the wp_nav_menu() function. i.e:

    wp_nav_menu( array(
              'theme_location' => 'primary-menu',  // this option
              'menu' => 'Primary Menu',
              'menu_id' => 'primary-menu',
              'depth' => 2,
              'container' => false,
              'menu_class' => 'primary-menu'
         )
    );

    Regards,
    Tapio.

  • #2979
    Vinod Dalvi
    Keymaster
    • Topics: 0
    • Replies: 318

    Ok so it seems your theme issue.

    Awesome great to see you got that solved.

    Please advise if you have more questions.

    Have a fantastic day!

  • #2981
    tapio
    Participant
    • Topics: 1
    • Replies: 2

    +1

You must be logged in to reply to this topic.