Go to
<a> Wordpress admin panel.
<b> Appearance.
<c> Editor.
<d> Open config.php file from 'Themes Functions' section.
<e> Append the following code in 'functions.php' file...
<f> Here sidebar 'id'='copy_right' which is used to call it on the required
position and 'name' => __( 'Footer Copy Right', 'twentyeleven' )
which is display in admin panel widget area.
function twentyeleven_widgets_init()
{
register_sidebar( array(
'name' => __( 'Footer Copy Right', 'twentyeleven' ),
'id' => 'copy_right',
'description' => __( 'An optional widget area for your site footer', 'twentyeleven' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => "</aside>",
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
) );
}
add_action( 'widgets_init', 'twentyeleven_widgets_init' );
No comments:
Post a Comment