Error in footer.php
-
Hello,
I installed and customized the MediaPhase Lite Theme and lost my footer and widgets. While trying to add content to footer.php, using the built-in editor, it appears I deleted code which critical to the footer.Now, widgets do not show-up in my dashboard nor on the web page and page footer is gone.
I would greatly appreciate guidance with resolving the problem. Thank you.
The following is the error message that appears at the bottom of my webpage (http;//www.swypdigital.com):
Parse error: syntax error, unexpected ‘Proudly’ (T_STRING) in /home2/swypapps/public_html/swypdigital.com/wp-content/themes/MediaPhase/footer.php on line 44
The following is the entirety of the code in the footer.php file:
<?php /** * The template for displaying the footer. * * Contains the closing of the #content div and all content after * * */ ?> <div id="backtotop"> <div class="wrap"> <a href="#"><i class="fa fa-chevron-up"></i></a> </div><!-- End #wrap --> </div> <div id="footer"> <div class="wrap"> <?php if ( is_active_sidebar( 'mediaphase-footer' ) ) { dynamic_sidebar( 'mediaphase-footer' ); } ?> </div><!-- End #wrap --> </div> <?php wp_footer(); ?> </body> </html> <div id="bottom"> <div class="wrap"> <a href="<?php echo home_url();?>" rel="home"> <?php $display_footer_logo = get_theme_mod( 'mediaphase_footer_logo_show' , 'yes' ); if ( $display_footer_logo === 'yes' ) { echo '<img src="' . get_theme_mod( 'mediaphase_footer_logo_image' ) . '" class="bottomlogo"/>'; } ?> <p class="bottomtext"> <a rel="generator" href="<?php echo esc_url( __( 'https://swypdigital.com/', ' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'Swyp Digital Media Marketing' ), ); ?></a> <?php printf( __( ), ' ); ?> </p> </div><!-- End #wrap --> </div> </div><!-- End .container --> <?php wp_footer(); ?> </body> </html>
- The topic ‘Error in footer.php’ is closed to new replies.