WordPress.org

Plugin Directory

Automatic Post Tagger

This plugin uses keywords provided by the user to automatically add tags to posts according to their title, content and excerpt.

How do I make the plugin add tags to drafts as well?

By default only newly published/inserted posts are automatically tagged. If you want to see the plugin in action when writing new posts or editing drafts, enable the option "Run APT when posts are: Saved" and add the post status "draft" to the option "Allowed post statuses".

The "max_input_vars" limit has been exceeded and I can't edit or delete keywords.

You may encounter this problem if the plugin stores a lot keywords in the database and your PHP configuration prevents input fields from being submitted if there's too many of them. You can fix this by doing one of the following:

  1. Change the "Keyword editor mode" to "Single input field for all keywords". (You may also use the import/export tool to change the keywords, however you will have to reinstall the plugin every time you need to delete some keywords.)
  2. If you can modify your PHP configuration, change the variable "max_input_vars" in your php.ini file to a higher value (1000 is usually the default value).

I'm getting the "Maximum execution time of XY seconds exceeded" error when tagging posts.

This might happen if your posts are long or you have a lot of keywords in the database. Here's what you can do:

  1. Remove some of your word separators (or enable the option "Replace non-alphanumeric characters with spaces" to ignore them completely).
  2. Enable the option "Analyze only XY characters starting at position XY".
  3. Lower the number of posts tagged per cycle when using the Bulk tagging tool.
  4. If you can modify your PHP configuration, change the variable "max_execution_time" in your php.ini file to a higher value (30 is usually the default value).

Is there a way to add categories to posts instead of tags?

In the "Settings" widget change the value of the "Affected taxonomy" option to "category". New categories will be added only if you change keyword names to category IDs instead of their actual names (you can easily do this by importing the categories from your database as Related words). When creating a new keyword representing the category "Uncategorized", you'll have to put its ID "1" into the field "Keyword name". If specified related words are found, this category will be added to a post. Also make sure to uncheck "Keyword names" in the "Search for these items" section if you don't want APT to add categories if their IDs are found in posts. See this page for more information.

Can APT tag posts written in Chinese, Japanese, Korean or similar languages?

Yes. You will have to disable automatic input correction and replace all word separators with one string separator or enclose every single logogram used as a related word by wildcards. See this page for more information.

Requires: 3.0 or higher
Compatible up to: 4.2.2
Last Updated: 2015-2-15
Active Installs: 5,000+

Ratings

4.8 out of 5 stars

Support

3 of 4 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

50,2,1 100,1,1 100,1,1 100,2,2 100,1,1
100,1,1 100,1,1
100,2,2 100,1,1
67,3,2
100,1,1
100,2,2
50,2,1
100,1,1
100,1,1
100,1,1
100,1,1
100,3,3 50,2,1
100,1,1
100,3,3
100,1,1
100,1,1 50,2,1
100,2,2
100,1,1
100,1,1