I want display custom “date_field” meta, created with wp-types plugin.
I have tried the following code, but its display only “1. January 1970” (not the true date in custom ate field). How I must change this code to get a rtrue date result?
echo $display_date = date('j. F Y', strtotime (get_post_meta( get_the_ID(), 'wpcf-date_field', true)));
Can someone help me?
Thank you very much :).
- The topic ‘display Date_field meta’ is closed to new replies.