May 22, 2012 at 9:14 pm #12619
I have inserted some widgets on “Sidebar Pages”. it’s ok for many pages.
For one or two pages I need a custom sidebar instead of the standard “Sidebar Pages”. So I created it (it’s a theme feature) and I have added the desired widget. Unfortunately this page shows both the default “Sidebar Pages” and the custom one! I need just the custom one.May 22, 2012 at 10:42 pm #76161
the fact is that a custom page sidebars doesn’t “overwrite” standard sidebar but it add to it. The result is that I see the default sidebar widgets and the custom sidebar widgets in the same page.May 29, 2012 at 6:03 pm #76162
I believe you are correct in the hierarchy described but I’m not sure its a quick fix. Like the “Display Everywhere” sidebars, some sidebars get added in before others and then stack. I’ll need to ask Kriesi to take a look at this since I’m not quite sure how to edit the overall behavior in the theme files.
DevinJune 7, 2012 at 11:34 pm #76163
I have a similar problem where I have added a widget to a specific page in hope that it would override displayed everywhere sidebar http://gdlife.com.mx/salon-purpura/ any idea how I can control displayed everywhere so certain pages don’t have it?
Thanks!June 9, 2012 at 2:42 am #76164June 21, 2012 at 8:27 pm #76165
Please open the sidebar.php file and go to line 84 where it generates the unique page sidebars:
//unique Page sidebars:
if (function_exists('dynamic_sidebar') && dynamic_sidebar('Page: '.$custom_widget_area) ) : $default_sidebar = false; endif;
remove this and paste the following in line 65:
$show_other_sidebars = true;
if (function_exists(‘dynamic_sidebar’) && dynamic_sidebar(‘Page: ‘.$custom_widget_area) ) : $show_other_sidebars = $default_sidebar = false; endif;
now change every line that starts with
if ($show_other_sidebars && $avia_config
you might also apply the $show_other_sidebars check to the ‘Displayed Everywhere’ widget area in line 93July 5, 2012 at 11:40 pm #76166
I have the same problem. I see this answer, but in my sidebar.php, the line 84 don’t mach with yours, so I don’t know exactly where I need to paste the new code ($show_other_sidebars = true; etc.).
To me, the line 65 shows:
66 if ($children)
68 $default_sidebar = false;
69 $sidebar_menu .= “<div class=’widget widget_nav_menu’><ul class=’nested_nav’>”;
… $sidebar_menu .= $children;
$sidebar_menu .= “</div>”;
Actually, I want to display the sidebar of the Contact page like you: http://www.kriesi.at/themes/choices/contact/
Thank you so much.July 6, 2012 at 2:55 am #76167
Please download the latest version of Angular theme then do Kriesi’s instructions. :)
IsmaelJuly 6, 2012 at 3:59 pm #76168
Ups! I didn’t see that the topic was about Angular Theme. I’m talking about Choices Theme. I’ll go there.
Sorry and thanks.July 7, 2012 at 8:59 am #76169
The topic ‘multiple sidebar instead of one’ is closed to new replies.