Reply To: Double search

#16993
Ernest Marcinko
Ernest Marcinko
Keymaster

Hi!

I believe the best solution for this would be to use a custom javascript instead of PHP.

Add this custom code to the functions.php in your theme/child theme directory (copy from line 3 only!). Before editing, please make sure to have a full site back-up just in case!

Change the ID variable to the search shortcode ID, which you want to affect by this code. The URL is the redirect url. The phrase is appended to the end of it.

I hope this helps!

Best,
Ernest Marcinko

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