widget areas under slider to model footer widget areas 1,2,3
-
newbie alert. I am using customizr child theme. I have used this code into functions.php to make a widget area under the slider: `// Adds a widget area.
if (function_exists(‘register_sidebar’)) {
register_sidebar(array(
‘name’ => ‘Extra Header Widget Area’,
‘id’ => ‘extra-widget-area’,
‘description’ => ‘Extra widget area after the header’,
‘before_widget’ => ”,
‘after_widget’ => ”,
‘before_title’ => ”,
‘after_title’ => ”
));
}
// Place the widget area after the header and after the slider
add_action (‘__after_header’, ‘add_my_widget_area’, 20); // from 10 priority set to 20 to output the widget after the slider
function add_my_widget_area() {
if (function_exists(‘dynamic_sidebar’)) {
dynamic_sidebar(‘Extra Header Widget Area’);
}
}`but I want two other widget areas horizontal to it just as the footer widgets are
(1st widget-2nd widget-3rd widget). Please help. Thank you!
- The topic ‘widget areas under slider to model footer widget areas 1,2,3’ is closed to new replies.