I’m trying to create a new site and I’d like to know if it’s possible to create a variable which will contain the category_id of any selected post within the Loop so that I could then use the variable in conjunction with a case statement to display the correct html information relating to that post from around 20 different categories.
I’d like to keep it simple and stick to using the templates that come with WP. I dont want to create 20 different templates if at all possible.
I’m not a programmer so please be as clear as you can be with any help..
- The topic ‘Help with categories and how best to display different images on templates’ is closed to new replies.