nair
Forum Replies Created
-
At the moment, i think it’s not possible without customise it.
Forum: Fixing WordPress
In reply to: why this statement doesn’t read the <h2> tag html?well, i think the code above is wrong. what i need is a if condition to show the post Tags wraped with < h2 > only if Tags exist… if not, the echo is blank.
thanks
Forum: Fixing WordPress
In reply to: how to extend conditional function to sub-sub-pages?hi sbarry50,
yes… for a few subpages that code it works, but when i have more than fifty subpages i need a better solution…
thanks for the reply!
Forum: Fixing WordPress
In reply to: help to solve echo php Incorrect concatenationthanks a lot adamrbrown for all this great information for me to study!
it works, problem solved 🙂
thanks again!
Forum: Fixing WordPress
In reply to: echo problem in php codeit works! thanks for the reply!
cheers!
Forum: Fixing WordPress
In reply to: different sidebar per categorycode to put in the single page where you want the sidebar:
<?php $post = $wp_query->post; if ( (in_category('80')) { include(TEMPLATEPATH . '/sidebar80.php'); } elseif ( (in_category('81')) { include(TEMPLATEPATH . '/sidebar81.php'); } else { include(TEMPLATEPATH . '/sidebar.php'); } ?>well this is working for me…
Forum: Fixing WordPress
In reply to: different sidebar per categoryops, you are right! i miss the single page request!!! i’m going to correct the code!
Forum: Fixing WordPress
In reply to: different sidebar per categoryHI,
try put this code in your category template where you want the side bar:
<?php if ( (is_category('80')) { include(TEMPLATEPATH . '/sidebar80.php'); } elseif ( (is_category('81')) { include(TEMPLATEPATH . '/sidebar81.php'); } else { include(TEMPLATEPATH . '/sidebar.php'); } ?>you can add as much elseif you want.
hope this helps to you.