WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Search Everything] Search within a Category (6 posts)

  1. noelgreen
    Member
    Posted 6 years ago #

    I use this plug-in already, and LOVE it, but there's one thing I need the ability to do that it doesn't do yet.

    When someone is on my site and browses to one of the categories (let's say "cats") then does a search for something (let's say cheese), I want it to only search for the term "cheese" WITHIN the "cats" category.

    In other words, I want the search to only query the category that is currently being browsed.

    I know I'm not the only one that wants this too. :)

    http://wordpress.org/extend/plugins/search-everything/

  2. Sonika
    Member
    Posted 6 years ago #

  3. saganaki
    Member
    Posted 6 years ago #

    @Sonkia

    The ease of implementation of that last suggestion is great! I'm looking for something more complex, but that will work extremely well until the blog gets much bigger. Kudos.

  4. saganaki
    Member
    Posted 6 years ago #

    Actually this one "www.site.com/category/dogs/?s=doberman"

    doesn't work after all - it searches the entire site

  5. flick
    Member
    Posted 6 years ago #

    Do the other plugins work at all?

  6. Sonika
    Member
    Posted 6 years ago #

    saganaki, it works! Look here:
    http://www.megatour.su/category/sochi/?s=sochi (wp 2.3.3)
    http://mywordpress.ru/plugins/category/files/?s=punmail (wp 2.5.1)
    Maybe you should read about Template Hierarchy and make a template file for search results search.php

Topic Closed

This topic has been closed to new replies.

About this Topic