[WordPress] 外掛分享: Plugin Name: Author+ (Lite)

首頁外掛目錄 › Plugin Name: Author+ (Lite)
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
30+
安裝啟用
尚無評分
5027 天前
最後更新
問題解決
WordPress 3.0+ v1.9 上架:2011-10-03

內容簡介

這款外掛可在個人資料頁面添加擴展的「作者簡歷」。使用者可以在文章下方添加更多的個人資訊,而這個作者簡歷可以顯示在作者頁面上,而不是標準的「作者描述」。

由於這個外掛是框架,因此需要一定的 PHP 技能和模板編輯經驗才能使其正常運作。

欲取得更多功能,包括 Google Rich Snippet Integration,請查看Author+ Premium WordPress Plugin
尋找博客教程和 WordPress 外掛,請瀏覽The Blogging Dojo

使用說明

使用這個外掛的最佳地點是在author.php頁面上。我已為使用此外掛提供了框架。

首先,在 author.php上,加入下列代碼以獲取作者信息:

$author = wp_authorplus_get_user_on_author_page();

然後,您可以像(The WordPress Codex)[https://codex.wordpress.org/Author_Templates#Using_Author_Information]中所示的標準代碼一樣使用 echo $author->display_name; 和類似的表示方式。

要調用擴展的作者描述,可以在 WordPress 循環之外的任意位置使用 <?php wp_authorplus_extended_author_bio($author->ID); ?>,但需要在 wp_authorplus_get_user_on_author_page() 上聲明$author之後。

如有疑問,請聯繫作者

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.9) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Plugin Name: Author+ (Lite)」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

For more features including Google Rich Snippet Integration, check out Author+ Premium WordPress Plugin
Blogging Tutorials and WordPress Plugins at The Blogging Dojo

Usage Instructions
The best place to use this plugin is on the author.php page. I have included a framework for using this plugin.
To begin with, on author.php, add this line. This will get the information on the author.
$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].
To call the extended author descriptions, use ID); ?> anywhere outside the WordPress Loop, but after you declare $author on wp_authorplus_get_user_on_author_page().
Any questions, please Contact Me

延伸相關外掛

文章
Filter
Apply Filters
Mastodon