Viewing 1 replies (of 1 total)
  • Ajalon

    (@ajalon)

    Hi Pete

    I had a similar issue and I got round it by using get_the_content()

    e.g.:
    $content = get_the_content();
    if (empty($content)) {
    /* Do something */
    } else {
    /* Do something else */
    }

    Hope this helps

    Allan

Viewing 1 replies (of 1 total)
  • The topic ‘Conditional for no content in a post’ is closed to new replies.