get the formatted content
-
Hi to everyone!
I’ve a simple & stupid problem..but I can’t solve!
I’ve made my own theme, so I’ve to deal with some problems/errors, etcc..
I’ve solved all of them but one.I can’t get the formatted content of a page or a post and display it like it appear in the backend, like I’ve written it (bold, italics, etc..)
I’ve used the loop and then the tag “the_content();” to get the content of a page or post…but it appears like unformatted string..no bolds, no italics, nothing I’ve applied in the backend
This is my code in a page-template
<div id="single_page"> <div id="privacy"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php the_content(); ?> <?php endwhile; ?> </div> </div>
Someone can help me?
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘get the formatted content’ is closed to new replies.