• Hi,
    I have some trouble with the paragraphs tags in post contents.

    Using <?php the_content(); ?> the <p> tags show up in the published webpage.

    But when using <? echo get_post($s_ID)->post_content; ?> they are not shown.
    (I use this method to add other posts to a main post.)
    I looked at the Mysql post_content field. There seems not to be any <p> tags.

    How must I modify the second method to get the <p> tags ?

    best regards
    glenn

Viewing 1 replies (of 1 total)
  • Thread Starter glenndm

    (@glenndm)

    sorry, I should really learn to search better.
    found it here http://wordpress.org/support/topic/post_content-with-formatting

Viewing 1 replies (of 1 total)
  • The topic ‘paragraphs tag in post contents’ is closed to new replies.