Home › Forums › Back End › Post Thumbnail Based on Category › Re: Post Thumbnail Based on Category
April 15, 2010 at 1:20 pm
#74219
TheDoc
Member
I have no idea if this is possible. This is just a theory, and the code is probably wrong:
<?php echo get_post_meta($post->ID, the_category(), true); ?>
So, you would name all of the custom fields by the category that they relate to.