WordPress.org

Ready to get started?Download WordPress

Forums

Relevanssi - A Better Search
Problem filtering results by category (1 post)

  1. David M.
    Member
    Posted 2 years ago #

    OK, this is tricky and possibly not related to Relevanssi.

    I have this category tree in WP:

    1
    --11
    --12
    2
    --21
    --22

    The parent categories 1 and 2 are empty (no posts), they are used only as parents for the child categories.

    I search with Relevanssi and then I filter the results by category. The URL looks like:

    mysite/blog/?s=term&cat=1

    If I filter search by parent category 1, I get results from categories 11 and 12. Right.

    But I recently created parent category 2, and when I filter search by that category, I'm not getting results from categories 21 and 22. They should be there, since they appear if I don't filter at all, and they appear if I filter their proper child category (21 or 22), but not when filtering cat 2.

    If it is not Relevanssi-related but anyone knows any possible explanation, it'll be really useful. Having a precise search is my most important need.

    http://wordpress.org/extend/plugins/relevanssi/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic