Last active
March 2, 2018 00:16
-
-
Save pierrehenri220/5c820cd17ab60d2c97576fa8ddbdb4d0 to your computer and use it in GitHub Desktop.
Markdown Output
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 | |
<div class="entry-content"> | |
echo markdown( get_the_content() ); | |
</div> | |
<div class="entry-extra"> | |
echo markdown( get_field( 'my_custom_field' ) ); | |
</div> | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment