WordPress.org

Ready to get started?Download WordPress

Forums

How do I remove THE FIRST <p> from the_content ? (2 posts)

  1. borbs
    Member
    Posted 6 years ago #

    Hi!

    I am trying to remove the first <p> from the_content. I know about the WPAUTO and I made a plugin that removes it. But, it removes ALL the <p> from the_content, and I want only the FIRST ONE. How can I do that?

    Thank you!

  2. MrBrian
    Member
    Posted 6 years ago #

    Why not just ADD it to the beginning?

Topic Closed

This topic has been closed to new replies.

About this Topic