gracebarreiros
Member
Posted 3 years ago #
Hi,
I am using Fusion (and I love it!). I want to make a different sidebar for specific categories, so, I pasted this code on my custom template with the right file name but it simply doesn't show.
<?php include (TEMPLATEPATH . '/sidebar-secretaria.php'); ?>
Any ideas, why this happens?
Thanks in advance,
is it also defined in the theme's style.css?
gracebarreiros
Member
Posted 3 years ago #
No, should it be?
I even thought about including some code in functions.php.
Sorry for my ignorance.
I used this line of code in another project (another theme) and it worked fine.
gracebarreiros
Member
Posted 3 years ago #
After trying a lot of things I pasted:
# array(
# "id" => "fusion_sidebar-turismo",
#"default" => "right",
#"type" => "fusion_sidebar-turismo"),
in functions.php and the code:
# <?php include (TEMPLATEPATH . '/sidebar-turismo.php'); ?>
on the page template and the sidebar showed up.
Hope it helps somebody!