Assigns tags and/or categories to posts containing specific text strings, handy for filtering within the loop.
An example of query_posts():
<?php query_posts("cat=-10&paged=$paged") ?>
Here's a cleaner version excluding posts tagged with tag ID 42:
<?php $args = array( 'category__not_in' => array( 10 ), 'tag__not_in' => array( 42 ), 'paged' => $paged, ); query_posts($args); ?>
Requires: 2.8 or higher
Compatible up to: 4.0.8
Last Updated: 2014-9-24
Active Installs: 100+
0 of 1 support threads in the last two months have been resolved.
Got something to say? Need help?