PHP Wordpress自定义管理页脚

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了PHP Wordpress自定义管理页脚相关的知识,希望对你有一定的参考价值。

For a personal footer in the admin section. Add this to the function.php file of your theme

add_filter( 'admin_footer_text', 'my_admin_footer_text' );
function my_admin_footer_text( $default_text ) {
     return '<span id="footer-thankyou">Website  by <a href="http://www.yoursite.com">yoursite</a><span> | Powered by <a href="http://www.wordpress.org">WordPress</a>';
}

以上是关于PHP Wordpress自定义管理页脚的主要内容,如果未能解决你的问题,请参考以下文章