Hello,
When I create a new widget area in Flashlight theme, it creates one for the left and one for the right sidebar by default; how can I only create one for the right sidebar all the time ?
Hello,
When I create a new widget area in Flashlight theme, it creates one for the left and one for the right sidebar by default; how can I only create one for the right sidebar all the time ?
Open up wp-content\themes\flashlight\includes\admin\register-widget-area.php and replace
#extra widgets for pages
$id_array = avia_check_custom_widget('page', 'ids');
with:
#extra widgets for pages
$id_array = avia_check_custom_widget('page', 'ids');
$sidebars_to_show = array('right');Hello,
I tried that : it removes left sidebars. But by the way, it makes many sidebars desactivated in the widget backoffice page. So it's not good to do that.
And now I discovered another problem : if I'm not logged with my administrator profile, my sidebar doesn't appear on these pages, it's the default one instead > http://www.courcellesexperts.com/notre-expertise/nos-specificites/accompagnement-de-start-up/
> http://www.courcellesexperts.com/notre-expertise/activites-traditionnelles/expertise-comptable/
1) Unfortunately I'm not aware of another solution - so if you want to keep the sidebars on the admin page you it's not possible to "create one for the right sidebar all the time".
2) Please create me a wordpress admin account and send me the login data to: kriesi2000-dude@yahoo.com - I'll look into it. I need to check what's the difference between your "admin" sidebar and the default one.
You must log in to post.