Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › add search to primary menu › Reply To: add search to primary menu
December 17, 2015 at 9:30 am
#7110
Hi!
WordPress does not allow putting shortcodes to menus unfortunately. The only possible way is to edit the corresponding PHP file and put the search shortcode before or after the menu element.
Ususally the header menu is displayed in the header.php file in your active theme directory. You will have to use the PHP shortcode of the plugin: https://goo.gl/DLrp2n
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
![](https://wp-dreams.com/assets/envato/comment-button-knowledgebase.png)
![](https://wp-dreams.com/assets/envato/comment-button-support.png)
![](https://wp-dreams.com/assets/envato/comment-button-facebook.png)
![](https://wp-dreams.com/assets/envato/comment-button-twitter.png)