- February 18, 2019 at 2:54 pm #21150
I created a search and shortcode that I included on a page. I wanted to restrict search results to a single specific category.
Unfortunately, I keep getting results from the complete site. I tried the regular engines well as the indexed engine and both work the same.
I followed the instructions here
but this did not work either
This is the search field:
(just above the footer)
The search in the header is the global search and is supposed to search the whole site.
I found some examples on your site, but all were filters in functions.php to restrict result entries to the current category. What I’m looking for is the stock functionality in the GUI. It must be a single trick that I’m missing, however, both of us IT professionals have not been able to find it since last week.
If you must have the admin access I will send it, but first please share the trick to accomplish this simple task with us. Maybe the admin code will not be needed.
Thank youFebruary 18, 2019 at 3:28 pm #21151
You must be logged in to reply to this topic.