Get the Page Content,without generating HTML
Where are you doing your code parsing? If you’re doing it directly in the template file, inside the Loop, then you should be using get_the_content(). However, it might be more efficient to filter the_content(), via the the_content filter. e.g. in functions.php: function mytheme_filter_the_content( $content ) { // add code here to filter the_content // which … Read more