publish date wordpress code example
Example 1: wordpress get_date
<?php echo get_the_date( 'l F j, Y' ); ?>
Example 2: wordpress echo the date in post
$post_date = get_the_date( 'l F j, Y' ); echo $post_date;
<?php echo get_the_date( 'l F j, Y' ); ?>
$post_date = get_the_date( 'l F j, Y' ); echo $post_date;