這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Advanced Author Exposed

外掛說明

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). 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 a link to the author’s posts-archive. Any other information can be easily added by editing the included php file. 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). 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:

1) AE can now be used multiple times on the same page and the generated code will still validate.
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. Advanced AE creates random DIV IDs on the fly, thereby eliminating this problem.

2) Can now be linked to ANY item, image or text
The original Plugin automatically output the post author’s name as a link and linked the hidden DIV to it. But what if you wanted to link the hidden DIV to something else? I.e. the authors 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.

Documentation

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

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

螢幕擷圖

  • This is what the DIV layer popup looks like - looks can be customized easily by editing the included CSS file

安裝方式

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

  1. Upload whole advanced_author_exposed folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php if (function_exists('author_exposed')) {author_exposed($the_link_item);} ?> inside the loop, where you want the author info to appear.
  4. The variable $the_link_item can be the post author’s name, his gravatar image or anything else you might want it to be. The plugin will return the specified item with the hidden DIV attached to it.
  5. For code-examples regarding the usage of the_link_item see FAQ

常見問題集

How do I generate the post author’s first name and attach the AE info DIV to it?
How do I generate the author’s gravatar image and attach AE info DIV to it?

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Advanced Author Exposed〉的開發相關工作。

參與者

將〈Advanced Author Exposed〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1

Fixed a bug that prevented AAE from working properly