-
Author
-
February 4, 2015 at 11:01 #44662giorgosParticipant
The main blog page wont obey any other sidebar assignment other than the main sidebar. I click on edit page and then select another sidebar, it will only use the main one (widgets of the main sidebar are displayed)
I have created sidebars for the main blog page(/blog) and the single blog pages. Single blog pages and other pages sidebars works fine.How can I fix that?
Thanks in advance
GiorgosFebruary 5, 2015 at 19:48 #44858RaduModeratorHello,
Try with this plugin : https://wordpress.org/plugins/content-aware-sidebars/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 5, 2015 at 22:46 #44873giorgosParticipantThanks, Certainly a nice plugin, but unfortunately didn’t help. This sidebar, like others wont change the sidebar/widgets of the /blog/ page.
February 5, 2015 at 23:13 #44875giorgosParticipantThe page that is assigned as the blog page will take only the main sidebar as sidebar. No matter what sidebar you assign, or layout (1, 2 sidebars, etc) .Have you been able to replicate this issue?
February 6, 2015 at 00:42 #44884sharmstrModeratorWe can all replicate the issue. WP controls that, just like Buddypress controls their pages. For example, try typing something into the editor for the blog page. It doesnt display. WP takes over displaying any page you set to being your “blog” page. Just like Buddypress takes over pages like Register, Members, Activate, etc. I know its confusing because you see the sidebar option. Unfortunately it doest work for certain pages that are merely placeholders for processing that happens outside of the standard page routines.
Instead of content aware sidebars, try using Widget Logic. You can use one sidebar, then set only certain widgets to display if its the blog page. https://wordpress.org/plugins/widget-logic/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
February 6, 2015 at 11:46 #44920giorgosParticipantThanks @Sharmstr for your very helpful explanation. I knew about the placeholder function of those pages, but I was seeking a workaround.
I have the same with /ranks, /forums pages etc. They all use the main sidebar widgets and when I do, lets say !is_page( ‘forum’ ) for a widget it wont obey anyway. Widget will be still displayed.
I use widget-logic for years. He also doesn’t do the job for the placeholder pages. Works fine on any other page. (single post, single forum etc.)So for now no sidebars at all for blog page and archives as in the Kleo demo, which is no bad at all btw.
I presume their is no other way. Again Guys thanks for the help.
February 6, 2015 at 14:12 #44940sharmstrModeratorOh ok. Its hard to guess who knows what already around here 🙂
These work for me
Forums: is_bbpress() && !bp_is_members_component() && !bp_is_user()
Blog: is_home()
Members: bp_is_members_component()
Members “own” profile: bp_is_home()Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
February 6, 2015 at 17:59 #44982giorgosParticipantOops, my bad. I used the wrong conditional tags. it is ” is_home()” and I used is_page( ‘blog’ ).
Apologies , works fine. I will use your recommendations above. They work for me too.
..and take the customer satisfaction survey 😉February 6, 2015 at 18:26 #44988sharmstrModeratorExcellent!
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.