Click in search box to show settings – possible?

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Click in search box to show settings – possible?

This topic contains 3 replies, has 2 voices, and was last updated by MatthewFass MatthewFass 7 years ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11089
    MatthewFass
    MatthewFass
    Participant

    I would like to get rid of the settings icon in the upper right hand corner search box and change the functionality so that the settings checkboxes appear when a visitor clicks in the box. Is this possible?

    Thanks,

    Matthew Fass
    Developer
    Thinking Partners
    [email protected]
    http://thinking-partners.com/
    917-497-7852

    #11093
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    To hide the settings icon, go to the Frontend search settings -> General panel: https://i.imgur.com/4DWssHw.png

    There is no option for opening the settings on input focus, but with a simple javascript snippet using the plugin API it’s possible. I’ve quickly put together a possible solution for you. Just include it in the functions.php file in your theme (or preferably child theme) directory (copy from line 3):

    There is also an addition to hide the settings once the results are displayed. If you want to learn more about the search JS api, you can find it here.

    Let’s hope this works!

    Best,
    Ernest Marcinko

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


    #11220
    MatthewFass
    MatthewFass
    Participant

    Thank you for the reply. Will try this.

    #11221
    MatthewFass
    MatthewFass
    Participant

    Thank you for the reply. Much appreciated. Will try this. And thanks for creating such powerful and useful software.

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

You must be logged in to reply to this topic.