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' );
?>