- August 7, 2017 at 1:44 pm #14158
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?
Attachments:You must be logged in to view attached files.August 7, 2017 at 4:27 pm #14164August 8, 2017 at 7:13 am #14169
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?
Attachments:You must be logged in to view attached files.August 9, 2017 at 6:07 am #14177
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,
If you like my products, don't forget to rate them on codecanyon :)
August 9, 2017 at 11:51 am #14182
yes is working
thank you very much..August 9, 2017 at 11:53 am #14183
You must be logged in to reply to this topic.