Home › Forums › Weaver and Plugin Interaction › page specific widgets
- This topic has 11 replies, 2 voices, and was last updated 7 years, 11 months ago by
scrambler.
-
AuthorPosts
-
June 20, 2015 at 14:54 UTC - Views: 8 #22927
songerk
ParticipantI’ve come across the same issue as Snowman, but with a slight addendum that has made it hard for me to figure out how to use the Dynamic Widgets or other plugins to resolve the problem. On my site, http://tryoncreek.org, my default widget areas are the primary and secondary sidebar. I have only one thing in each and the sidebars both fall on the right side, but I used both instead of just one sidebar widget area so that I could create rounded corners and space between them.
For the blog and for blog posts displayed as single pages, I’d like to have a different right sidebar widget appear–one inviting the user to subscribe to the blog. I’ve got it set up on the blog using the per page widget area (http://tryoncreek.org/tryon-creek-blog/), but as described in the thread above, it disappears when posts are displayed individually as pages. I tried using Dynamic Widgets, but as Snowman described, it doesn’t seem to work as long as I keep the per page widget area that I created through Weaver Xtreme. But…if I eliminate that per page widget area, how could I still have that third sidebar widget area with the blog signup on it? Aren’t there only two sidebar widget area options?(Maybe I’m going about this wrong: Is there a better way to create that space between sidebar items, and rounded corners, besides “using up” both sidebar widget areas to do so? In that case, I could use the secondary sidebar as my blog & post pages widget area and use Dynamic Widgets to set that up.)June 20, 2015 at 16:44 UTC - Views: 3 #17944scrambler
ModeratorThis discussion was created from comments split from: Per page widget areas won’t work on blog posts, woocommerce store, and bbpress posts..
June 20, 2015 at 16:52 UTC - Views: 7 #22928scrambler
Moderatortwo things.
1) You can create the rounded corners on your widgets without using the two sidebar areas. You just need to do the styling on the widgets instead of the widget are.
If you can style all widgets you can use Main options > Sidebar & Layout > Individual widget option to give them background, rounded corners and proper margin.
If you have widgets in other places that should not be styled, you can style only the one in the widget areas with a rule like below in Main Options > Fonts & Custom > Custom CSS Rule box
#primary-widget-area .widget {background-color:blue;border-radius:10px;margin-bottom:10px;}
2) If you use Dynamic widgets,I suspect you should not mix it with per page widget. You should just do ALL you selective display of widget using it, which means make the subscribe widget only appear on the pages you need it to also using dynamic widgets.
June 20, 2015 at 17:18 UTC - Views: 4 #22929songerk
Participantscrambler, thank you as always. A question before I move forward more: how do I add white space between widgets in the primary widget area? I’ve combined my two main widgets in that area as you suggested, but it looks like padding and top/bottom margins only move things around within the widget area, keeping the same blue background throughout. I’m going for the look I had created using the two separate widget areas before–each widget appearing in its own background, with rounded corners, separated from the other widgets by a little white space. Let me know if that’s possible! Thanks. 🙂
June 20, 2015 at 17:56 UTC - Views: 2 #22930scrambler
ModeratorYou left the styling of the widget area on. You need to remove the background color on the primary widget area.
You also need to set the padding of the primary widget area to zero as by default it is set to 8 and will waste space
Then the bottom margin you put on individual widgets will separate the widgets, and the padding on individual widgets will create padding for the content in the widget.
June 20, 2015 at 18:22 UTC - Views: 4 #22931songerk
ParticipantAh, thank you! Okay, sidebars are fixed. I’ve deleted my per page widget and have tried both Dynamic Widgets and Display Widgets as plugins…but neither seems to do anything. (I’ve tried clearing my cache.) Right now, I have Dynamic Widgets activated. My blog signup widget is in the Secondary Sidebar; the other two (main) widgets are in the Primary Sidebar. I have Dynamic Widgets set to only display my secondary sidebar on my blog and individual post pages, and to hide the other two sidebars on those pages…but nothing is happening. The secondary sidebar is hidden on all pages. Is it possible this is a Weaver-related problem?
June 20, 2015 at 18:55 UTC - Views: 4 #22932scrambler
Moderator“Is it possible this is a Weaver-related problem? “
I don’t believe so I have tested Dynamic widgets once with it and it worked fine. I suspect a bad manipulation in the use of dynamic widgets.
You say ” I have Dynamic Widgets set to only display my secondary sidebar” which does not make sense, dynamic widgets works on widgets not widget areas.
Just put a text widget with some random text in one of your sidebar widget area. When you open that text widget you should have the dynamic widget options. With these options you should be able to set on what pages the widget shows and on what pages it does not. If you cant get that simple thing to work, you should review what you are doing with the dynamic widget people.
June 20, 2015 at 20:36 UTC - Views: 3 #22933songerk
ParticipantIt sounds like the problem is either me or Dynamic Widgets, but not Weaver. 🙂 Thanks–I have done what you suggested (I did mean to refer to widgets and not widget areas), and still it’s as if the widget isn’t there at all. I’ll keep trying… Much appreciated.
June 20, 2015 at 20:55 UTC - Views: 3 #22934songerk
ParticipantOne more question: Searching around, on a forum about a different plugin (Display Widgets) I found a reference to “when the website checks for widgets,” or something similar. Is there any possibility that my settings, or weaver, is overriding the settings in Display Widgets?
June 20, 2015 at 20:59 UTC - Views: 4 #22935scrambler
ModeratorOK do I installed Dynamic widgets on my test site.
Opened one of my text widgets that was in the primary sidebar area
Clicked on The “Static” link next to Dynamic Widgets at the bottom of the widget
Clicked Set all options to NO at the top of the Dynamic widget setting page that opened To hide the widget everywhere
Clicked on the Page section to open it, It shows No as checked below “Show widget on default static pages” (not showing on any pages)
Checked the blog page in the list below “Except on the page(s)”, so that the widget would only show on that page.
Saved the settingsI checked the web site, and the widget only shows on the Blog page I checked, nowhere else
June 20, 2015 at 22:20 UTC - Views: 3 #22936songerk
ParticipantOh! I see now what I was doing–I needed to check specific pages under “Pages;” I had only been marking “Yes” or “No” under “Posts page,” etc. It was indeed me. =P Thanks so much for taking the time to do that!!
June 20, 2015 at 23:42 UTC - Views: 2 #22937scrambler
Moderator🙂
-
AuthorPosts
- The forum ‘ Weaver and Plugin Interaction’ is closed to new topics and replies.