This topic has 8 replies, 3 voices, and was last updated 9 years by sharmstr.

  • Author
  • #44662
     giorgos
    Participant

    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
    Giorgos

    #44858
     Radu
    Moderator

    Hello,

    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 solution
    #44873
     giorgos
    Participant

    Thanks, Certainly a nice plugin, but unfortunately didn’t help. This sidebar, like others wont change the sidebar/widgets of the /blog/ page.

    #44875
     giorgos
    Participant

    The 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?

    #44884
     sharmstr
    Moderator

    We 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #44920
     giorgos
    Participant

    Thanks @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.

    #44940
     sharmstr
    Moderator

    Oh 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #44982
     giorgos
    Participant

    Oops, 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 😉

    #44988
     sharmstr
    Moderator

    Excellent!

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 9 posts - 1 through 9 (of 9 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?