Anonymous
Unregistered
Posted 3 years ago #
Hello,
I have been working on my theme for a while now.. well, working off another theme and as you can see here http://sage.wilwaldon.com/ there is an extra <p> tag at the top of my page posts. I didn't put the tag there and i can't find any P's in my code.
Is there a way to get rid of this tag?
Any help would be appreciated.
Thanks!
I experienced something similar because I was using the editor. I turned it to "HTML" instead of visual and it solved this.
muthukswamy
Member
Posted 3 years ago #
This is because, WordPress automatically adds <p></p> tags for your content if you edit through WYSIWYG editor. If you want to remove the <p></p> tag, just goto HTML view and remove them.
I don't think that presence of <p></p> tag will not affect you by any way, so why do you want to worry.
And open paragraph can and will affect certain things. I had issues with CSS not showing correctly to sidebar and comments not showing up completely due to an open paragraph.