how to check if the content is empty
-
within my loop I got this:
if($post->the_content != "") { echo('This post is not empty. It has some description');
but it doesn’t work ??
how to check if there is some content in a post?thanx!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘how to check if the content is empty’ is closed to new replies.