前言介紹
- 這款 WordPress 外掛「WP Custom Author Image」是 2018-12-16 上架。
- 目前有 100 個安裝啟用數。
- 上一次更新是 2019-08-27,距離現在已有 2077 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.1 以上版本才可以安裝。
- 有 2 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
author | user photo | user gravatar | user profile photo | wp-custom-author-image |
內容簡介
WordPress 的 WP Custom Author Image 外掛讓您輕鬆地在您的網站上新增自訂作者圖像。
它提供了一個小工具,可以將其插入側邊欄或任何主題允許的小工具區域。
外掛現在支援一個短代碼 [wp-custom-author-image],您可以使用它直接將圖像添加到頁面或文章內容中。
或者,您可以在迴圈中放置以下呼叫,以顯示 WP Custom Author Image:
此 $author_id 參數是可選的。如果沒有傳入,程式碼將會嘗試取得當前頁面 / 文章的作者。
此函數的第二個版本可傳入寬度和高度以顯示圖像。
此 $author_id 參數是可選的。如果沒有傳入,程式碼將會嘗試取得當前頁面 / 文章的作者。
要設定 WP Custom Author Image,請在管理區域中瀏覽「使用者 / 您的個人資料」。
設定 WP Custom Author Image 大小
您可以透過 WP Custom Author Image 小工具或使用 the_wp_custom_author_image_size 函數呼叫來調整實際顯示大小。
如果沒有指定大小,將使用實際圖像的寬度和高度。
短代碼
您可以使用 [wp-custom-author-image] 來在您的頁面 / 文章內容中顯示已上傳的 WP Custom Author Image。
多作者網站
對於有眾多作者的網站,此小工具可以在作者的文章庫中插入一個連結 — 他的檔案庫。
單一作者網站
通常情況下,當小工具能清楚地確定內容的作者是誰時,它才會顯示 WP Custom Author Image。換句話說,在單數頁面或迴圈中。
如果您在單一作者網站或具有多個匿名作者的網站上運行,請務必勾選「此網站僅有單一作者」選項。小工具將隨時輸出您的圖像。
替代「關於我」頁面連結
通常情況下,如果單擊圖像,小工具會使用作者的文章頁面(/author/作者名稱/)。如果您的網站有專門的「關於我」頁面,
這頁面在「您的個人資料」中有一個新欄位叫做「關於我」頁面。在此欄位中輸入 URL(/about-me/)將導致小工具使用此連結而非 /author/作者名稱。
擷取作者 URL
您可以透過呼叫以下函數來擷取相應的 WP Custom Author Image 的 URL
如果 $author_id 是空白的,外掛將會嘗試取得當前的作者和取得他/她的圖像。
原文外掛簡介
The WP Custom Author Image plugin for WordPress lets you easily add WP Custom Author Images on your site.
It creates a widget that you can insert in a sidebar or any other widget area allowed by your theme.
The plugin now supports a short code [wp-custom-author-image] you can use to directly add the image to the page or post content.
Alternatively, you can place the following call in the loop where you want the WP Custom Author Image to appear:
This $author_id parameter is optional. If it is not passed in, the code will attempt to get the current author of the page/post.
A second version of this function exists whereby you can pass in width and height to display the image.
This $author_id parameter is optional. If it is not passed in, the code will attempt to get the current author of the page/post.
To configure your WP Custom Author Image, browse Users / Your Profile in the admin area.
Setting WP Custom Author Image Size
You can adjust the actual display size in the WP Custom Author Image widget or by using the_wp_custom_author_image_size function call.
If you do not specify a size the width and height of the actual image will be used.
Shortcode
You can use [wp-custom-author-image] to display the uploaded WP Custom Author Image in your page/post content.
Multi-Author Sites
For sites with multitudes of authors, the widget offers the ability to insert a link to the author’s posts — his archives.
Single Author Sites
Normally the widget will only display an WP Custom Author Image when it can clearly identify who the content’s author actually is. In other words, on singular pages or in the loop.
If you run a single author site, or a site with multiple ghost writers, be sure to check the “This site has a single author” option. The widget will then output your image at all times.
Alternate About Page Link
Normally the widget will use the author’s posts page (/author/authorname/) is the image is clicked on. If your site has a dedicated page for the author, such as an ‘About Me’ page,
there is a new field in ‘Your Profile’ called ‘About Me Page’. Entering a url in this field (/about-me/) will cause the widget to use this link as opposed to /author/authorname.
Retrieving Author Url
You can retrieve the url to the respective WP Custom Author Image by calling the function
If $author_id is blank the plugin will attempt to determine the current author and retrieve his/her image.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP Custom Author Image」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
WP Meta and Date Remover 》移除點擊文章的Meta、作者和日期。 安裝、啟用,完成!, 如何移除文章和頁面的作者Meta和日期?, , 安裝 WP Meta and Date remover。, 啟用外掛。, 選擇隱藏...。
Edit Author Slug 》這個外掛程式允許您完全控制使用者永久網址,讓您可以更改作者基底(作者 URL 中「/author/」部分)和作者別名(預設為作者使用者名稱)。您可以在全域設置作...。
Hide/Remove Metadata 》Hide/Remove Metadata是一款免費、簡單而非常實用的WordPress外掛,能夠幫助您輕鬆地隱藏或刪除網站上的作者和發布日期。該外掛非常容易使用,僅提供隱藏或移...。
Meks Smart Author Widget 》這個簡單的外掛程式讓你可以在 WordPress Widget 中顯示作者/使用者資訊。此外掛的聰明之處在於「自動偵測」使用者/作者,因此它可以選擇性地在單獨的文章頁...。
WP Post Author – Boost Your Blog's Engagement with Author Box, Social Links, Co-Authors, Guest Authors, Post Rating System, and Custom User Registration Form Builder 》age/post using the plugin. Users can log in to your website using this block., Widgets, The WP Post Author plugin comes with two widgets, Author Bo...。
WP Author, Date and Meta Remover 》即時自訂或刪除您的元數據!WP 作者、日期和元數據移除 Pro+現已上市。WP ADMR Pro+ for Intelligent Meta Data Control。, WordPress 已成為許多線上企業主...。
VK Post Author Display 》在內容底部顯示文章作者資訊框。, 任意區段 1。
Starbox – the Author Box for Humans 》is plugin., , With Starbox, you'll have a beautiful Author Box that will help your readers connect with the humans behind your content. Plus, you'l...。
Head Meta Data 》一款外掛,可通過添加自定義的 標籤到網頁的 部分,提高網頁定義和語義質量。, 基本示例, 在您的網站上顯示任何自定義的 meta 標...。
Disable Author Archives 》這是一個簡單輕量的 WordPress 外掛,可以完全停用作者存檔/頁面(無論相應的作者是否存在),並使網頁伺服器返回404狀態碼('未找到')。相關連結也將禁用或...。
WP htaccess Control 》WP htaccess Control(也可以稱為 WP htaccess 和 Rewrite Control)提供了一個界面來自定生成WordPress的htaccess文件以及其永久鏈接(作者、分類、歸檔、分...。
Fancier Author Box by ThematoSoup 》如果您正在尋找一種方法,讓每個頁面都成為新聯繫和潛在客戶的登陸頁面,那麼您一定會發現 ThematoSoup 的 Fancier Author Box 是非常寶貴的工具。, , 讓每篇...。
Guest Author 》這款 WordPress 外掛讓你在任何一篇文章中新增客座作者,而不需要在你的網站上註冊客座作者為使用者。, 功能, , ✍️ 行為就像客座作者是普通作者一樣。, 👤 可...。
Authors List 》使用簡碼簡單地顯示文章作者清單或網格,並帶有到其文章彙整頁面的連結。, 簡碼為 [authors_list],並接受以下屬性。, , style(1、2、3), columns (2、3、4...。
Author Avatars List/Block 》這個外掛可以方便地在您的 (多使用者) 網站上顯示按用戶角色分組的使用者頭像列表。它還允許您將單個頭像插入到文章或頁面中,以顯示您正在談論的某個人的圖...。