wordpress post date

57

wordpress echo the date in post -

$post_date = get_the_date( 'D M j' ); echo $post_date;

wordpress echo the date in post -

$post_date = get_the_date( 'l F j, Y' ); echo $post_date;

date format in wordpress post -

Posted on <?php the_time( 'l, F jS, Y' ); ?>.

Comments

Submit
0 Comments