is there a way to make a conditional thingy so that IF there is no 'content' in a post THEN ...
thanks
is there a way to make a conditional thingy so that IF there is no 'content' in a post THEN ...
thanks
Not totally sure, but the global variable $content holds the content of a post.
So I wonder if you could use if(empty($content)) in some way to check if a post has no content?
I'd love to know how to do this as it would be great to be able to fall back on a custom field if there is no content?
You must log in to post.