Use the the_date()
or get_the_date( 'd/m/Y', $post->ID )
functions. This will show only the date of your post type. If you are outside the loop, you need to use the second function I’ve suggested with the post id passed as param.
Use the the_date()
or get_the_date( 'd/m/Y', $post->ID )
functions. This will show only the date of your post type. If you are outside the loop, you need to use the second function I’ve suggested with the post id passed as param.