WordPress.org

Forums

Show posts in multiple categories, with "and" semantic (2 posts)

  1. ultrotter
    Member
    Posted 9 years ago #

    Hi!

    I noticed that it's possible to display posts present in at least one of a list of categories by using a link like: http://my.blog.address/?cat=1,2

    Is there any way of asking wordpress to display posts only if they are in *both* two (or more) categories?

    Thanks,

    Guido

  2. MichaelH
    Member
    Posted 9 years ago #

    The_Loop#Exclude_Posts_From_Some_Category discusses excluding Categories but you could use incorporate the theory to include Categories.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.