Found it…
$date = get_post_meta( $post->ID, 'CUSTOM-FIELD-HERE', true );
if( $date != '' ) {
echo date( "l jS F Y", strtotime( $date ) );
}
Related Posts:
- How to get WordPress Time Zone setting?
- Converting timestamps to local time with date_l18n()
- PHP function showing wrong time in WordPress
- How to get year, month and hour in WordPress?
- Why does this echo values in the wrong order?
- WordPress returns a wrong date
- How to check for WordPress timezone type?
- Unable to set right time in admin and frontend template
- Convert a date to ISO8601 date format
- wrong php date()?
- display month in french in wordpress/php?
- Displaying the Month and Year that a page was Created?
- Get date numerical and separate?
- Print last modified date only on posts
- Find hours between post_date and post_date_gmt
- 3 different times on my WordPress website
- How to get User Time Zone in WordPress?
- Check If Post Was Published More Than 6 Months Ago Using get_the_date
- How do I check or test a WordPress Auto Year Change Script?
- Shortcode function doesnt work without caption
- Comparing Dates from custom field
- Get date function not working
- PHP time function ($today) for GMT +1
- Hide publish date when update date
- If Post Published Date or Modified Date is 1 Year or Older, Display Notice on Post Page
- How to detect and handle the time difference between server and user in WordPress?
- No more get_option(‘date_time’) in WordPress 5.5?
- WordPress wrong dates bug
- How to pull date/time in french format for wordpress post?
- Can’t add to time? [closed]
- Ordering / grouping posts by datepicker ACF
- Array sorting assistance
- Adding a number to a date
- Display Year and Month from custom field + Age Calculator
- Can i show items based on the day with php?
- Display Current Time using shortcode
- Change date/time format in custom plugin
- Convert custom field date format to “WordPress default”
- How to call a function only once (global variable scope)
- Where should I install a PHP library into WordPress so that code in a webpage can activate it?
- Does the debug.log do log rotation?
- ob_get_clean returns empty string, ob_get_flush outputs string
- Edit postmeta when user changes user role?
- Pagenavi pagination via wp-query in functions.php showing same content for each page
- Looping through WP_Post Object
- Translating add to cart woocommerce button [closed]
- nowplaying.include.php Will Not Display Results
- SetCookie simply not working
- Looking for most performant way to execute several similar WP queries within shortcodes
- Customize Time Stamp
- Combine two filters into a single call
- How to output widget
- How can I fix WordPress installation errors?
- Two Different Links for Same Product – WooCommerce [closed]
- WooCommerce/WordPress: how hide entire table form after submit (Admin Dashboard)?
- Display menu point only if there are published posts in that category
- What query string parameter is available for index.php, that works for both pages and blog articles?
- Sending data from custom inputs in WordPress comment form in the admin notification email
- export a csv file from the database with a cronjob
- How to set a min number of words for a blog post
- Access Child Class of Plugin Main Class Instance
- Modify custom field input data before creating a new post
- Ajax contact form return 0
- Get my site session in wordpress?
- Register a menu – Error Header
- Include style.css in the Child Theme with PHP
- Get user custom field value on function.php
- Add New Text Box To WordPress Twenty Seventeen Header
- WordPress homepage setup not working on first load
- Get the id of all images in a post
- Choose either excerpt or the_content
- Removed jQuery script from header.php , any problems?
- Dynamically display font icons in widget
- Setting a default thumbnail url if no thumbnail
- Need help for some PHP code
- Remove an action created by a Gravity Forms add-on
- Ajax search box displays nothing if taxonomy doesn’t exist
- PHP “warning include_once(): Failed to open stream” Simple HTML DOM in WordPress Child Theme
- cURL needing to loop through all “next_page”
- How do I make the following articles collapse within the month?
- Notice : Array to string conversion on array_intersect user meta
- Get posts by id using shortcode
- Is it possible to replace ‘attachment’ with another word?
- Hide price excluding tax when price is empty
- Getting a value from a custom field from a page that shares a parent with the current page
- wordpress, Category ID
- PHP get_category() function redeclared
- Save data of select list after clicking save
- Arrange Category post manually when displayed
- Where can I find the code for the menu page meta boxes?
- WordPress adding in site URL to header links
- Error on Include php:/usr/share/pear
- Alternative loop syntax error [closed]
- why my “recepie” category is not taken into account in my request
- Category slug inside another php code
- How to create a container in php then customise it in CSS
- Find owner of coupon
- WordPress wp_remote_request() – How to do async await in wordpress php?
- How Create Automatically Image jpg.webp from image .jpg without delete or change original images upload
- Need help with conditional logic for menus