Monday, 26 August 2013

Custom category conditional

Custom category conditional

I have some custom categories and I want to show a image if its a certain
category, for example i did this but its not showing:
if( is_category( 'bikes' ) )
{
echo 'MY IMAGE';
}
Could someone tell me what I have done wrong?
Not sure if this will help but this is on the category page for 'bikes':
taxonomy=ait-dir-item-category&tag_ID=35&post_type=ait-dir-item

No comments:

Post a Comment