• msouthon

    (@msouthon)


    Hi,

    I’m using a child of the 2010 theme and I recently created a page for blogs (my home page is a static page):

    https://www.cairnsaustraliatravelguide.com/catg-blog

    The new blog page is working fine except that for some reason it is displaying either a menu or a sitemap at the bottom of the page. I’ve experimented with all the various WP backend settings that might control this but have not been able to remove it.

    If anyone has any ideas I would be most grateful.

    Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Vinny Moreira

    (@vimodesigns)

    Have you tried Appearance > Widgets and checked if there are any widgets on a Blog Footer or something? If you can’t figure it out and are in desperate need of hiding that menu, you can always use css to hide it.

    #footernav { display: none; }

    Thread Starter msouthon

    (@msouthon)

    Thanks for that. I had a look at the Appearance : Widgets area and the four ‘Footer Widget Areas’ are all empty.

    So then I went into Firebug and found the code that is causing it:

    <div id=“footer” role=”contentinfo”>

    I would like to delete that line of code, but cannot find it. Can you tell me which template file that would be in?

    Thanks!

    Vinny Moreira

    (@vimodesigns)

    How about under Appearance > Menus ? Do you see any menu for the blog or something?
    First I’d look at footer.php. If it’s not there, the quickest way to find out what’s spitting out that code is to do a search within all files in a directory. Search the directory containing your theme and/or child theme for ‘id=“footer”‘ That should show you the files that have that line of code.

    I hope this helps!

    Vinny

    Thread Starter msouthon

    (@msouthon)

    Thanks. I solved it by removing this code from footer.php:

    [ Moderator note: Code fixed, please wrap code in backticks or use the code button. ]

    <div id="colophon">
    
    <?php
    	/* A sidebar in the footer? Yep. You can can customize
    	 * your footer with four columns of widgets.
    	 */
    	get_sidebar( 'footer' );
    ?>
    
    			<div id="site-info">
    				<a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
    					<?php bloginfo( 'name' ); ?>
    				</a>
    			</div><!-- #site-info -->
    
    			<div id="site-generator">
    				<?php do_action( 'twentyten_credits' ); ?>
    				<a>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyten' ); ?>"><?php printf( __( 'Proudly powered by %s.', 'twentyten' ), 'WordPress' ); ?></a>
    			</div><!-- #site-generator -->
    
    		</div><!-- #colophon -->

    I’m still getting some widgets that belong to the ‘Primary Widget Area’ (the ‘Share Us’ and ‘Like Us’ buttons) appearing in the Footer which is weird. I’m trying to figure out how to remove them:

    https://www.cairnsaustraliatravelguide.com/catg-blog

    I checked in Appearance : Menus and I only have one menu activated (in the header).

    Thanks again!

    Hi, what you exactly did on footer.php,
    Even i am facing the same issue

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘how to remove footer menu from blog page’ is closed to new replies.