Last active
May 7, 2020 11:41
-
-
Save Fobiya/719744f534f4967a4f63264b2789bff3 to your computer and use it in GitHub Desktop.
WP date
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php the_modified_time('n j, Y');?> | |
<br> | |
<?php echo date( 'n j, Y');?> | |
<br> | |
<?php echo get_field('datapicer') ?> | |
<?php | |
$post_n = get_field('datapicer'); | |
$post_t = date('m d, Y'); | |
if( $post_n !== $post_t ){?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment