WordPress - Sidebars, widgets logic

Stagger Lee
1818 Posts
Stagger Lee posted this 24 March 2016

There is no way right now to insert (have) separate sidebars per custom templates ?
I know there is this "Show widget on:" for widgets, but this is not usable for any serious work.

  • There is Insert WP xx widget area and insert WP widget area.
  • They cannot be inserted in places where sidebars usually go. (left-right)
  • You call them "widgets" but in WP backend they are ordinary sidebars, that is the logic.
  • Content & Sidebars cannot be inserted twice. They give strange loop and Apache goes crazy.

And non of this even if inserted right in the place of left-right sidebars would give new options i Layout ribbon. (dont know if this one is important, but..)

And what are controls "WP primary widget area" and "WP secondary widget area" used for ? I dont get it. If we can enable them in Layout ribbon for templates already. Additional, it is not possible to insert those 2 controls on native places left-right from content.

Is it possible for instance: (??)

  • Make new custom template
  • Have one right sidebar only for this template and not any else.
  • Dont use right sidebar already there in default theme (let us say we want to show widgets there on some other template) ???

There is no way right now to insert (have) separate sidebars per custom templates ? I know there is this "Show widget on:" for widgets, but this is not usable for any serious work. - There is Insert WP xx widget area and insert WP widget area. - They cannot be inserted in places where sidebars usually go. (left-right) - You call them "widgets" but in WP backend they are ordinary sidebars, that is the logic. - Content & Sidebars cannot be inserted twice. They give strange loop and Apache goes crazy. And non of this even if inserted right in the place of left-right sidebars would give new options i Layout ribbon. (dont know if this one is important, but..) And what are controls "WP primary widget area" and "WP secondary widget area" used for ? I dont get it. If we can enable them in Layout ribbon for templates already. Additional, it is not possible to insert those 2 controls on native places left-right from content. Is it possible for instance: (??) - Make new custom template - Have one right sidebar only for this template and not any else. - Dont use right sidebar already there in default theme (let us say we want to show widgets there on some other template) ???
Vote to pay developers attention to this features or issue.
17 Comments
Order By: Standard | Newest
Stagger Lee
1818 Posts
Stagger Lee posted this 24 March 2016

To simplify it, it is about say two right sidebars in same layout place. One is shown in one custom template, second one is shown in second custom template.

Many profi themes use it.

To simplify it, it is about say two right sidebars in same layout place. One is shown in one custom template, second one is shown in second custom template. Many profi themes use it.
Support Team
Support Team posted this 28 March 2016

Hi,

Is it possible for instance: (??)

  • Make new custom template
  • Have one right sidebar only for this template and not any else.
  • Dont use right sidebar already there in default theme (let us say we want to show widgets there on some other template) ???

In general, you can move Sidebars control (Content&Sidebars) inside Columns control. This will not affect the appearance of the this control on other templates.
So, you have content area (with Posts control) inside one column and other Columns can be used as equivalent if Left/Right Sidebars where you can place Widget areas.
If you want to duplicate existing Widget area on the custom template you can simply copy it and past using Past Link option.

Primary widget area is an area that always present in the theme. Even if there no widget areas added to the theme in Themler.

In general, Primary widget area is an area for Left Sidebar and Secondary widget area for Right Sidebar. And 4 Footer Widget areas for Footer. And as many as you need custom Widget areas.

Thank you,
Olivia

Hi, > Is it possible for instance: (??) > > - Make new custom template > - Have one right sidebar only for this template and not any else. > - Dont use right sidebar already there in default theme (let us say we want to show widgets there on some other template) ??? In general, you can move Sidebars control (Content&Sidebars) inside Columns control. This will not affect the appearance of the this control on other templates. So, you have content area (with Posts control) inside one column and other Columns can be used as equivalent if Left/Right Sidebars where you can place Widget areas. If you want to duplicate existing Widget area on the custom template you can simply copy it and past using *Past Link* option. Primary widget area is an area that always present in the theme. Even if there no widget areas added to the theme in Themler. In general, Primary widget area is an area for Left Sidebar and Secondary widget area for Right Sidebar. And 4 Footer Widget areas for Footer. And as many as you need custom Widget areas. Thank you, Olivia
Stagger Lee
1818 Posts
Stagger Lee posted this 28 March 2016

