WordPress.org

Forums

Types
display Date_field meta (1 post)

  1. Maximo007
    Member
    Posted 1 year 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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.