pre-filled search bar

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 7 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #12186
    Laurent Le Ny
    Laurent Le Ny

    Hello !
    I am looking for a solution to place the search form below an article with the title of this article pre-written in the search bar.
    I searched in options but I feel this is not possible.
    Do you have an idea ?
    It’s not for me but for a customer.
    Thank you

    Ernest Marcinko
    Ernest Marcinko


    It is actually possible, without changing anything in the core code, but with a small custom snippet.

    Try placing this into the functions.php file in your currently active theme directory:

    Ernest Marcinko

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

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

You must be logged in to reply to this topic.