WordPress.org

Support

Support » How-To and Troubleshooting » display posts common to two or more categories

display posts common to two or more categories

  • cramdesign
    Member

    @cramdesign

    I have two categories, books and movies, and I want to display only posts that appear in both without repeats. Because I have other categories and would like to use the same template for this type of search, I would also like to be able to either pull the request from the url or from custom fields.

    It would be great if there was a way to simply display it with a url like for one category: /index.php/category/books/ but unless they are parent and child, I suspect that is not possible.

    This seems like it is probably a common need but I haven’t found the solution. I would be very appreciative for help or even a point to the right path. Thanks…

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘display posts common to two or more categories’ is closed to new replies.