/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php the_content(); // this is your standard way to output Post or Page content // now the test which works $var_content = get_the_content(); $var_content = apply_filters( 'the_content', $var_content ); echo $var_content; ?>
URL: http://rider.sofarider.com/blog/wordpress-tips/how-to-fix-get_the_content-stripped-tags/
Comments
