WP auto-editing Section Elements
-
I’ve started to use <section> in my blog pages instead of div’s, where appropriate. However, after editing a page and saving it, WP auto-edits the code to add closing section brackets at inappropriate places.
Example of what I want to use (closing section brackets are near the end of my page, after relevant content)…
<section class="plexus"><section class="plexus-container"><img src="https://imge.jpg" alt="Plexus Weight Loss" /> [three_fifth]
Here’s what WP does; notice the added, closing section brackets…
<section class="plexus"><section class="plexus-container"><img src="https://image.jpg" alt="Plexus Weight Loss" /> [three_fifth]</section></section>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
How do I stop WP from making these unnecessary edits?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘WP auto-editing Section Elements’ is closed to new replies.