Sidebars
Hello
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
we don`t know if your php skills are good because this is not easy thing but we`ll try to explain...
Your file, you mentioned above taxonomy-thematiques.php, should look similar to what we paste below: And also what you need to do is go to functions/theme-head.php and replace below code: with: But as we wrote above this is not easy thing and you need to study those files and code very well to understand how this works exactly.
Thank you for your advices.