Support » Themes and Templates » Footer twentyeleven

Footer twentyeleven

  • Hello,

    I deleted the footer in the editor to remueve “wordpress title” since then my facebook plugins: like box and sharing bottons (shareholic) arent working. they seemed ok!

    thanks for the help.

    Maybe I deleted more than I should?? the two last line before </script>

Viewing 6 replies - 1 through 6 (of 6 total)
  • Andrew Nevins
    Forum moderator


    You can re-install the theme to revert that change, and any changes you’ve made to the theme.

    To avoid losing changes when re-installing the theme, transfer your changes to a Child Theme.

    It’s important to keep the default themes, Twenty Ten and Twenty Eleven as they are for debugging.

    Forum Moderator


    whatever you delete in footer.php (in a child theme of Twenty Eleven), make sure to keep:

    </div><!-- #main -->
    </div><!-- #page -->
    <?php wp_footer(); ?>

    the html tags are for keeping the site ‘validatable’ – http://validator.w3.org/
    and the <?php wp_footer(); ?> is a necessary hook for scripts, etc.

    it seems I have a lot to learn and to look up. Should try and do it. Thanks. (Andrew)

    Alchymyth: it looks as I have everything you mentioned.
    i installed jetpack; may this be the problem??

    thanks so much.
    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser. Or use pastebin.com instead. ]

     * The template for displaying the footer.
     * Contains the closing of the id=main div and all content after
     * @package WordPress
     * @subpackage Twenty_Eleven
     * @since Twenty Eleven 1.0
    	</div><!-- #main -->
    	<footer id="colophon" role="contentinfo">
    				/* A sidebar in the footer? Yep. You can can customize
    				 * your footer with three columns of widgets.
    				if ( ! is_404() )
    					get_sidebar( 'footer' );
    			<div id="site-generator">
    				<?php do_action( 'twentyeleven_credits' ); ?>
    				<a>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>" rel="generator"><?php printf( __( ); ?></a>
    	</footer><!-- #colophon -->
    </div><!-- #page -->
    <?php wp_footer(); ?>
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-31731423-1']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })(<?php do_action( 'twentyeleven_credits' ); ?>
    				<a>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?></a>
    </div><!-- #main -->
    </div><!-- #page -->
    <?php wp_footer(); ?>
    </html>			</div>);

    the hit counter used to work as well , at the bottom-left of the page and it not showing either. thanks again



    Do you have a closing tag for that <script> tag? If you’ve deleted stuff and it’s left open you’ll probably have issues..

    I pasted the full footer.php. Is this
    </script> the closing tag?, have not got a clue about programming!!!
    Fell quite lost.


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Footer twentyeleven’ is closed to new replies.