Skip to main content
edited tags
Link
fuxia
  • 107.1k
  • 38
  • 255
  • 459
Source Link

Custom fields with wordpress

I've a custom field for a date, written like: yyyy-mm-dd

How can I extract only the day to display in PHP ? For the moment, I display the full date:'. get_post_meta($post->ID, 'event_start_date', true).'

Thank you :)