Created
October 9, 2012 23:21
-
-
Save billerickson/3862103 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 | |
/** | |
* Display the post content. | |
* | |
* @since 0.71 | |
* | |
* @param string $more_link_text Optional. Content for when there is more text. | |
* @param bool $stripteaser Optional. Strip teaser content before the more text. Default is false. | |
*/ | |
function the_content($more_link_text = null, $stripteaser = false) { | |
$content = get_the_content($more_link_text, $stripteaser); | |
$content = apply_filters('the_content', $content); | |
$content = str_replace(']]>', ']]>', $content); | |
echo $content; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment