Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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.

    #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.

    #76162

    Hi cesco81,

    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.

    Regards,

    Devin

    #76163

    Hi

    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!

    #76164
    #76165

    Hey!

    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 ($avia_config

    to


    if ($show_other_sidebars && $avia_config

    you might also apply the $show_other_sidebars check to the ‘Displayed Everywhere’ widget area in line 93

    #76166

    Hello.

    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:

    65

    66 if ($children)

    67 {

    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.

    #76167

    Hello rovireti,

    Please download the latest version of Angular theme then do Kriesi’s instructions. :)

    Regards,

    Ismael

    #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.

    #76169

    Hello,

    No problem. :)

    Regards,

    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘multiple sidebar instead of one’ is closed to new replies.