Archived topic
Search results based on current page
3 replies · Started by Els on November 13, 2018
Hi,
i am planning on having two parts in my website, domain.com/consumers and domain.com/business.
Is it possible to get search results based on the current page? So if you are in domain.com/business/anything, you get only the searchresults for the /business/ part.
Do i need two different search forms, or do i have to edit the results?
Thanks in advance!
Hi there,
I'm not sure if that's possible (without some heavy coding). Would the search function only be searching that one page, or all of its sub-pages?
All of its sub-pages, including posts.
I've also thought of creating a wordpress multisite, but i'm not sure if that is a solution to my question.
Hmm, I can't think of a way to do this, unfortunately.
It may be worth asking over on wordpress.stackexchange.com.