Search results display on Home Page instead of Search page
-
I’m using Woocommerce with the Storefront theme and I’ve made lots of customizations in my child theme. Versions are up-to-date.
When I use the basic Woo Product Search box, the results appear on what seems to be my Home Page, but without proper top margins. The welcome message that I added to my Store’s Front page is there below the Search heading. The rest of the page content – footers, header, sidebar are correct.
How do I make the Search Results appear on their own page, without this welcome message?
I’ve tried to follow other instructions for editing search.php and searchpage.php, but it doesn’t affect what page content is used. I’ve also created a specific Search page, using the searchpage.php template and it displays the product search box successfully (using get_template_part), but still redirects to that Home page template for results.
On the deployed site, I’ve tried adding my Help text into the Search Page via the page editor, instead of in the template page code, but it doesn’t appear. Shouldn’t it?
Here are links:
Main page with product search box
Search page, that doesn’t display help text and has the product search box (in addition to displaying it in the sidebar widget)
I thought Search Results would also use this page.Try searching for “flute” or another instrument. If you see the “Welcome” text, that’s what I don’t want there.
- The topic ‘Search results display on Home Page instead of Search page’ is closed to new replies.