Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
There is no violation, you can edit any part of the theme you want.
I’m glad to know that you’re ok about editing some theme’s information. I’m a new WordPress user, and I’ve tried a couple of themes, but definitely, The Shop is being the best one!
Hey @santikdef, could you show me the code that you’re using to edit the footer credits?
Btw, I haven’t finished my project yet, but as soon as I finish, I’ll write a theme’s review!
Thank you
Nevermind guys, I’ve just found out the solution!
Thanks anyway
🙂
Hello @taysabr, could you show me the code that you are using to edit the footer credits?
Thank you
Hi fmartin10!
There it is:
// Remove old copyright text
add_action( ‘init’ , ‘mh_remove_copy’ );
function mh_remove_copy() {
remove_action(‘theshop_footer’, ‘theshop_footer_credits’);
}
// Add my own copyright text
add_action(‘theshop_footer’, ‘mh_footer_info’);
function mh_footer_info() {
$output = ‘<div class=”copyright”>’.’Your footer credits here’.'</div><!– .copyright –>’;
echo do_shortcode( $output );
}
You should paste it into your functions.php file (preferably using a child theme)