Home › Forums › Front-end Issues › Display Post Date in Relationship Feild › Reply To: Display Post Date in Relationship Feild
Hi @weareempire
In the same way that you pass $post_object->ID to the get_permalink function, you need to pass this to the get_the_date function too.
That said, the get_date function doesn’t have a parameter for $post_id, so you will need to use get_the_time instead:
http://codex.wordpress.org/Function_Reference/get_the_time
Thanks
E
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.