This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

ajax search box

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #14158
    amanyamany
    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.

    #14164
    Ernest MarcinkoErnest 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: http://i.imgur.com/pX34vVi.png

    #14169
    amanyamany
    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.

    #14177
    Ernest MarcinkoErnest 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 :

    [php]//require_once(ASP_PATH . "/backend/metaboxes/default.php");[/php]

    I recommend using the custom code, as it will work after updates as well.

    #14182
    amanyamany
    Participant

    yes is working

    thank you very much..

    #14183
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.