[wordpress插件] ATag标签

wordpress 插件 文章 2020-02-22 13:50 541 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

WordPress Tags, like categories, are highly useful they allow readers to find posts that are similar to the post they are reading, they also give an idea as too what the post is about.

WordPress标签(如类别)非常有用,它们使读者可以找到与他们正在阅读的帖子相似的帖子,并且还给出了帖子的含义。

However adding tags to new posts (especially if you post via e-mail or in a rush) can be one of throes job’s that slips by the wayside.

不过,在新帖子中添加标签(特别是如果您通过电子邮件发布或匆忙发布)可能是一项艰巨的任务。

That?s where ATag comes in.

那就是ATag进入的地方。

ATag automatically adds tags to your post by taking the text of your post, removing the 500 (or so) most common words then it tags the post with the most frequency used of the remaining words.

ATag通过获取帖子的文本,删除500个(或大约)最常用的单词,自动将标签添加到您的帖子中,然后以剩余单词使用频率最高的方式标记帖子。

    • Options

      选项

      ATag has two options (found in the settings admin menu) the maximum number of tags per post and the option to override existing tags.

      ATag具有两个选项(可在设置管理菜单中找到),每个帖子可使用的最大标签数以及覆盖现有标签的选项。

      1. Maximum number of tags per post.

        每个帖子的标签数量上限。

        This text box allows you to specify the number of tags generated every time the text is analysed.

        此文本框可让您指定每次分析文本时生成的标签的数量。

      2. Override existing tags.

        覆盖现有标签。

        This gives you the option to remove any tags that exist for the post before updating it with the new tags.

        这使您可以选择在使用新标签更新帖子之前删除该帖子存在的所有标签。

        If you set this option to “No” it will add a new set of tags based on the content of the post to any existing tags (including throes generated by ATag) when the page is updated, this may give you more tags then the above

        如果将此选项设置为“否”,它将在更新页面时将基于帖子内容的新标签集添加到任何现有标签(包括ATag生成的标题)中,这可能会为您提供更多标签

        maximum number of tags per post, however it lets you add additional tags directly to the post.

        每个帖子的标签数量上限,但是,您可以将其他标签直接添加到帖子中。

        Setting this option to “Yes” deletes any existing tags including any tags specified by the posts author.

        将此选项设置为“是”将删除任何现有标签,包括帖子作者指定的所有标签。

        • Limitations.

          限制。

          While the number of common word is quite high (just over 500 or about 60% of written words) it may not pick up all common words, also it may give some false positives, removing words that, while common, are relevant

          尽管常见单词的数量非常多(刚超过500个,约占书面单词的60%),但它可能不会选择所有常见单词,也可能会带来一些误报,将那些虽然很常见但与之相关的单词删除

          tags for your blog.

          您博客的标签。

          If you find this happening often you can edit the excluded list (either adding or removing to the list of common words that are ignored), by editing the ATag.

          如果您发现这种情况经常发生,您可以通过编辑ATag来编辑排除列表(在被忽略的常用单词列表中添加或删除)。

          php file (WARNING – it's easy to edit the wrong thing and screw-up the plugin, so only do this if your happy reading php or you have a undamaged copy of the pluging to hand that you can swap in as needed)

          php文件(警告–编辑错误的内容并弄乱插件很容易,因此,只有在您满意地阅读php或手头有未损坏的副本副本时才可以这样做)

          >

          >

          if you wish to edit ATag.php, the list starts at about line 100 and ends at line 160, it is also contained within two comment the first says “Start of common word list” and (unsurprisingly) the end one says

          如果您希望编辑ATag.php,则列表从大约第100行开始,到第160行结束,它也包含在两个注释中,第一个说“ Common word list的开始”,最后一个说(毫不奇怪)

          “End of common word list”.

          “常用单词列表结尾”。

        • Saying thank you

          说谢谢你

          If you find this plugin useful there are a number of ways you can say thank you to me, firstly if you know me in real life, buy me a pint (dark real ale please).

          如果您发现此插件有用,可以通过多种方式对我说声谢谢,首先,如果您在现实生活中认识我,请给我买一品脱啤酒(请给我黑啤酒)。

          Since most of you won’t know me, there are a number of other things you can do, you can.

          由于你们中大多数人都不了解我,因此您可以做很多其他事情。

          1. Tell people about it – yep as you run a blog tell people about this plugin (a link to http://scott-herbert.com/blog/ would be nice as well)
          2. 告诉人们有关的信息–是的,当您运行博客时,向人们介绍此插件(指向http://scott-herbert.com/blog/的链接也很好)

          3. Buy me something from my wish list – it’s at http://www.amazon.co.ukegistry/wishlist/2ER3EQGGIMXBU
          4. 从我的愿望清单中购买一些东西–位于http://www.amazon.co.ukegistry/wishlist/2ER3EQGGIMXBU

          5. Donate some money – however much you think this is worth – if you?re a company and you need an invoice e-mail me at scott.a.herbert@googlemail.com and I can produce one for you just let me

          6. 如果您是一家公司并且需要发票,请捐赠一些钱-无论您认为这有多少价值-如果需要发票,请给我发送电子邮件:scott.a.herbert@googlemail.com,我可以为您提供一个

            know how much you want to pay and where I should send it (Oh and who I should address it to).

            知道您要支付多少钱,我应该把它寄到哪里(哦,我应该给谁寄信)。

            Otherwise you can donate via PayPal from the link on the settings menu (please note the scott.a.herbert address is NOT my paypal account address!.

          7. 否则,您可以通过设置菜单上的链接通过PayPal捐款(请注意,scott.a.herbert地址不是我的Paypal帐户地址!。

          Thanks for reading, and enjoy using this (hopefully you won’t know it exists)

          感谢阅读并喜欢使用它(希望您不知道它存在)

安装步骤

    1. Upload atag.php to the /wp-content/atag/ directory (or install via your wp dash)
    2. atag.php 上载到 / wp-content / atag / 目录(或通过wp破折号安装)

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Update any pages that you wish taging, new ones will be automaticly taged
    6. 更新您要标记的任何页面,新页面将被自动标记

下载地址
https://downloads.wordpress.org/plugin/atag.1.2.zip
-EOF-

AI助手支持GPT4.0