Changing footer call
-
Hi, I’m triying to chang the footer text by a plugin, I can add the new text, but the old one still apears. Can any body help me, pleas. Here is the code:
<?php
// A?ADIR FIRMA AL FINAL DE LA WEB
function custom_footer_text()
{
$content = ‘</div><!– #main .wrapper –>’;
$content .= ‘<footer id=”colophon” role=”contentinfo”>’;
$content .= ‘<div class=”site-info”>’;
$content .= ‘<?php do_action( “twentytwelve_credits” ); ?>’;
$content .= ‘Desarrollado por Be?at Bustamante bajo WordPress‘;
$content .= ‘</div><!– .site-info –>’;
$content .= ‘</footer><!– #colophon –>’;
$content .= ‘</div><!– #page –>’;$content .= ‘<?php wp_footer(); ?>’;
$content .= ‘</body>’;
$content .= ‘</html>’;
echo $content;
}
add_action( ‘get_footer’, ‘custom_footer_text’ );
remove_action( ‘wp_footer’, ‘get_footer’ );
?>
- The topic ‘Changing footer call’ is closed to new replies.