Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › my wp theme needs it searchform.php overriden
This topic contains 4 replies, has 2 voices, and was last updated by Ernest Marcinko 6 years, 1 month ago.
- AuthorPosts
- November 1, 2017 at 5:21 pm #15366
I need to have my theme search overridden with the “searchform.php” method. I’ve located the files. Not sure what to do though.
-
This topic was modified 6 years, 1 month ago by
Brock40.
November 2, 2017 at 8:04 am #15371Hi!
I’m assuming you want to replace the search bar in the header: https://i.imgur.com/ipbo6Vd.jpg
I have tried to log-in to the site, but I’m getting this security notice: https://i.imgur.com/Sg1ZDpm.png
Best,
Can you also add temporary FTP details as well? I will try to find which file has that form integrated and replace it for you if possible.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 3, 2017 at 12:18 pm #15374You cannot access this content.November 3, 2017 at 1:41 pm #15375Hi Ernest,
Yes, that is the search bar in the header I want replaced.
You should be able to login now, I didn’t realize I had wordfences security login options heavily restricted.
I don’t have FTP setup, but when you login and see the dashboard you will see something called “File manager”. It has a search feature built in to search for files and edit. I’ve located the searchform.php files using the builtin search feature with file manager. Just not sure exactly what I’m suppose to do from here to get the header search replaced.
Thanks,
Brent
November 3, 2017 at 10:54 pm #15380Hi!
Thank you, I believe I have found the source file.
I have replaced it’s contents with the plugin shortcode (left the original comment disabled). The file is: wp-content/themes/walker/framework/modules/search/templates/types/slide-from-header-bottom.php
I recommend copying over this fiel to the child theme, in case of update it should remain unchanged. You should be able to see the plugin search on the front-page now.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
-
This topic was modified 6 years, 1 month ago by
- AuthorPosts
You must be logged in to reply to this topic.