Editing footer text


#1

I’m working off a child theme and I am trying to add an email link after “© 2015 - 2016 HAPPIE DUCKS . ALL RIGHTS RESERVED.” in my footer. But every time I try to edit it I get an error on line 203 (If I’m remembering correctly.) I’m trying to go from `/**

  • Footer credits
    */
    function athemes_footer_credits() {
    ?>
    <div class=“site-info”>
    © 2015 - <?php echo date(Y); ?> <?php bloginfo( ‘name’ ); ?><?php esc_html_e(’. All rights reserved.’, ‘athemes’); ?>
    </div><!-- .site-info -->

    <div class=“site-credit”>
    <a href=“https://athemes.com/theme/fashionista”>Fashionista</a><?php esc_html_e(’ by aThemes’, ‘athemes’); ?>
    </div><!-- .site-credit -->
    <?php
    }
    add_action( ‘athemes_footer’, ‘athemes_footer_credits’ );`

to this (this is the code giving me an error)

/**
 * Footer credits
 */
function athemes_footer_credits() {
	?>
	<div class="site-info">
		&copy; 2015 - <?php echo date(Y); ?> <?php bloginfo( 'name' ); ?><?php esc_html_e('. All rights reserved.', 'athemes'); ?>  ( ‘Contact us at:’ )<a href="mailto:happieducks@gmail.com?Subject=Comment/Concern%20about%20website" target="_top">happieducks@gmail.com</a>; ?>
	</div><!-- .site-info -->

	<div class="site-credit">
		<a href="https://athemes.com/theme/fashionista">Fashionista</a><?php esc_html_e(' by aThemes', 'athemes'); ?>
	</div><!-- .site-credit -->
	<?php
}
add_action( 'athemes_footer', 'athemes_footer_credits' );

If someone could explain what I’m doing wrong that’d be great, and showing me what code I should actually add would be even better.


#2

Never mind? I spent nearly an hour trying to figure this out, and then after I posted this it started working.