• Hi,i’m currently using the following:

    ‘tag_slug__and’=>array(‘a’)

    the question is how do i search for more than 1 tag, so i want to display all posts that contain tag a OR tag b!!!

Viewing 1 replies (of 1 total)
  • Thread Starter xdesi

    (@xdesi)

    I am sorry for the bump but can nobody help me with this simple problem? I have tried searching but could not find an example in relation to mine??

    I tried using tag_slug__or’=>array(‘a’,’b’)
    But this just returns all posts not the ones with the tag a or the tag b.
    I tried using tag_slug__and’=>array(‘a’,’b’)
    This returns nothing at all.

    tag_slug__and’=>array(‘a’)
    Works. But i want to display posts from multiple tags, so with tag a or tag b or tag c etc etc….

Viewing 1 replies (of 1 total)
  • The topic ‘Search for more than 1 tag (tag_slug__and)’ is closed to new replies.