Support » Theme: Esteem » Edit footer

Viewing 4 replies - 1 through 4 (of 4 total)
  • Under:
    /wp-content/themes/esteem/inc/functions.php

    Edit the following code

    add_action( 'esteem_footer_copyright', 'esteem_footer_copyright', 10 );
    /**
     * function to show the footer info, copyright information
     */
    if ( ! function_exists( 'esteem_footer_copyright' ) ) :
    function esteem_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="'.esc_url( 'http://wordpress.org' ).'" target="_blank" title="' . esc_attr__( 'WordPress', 'esteem' ) . '"><span>' . __( 'WordPress', 'esteem' ) . '</span></a>';
    
    	$tg_link =  '<a href="'.esc_url( 'http://themegrill.com/themes/esteem' ).'" target="_blank" title="'.esc_attr__( 'ThemeGrill', 'esteem' ).'" rel="designer"><span>'.__( 'ThemeGrill', 'esteem') .'</span></a>';
    
    	$default_footer_value = sprintf( __( 'Copyright &copy; %1$s %2$s.', 'esteem' ), date( 'Y' ), $site_link ).' '.sprintf( __( 'Powered by %s.', 'esteem' ), $wp_link ).' '.sprintf( __( 'Theme: %1$s by %2$s.', 'esteem' ), 'Esteem', $tg_link );
    
    	$esteem_footer_copyright = '<div class="copyright">'.$default_footer_value.'</div>';
    	echo $esteem_footer_copyright;
    }
    endif;

    Thanks

    Can you specify how to edit that piece of code ?
    I traced it down but it’s kind of difficult to adjust since if you mess it up you destroy the theme.

    I want to remove “Copyright © 2016 MoMo Generation. Powered by WordPress. Theme: Esteem by ThemeGrill.” from footer and replace with “Copyright © 2016 MoMo Generation. All Rights Reserved” I also want to remove all the links… I did look the tutorial given above but didn’t understant… does this “/wp-content/themes/esteem/inc/functions.php” suppose to go right after my domain name? Like this http://www.momogeneration.com/wp-content/themes/esteem/inc/functions.php?
    Help

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Edit footer’ is closed to new replies.