esotera theme footer change
2021-01-27 本文已影响0人
muhucc
the old:
add_action( 'cryout_master_footer_hook', 'esotera_master_footer' );
function esotera_master_footer() {
$the_theme = wp_get_theme();
do_action( 'cryout_footer_hook' );
echo '<div style="display:block;float:right;clear: right;">' . __( "Powered by", "esotera" ) .
'<a target="_blank" href="' . esc_html( $the_theme->get( 'ThemeURI' ) ) . '" title="';
echo 'Esotera WordPress Theme by ' . 'Cryout Creations"> ' . 'Esotera' .'</a> & <a target="_blank" href="' . "http://wordpress.org/";
echo '" title="' . esc_attr__( "Semantic Personal Publishing Platform", "esotera") . '"> ' . sprintf( " %s", "WordPress" ) . '</a>.</div>';
}
and
add_action( 'cryout_master_footer_hook', 'esotera_copyright' );
function esotera_copyright() {
echo '<div id="site-copyright">' . do_shortcode( cryout_get_option( 'theme_copyright' ) ). '</div>';
}