• Resolved ucelme

    (@ucelme)


    Hello. Can I put search between menu items? I figured out how I can place search in front of all items or after all items. But I need to place in between menu items I select. Can this be done?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    I hope you are well today and thank you for your question.

    You can achieve this by modifying following plugin hook added in the plugin file /add-search-to-menu/includes/class-is.php

    add_filter( 'wp_nav_menu_items', array( $public, 'wp_nav_menu_items' ), 99, 2 );

    Alternatively, we can try achieving this developing CSS code if you share me your site URL.

    Best regards,

    Thread Starter ucelme

    (@ucelme)

    Hello. And how it should be modified? I don’t understand.

    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    You have to develop custom and If you are not familiar with WordPress coding then as requested above, could you please share me your site URL where it’s displaying so that I can help you?

    Can you add code to have different positions for different nav menus as well?

    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    @lorddemos90 I have created a feature request for it so that it will be implemented in the future version of the plugin.

    In the meanwhile, you can achieve this developing code as described above in this topic.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Between menu items’ is closed to new replies.