[WordPress] 外掛分享: Image Credits nofollow

首頁外掛目錄 › Image Credits nofollow
WordPress 外掛 Image Credits nofollow 的封面圖片
200+
安裝啟用
★★★☆☆
3.5/5 分(2 則評價)
183 天前
最後更新
問題解決
WordPress 3.0.1+ PHP 7.4+ v1.5 上架:2014-09-09

內容簡介

此外掛可為媒體上傳加入授權資訊:來源及來源網址。網址預設為 nofollow,但您可選擇要讓它導向。此外,透過簡碼及多種選項,在文章中顯示圖片授權資訊。

此外掛共有三種授權顯示選項:

簡碼:可加上選用屬性 sep、before及 after。
樣板標籤:可加上選用參數 sep、before及 after。
授權資訊自動顯示於內容前或後,設定於「設定/圖片授權資訊」頁面內,亦可編輯 HTML 定義。

本外掛是由 Claude Vedovini 的 Better Image Credits 外掛所改版,而 Better Image Credits 則是由 Adam Capriola 的 Image Credits 外掛所改版。此外掛可完全相容兩者,所以若您已經使用 Image Credit 或 Better Image Credit 外掛,只需取代為此外掛,即可維持相同運作方式,包括圖片來源網址的 nofollow。

此外掛的主要區別於「Image Credits」外掛之處,在於您可選擇自動將授權資訊放於文章內容前或後。而與「Better Image Credits」外掛的主要區別,在於其預設為 nofollow,但若您需要,也可選擇讓來源網址導向,我們亦已移除了不同佈景主題的相容問題,故移除了額外的重疊顯示選項。

本外掛添加了媒體上傳的來源名稱、來源網址及選項,而這些圖片授權資訊可分別以三種不同形式顯示。

要設定此外掛,請至「設定/圖片授權資訊」,並選擇選項或填寫資料,所有頁面都有說明文字,十分自我說明。

此外掛可使用英文及西班牙文(image-credits-nofollow-es_ES)。在「語言」資料夾中已包含必須的檔案以翻譯本外掛。

其他支援的語言包括:

土耳其文翻譯:Burak Demir(image-credits-nofollow-tr_TR)。

若您希望此外掛支援您的語言,並具備翻譯能力,請透過聯繫我們。

更多資訊請參閱這個外掛簡介(西班牙語),若需進一步了解,請發送電子郵件給我們。

翻譯 WordPress 外掛的步驟如下:

執行工具以產生 POT 檔案(Portable Object Template),即可全可翻譯的文字清單。本外掛已在 languages 資料夾中包含此 POT 檔案。
使用翻譯軟體ODM(如此)編輯確認並重新命名成相對應的語言前綴的.mo檔。
將已翻譯檔案放在本外掛的 languages 資料夾裡即可。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Image Credits nofollow」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin adds credits to the media uploads: Source and source URL. URLs are nofollow (no follow) by default, but you have the option to follow them. With a shortcode and various options to display image credits in the posts.
The three display options of the credits are:

Shortcode: [image-credit] with optional attributes are sep, before and after.
Template Tag: the_image_credits() with optional parameters are sep, before and after.
Display the credits automatically before or after the content.

There is a setting page in SETTINGS / IMAGE CREDITS that allows to setup the automatic credit display, including the HTML definitions.
This plugin is a fork of the Better Image Credits plugin by Claude Vedovini, which is a fork of the Image Credits plugin
by Adam Capriola. This plugin is 100% compatible with both of them, so if you are already using the Image Credit plugin or the Better Image Credit plugin, just replace them
with this one and it will work about the same way, including the nofollow of the Source URL of the images.
The main difference with the “Image Credits” plugin is that you can choose that the plugin automatically adds the credits before or at the end of a post.
The main difeerence with the “Better Image Credits” plugin is that the Source URL links are NOFOLLOW by default and you can choose to make it DOFOLLOW if you want. We also removed the OVERLAY display option, which included additional Javascript and we think is not usefull because of the compatibility problems with the different themes.
What can I do with this plugin?
This plugin adds the Source Name, Source URL and the option to follow the Source URL link to the media uploaded in WordPress.
And this image credits can be displayed in three different forms.
How do I configure the plugin?
Please navigate to SETTINGS / IMAGE CREDITS and choose options or fill in the data. Everything is self-explaining, incluiding help texts.
IMAGE CREDITS NOFOLLOW in your Language!
This first release is avaliable in English and Spanish (image-credits-nofollow-es_ES). In the languages folder we have included the necessary files to translate this plugin.
Other available languages:

Turkish translation by Burak Demir (image-credits-nofollow-tr_TR).

If you would like the plugin in your language and you’re good at translating, please drop us a line at Contact us.
Further Reading
You can access the description of the plugin in Spanish at: Image Credits Nofollow en castellano.
Contact
For further information please send us an email.
Translating WordPress Plugins
The steps involved in translating a plugin are:

Run a tool over the code to produce a POT file (Portable Object Template), simply a list of all localizable text. Our plugins allready havae this POT file in the /languages/ folder.
Use a plain text editor or a special localization tool to generate a translation for each piece of text. This produces a PO file (Portable Object). The only difference between a POT and PO file is that the PO file contains translations.
Compile the PO file to produce a MO file (Machine Object), which can then be used in the theme or plugin.

In order to translate a plugin you will need a special software tool like poEdit, which is a cross-platform graphical tool that is available for Windows, Linux, and Mac OS X.
The naming of your PO and MO files is very important and must match the desired locale. The naming convention is: language_COUNTRY.po and plugins have an additional naming convention whereby the plugin name is added to the filename: pluginname-fr_FR.po
That is, the plugin name name must be the language code followed by an underscore, followed by a code for the country (in uppercase). If the encoding of the file is not UTF-8 then the encoding must be specified.
For example:

A list of language codes can be found here, and country codes can be found here. A full list of encoding names can also be found at IANA.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon