WordPress.org

Ready to get started?Download WordPress

Forums

how to get search.php to sort results by category (2 posts)

  1. mhains
    Member
    Posted 5 years ago #

    How can I get search.php to show me all the search results in category "a" before it shows me category "b"? i'd like to format the results differently based upon which category they belong to, grouping them all together.

    thoughts?

  2. shellyd
    Member
    Posted 5 years ago #

    :: bump ::

    Anyone have any ideas on this? I'm trying to sort my search results by category, too. E.g. somebody searches for "noodles" and the results show all posts in category "soups", then all posts in categories "pasta dishes" etc... anyone?

Topic Closed

This topic has been closed to new replies.

About this Topic