ajax search box

This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 6 years, 8 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #14158
    amany
    amany
    Participant

    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.
    #14164
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    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 :)


    #14169
    amany
    amany
    Participant

    Hello,
    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.
    #14177
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    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 :)


    #14182
    amany
    amany
    Participant

    yes is working

    thank you very much..

    #14183
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.