WordPress.org

Support

Support » Plugins and Hacks » Multiple Tags in PHP Query

Multiple Tags in PHP Query

  • <?php $recent = new WP_Query("tag=Tag1&showposts=25");

    I’m just a hack when it comes to code. If I want to display posts that have tag1 AND tag2 (not OR), how would that work?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Multiple Tags in PHP Query’ is closed to new replies.
Skip to toolbar