Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12433

    Hi,

    Started created some custom sidebars and notice they appear below the general sidebar.

    Is there a way to move the custom sidebar above the general one – or remove the general one completely?

    Thanks,

    -Alex

    #75440

    Yes – in sidebar.php find following code:

    $custom_widget_area = avia_check_custom_widget('page');

    //unique Page sidebars:
    if (function_exists('dynamic_sidebar') && dynamic_sidebar('Page: '.$custom_widget_area) ) : $default_sidebar = false; endif;

    $custom_widget_area = avia_check_custom_widget('cat');

    //unique Category sidebars:
    if (function_exists('dynamic_sidebar') && dynamic_sidebar('Category: '.$custom_widget_area) ) : $default_sidebar = false; endif;

    and move/insert it before following line:

    // single shop sidebars

    #75441

    Thanks!

    #75442

    Hi!

    Glad that I could help you :)

    Best regards,

    Peter

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

The topic ‘Custom Sidebars Above General Sidebar’ is closed to new replies.