码迷,mamicode.com
首页 > 其他好文 > 详细

移除Strorefront站点footer上的Storefront Design By WooThemes字样

时间:2015-06-18 17:16:00      阅读:201      评论:0      收藏:0      [点我收藏+]

标签:

进入wp-content\themes\storefront\inc\structure\footer.php, 注释掉代码:

if ( ! function_exists( ‘storefront_credit‘ ) ) {
    /**
     * Display the theme credit
     * @since  1.0.0
     * @return void
     */
    function storefront_credit() {
        ?>
        <div class="site-info">
            <?php echo esc_html( apply_filters( ‘storefront_copyright_text‘, $content = ‘&copy; ‘ . get_bloginfo( ‘name‘ ) . ‘ ‘ . date( ‘Y‘ ) ) ); ?>
            <?php if ( apply_filters( ‘storefront_credit_link‘, true ) ) { ?>
            <!-- <br /> <?php printf( __( ‘%1$s designed by %2$s.‘, ‘storefront‘ ), ‘Storefront‘, ‘<a href="http://www.woothemes.com" alt="Premium WordPress Themes & Plugins by WooThemes" title="Premium WordPress Themes & Plugins by WooThemes" rel="designer">WooThemes</a>‘ ); ?>
            <?php } ?> 
            -->
        </div><!-- .site-info -->
        <?php
    }
}

 

移除Strorefront站点footer上的Storefront Design By WooThemes字样

标签:

原文地址:http://www.cnblogs.com/haibinyuan/p/4586127.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!