added footer widget area
This commit is contained in:
parent
5642027db7
commit
c883c11091
|
@ -27,6 +27,17 @@
|
||||||
'after_title' => '</h2>',
|
'after_title' => '</h2>',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
register_sidebar(
|
||||||
|
array(
|
||||||
|
'name' => esc_html__( 'Footer - Peu', 'ofisuport' ),
|
||||||
|
'id' => 'footer-widgets',
|
||||||
|
'description' => esc_html__( 'Add widgets here.', 'ofisuport' ),
|
||||||
|
'before_widget' => '<section id="%1$s" class="widget %2$s">',
|
||||||
|
'after_widget' => '</section>',
|
||||||
|
'before_title' => '<h2 class="widget-title">',
|
||||||
|
'after_title' => '</h2>',
|
||||||
|
)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
add_action( 'widgets_init', 'ofisuport_widgets_init' );
|
add_action( 'widgets_init', 'ofisuport_widgets_init' );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue