the_content is always surrounded by paragraphs, it doesn't matter if I'm in HTML view and there's nothing there. Does WordPress have a function to remove them? IS there any way?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
|||
|
|
|
Removing the filter that adds the P is the best option.
|
|||||||
|
|
You can implement your own function in your theme's function.php file and use it instead of "the_content"
|
|||
|
|