-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions.php
More file actions
25 lines (23 loc) · 973 Bytes
/
functions.php
File metadata and controls
25 lines (23 loc) · 973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
function thermo_widgets_init() {
register_sidebar( array(
'name' => __( 'First Landing Page Widget Area', 'twentytwelve' ),
'id' => 'sidebar-landing-2',
'description' => __( 'Appears when using the optional Landing Page template with a page set as Static Front Page', 'twentytwelve' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
) );
register_sidebar( array(
'name' => __( 'Second Landing Page Widget Area', 'twentytwelve' ),
'id' => 'sidebar-landing-3',
'description' => __( 'Appears when using the optional Landing Page template with a page set as Static Front Page', 'twentytwelve' ),
'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', 'thermo_widgets_init' );
?>