Created
December 23, 2015 19:40
-
-
Save omariosouto/e22f9769b347cbe502d3 to your computer and use it in GitHub Desktop.
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 | |
| $hoje = strtotime('now'); | |
| $data_ref = strtotime('2016-01-04'); | |
| if( $hoje >= $data_ref ) { | |
| the_content('<p class="serif">' . __('Read the rest of this page »', 'pt_BR') . '</p>'); | |
| } else { | |
| the_field('post_agendado'); | |
| } | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment