This topic has 8 replies, 4 voices, and was last updated 10 years by Abe.

  • Author
  • #18784
     vhankim
    Participant

    my single.php in child theme.

    —-

    <?php
    $post = $wp_query->post;

    if (in_category(‘1′)) {
    include(TEMPLATEPATH.’/single1.php’);
    } elseif (in_category(‘2′)) {
    include(TEMPLATEPATH.’/single2.php’);
    } else {
    include(TEMPLATEPATH.’/single_default.php’);
    }
    ?>

    —-

    I want to custom sidebar (not extra sidebar) in my post on specific category.
    I’ve tried, could not…
    I need your advice. Can you help me?

    #19117
     Abe
    Keymaster

    Hi, If you need a different sidebar then do the conditionals on the sidebar template: wp-content\themes\sweetdate\sidebar.php

    The code above does not make too much sense. Try hiring a developer to help you with customizations

    Cheers

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

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #19139
     Patagonia
    Participant
    #19617
     Nudrica
    Participant

    Hi Patagonia

    I specific sidebars for each group and the subpages. Im trying Content Aware Sidebars but cant get it to work. It keeps showing the main sidebar

    Got that part working? or do anybody solved something similar?

    #19654
     Patagonia
    Participant

    It worked fine for me, but note that the extra sidebar (on 3 column layouts) is not a regular sidebar and cannot be changed with any plugin or even through Kleo.


    @abe
    , did you fix this for the 1.5 release?

    Cheers

    #19656
     Nudrica
    Participant

    I only use one sidebar go these pages so that not the problem. No matter what I do the main sidebar keeps showing up.

    I can change it many other places, but on the group pages don’t work.

    #19989
     Abe
    Keymaster

    Hi @Nudrica, the groups page mapped to Buddypress will take the layout you set in Theme options – Buddypress – Groups Layout.


    @Patagonia
    , the other sidebar from the 3 columns page right now can’t be changed but we have that in mind and come with a solution

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

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #19990
     Nudrica
    Participant

    Hi Abe – its not the layout there is the problem. I need Content aware sidebars to show there because I need a uniq sidebar on each group page.

    #20382
     Abe
    Keymaster

    Customizing each group with different sidebar is not possible since the group link is dynamically generated and it is mapped to only one page. I don’t know if you can find a plugin for that.

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

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

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?