Dont think it would help, if I understood right.

Here is real life example:

  • Website has only right sidebar.
  • Website has forum.
  • Right sidebar needs to show set of widgets for all non-forum pages.
  • Right sidebar has to show just forum related widgets on all forum pages (set of widgets from rest of site will not be visible here).

Is there any way tweak it somehow with Themler without use of WP plugin ?

Not that I have any problem use Dynamic Widgets plugin, but so many clicks are there. if it could be avoided it would be nice.

Dont think it would help, if I understood right. Here is real life example: - Website has only right sidebar. - Website has forum. - Right sidebar needs to show set of widgets for all non-forum pages. - Right sidebar has to show just forum related widgets on all forum pages (set of widgets from rest of site will not be visible here). Is there any way tweak it somehow with Themler without use of WP plugin ? Not that I have any problem use Dynamic Widgets plugin, but so many clicks are there. if it could be avoided it would be nice.
Stagger Lee
1818 Posts
Stagger Lee posted this 28 March 2016

If just Insert widget control could imitate and take same place right sidebar do. It would solve everything.
One option for widget insert control what says "take all styling and layout of native right sidebar",

Difficult to even think in those terms when widget control insert, makes and register real WordPress sidebar. That is why I said naming is confuse.

If just Insert widget control could imitate and take same place right sidebar do. It would solve everything. One option for widget insert control what says "take all styling and layout of native right sidebar", Difficult to even think in those terms when widget control insert, makes and register real WordPress sidebar. That is why I said naming is confuse.
Support Team
Support Team posted this 29 March 2016

Hi,

In general the Sidebar control in Themler is equivalent of Columns. Sidebar is just an area to share controls between templates.
Before Sidebars there was a Columns (Row with Columns) control to make columns. Then we created Sidebars to help users to share controls. The name "Sidebars" is just a name and it's the same for all CMSs.
Widget Area is a control that outputs WP widgets in the place where is was added.
These two controls are separate.

So, you can create a separate template for Forum pages where you can use Columns instead of Sidebars to output widget areas specific to this template.

Thank you,
Olivia

Hi, In general the Sidebar control in Themler is equivalent of Columns. Sidebar is just an area to share controls between templates. Before Sidebars there was a Columns (Row with Columns) control to make columns. Then we created Sidebars to help users to share controls. The name "Sidebars" is just a name and it's the same for all CMSs. Widget Area is a control that outputs WP widgets in the place where is was added. These two controls are separate. So, you can create a separate template for Forum pages where you can use Columns instead of Sidebars to output widget areas specific to this template. Thank you, Olivia
Stagger Lee
1818 Posts
Stagger Lee posted this 29 March 2016

So this can be the way. I hoped it was possible in different way. Need to replicate all design and layout of sidebar because even 1px difference will be visible when switching pages, as bouncing / jumping.

So this can be the way. I hoped it was possible in different way. Need to replicate all design and layout of sidebar because even 1px difference will be visible when switching pages, as bouncing / jumping.
Support Team
Support Team posted this 30 March 2016

Hi,

Please let us know if you need our further help.

Sincerely,
Hella

Hi, Please let us know if you need our further help. Sincerely, Hella
len
138 Posts
len posted this 19 May 2016

Hella

I am doing a website with similar needs with Woocommerce / Wordpress:
One horizontal menu and picture banner for home page and blog pages, and some common pages
One horizontal menu and picture banner for product pages
One horizontal menu and picture banner for a separate set of pages
There is a common logo area at the top and footer area at the bottom and common right sidebar

I have added a section with horizontal menu and widget area in each template under the header area but not in it. I have given the horizontal menu one of 3 names, also the widget area are one of 3 names.
Copied the "Page" template as "Page2", and this has the different menu and widget name to the "Page" template.

When uploaded into Wordpress, I only see the named widget area from the default template, not from the others.
In the Wordpress menus I see a checkbox for a menu from every template, with names duplicated.

I got the information to do this from a number of other posts in this forum, but it appears not to be working.
Themler version 295

