Changeset 372736
- Timestamp:
- 04/14/2011 12:46:22 AM (15 years ago)
- Location:
- docs-auto-tags/trunk
- Files:
-
- 2 edited
-
docs-auto-tags.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
docs-auto-tags/trunk/docs-auto-tags.php
r372730 r372736 4 4 Plugin URI: http://wordpress.org/extend/plugins/docs-auto-tags/ 5 5 Description: Assigns tags to posts containing specific text strings, handy for filtering within the loop. A gift to @docrock from @johnleblanc to help keep Instagr.am image posts out of the mrdocrock.com homepage loop April, 2011. 6 Version: 0. 36 Version: 0.4 7 7 Author: John LeBlanc 8 8 Author URI: http://johnleblanc.com -
docs-auto-tags/trunk/readme.txt
r372730 r372736 19 19 1. Configure your settings within the 'Tools' area in the Dashboard 20 20 21 == FAQS == 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 21 38 == Changelog == 22 39
Note: See TracChangeset
for help on using the changeset viewer.