Plugin Directory

Changeset 372736


Ignore:
Timestamp:
04/14/2011 12:46:22 AM (15 years ago)
Author:
johnleblanc
Message:

added FAQs Section to readme

Location:
docs-auto-tags/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • docs-auto-tags/trunk/docs-auto-tags.php

    r372730 r372736  
    44Plugin URI: http://wordpress.org/extend/plugins/docs-auto-tags/
    55Description: 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.3
     6Version: 0.4
    77Author: John LeBlanc
    88Author URI: http://johnleblanc.com
  • docs-auto-tags/trunk/readme.txt

    r372730 r372736  
    19191. Configure your settings within the 'Tools' area in the Dashboard
    2020
     21== FAQS ==
     22
     23Great, my newly saved posts are being auto-tagged.  How do I filter posts by tag within the WordPress Loop?
     24
     25Replace:
     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    );
     34query_posts($args);
     35?>`
     36
     37
    2138== Changelog ==
    2239
Note: See TracChangeset for help on using the changeset viewer.