Hi
I've been trying to find an answer to this for hours without success, so I really hope someone can help.
My index page shows several recent blog posts (title, excerpt), some of these posts also have an image (which is added via a custom field). I want to be able to style the posts with images differently to those that are just text, using CSS. So I was looking to add a class name to posts that have an image.
All I need is a way to show the 'Name' of a custom field, not the 'Value'.
Everything I've tried, gives me the value, or the name and value of all my custom fields. I just need the one name of a specific custom field.
I hope that all makes sense.
Thanks for any help.