Hella I am doing a website with similar needs with Woocommerce / Wordpress: One horizontal menu and picture banner for home page and blog pages, and some common pages One horizontal menu and picture banner for product pages One horizontal menu and picture banner for a separate set of pages There is a common logo area at the top and footer area at the bottom and common right sidebar I have added a section with horizontal menu and widget area in each template under the header area but not in it. I have given the horizontal menu one of 3 names, also the widget area are one of 3 names. Copied the "Page" template as "Page2", and this has the different menu and widget name to the "Page" template. When uploaded into Wordpress, I only see the named widget area from the default template, not from the others. In the Wordpress menus I see a checkbox for a menu from every template, with names duplicated. I got the information to do this from a number of other posts in this forum, but it appears not to be working. Themler version 295
len
138 Posts
len posted this 19 May 2016

This definitely a bug.
I am only seeing one of the 3 named widgets in Wordpress widget area, whereas I have 3 named ones in Themler amongst the templates.

What I need is: when creating pages in Wordpress to select a template for the page to get a different banner image. Products will also have a different banner image on product pages, as I have one of the 3 specific widgets on the product template.

A page can be specified in a widget, but for an end user creating pages and products this way is impractical. They need to be able to select the template on the page they are editing, or in the case of products the product template use the widget as set in Themler.

Please can this be fixed urgently, I have a website where this is required and core to what we are doing.

This definitely a bug. I am only seeing one of the 3 named widgets in Wordpress widget area, whereas I have 3 named ones in Themler amongst the templates. What I need is: when creating pages in Wordpress to select a template for the page to get a different banner image. Products will also have a different banner image on product pages, as I have one of the 3 specific widgets on the product template. A page can be specified in a widget, but for an end user creating pages and products this way is impractical. They need to be able to select the template on the page they are editing, or in the case of products the product template use the widget as set in Themler. Please can this be fixed urgently, I have a website where this is required and core to what we are doing.
len
138 Posts
len posted this 20 May 2016

Ok, workes out whats wrong.
This post is about separate sidebars, my contribution is after looking at a number of other posts where the suggestion is that Sidebars are common area across all templates which can be on or off for a specific template - and this is how Themler works.
But if we want an area specific to a template, the sidebar is not the way, it needs a section with perhaps a widget area (Wordpress).
The next question is if we want one of these areas to be common to a couple of templates such as a copy of Page (Page2) and the product page, but on the other pages still be there but with different widget content.

I copied the section and widget area, then renamed the widget area. This produced just one widget area in Wordpress across all templates.

The solution is to create the section in each place where its needed. Then copy from each of these to replicate it.

I now have the section block on all templates, but with 3 named widgets in Wordpress, and each of these linked to their specific templates.

Much easier for the end user now to create a new page and select the template they need, in my case to get the page banner image associated with the template.

The "bug" is that renaming a widget area in Themler does not appear to rename it to separate it from where it came from when created.

Ok, workes out whats wrong. This post is about separate sidebars, my contribution is after looking at a number of other posts where the suggestion is that Sidebars are common area across all templates which can be on or off for a specific template - and this is how Themler works. But if we want an area **specific** to a template, the sidebar is not the way, it needs a section with perhaps a widget area (Wordpress). The next question is if we want one of these areas to be common to a couple of templates such as a copy of Page (Page2) and the product page, but on the other pages still be there but with different widget content. I copied the section and widget area, then renamed the widget area. This produced just one widget area in Wordpress across all templates. The solution is to create the section in each place where its needed. Then copy from each of these to replicate it. I now have the section block on all templates, but with 3 named widgets in Wordpress, and each of these linked to their specific templates. Much easier for the end user now to create a new page and select the template they need, in my case to get the page banner image associated with the template. The "bug" is that renaming a widget area in Themler does not appear to rename it to separate it from where it came from when created.
Support Team
Support Team posted this 24 May 2016

Hello Len,
I'm sorry for delay in response.
We definitely have to take closer look at your theme and WP admin back end.
So please submit a new private topic where provide link to this topic (because it includes the description of the issue) and provide access to your WP admin back end.

Regards,
Aileen

Hello Len, I'm sorry for delay in response. We definitely have to take closer look at your theme and WP admin back end. So please submit a new private topic where provide link to this topic (because it includes the description of the issue) and provide access to your WP admin back end. Regards, Aileen
tmgarrison
97 Posts
tmgarrison posted this 02 May 2017

