Once again I’m being switched around to other tasks in the office – this time its taking the lead on a WordPress site. Well, for whatever reason my post’s content would not get rendered with the necessary paragraph breaks. Some googling and reading of the WordPress Codex lead to the following snippet that seemed to resolve it:
<?php // within the loop $rawContent = apply_filters( 'the_content',$post->post_content); $rawContent = str_replace( ']]>', ']]>', $rawContent ); echo $rawContent; ?>
This manually applies “the_content” filters to the results which inserts the desired formatting.