WordPress Footer Nasıl Kaldırılır?
Appearance/ Theme File Editor ‘ün altında
ColorMag: footer.php (template-parts/hooks/footer/footer.php)
isimli dosyaya ulaşın.
add_action( ‘colormag_action_after’, ‘colormag_page_end’, 10 );
satırından sonra yer alan
if ( ! function_exists( ‘colormag_footer_copyright’ ) ) :
/**
* Shows the footer copyright information.
*/
function colormag_footer_copyright() {
$site_link = ‘<a href=”‘ . esc_url( home_url( ‘/’ ) ) . ‘” title=”‘ . esc_attr( get_bloginfo( ‘name’, ‘display’ ) ) . ‘” ><span>’ . get_bloginfo( ‘name’, ‘display’ ) . ‘</span></a>’;
$wp_link = ‘<a href=”https://wordpress.org” target=”_blank” title=”‘ . esc_attr__( ‘WordPress’, ‘colormag’ ) . ‘” rel=”nofollow”><span>’ . esc_html__( ‘WordPress’, ‘colormag’ ) . ‘</span></a>’;
$tg_link = ‘<a href=”https://themegrill.com/themes/colormag” target=”_blank” title=”‘ . esc_attr__( ‘ColorMag’, ‘colormag’ ) . ‘” rel=”nofollow”><span>’ . esc_html__( ‘ColorMag’, ‘colormag’ ) . ‘</span></a>’;
$default_footer_value = sprintf( /* Translators: %1$s: Current year, %2$s: Site link */ esc_html__( ‘Copyright © %1$s %2$s. All rights reserved.’, ‘colormag’ ), date( ‘Y’ ), $site_link ) . ‘<br>’ . sprintf( /* Translators: %1$s: Theme name, %2$s: ThemeGrill site link */ esc_html__( ‘Theme: %1$s by %2$s.’, ‘colormag’ ), $tg_link, ‘ThemeGrill’ ) . ‘ ‘ . sprintf( /* Translators: %s: WordPress link */ esc_html__( ‘Powered by %s.’, ‘colormag’ ), $wp_link );
$colormag_footer_copyright = ‘<div class=”copyright”>’ . $default_footer_value . ‘</div>’;
echo wp_kses_post( $colormag_footer_copyright );
}
endif;
add_action( ‘colormag_footer_copyright’, ‘colormag_footer_copyright’, 10 );
kısmını komple kaldırıyoruz.
İşlem bu kadar.