This topic contains 3 replies, has 2 voices, and was last updated by
- January 8, 2021 at 6:22 am #31050Participant
I’m not sure what is going wrong here, but if a user searches for something that doesn’t exist, there are 2 searchbars… I recently adjusted some Yoast settings but haven’t noticed this before, not sure if that would have contributed to this. Any help would be appreciated. Thank you in advance.
https://robotfaults.com/?s=intp+413&asp_active=1&p_asid=1&p_asp_data=1¤t_page_id=6&qtranslate_lang=0&filters_changed=0&filters_initial=1&asp_gen%5B%5D=title&asp_gen%5B%5D=content&asp_gen%5B%5D=excerpt&customset%5B%5D=post&termset%5Bcategory%5D%5B%5D=5&termset%5Bcategory%5D%5B%5D=6January 8, 2021 at 1:49 pm #31053Keymaster
Well, I guess you have the automatic search replacement feature active, and probably the theme automatically print the default search bar into the “no results” template – which is replaced with this search.Best,
If you turn that feature off, then I assume the default theme search bar will be visible there. Check the theme options, if there is a way to turn off the search bar from the results template. Otherwise it may have to be removed via editing the theme files.
If you like my products, don't forget to rate them on codecanyon :)
January 9, 2021 at 9:15 pm #31065Participant
I removed the get_search_form(); function from the theme file and that appeared to resolve, thanks for the support.January 11, 2021 at 1:40 pm #31067
You must be logged in to reply to this topic.