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. Born April 13, 2011 in Kaneohe, HI.
- Install from the Plugins page within the Dashboard. For those with too much free time, download from the plugin page or subversion repository and upload
docs-auto-tagsto your plugins directory (usually
/wp-content/plugins/unless you’ve defined a custom value by overriding the WP_PLUGINS_DIR constant).
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Configure your settings within the ‘Tools’ area in the Dashboard
- Great, my newly saved posts are being auto-tagged. How do I filter posts by tag within the WordPress Loop?
An example of query_posts():
Here’s a cleaner version excluding posts tagged with tag ID 42:
array( 10 ),
‘tag__not_in’ => array( 42 ),
‘paged’ => $paged,
Contributors & Developers
“Doc’s Auto-tags” is open source software. The following people have contributed to this plugin.Contributors
Repo cleanup: release tagged with 0.6.1 was in a directory named 1.6.1 somehow
Applied fixes courtesy of Boris Kuzmanovic https://wordpress.org/support/topic/a-bug-found
Added plugin icon
Fixed another “Warning: Invalid argument supplied for foreach()” for real this time
Added Category support by request.
Fixed “Warning: Invalid argument supplied for foreach()” error https://wordpress.org/support/topic/plugin-docs-auto-tags-error-message-on-settings-page-after-install?replies=1#post-2456270
Fix a bum function reference
Added management page