Would you be able to assist me with creating a custom footer for the site I’m creating?
I would like the footer to have the copyright, year, site title, theme by Colorlib, but then to say designed by me with a link to my own website, rather than have the Wordpress link.
I found this, but it results in just my credit being displayed:
<?php
// Replace copyright information from footer-extensions.php
// Remove old copyright text
add_action( 'init' , 'remove_copyright' , 15 );
function remove_copyright() {
remove_action( 'travelify_footer', 'travelify_footer_info', 30 );
}
// Add new copyright info
add_action( 'travelify_footer' , 'new_footer_info' , 30 );
function new_footer_info() {
$output = '<div class="copyright">Your new copyright information</div>';
echo $output;
}
?>