• Resolved frogpoet

    (@frogpoet)


    I was trying to go in and edit the footer of my website, because there is a ? before the 2015 and also I wanted to get rid of the type of template I’m using. I deleted what I thought would get rid of that and now instead of a footer, I’ve got the following:

    Parse error: syntax error, unexpected ‘<‘ in /home/content/34/7440134/html/Kaiyatheband/wp-content/themes/arcade/footer.php on line 24

    Here is what my footer looks like now… the top part got cut off from the screen grab.

    * Contains footer content and the closing of the main and #page div elements.
     *
     * @since 1.0.0
     */
    $bavotasan_theme_options = bavotasan_theme_options();
    ?>
    	</main><!-- main -->
    
    	<footer id="footer" role="contentinfo">
    		<div id="footer-content" class="container">
    			<div class="row">
    				<?php dynamic_sidebar( 'extended-footer' ); ?>
    			</div><!-- .row -->
    
    			<div class="row">
    				<div class="copyright col-lg-12">
    					<?php $class = ( is_active_sidebar( 'extended-footer' ) ) ? ' active' : ''; ?>
    					<span class="line<?php echo $class; ?>"></span>
    					<span class="pull-left"><?php echo wp_kses_post( html_entity_decode( $bavotasan_theme_options['copyright'] ) ); ?></span>
    					<span class="credit-link pull-right"><i class="fa fa-leaf"></i><?php printf( __( 'The %s Theme by %s.', 'arcade' ),</span>
    				</div><!-- .col-lg-12 -->
    			</div><!-- .row -->
    		</div><!-- #footer-content.container -->
    	</footer><!-- #footer -->
    </div><!-- #page -->
    
    <?php wp_footer(); ?>
    </body>
    </html>

    Can someone please tell me what I need to do to get this problem fixed and also tell me if there is a better place for me to edit the footer of my website… obviously I”m not very competent when it comes to coding.

    Thanks so much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Download a new copy of your theme to your local computer and then replace that file manually – using FTP or Cpanel to access your site files on the server.

    And you should not be editing theme files at all – see:

    https://codex.www.ads-software.com/Child_Themes

    Thread Starter frogpoet

    (@frogpoet)

    Thank you so, so much for your response. I definitely learned my lesson and won’t be editing theme files from here on out. Can you please explain to me (in detail if possible) how I would copy the theme to my local computer and then manually replace that file through Cpanel or FTP? Don’t I need login information to use FTP? I’m so sorry, I wish I understood this better, but do really appreciate your help.

    No problem – that’s why we are here :)! Looks like your site is on GoDaddy, so see:

    https://support.godaddy.com/help/article/8884/logging-in-to-cpanel-shared-hosting

    Thread Starter frogpoet

    (@frogpoet)

    I got it to work! I found a copy of the footer.php in the original theme I downloaded to my computer. So I just copy and pasted that back into my footer.php on the site and waloo~! It works perfectly now. Thank you so much for your help! ??

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