Retrieve the post content. (Must be used in a Loop)
Usage
get_the_content( $more_link_text, $stripteaser, $more_file )
?>
Parameters
$more_link_text
(string) (optional) Content for when there is more text.
Default: null
$stripteaser
(boolean) (optional) Strip teaser content before the more text.
Default: false
$more_file
(string) (optional) Not used.
Default: ''
Return values
(string)
Examples
Display the post content, ending with “Read more” if needed
print get_the_content('Read more');
?>
More informations: http://codex.wordpress.org/Function_Reference/get_the_content


Leave a comment