Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 96024

offpeakdesign on "[Theme: Twenty Eleven] rename 'Main Sidebar' in widget editing dashboard"

$
0
0

Hi, wondering if anyone can help me figure out how to change the displayed name of "Main Sidebar" within the widget editing dashboard. I have a child theme and child functions file, but simply copying and pasting the registered sidebar, then modifying the name in my child functions file doesn't have any affect.

In original functions file:

register_sidebar( array(
		'name' => __( 'Main Sidebar', 'twentyeleven' ),
		'id' => 'sidebar-1',
		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
		'after_widget' => "</aside>",
		'before_title' => '<h3 class="widget-title">',
		'after_title' => '</h3>',
	) );

In child functions file:

register_sidebar( array(
		'name' => __( 'NEWNAME Sidebar', 'twentyeleven' ),
		'id' => 'sidebar-1',
		'before_widget' => '<aside id="%1$s" class="widget %2$s">',
		'after_widget' => "</aside>",
		'before_title' => '<h3 class="widget-title">',
		'after_title' => '</h3>',
	) );

Viewing all articles
Browse latest Browse all 96024

Trending Articles