Created
June 20, 2016 20:47
-
-
Save carlaizumibamford/49c903392c69d1c8af6700e8c37e7faf to your computer and use it in GitHub Desktop.
This file contains 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 if( !post_password_required( $post->ID ) ) : ?> | |
<?php else: ?> | |
<?php echo get_the_password_form(); ?> | |
<?php endif;?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment