Search only in the same category as the current post or page (single page)
There is no back-end option for this feature, but can be easily achieved by a small custom code. A similar code for archive pages can be found here.
What is this, and where do I put this custom code?
PreviousSearching within given categories/taxonomy terms onlyNextSearch only within the current category (or any taxonomy) archive
Last updated