Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Matt Gibbs

    (@mgibbs189)

    This is basic PHP. Just use an IF statement to see if the value is empty before dislpaying it.

    $date = CFS()->get( 'your_date' );
    if ( ! empty ( $date ) ) {
        // output the formatted date
    }
    
    Thread Starter dawnrae

    (@dawnrae)

    Thanks, I’ll test it out.

    I do love this plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘empty date field outputs January 1970, need blank’ is closed to new replies.