If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Tagged: right sidebar
October 27, 2011 at 10:37 pm #6660
I’m happy with the Flashlight theme.
I would like to have a side bar on the right only for a specific page.
It seems if I specify a page for a widget area, the widgets wind up on the left sidebar.
If I specify a default right sidebar the widgets of interest appear on the right sidebar for the page specified, however all other pages now get a right sidebar with a some default (unwanted) widgets.
What am I missing?
JoeOctober 28, 2011 at 5:34 am #54990
I reported it to Kriesi. I’m not sure if it’s an intended behaviour or a limitation by design, etc.October 28, 2011 at 6:01 pm #54991
I had this problem as well – in the code I forget what line, but I can find it – basically it pulls the right sidebar content into the left content sidebard which is displayed everywhere. After I deleted that line of code – I had two separate sidebars. I’ll dig up the file and code that specifically speaks to that.October 28, 2011 at 6:04 pm #54992
here are the lines of code from sidebar.php that puts the widgets intended for your right sidebar in your Left Sidebar:
// general page sidebars
if ($avia_config == ‘page’ && dynamic_sidebar(‘Sidebar Page’) ) : $default_sidebar = false; endif;
$custom_widget_area = avia_check_custom_widget(‘page’);December 14, 2011 at 1:11 am #54993December 29, 2011 at 10:50 am #54994
I would really appreciate if somebody can explain us how to choose when widgets must be shown in right or left sidebar. I’m experiencing the same as prapsaru.December 29, 2011 at 7:35 pm #54995January 2, 2012 at 8:10 am #54996January 4, 2012 at 3:26 am #54997January 7, 2012 at 10:24 pm #54998
do we have news?
or if Kriesi doesn’t answer, is there a way to have a right sidebar only for the blog?January 12, 2012 at 1:18 pm #54999January 18, 2012 at 6:52 am #55000
Sorry, but i’ma customer, as every other…
We bought the product and we’d like to receive answer, especially to thing that appear as a bug…
thanksJanuary 21, 2012 at 2:47 pm #55001
I third this!!!! This needs to be fixed. I am having a terrible time trying to make the widgets and side bars work properly. The complete sidebar function MUST BE reworked for the theme to work with any sense of reason.
Thanks for your support, but this is very frustrating.
JoeFebruary 6, 2012 at 9:55 pm #55002
Hey! I ve now had time to look into the issue more closely.
Unfortunately this is a limitation by design at the moment. If you need a custom right sidebar for specific pages I recommend to do the following:
Lets say you have a page called “Welcome” and you want it to have a custom right sidebar: first of all add the new widget area for this page in Flashlight Theme Options -> Sidebar.
Then open your widget settings at appearance -> widgets: you will notice that you now got a new widget area for the welcome page. however if you add a widget to the area it will always display at the left side.
If you want it to appear on the right add the following code to your to sidebar.php line 18:
$nowidgets_left = true;
if you would want to do the same for several pages (eg: sample Page, Contact and This is so cool) the code would look like this:
if(is_page('welcome') || is_page('sample-page') || is_page('contact') || is_page('this-is-so-cool') )
$nowidgets_left = true;
At the moment this unfortunately needs to be hard coded. I will look for a better way to introduce that feature into the theme with an update.
The topic ‘Sidebar on the right’ is closed to new replies.