[wordpress插件] Advanced Author Exposed高级作者公开

wordpress 插件 文章 2020-02-06 17:20 552 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

The plugin links a hidden DIV (layer) with information about the author to any item on a page (i.e. the author’s name or the author’s gravatar image).

该插件将带有作者信息的隐藏的DIV(图层)链接到页面上的任何项目(即,作者的姓名或作者的头像)。

Once you click the item the hidden div layer will show up, displaying the full name of the author, a bigger version of the gravatar image, the author's e-mail address and a short description (from the author's user-profile-page) and

单击该项目后,将显示隐藏的div层,其中显示了作者的全名,更大版本的图像,作者的电子邮件地址和简短说明(来自作者的用户个人资料页),并且

a link to the author's posts-archive.

指向作者的文章存档的链接。

Any other information can be easily added by editing the included php file.

通过编辑随附的php文件,可以轻松添加任何其他信息。

It offers a simple and elegant way to show author info.

它提供了一种简单而优雅的方式来显示作者信息。

ADVANCED Author Exposed plugin is an extended version of the original Author Exposed Plugin written by Igor Penjivrag of Color Light Studio (clsigor).

ADVANCED Author Exposed插件是Color Light Studio(clsigor)的Igor Penjivrag编写的原始Author Exposed插件的扩展版本。

For credits and questions regarding the original script please see the link to original’s author’s page (Other Notes).

要获得关于原始脚本的感谢和疑问,请参见原始作者页面的链接(其他说明)。

Advanced Author Exposed solves two problems I had with the original Plugin:

Extended Author Exposed解决了原始插件存在的两个问题:

1) AE can now be used multiple times on the same page and the generated code will still validate.

1)现在可以在同一页面上多次使用AE,并且生成的代码仍将有效。

The original Plugin was meant to be used once per page only.

原始插件只能在每页使用一次。

If you used it multiple times within the same page, it would create HTML DIVs that all had the same ID – thus leading to invalid code when testing it with the W3 validator.

如果您在同一页面中多次使用它,它将创建均具有相同ID的HTML DIV,从而在使用W3验证器进行测试时会导致代码无效。

Advanced AE creates random DIV IDs on the fly, thereby eliminating this problem.

高级AE可以即时创建随机的DIV ID,从而消除了此问题。

2) Can now be linked to ANY item, image or text

2)现在可以链接到任何项目,图像或文本

The original Plugin automatically output the post author’s name as a link and linked the hidden DIV to it.

原始插件会自动将帖子作者的姓名作为链接输出,并将隐藏的DIV链接到该链接。

But what if you wanted to link the hidden DIV to something else?

但是,如果您想将隐藏的DIV链接到其他内容,该怎么办?

I.e.

the authors gravatar-image?

作者gravatar-image?

Advanced AE introduces a PHP variable called $the_link_item – which can basically be anything you want – and attaches the hidden DIV to that specified item.

高级AE引入了一个名为$ the_link_item的PHP变量-基本上可以是您想要的任何变量-并将隐藏的DIV附加到指定的项目。

Documentation

文档

For questions regarding Advanced Author Exposed please refer and reply to this thread:

有关“高级作者已公开”的问题,请参考并回复此主题:

Junge Roemer – Advanced Author Exposed

Junge Roemer –公开的高级作者

p>

>

The original plugin Author Exposed can be found at Color Light Studio<

可以在 Color Light Studio <

/a>

/ a>

安装步骤

Installation is simple and should not take you more than 2 minutes.

安装很简单,花费的时间不会超过2分钟。

    1. Upload whole advanced_author_exposed folder to the /wp-content/plugins/ directory
    2. 将整个 advanced_author_exposed 文件夹上载到 / wp-content / plugins / 目录

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

    5. Place inside the loop, where you want the author info to appear.
    6. <?php if(function_exists('author_exposed')){author_exposed($ the_link_item);}?> 放入循环中,您希望在其中显示作者信息。

    7. The variable $the_link_item can be the post author’s name, his gravatar image or anything else you might want it to be.

    8. 变量$ the_link_item可以是帖子作者的姓名,他的头像图像或您可能想要的其他任何名称。

      The plugin will return the specified item with the hidden DIV attached to it.

    9. 插件将返回指定的项目,并附加隐藏的DIV。

    10. For code-examples regarding the usage of the_link_item see FAQ
    11. 有关the_link_item用法的代码示例,请参见FAQ

下载地址

https://downloads.wordpress.org/plugin/advanced-author-exposed.zip

https://downloads.wordpress.org/plugin/advanced-author-exposed.zip

-EOF-

AI助手支持GPT4.0