plugin-icon

Footer Credits

A Customizer control to make footer credits editable.
評価機能
3.7
最終更新日時
June 5, 2023
バージョン
1.1.0
有効インストール数
1K
Footer Credits

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

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:

<?php if ( ! function_exists( 'themename_credits' ) ) : /** * Theme credits text. */ function themename_credits() { $text = sprintf( __( '%s by Cedaro.', 'themename' ), '<a href="https://www.cedaro.com/wordpress/themes/hyalite/">Hyalite</a>' ); echo apply_filters( 'footer_credits', $text ); } endif;

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

<footer class="site-footer"> <div class="credits"> <?php themename_credits(); ?> </div> </footer>
無料Creator プランを利用中
インストールすることで、WordPress.com の利用規約サードパーティ製プラグインの規約に同意したとみなされます。
有効インストール数
1K
最大テスト回数
6.2.5
このプラグインをダウンロードして、インストール型 WordPress のインストールに使用できます。