Hi, I'm completely new to WP and PHP and I'm getting a late night head ache trying to figure out the following brain teaser. Any help would be greatly appreciated!
I am using the excerpt field for a user uploaded image file name. This file name will then be added like this:
<img src="http://www.domain.co.uk/word/cdimages/<?php the_excerpt(); ?>"> . This allows me to add the cover of an album to a review post, with each new post refering to an image in the above folder to accompany the review body.
I only want to do this on posts that are in my Reviews catergory. Otherwise, when I check (for instance) my news posts, I get the tiny icon to tell me that an image file name does not exist (as it's only entered for reviews and for every other category its left blank).
So. Is it possible to somehow specify on a category basis, if the excerpt (or other optional content) should be added or not?
Also, is it still possible for me to use the default 120 word excertp ASWELL or is that just impossible?