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
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
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 sidebarsThanks!
Hi!
Glad that I could help you :)
Best regards,
Peter
You must log in to post.