Changeset 372738
- Timestamp:
- 04/14/2011 01:00:39 AM (15 years ago)
- File:
-
- 1 edited
-
docs-auto-tags/trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
docs-auto-tags/trunk/readme.txt
r372737 r372738 19 19 1. Configure your settings within the 'Tools' area in the Dashboard 20 20 21 == FAQS==21 == Changelog == 22 22 23 Great, my newly saved posts are being auto-tagged. How do I filter posts by tag within the WordPress Loop? 24 25 Replace: 26 `<?php query_posts("cat=-10&paged=$paged") ?>` 27 ...with: 28 `<?php 29 $args = array( 30 'category__not_in' => array( 10 ), 31 'tag__not_in' => array( 42 ), 32 'paged' => $paged, 33 ); 34 query_posts($args); 35 ?>` 36 37 38 == Changelog == 23 = 0.4 = 24 readme.txt cleanup 39 25 40 26 = 0.3 = … … 49 35 == Upgrade Notice == 50 36 51 = 0.3 = 52 Upgrade now to fix a bum function callback 37 = 0.4 = 38 Please upgrade to the latest version. 39 40 == Frequently Asked Questions == 41 42 Great, my newly saved posts are being auto-tagged. How do I filter posts by tag within the WordPress Loop? 43 44 Replace the old call to query_posts() 45 `<?php query_posts("cat=-10&paged=$paged") ?>` 46 with a cleaner version 47 `<?php 48 $args = array( 49 'category__not_in' => array( 10 ), 50 'tag__not_in' => array( 42 ), 51 'paged' => $paged, 52 ); 53 query_posts($args); 54 ?>`
Note: See TracChangeset
for help on using the changeset viewer.