-
-
Save billerickson/2901fb639f315af35145aa9d036eaf4b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Assuming 'be_date' is the name of your ACF date field | |
// For date formatting options, see: https://codex.wordpress.org/Formatting_Date_and_Time | |
$date = get_post_meta( get_the_ID(), 'be_date', true ); | |
echo date( 'F j, Y', $date ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment