How to stop WP from adding P tag automatically
-
Hello,
I like to add a map to the bottom of my posts. The map embed code from Google Maps comes inside <iframe> tags. In the TEXT tab of the Classic editor, I drop the embed code at the end.
But as soon as I update the page, WP automatically adds <p> tags around the embed code. This ruins my design because my embed is 2000px wide and the p tags force it to display as wide as my text, which is just 800px.
How do I keep WP from adding P tags automatically? I checked /wp-admin/options-writing.php under settings but couldn’t find any applicable settings.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to stop WP from adding P tag automatically’ is closed to new replies.