WordPress.org

Ready to get started?Download WordPress

Forums

Function to mark new lines as paragraphs? (2 posts)

  1. wesg
    Member
    Posted 4 years ago #

    I'm building a custom website using WordPress as the CMS and need to output formatted paragraphs. Is there a function in the wordpress system that can do this for me? What system does WP use on regular posts?

  2. wesg
    Member
    Posted 4 years ago #

    Nevermind, I solved my problem.

    For the record, use the function wpautop($content); to return formatted text.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.