New sidebar missing from Layout Options -> Select right sidebar dropdown
-
I am trying to add a new sidebar to my site….which I think I have done, but am having trouble getting it to show as an option on my posts page where, after selecting a layout option with a right side bar, the drop down that lists which right sidebar I can choose from doesn’t list my new side bar.
The side bar has been created to the point that I can add widgets to it. Achieved using this code:
register_sidebar( array( 'name' => 'Sidebar Union', 'id' => 'sidebar-union', 'description' => 'This Widget Show the Content in Blog Listing page.', 'before_widget' => '<div class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<header class="pix-heading-title"><h2 class="pix-section-title">', 'after_title' => '</h2></header>' ) );
I cannot find any sidebar.php files to copy. Well, not entirely true…I found one but it was empty and not where any of the previous forumn answers suggested it should be.
I was hoping that this bit of code would do the trick:
() . '/images/head-add.png', 'advertisement_banner_url' => '#', 'header_code' => '', 'analytics' => '', 'responsive' => 'on', 'style_rtl' => '', 'rtl_switcher' => '', // fotter setting 'footer_social_icons' => 'on', 'partners_title' => '', 'partners_gallery' => '', 'twitter_name' => '', 'tweets_number' =>'', 'trans_switcher' => '', 'sidebar' => array( 'sidebar-1','sidebar-home','contact-sidebar', 'sidebar-union'),
which comes from the file theme_activation.php
This is the only place that I can find the 3 other sidebars that show up as options on the new/edit post page under Layout Options -> Select right sidebar.Theme currently used is KingsClub theme.
I am sure I am missing something really obvious on this one but for the life of me I can’t figure it out and everything that I read on the forums or other says to look for the sidebar.php file. Help PLEASE ??
- The topic ‘New sidebar missing from Layout Options -> Select right sidebar dropdown’ is closed to new replies.