WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Search only category x or categories x,y,z (6 posts)

  1. jrodgers
    Member
    Posted 6 years ago #

    Is there a methodology for the search form that will allow me to specify which categor(y|ies) i want to use in the search process, e.g.: a hidden field i can add to the search form where i can list the categor(y|ies) to search?

  2. moshu
    Member
    Posted 6 years ago #

    Maybe a plugin that enhances WP's basic search feature.

  3. jrodgers
    Member
    Posted 6 years ago #

    been looking ...can't seem to find one, is there a codex page on the search functions? can't find that either

  4. jrodgers
    Member
    Posted 6 years ago #

  5. moshu
    Member
    Posted 6 years ago #

    да... :)
    It is a "real WP site". It is even listed in the Codex.

    There is also something called "search everything" - see the Extend > Plugins section.

  6. jrodgers
    Member
    Posted 6 years ago #

    thanks but the search everything in an inclusive search, where as i need more of a restricted search on a per page basis, so if i am in the news-funny category the search option by default searches only that category and any child categories, but by the user clicking a checkbox (for example) the search is site wide or vice versa default is site wide check to search only category xyz

    i think the search in category plugin is a good place for me to start, not too good with php, but I'll see what i can get with some code tweaking

    thanks again

Topic Closed

This topic has been closed to new replies.

About this Topic