• Resolved brandib

    (@brandib)


    What the post meta field name is of the event date? I am trying to use it on a Query Loop block.

    Thanks!

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

    (@guido07111975)

    Hi,

    I think you mean the date itself?

    Plugin uses datestamps and you must use the wp_date() function to change that into a human-readable date.

    
    $start_date_timestamp = get_post_meta( get_the_ID(), 'event-start-date', true );
    $end_date_timestamp = get_post_meta( get_the_ID(), 'event-date', true );
    

    Guido

    Thread Starter brandib

    (@brandib)

    Thanks! That helped.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Post Meta Field Name’ is closed to new replies.