Hi Aileen,
I'm working on the same issue, but not trying to make anything custom - just use Themler switches and such.
By default, the left sidebar is already visible and has the "Primary" widget area assigned.
However, even though there are 6 widgets in the primary widget area, "nothing" appears on the pages.

Then there is the reverse.
I have tried several different methods to assign the "right" sidebar. I've seen the outline of the sidebar and attempted to assign the "Secondary" widget area into that right sidebar. Nothing works.
I have a couple of things assigned to the widget in WP, but nothing appears.

When I didn't use the sidebar, simply added the "Secondary" widget area where I wanted it so appear in the HTML section - right of a map - what I assigned to the secondary widget appears in the page as desired.

But if I attempt to create the right sidebar, nothing works right.

I then removed the left sidebar - which was the primary widget area. Again, before removing that sidebar, nothing that was assigned to the sidebar appeared on any page.
After several attempts I finally removed the left sidebar.

I now offer the screen shot I uploaded for your review.

Then the right sidebar appeared....but only in Themler way off to the right as if I needed to scroll in order to see the full box, and the text stating "Sidebar is empty". Nothing I do will allow me to drop in (from Themler admin) the WP Secondary Widget Area.
No matter what I do now I cannot add a widget area to the right sidebar, I cannot remove the sidebar, and I'm about to throw the computer out the window.
Even worse is the fact that in Themler admin, under Content & Sidebars, there is only 1 sidebar name - Top Sidebar. That's used for breadcrumbs and is working. But I can see the box outline for the Right Sidebar, and in the Outline, under CMS Content the sidebar icon appears.

So before I cost myself a ton of money, can you please update this thread to let us know why in the world the sidebars are not working in WordPress Themler?

I thought perhaps it's because the "Suggest Homepage" that I'm using only allows 1 sidebar. But that didn't seem right. You'd know better than I.

It seems the "default" has the Primary sidebar on the left, and the "page" has it on the right - neither of those can be changed, and the "default" will not allow a "Right" sidebar (see themler-sidebars-default2.png). Notice that there are 3 sidebars enabled top left, but there is nothing to the right of the page and only 1 sidebar under Content & Sidebars. I'm really confused...

Thanks.

Hi Aileen, I'm working on the same issue, but not trying to make anything custom - just use Themler switches and such. By default, the left sidebar is already visible and has the "Primary" widget area assigned. However, even though there are 6 widgets in the primary widget area, "nothing" appears on the pages. Then there is the reverse. I have tried several different methods to assign the "right" sidebar. I've seen the outline of the sidebar and attempted to assign the "Secondary" widget area into that right sidebar. Nothing works. I have a couple of things assigned to the widget in WP, but nothing appears. When I didn't use the sidebar, simply added the "Secondary" widget area where I wanted it so appear in the HTML section - right of a map - what I assigned to the secondary widget appears in the page as desired. But if I attempt to create the right sidebar, nothing works right. I then removed the left sidebar - which was the primary widget area. Again, before removing that sidebar, nothing that was assigned to the sidebar appeared on any page. After several attempts I finally removed the left sidebar. I now offer the screen shot I uploaded for your review. Then the right sidebar appeared....but only in Themler way off to the right as if I needed to scroll in order to see the full box, and the text stating "Sidebar is empty". Nothing I do will allow me to drop in (from Themler admin) the WP Secondary Widget Area. No matter what I do now I cannot add a widget area to the right sidebar, I cannot remove the sidebar, and I'm about to throw the computer out the window. Even worse is the fact that in Themler admin, under Content & Sidebars, there is only 1 sidebar name - Top Sidebar. That's used for breadcrumbs and is working. But I can see the box outline for the Right Sidebar, and in the Outline, under CMS Content the sidebar icon appears. So before I cost myself a ton of money, can you please update this thread to let us know why in the world the sidebars are not working in WordPress Themler? I thought perhaps it's because the "Suggest Homepage" that I'm using only allows 1 sidebar. But that didn't seem right. You'd know better than I. It seems the "default" has the Primary sidebar on the left, and the "page" has it on the right - neither of those can be changed, and the "default" will not allow a "Right" sidebar (see themler-sidebars-default2.png). Notice that there are 3 sidebars enabled top left, but there is nothing to the right of the page and only 1 sidebar under Content & Sidebars. I'm really confused... Thanks.

Last edited 02 May 2017 by tmgarrison

