WordPress修改页脚版权信息

打开footer.php,找到下面代码:

<div id="footer-base">
<div class="copyright">
<?php
$copyright_text = '&copy; ' . date( 'Y' ) . ' <a href="' . home_url( '/' ) . '" title="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '">' . esc_attr( get_bloginfo( 'name' ) ) . '</a>';
$copyright_text = apply_filters( 'responsive_mobile_copyright_text', $copyright_text );
echo $copyright_text;
?>
</div><!-- .copyright -->

<div class="powered">
<?php
$powered_by_text = sprintf(
/* Translators: Responsive Theme powered by WordPress */
__( '%1$s powered by %2$s', 'BaronYan' ),
'<a href="' . esc_url( 'http://www.autoparts369.com/' ) . '">' . __( 'autoparts369', 'autoparts369-mobile' ) . '</a>',
'<a href="' . esc_url( 'http://www.autoparts369.com/' ) . '">' . __( 'BaronYan', 'BaronYan' ) . '</a>'
);
$powered_by_text = apply_filters( 'responsive_mobile_powered_by_text', $powered_by_text );
echo $powered_by_text;
?>
</div><!-- end .powered -->

<div class="scroll-top">
<a href="#scroll-top" title="<?php esc_attr_e( 'scroll to top', 'autoparts369' ); ?>"><?php //_e( '&uarr;', 'autoparts369-mobile' ); ?> TOP</a>
</div><!-- .scroll-top -->
</div><!-- #footer-base -->

posted @ 2017-02-06 15:13  BaronYan  阅读(7919)  评论(0编辑  收藏  举报