How to arrange the order of sidebars in wp-admin
Question
If we are registering multiple sidebars in our child theme, is there a way that we can re-order which sidebars appear before or after the next sidebar?
This is my attempt of adding a new side bar Footer Title
function _ac_register_sidebars() {
register_sidebar(
apply_filters(
'_ac_footer_title_widgets_init',
array(
'name' => esc_html__( 'Footer Title', '_ac' ),
'id' => 'footer-title-widget',
'description' => '',
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="txt-white">',
'after_title' => '</h3>',
)
)
);
}
add_action( 'widgets_init', '_ac_register_sidebars' );
But I don’t want it to be first as shown below. Instead, I want it appear before Footer Bar Section 1
0
3 months
0 Answers
15 views
0
Leave an answer
You must login or register to add a new answer .