Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › A Searchable Page
This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko 7 years, 6 months ago.
- AuthorPosts
- February 22, 2017 at 4:45 am #12067
Thank you for taking the time to help me. We are trying to make a certain page searchable http://www.aecontrol.us/productsnav/ we contacted the UberMenu plugin group and they said “UberMenu doesn’t create any custom post types. The standard WordPress post type for menu items is nav_menu_item.” I can’t find nav_menu_item as one of the post types how would I go about adding that in and making sure it matched with that page?
We have test page for the search while we are trying to get it to work on http://www.aecontrol.us/table-test-realm/ which is temporarily password protected 1qazxsw23edc
Thanks for your help. Let me know if you need any clarification.
Thanks,
Trent BowenFebruary 22, 2017 at 11:04 am #12071Hi Trent,
If I understand correctly you want to search and return the nav_menu_item custom post type as well. There is a way of making it happen, but it may not work as expected, as navigation menu items are a bit different from regular post types.
Anyways, by placing this custom code snippet into the functions.php file in your active theme directory will include the nav_menu_item custom post type as well for searching:
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.