wpdreams / ajax-search-pro-development

Issues and dev tracking repository for Ajax Search Pro for WordPress plugin
0 stars 0 forks source link

Search input in Wordpress Menu system #88

Closed JCIWebAdmin closed 4 months ago

JCIWebAdmin commented 4 months ago

Is it possible to add functionality whereby an ajax search input field is available in to the "menu items" in Wordpress' menu settings? This would allow integrating search input field in the main menu or a submenu – especially applicable for mobile menus.

Thank you Richard Stevens

ernestmarcinko commented 4 months ago

Hi Richard,

This is already possible via adding the plugin shortcode as a menu item. I will keep this open though, there might be a simple way of adding a meta box to the editor screen.

If it's not too difficult, then I can probably add it to the next release.

ernestmarcinko commented 4 months ago

Looks like this is going on a trial. Let's see if we can work out something.

Todo

References

https://wordpress.stackexchange.com/questions/30347/how-to-add-meta-box-to-backend-menu-page https://johnmorrisonline.com/how-to-add-a-fully-functional-custom-meta-box-to-wordpress-navigation-menus/ https://developer.wordpress.org/reference/functions/add_meta_box/

ernestmarcinko commented 4 months ago

This has been finished and merged to 4.26.6