Viewing 1 replies (of 1 total)
  • sccr410,

    Hi. You need to filter the content. Please try the following code:

    <?php
    $my_id = 7;
    $post_id_7 = get_post($my_id);
    $content = $post_id_7->post_content;
    $content = apply_filters( 'the_content', $content );
    print $content;
    ?>
Viewing 1 replies (of 1 total)
  • The topic ‘get_post not displaying formatted text’ is closed to new replies.