If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

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


    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?




    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





    Glad that I could help you :)

    Best regards,


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

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