[wordpress插件] Author Tag Cloud作者标签云

wordpress 插件 文章 2020-02-24 01:00 515 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin will create a tag cloud for a specific author.

此插件将为特定作者创建标签云。

This will allow a visitor on your site to drill deep down into an author’s specific content.

这样一来,您网站上的访问者就可以深入探究作者的特定内容。

It uses all of the same parameters as wp_tag_cloud(), but adds an additional one for the author_id.

它使用与wp_tag_cloud()相同的所有参数,但为author_id添加了另一个参数。

When the author_id is passed an integer of a published author that has tagged his or her posts, a tag cloud will be generated.

当author_id被传递时,已发布作者的整数已经标记了他或她的帖子,则将生成标签云。

It will also create a new permalink structure on your site of

它还将在您的站点上创建一个新的永久链接结构

www.yoursite.com/author/author-slug/tag/tag-slug

www.yoursite.com/author/author-slug/tag/tag-slug

***Note: that you must be using any custom permalink structure for this plugin to function.

***注意:您必须使用任何自定义的永久链接结构,此插件才能起作用。

Also, custom taxonomies is currently not functioning with this version, please look forward for this in a later version.

另外,自定义分类法当前不适用于此版本,请在更高版本中期待它。

安装步骤

Before you install this plugin, the site you are planning to use it on must use a custom permalink structure.

在安装此插件之前,计划在其上使用它的网站必须使用自定义的永久链接结构。

This plugin will not function on the standard WordPress install and use it you must change your permalink settings.

该插件无法在标准的WordPress安装中使用,必须使用永久链接设置才能使用。

    1. Download and upload these files into /wp-content/plugins/ directory
    2. 下载这些文件并将其上传到 / wp-content / plugins / 目录

    3. In the WordPress Admin goto plugins and activate this plugin
    4. 在WordPress Admin的goto插件中并激活此插件

    5. class the function like this
    6. 像这样对函数进行分类

    (function_exists(‘author_tag_cloud’)){
        

    (function_exists('author_tag_cloud')){
        

    author_tag_cloud( array(‘author_id’ => 1) );

    author_tag_cloud(array('author_id'=> 1));

    }

    }

    You can read more about the parameters this function will accept here: http://www.refactord.com/plugins/author-tag-cloud#parameters

    您可以在此处详细了解此功能将接受的参数:http://www.refactord.com/plugins/author-tag-cloud#parameters

下载地址
https://downloads.wordpress.org/plugin/authors-tag-cloud.1.05.zip
-EOF-

AI助手支持GPT4.0