WordPress.org

Ready to get started?Download WordPress

Forums

  1. Maximo007
    Member
    Posted 8 months ago #

    Hello,
    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?

    My Code:
    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 :).

    http://wordpress.org/plugins/types/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.