I’m using a third party theme with an existing site. When I search, I’m finding no records and the page that is returned has a search form that searches Wordpress posts and pages. I’ve found that if I add s=”some value” to the url string, that it’s functioning as expected. What could be causing this and what is the solution?
Hi,
It appears that you are using the default WordPress search widget instead of the one provided by HivePress. If it’s not the WordPress search form, there should be ?post_type=hp_listing parameter in the URL.
Make sure that you have added the HivePress search form using the block or shortcode, rather than the default WordPress search.
If the issue persists, please try switching the theme to determine if it is theme-related. Additionally, try disabling third-party plugins and test the search again.
Hi kseniia,
Thank you. If I use the Hivepress theme, it’s working correctly, so it’s something about the theme this site is using - which I can’t change. Disabling plugin didn’t make a difference. Post_type=hp_listing is in the url, but it’s also in the url when I use the Hivepress theme. I am using the Hivepress search form. I’m not seeing any errors in the log. What else can I check?
Could you please share your website URL or send it privately to support@hivepress.io so we can check the search form and identify what might be causing the issue?
Thank you, yes. The directory is here https://hln.planetlink.com/business-directory/
Thank you for the details.
The issue is caused by a third-party theme that is overriding the search page template. Some themes have a higher priority and can replace the template. Unfortunately, we cannot assist with troubleshooting third-party theme issues.
Please consider using one of our themes or another 100% compatible theme: Compatibility with third-party themes - HivePress Help Center. If you’re familiar with coding, you can try to identify which file or function is causing the conflict.