[wordpress插件] Plugin Name: Author+ (Lite)插件名称:Author +(Lite)

wordpress 插件 文章 2020-02-23 10:40 644 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin adds to Profile Pages an extended “Author Bio”.

此插件在个人资料页面上添加了扩展的“作者简介”。

This allows users to add more information to what they’d feel comfortable adding underneath the post.

这样,用户可以在自己喜欢的帖子下方添加更多信息。

This Author Bio can be displayed on the author page, as opposed to the standard “Author Description”.

可以在作者页面上显示该作者简历,而不是标准的“作者描述”。

This plugin is a framework, so requires a bit of PHP skill and experience in template editing to make it work.

此插件是一个框架,因此需要具备一定的PHP技术和模板编辑经验才能使其正常工作。

    Usage Instructions

    使用说明

    The best place to use this plugin is on the author.php page.

    使用此插件的最佳位置是在author.php页面上。

    I have included a framework for using this plugin.

    我已经包括了使用此插件的框架。

    To begin with, on author.php, add this line.

    首先,在 author.php 上添加以下行。

    This will get the information on the author.

    这将获得有关作者的信息。

    $author = wp_authorplus_get_user_on_author_page();

      $ author = wp_authorplus_get_user_on_author_page();

    You can then use the standard echo $author->display_name; and similar notation as shown in (The WordPress Codex)[https://codex.wordpress.org/Author_Templates#Using_Author_Information].

    然后,您可以使用标准的 echo $ author-> display_name; 以及类似的符号,如(WordPress密码典)[https://codex.wordpress.org/Author_Templates#Using_Author_Information]中所示。

    To call the extended author descriptions, use ID);

    要调用扩展的作者描述,请使用 <?php wp_authorplus_extended_author_bio($ author-> ID);

    ?> anywhere outside the WordPress Loop, but after you declare $author on wp_authorplus_get_user_on_author_page().

    ?> 在WordPress循环之外的任何地方,但是在wp_authorplus_get_user_on_author_page()上声明$ author之后。

    Any questions, please Contact Me

    任何问题,请与我联系

安装步骤

To install, please do the following:-

要安装,请执行以下操作:-

    1. Click Download on the below file and download the file to your local hard drive.
    2. 在下面的文件上单击“下载”,然后将文件下载到本地硬盘。

    3. Unzip the files and upload them to your wp-plugins folder, making sure they are in a sub folder.
    4. 解压缩文件并将其上传到wp-plugins文件夹,确保它们位于子文件夹中。

    5. Go to Plugins > Installed Plugins and activate “Author+”.
    6. 转到“插件”>“已安装的插件”,然后激活“ Author +”。

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

AI助手支持GPT4.0