I’m using something of the sorts for delivering some standard default text if the post content is empty. Give this a whirl:
<?php if( $post->post_content != "" ) {
//do something or show content
} else {
//do something else
}?>
I’m using something of the sorts for delivering some standard default text if the post content is empty. Give this a whirl:
<?php if( $post->post_content != "" ) {
//do something or show content
} else {
//do something else
}?>