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.10
Last Updated: 1 year ago
Active Installs: 200+
0 of 1 support threads in the last two months have been marked resolved.
Got something to say? Need help?