Forum has been created to help all our customers in properly working our theme. We offer complete help with configuration theme and make default look, just like on our Be|theme demo. We don`t offer theme customization.


Before creating a new discussion, please:
1. Check on forum if discussion hasn`t been created before. Use the forum Search on the right.
2. Read carefully the documentation included to package.
3. If you didn`t find what you need and would like to post a new question click the "Start a New Discussion" button on the right.
4. You can post on forum only after registration (you need purchase code to register) .


NOTE!!! If you are starting a new topic and have got problems with your site and you want us to check what`s wrong please always give url to your site because without that we can`t check what`s wrong. Each case may be different because of your installed plugins, servers or other things.


IMPORTANT!!! Along with your inquiry, please attach the address of the page which concerns the question. This will cause the time to answer on your question will be much shorter. If you do not want to publish your address publicly in the forum, please send a private message. Thanks!

Sidebars

Hello

if i create taxonomy-term.php, i haven't sidebar.

I use in functions.php :

function build_taxonomies() {
register_taxonomy( 'thematiques', 'post', array( 'hierarchical' => true, 'label' => 'Thématiques', 'query_var' => true, 'rewrite' => true ) );
register_taxonomy( 'federations', 'page', array( 'hierarchical' => true, 'label' => 'Fédérations', 'query_var' => true, 'rewrite' => true ) );
}

I'd like to have a custom sidebar in taxonomy-thematiques.php

How can i do to achieve this ?

Thank you for your help.

Best regards

Comments

  • Please sign in to see answear!
  • edited July 2014
    Hello,

    Thank you for your reply.
    I changed the code in functions/theme-head.php and add 
    <!-- .four-columns - sidebar -->
    <div class="four columns">
    <div class="widget-area clearfix">
    <?php dynamic_sidebar( 'accueil' ); ?>
    </div>
    </div>
    in taxonomy-thematiques.php (a copy of index.php).

    The sidebar appears now but below the content not aside. it's still fullwidth.
    "with_aside aside_right" don't appear in the body classes.

    Thank you for your help.

    Regards.






  • Here's the body classes :

    <body class="archive tax-thematiques term-democratie term-6 logged-in admin-bar no-customize-support  color-custom layout-full-width header-stack header-center minimalist-header sticky-header nice-scroll-on">
  • Ok i found :

    if ( is_tax('thematiques') ) {
    $classes = ' with_aside aside_right';
    }


    Thank you for your advices.

    Regards
  • Please sign in to see answear!
Sign In or Register to comment.