Hi all,
I have already placed the wording to remove links from the front-page slider in the theme. I was hoping to add the following as well to functions.php in child but keep getting an internal server error message.
<?php //Opening PHP tag
// Remove old copyright text
add_action( ‘init’ , ‘mh_remove_copy’ , 15 );
function mh_remove_copy() {
remove_action( ‘travelify_footer’, ‘travelify_footer_info’, 30 );
}
// Add my own copyright text
add_action( ‘travelify_footer’ , ‘mh_footer_info’ , 30 );
function mh_footer_info() {
$output = ‘<div class=“copyright”>’.‘Copyright [the-year] [site-link] Powered by: WordPress’.’</div><!-- .copyright -->’;
echo do_shortcode( $output );
}
//Closing PHP tag
?>