Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › ajax search box
This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko 6 years, 1 month ago.
- AuthorPosts
- August 7, 2017 at 1:44 pm #14158
Hello,
I would like to remove the Ajax search Pro setting from “Add Item” page from the backend (see attachment) because the client wants to stick with the WP tags and categories. But keeps the main Ajax search function.
Could you please help me with that?
Thank you.Attachments:
You must be logged in to view attached files.August 7, 2017 at 4:27 pm #14164Hi!
On the top of the screen, if you hit the ‘Screen options’ menu, you can hide those options, by unchecking the ‘Ajax Searhc Pro settings’ checkbox, like so: https://i.imgur.com/pX34vVi.png
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
August 8, 2017 at 7:13 am #14169Hello,
thank you for your response.
yes i am aware with this option but if you notice in the attachment i remove the Screen options because its a user page and i need to remove “Ajax search box” by default.so the user doesn’t have to remove it manually.
is there any code for that?
thank you.Attachments:
You must be logged in to view attached files.August 9, 2017 at 6:07 am #14177Hi!
Yes, you can actually remove it by either using this code in the functions.php file in the theme directory (copy from line 3):
..or if that does not work, then deactivating it manually by disabling line 225 in file wp-content\plugins\ajax-search-pro\includes\classes\core\class-asp-manager.php :
//require_once(ASP_PATH . "/backend/metaboxes/default.php");
I recommend using the custom code, as it will work after updates as well.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
August 9, 2017 at 11:51 am #14182yes is working
thank you very much..
August 9, 2017 at 11:53 am #14183You cannot access this content. 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.