WordPress Mu newlines
-
Greetings! First, this isn’t a BuddyPress question so much as a WordPress mu question. But, I know we have a lot of mu experts here! I have a plugin that inserts code into the_content. I’m using
explode('</p>', $content)
in WordPress to break up the_content in paragraph blocks. That’s great in WP because before inserting the post into the database, WP replaces the newlines with paragraph tags.However, WP mu doesn’t do that. The post table still has the newlines instead of the html paragraph tags. What can I use in my explode statement instead of the closing paragraph tag?
Thanks!
- The topic ‘WordPress Mu newlines’ is closed to new replies.