Support » Themes and Templates » Footer Credits

  • I wanted to remove theme credits in the footer but mistakenly took out too much code. An error in the footer now reads “Parse error: syntax error, unexpected ‘endif’ (T_ENDIF) in /home/jogiglio2/public_html/wp-content/themes/influence/footer.php on line 23”

    Here is the screwed up code that is missing something. Any help repairing is much appreciated.

    ?>
    
    	</div><!-- #main .site-main -->
    
    	<footer id="colophon" class="site-footer" role="contentinfo">
    
    		<div class="container">
    
    			<div id="footer-widgets">
    				<?php dynamic_sidebar( 'sidebar-footer' ) ?>
    			</div><!-- #footer-widgets -->
    
    			<?php endif; ?>
    
    		</div>
    
    	</footer><!-- #colophon .site-footer -->
    </div><!-- #page .hfeed .site -->
    
    <?php get_sidebar('menu') ?>
    
    <?php wp_footer(); ?>
    
    </body>
    </html>

    [Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]

Viewing 1 replies (of 1 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Hi!

    Have you tried asking the theme’s author for help?

    You could try uploading just that file that you edited to get it back.

Viewing 1 replies (of 1 total)
  • The topic ‘Footer Credits’ is closed to new replies.