Answers for "wordpress post get date"

PHP
6

wordpress get_date

<?php echo get_the_date( 'l F j, Y' ); ?>
Posted by: Guest on May-21-2020
1

wordpress echo the date in post

$post_date = get_the_date( 'D M j' ); echo $post_date;
Posted by: Guest on November-25-2020
0

wordpress echo the date in post

$post_date = get_the_date( 'l F j, Y' ); echo $post_date;
Posted by: Guest on November-25-2020

Browse Popular Code Answers by Language