tmgarrison
97 Posts
tmgarrison posted this 02 May 2017

After "fiddling" around between layout view and design view I tried making the sidebar that "appears" on the right of the "page" template wider - from 25% to 35%.
Then I added the WP Secondary Widget Area to the wide box for the sidebar.
At least that allowed me to add the secondary area, although it wouldn't drop into the sidebar and ended up in the center of the content. (See themler-sidebars-page-outofline.png)

So I tried to move it back into the sidebar - see themler-sidebars-page-outofline2.png
It "looked" like it was in the sidebar, but according to the Outline it ended up "somewhere" in the template.
In the front end, the sidebar disappeared and the WP widget area appeared in the correct area of the page - to the right. But because the sidebar disappeared there was no column created and the content runs over whatever is in the widget.

You should know that I got frustrated and shut down themler then restarted it again. That didn't work, obviously. Now I'm going to shut down the entire browser and WP then go back in a while to try more "guess work".

Thanks.

After "fiddling" around between layout view and design view I tried making the sidebar that "appears" on the right of the "page" template wider - from 25% to 35%. Then I added the WP Secondary Widget Area to the wide box for the sidebar. At least that allowed me to add the secondary area, although it wouldn't drop into the sidebar and ended up in the center of the content. (See themler-sidebars-page-outofline.png) So I tried to move it back into the sidebar - see themler-sidebars-page-outofline2.png It "looked" like it was in the sidebar, but according to the Outline it ended up "somewhere" in the template. In the front end, the sidebar disappeared and the WP widget area appeared in the correct area of the page - to the right. But because the sidebar disappeared there was no column created and the content runs over whatever is in the widget. You should know that I got frustrated and shut down themler then restarted it again. That didn't work, obviously. Now I'm going to shut down the entire browser and WP then go back in a while to try more "guess work". Thanks.
tmgarrison
97 Posts
tmgarrison posted this 04 May 2017

For anybody concerned, the "only" conclusion I can draw is that there are specific templates that only allow 1 sidebar - either left "or" right.
After testing with the default Themler template in my desktop installation, it's clear that it "should" be simple to turn them on or off as desired. But this is NOT the case in all templates.

Today I turned off the left, then turned on the right sidebar in the template I've been designing for a site, and that worked.
But there is no way to have both in this specific template.

Lesson learned.
If you are considering sidebars, consider them BEFORE you commit to a template because not all templates allow both, apparently.
I'd now like Themler to verify this.
Thanks.

For anybody concerned, the "only" conclusion I can draw is that there are specific templates that only allow 1 sidebar - either left "or" right. After testing with the default Themler template in my desktop installation, it's clear that it "should" be simple to turn them on or off as desired. But this is NOT the case in all templates. Today I turned off the left, then turned on the right sidebar in the template I've been designing for a site, and that worked. But there is no way to have both in this specific template. Lesson learned. If you are considering sidebars, consider them BEFORE you commit to a template because not all templates allow both, apparently. I'd now like Themler to verify this. Thanks.
Stagger Lee
1818 Posts
Stagger Lee posted this 05 May 2017

Use Dynamic Widgets plugin. Not so big deal. Why complicate things.

Use Dynamic Widgets plugin. Not so big deal. Why complicate things.
lavisbre
71 Posts
lavisbre posted this 13 January 2018

Is There a way to have just one page with a widget in Wordpress and not have that widget appear on every "new page" I make?

I made a basic template in wordpress.
I added a WP widget area into the blue section.
Dashbord let me add the html code

enter image description here

So how do i make sure the widget only happens on one page and not every page i make new?
deleating it from each page deleates it from the whole tmplate

Is There a way to have just one page with a widget in Wordpress and not have that widget appear on every "new page" I make? I made a basic template in wordpress. I added a WP widget area into the blue section. Dashbord let me add the html code![enter image description here][1] [1]: https://image.ibb.co/kHWJMm/custum_widget.png So how do i make sure the widget only happens on one page and not every page i make new? deleating it from each page deleates it from the whole tmplate

Last edited 13 January 2018 by lavisbre

Support Team
Support Team posted this 15 January 2018

lavisbre,

Did you try this option:

widget-logic.png

Thank you,
Olivia

lavisbre, Did you try this option: !widget-logic.png! Thank you, Olivia
You must log in or register to leave comments