/ Published in: PHP
How to put sidebars footer on twenty twelve theme again. Part 3: Insert this register_sidebar at the end of the function twentytwelve_widgets_init() into functions.php
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
'name' => __( 'Footer Area One', 'twentytwelve' ), 'id' => 'sidebar-4', 'description' => __( 'An optional widget area for your site footer', 'twentytwelve' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); 'name' => __( 'Footer Area Two', 'twentytwelve' ), 'id' => 'sidebar-5', 'description' => __( 'An optional widget area for your site footer', 'twentytwelve' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); 'name' => __( 'Footer Area Three', 'twentytwelve' ), 'id' => 'sidebar-6', 'description' => __( 'An optional widget area for your site footer', 'twentytwelve' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) );