• Resolved Martin Wainwright

    (@martin-wainwright)


    Ok, sorry if this is obvious but I’m a WP novice.

    My site is at https://www.thomaswainwright.com which is a site for my kids (long story!) I’m running Twentyten and 3.0.1.

    I experimented with a different theme (Comment Central), didn’t like it, and when I switched back to TT all the widgets had been moved to the inactive area. I’ve moved the widgets back but cannot find where the actual text ‘Secondary Widget Area’ is coded or how to remove it.

    Any ideas please?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Twenty Ten doesn’t have a ‘Secondary Widget Area’

    Thread Starter Martin Wainwright

    (@martin-wainwright)

    Erm .. I’m confused!

    On my version I’ve got primary and secondary; then 1st, 2nd, 3rd and 4th footer widget areas.

    None of them are ‘titled’ except secondary and it’s annoying me there in the sidebar! There are no options that I can find to remove it.

    Sorry – my bad. Edit functions.php and remove:

    // Area 2, located below the Primary Widget Area in the sidebar. Empty by default.
    	register_sidebar( array(
    		'name' => __( 'Secondary Widget Area', 'twentyten' ),
    		'id' => 'secondary-widget-area',
    		'description' => __( 'The secondary widget area', 'twentyten' ),
    		'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
    		'after_widget' => '</li>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>',
    	) );

    But be warned that your customisations will be over-written the next time you upgrade WordPress or the theme. For this reason, it is recommended that you consider creating a child theme for your customisations.

    Thread Starter Martin Wainwright

    (@martin-wainwright)

    Thanks very much esmi, that works- I couldn’t find that code anywhere! ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Removal of Secondary Widget Area title?’ is closed to new replies.