WordPress.org

Ready to get started?Download WordPress

Forums

Query posts and multiple tags (1 post)

  1. jeremyduffy
    Member
    Posted 5 years ago #

    I'm using query posts with arrays as inputs. Here's a sample

    Array ( [posts_per_page] => 15 [paged] => 1 [orderby] => post_name [order] => DESC [post_type] => post [category__in] => Array ( [0] => 106 ) [tag__any] => Array ( [0] => 1492 [1] => 1493 ) )

    I did the repeat on the tag__any based on the advice on the query posts page, but it doesn't seem to work for tag__any, just tag__and. Is there a way for tag__any to work?

Topic Closed

This topic has been closed to new replies.

About this Topic