Skip to content

Instantly share code, notes, and snippets.

@pierrehenri220
Last active March 2, 2018 00:16
Show Gist options
  • Save pierrehenri220/5c820cd17ab60d2c97576fa8ddbdb4d0 to your computer and use it in GitHub Desktop.
Save pierrehenri220/5c820cd17ab60d2c97576fa8ddbdb4d0 to your computer and use it in GitHub Desktop.
Markdown Output
<?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