英文:Often publish articles and updates people loves forgets to set tags when editing an article, the article automatically add keywords tag.
As of April 2026, WP AutoTags is a WordPress autotags plugin with 1.0K+ active installations and a 5/5 rating from 2 reviews. It has been downloaded 24K+ times in total. Requires WordPress 3.5.1+ and PHP false+. Available on WordPress.org since 2015. Last updated 5 years ago — may have compatibility concerns. Downloads are up 37% this week. Top alternative: WP TagSeeder – Automatically Tag Your….
英文:Often publish articles and updates people loves forgets to set tags when editing an article, the article automatically add keywords tag. tag extraction based on TF-IDF implementation. Built-in TF-IDF interface does not work when you try to find an existing tag in WordPress. If found, these markers are added to the post automatically each time you save the post.
Ps:Go to \”Settings» Writing \” Configure. TF-IDF only supports English and Chinese.Plugin work in PHP5.5+.
Visit Official page.
Chinese:在文章发布以及修改时自动为没有设置标签的文章添加标签,标签的提取基于TF-IDF实现。内置的TF-IDF接口无法正常工作时则通过WordPress已有标签进行匹配添加工作。
Ps:后台通过 设置->撰写 页面对插件进行配置。TF-IDF关键词提取接口仅支持中文&英文文本
兼容性: 除WordPress、PHP巨大更新弃用基础函数库,本插件在PHP5.5及以上版本正常工作
欢迎访问WP AutoTags文章自动标签插件查看详细简介,希望得到更多使用过程中遇到的问题或建议。
Maybe function wp_aatags_run should be like this below:
function wp_aatags_run($post_ID) {
$tags = get_option(‘wp_aatags_opts’);
$number = get_option(‘wp_aatags_aadnumber’);
global $wpdb;
if (!wp_is_post_revision($post_ID) && !get_the_tags($post_ID)) {
$post_title = get_post($post_ID)->post_title;
$post_content = get_post($post_ID)->post_content;
switch ($tags) {
case 3:
$requix = strtolower($post_title);
break;
case 2:
$requix = strtolower($post_title . ‘ ‘ . wp_trim_words($post_content, 999, ”));
break;
default:
$requix = strtolower($post_title . ‘ ‘ . wp_trim_words($post_content, 333, ”));
break;
}
$body = wp_aatags_keycontents(wp_aatags_html2text($requix), $number);
if ($body != ‘rEr’) {
$keywords = wp_aatags_kwsiconv($body);
wp_add_post_tags($post_ID, $keywords);
} else {
wp_aatags_alts($post_ID, $post_title, $post_content);
}
}
}
请问能否让插件支持自定义文字类型
| WordPress | 3.5.1+ requiredTested up to 5.4.19 |
| PHP | false+ required |
2020-05-12 v0.1.14 Fix svg ico,Tested up to 5.4.1
2019-04-20 v0.1.12 Fix des,Tested up to 5.1.1
2018-07-06 v0.1.11 Fix Remove the digital label ,Add simple preview
2016-02-28 v0.1.7 Fix inclusion of special characters THX@Mark 🙂
2015-09-27 v0.1.5 test plugin supports WordPress version and fix the plugin description
2015-09-20 v0.1.3 fix plugin function name
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.