Advices

How to removed footer Storefront designed by WooThemes

Thinking of make some changes in the footer. Location address to edit the  footer Storefront designed by WooThemes.

wp-content/themes/storefront

Go to theme then change the line60

/storefront/inc/structure/footer.php

LINE60

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
}
}

 

 

 

 

Other method: 

Go to functions.php

wp-content/themes/storefront/functions.php

adding the code:
add_action( ‘init’, ‘custom_remove_footer_credit’, 10 );

function custom_remove_footer_credit () {
remove_action( ‘storefront_footer’, ‘storefront_credit’, 20 );
add_action( ‘storefront_footer’, ‘custom_storefront_credit’, 20 );
}

function custom_storefront_credit() {
?>
<div class=”site-info”>
&copy; <?php echo get_bloginfo( ‘name’ ) . ‘ ‘ . get_the_date( ‘Y’ ); ?>
</div><!– .site-info –>
<?php
}

 

 

 

 

Smile and enjoy the simple way of small changes . . .

Add your comments

Loading Facebook Comments ...
Loading Disqus Comments ...