[WordPress] 外掛分享: Footer Credits

WordPress 外掛 Footer Credits 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Footer Credits」是 2015-06-23 上架。
  • 目前有 1000 個安裝啟用數。
  • 上一次更新是 2024-09-03,距離現在已有 242 天。
  • 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
  • 有 6 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

cedaro | bradyvercher |

外掛標籤

footer | credits | customizer | site credits |

內容簡介

此外掛僅適用於已新增支援的佈景主題。

Footer Credits 提供一個標準化的方式來編輯佈景主題的設計者資訊。它在自訂器中登記一個新的區段及欄位以修改資訊並選擇它們的顯示方式。

佈景主題作者可以讓您的使用者及消費者知道您的佈景主題支援 Footer Credits 外掛。

如果您的佈景主題不支援 Footer Credits,請聯絡開發者並請求新增支援。指示可以在「其他筆記」區段找到。

其他資源

寫評論
在 GitHub 上貢獻
追蹤 @cedaroco
造訪 Cedaro

筆記

如果您是佈景主題作者,想要新增支援,您只需要將預設的設計者資訊字串傳送至 footer_credits 篩檢器即可。

1. 建立一個含預設設計者資訊及篩檢器的樣板標籤:
if ( ! function_exists( 'themename_credits' ) ) :
/**
* 佈景主題設計者資訊文字。
*/
function themename_credits() {
$text = sprintf( __( '%s by Cedaro.', 'themename' ),
'Hyalite'
);

echo apply_filters( 'footer_credits', $text );
}
endif;

2. 於佈景主題 footer 的某處呼叫樣板標籤:





原文外掛簡介

This plugin only works with themes that have added support.
Footer Credits provides a standardized method for making theme credits editable. It registers a new section and fields in the Customizer for modifying the credits and choosing how they appear.
Theme authors, let your users and customers know your theme supports the Footer Credits plugin.
If your theme doesn’t work with Footer Credits, ask the developer to add support. Instructions can be find in the Other Notes section.
Additional Resources

Write a review
Contribute on GitHub
Follow @cedaroco
Visit Cedaro

Notes
If you’re a theme author and want to add support, all you need to do is pass the default credits string through a footer_credits filter.
1. Create a template tag with the default credits and filter:
Hyalite'
);

echo apply_filters( 'footer_credits', $text );
}
endif;

2. Then call the template tag somewhere in the footer of the theme:

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Footer Credits」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.1.0 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon