內容簡介
提供一個簡單易用的小工具及兩個佈景主題函數(template tags): wp_janesguide_award() 與 wp_janesguide_icon()。這些函數可以顯示兩種獎項圖片(前者)或是一個 JanesGuide.com 的回鏈圖示(後者)。小工具可以顯示這三種選擇之一。
如果您的網站獲得了 JanesGuide.com 的“優質”(預設)或“優質且原創”的評論,請使用 wp_janesguide_award() 。例如,要顯示“優質且原創”的獎項圖示,請使用以下程式碼:
<?php wp_janesguide_award('originalquality');?>
另一個版本的“優質且原創”獎項圖示可以使用以下程式碼:
<?php wp_janesguide_award('originalquality2');?>
要顯示“優質”的圖示,請使用:
<?php wp_janesguide_award();?>
這些佈景主題函數將產生一個有連結的圖片。您可以透過進入 WordPress 管理介面中的 JanesGuide 設定頁面來自訂連結的目的地。
如果您尚未收到 JanesGuide 的評論,則使用以下程式碼:
<?php wp_janesguide_icon();?>
外掛標籤
開發者團隊
原文外掛簡介
Provides a simple-to-use widget and, if you want to use them, two template tags (theme functions): wp_janesguide_award() and wp_janesguide_icon(). These functions display an image of one of two awards in the case of the former or a generic JanesGuide.com linkback icon in the case of the latter. The widget can display any of these three options.
Use wp_janesguide_award() if your site has received a “quality” (default) or a “quality and original” review from JanesGuide.com. For instance, to display a “quality and original” award icon, use code like this:
Another version of the “quality and original” award icon can be used like this:
To display the ‘quality’ icon, use:
These template tags will produce a linked image. You can customize the destination of the link by going to the JanesGuide Settings page in your WordPress Admin screens.
If you have not received a JanesGuide review yet, use:
