ccurtin
8/21/2015 - 5:48 PM

Use get_the_content() to create an excerpt that doesn't remove the post content formatting. ie: keep images and paragraph breaks

Use get_the_content() to create an excerpt that doesn't remove the post content formatting. ie: keep images and paragraph breaks

 <?php echo force_balance_tags(html_entity_decode(wp_trim_words(htmlentities(get_the_content()),150))); ; ?>