Add new sidebar location
-
Greetings,
I am trying to add a new sidebar location inside the container. I tried various ways that were shown on your forum.
This is what I have in the functions file…
function my_inside_container_widgets_init() { register_sidebar( array( 'name' => 'Inside Container Sidebar', 'id' => 'inside-container-sidebar', 'before_widget' => '<aside id="%1$s" class="widget inner-padding %2$s">', 'after_widget' => '</aside>', 'before_title' => apply_filters( 'generate_start_widget_title', '<h4 class="widget-title">'), 'after_title' => apply_filters( 'generate_end_widget_title', '</h4>' ), ) ); } add_action('widgets_init','my_inside_container_widgets_init');
I’m struggling with the other steps from your forum to add this new sidebar. It was over a month ago since I tried it last so my memory of what I tried are sketchy and I have no idea what happened to my notes.
I would greatly appreciate your help.
Thanks!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Add new sidebar location’ is closed to new replies.