add <p> tags to get_post() content
I thought that get_post() was failing to display the <p> tags of my pages, but then realized that the <p>’s aren’t stored in the text in the database anyway.
On my page.php (copied from kubrick theme), the_content() adds <p> tags around paragraphs. How can I add <p> tags to my content that I’m retrieving using get_post()?
- The topic ‘add <p> tags to get_post() content’ is closed to new replies.