Robert Granlund
asked on
Wordpress adding Closing Divs
I am using wordpress for a website. I'm using builder. I am using a php widget to help enclose other widgets into a spicific div. However, Wordpress keeps adding Closing Divs or Closing p's where I do not want them. Any ideas on how to stop the auto formatting?
Try going to Settings | Writing and turn off "WordPress should correct invalidly nested XHTML automatically"
ASKER
Jason, that box is not checked.
For example, I have four widgets in a row. the top widget contains <div id="container">
and the last widget contains </div>
Word press automatically closes the first div and I need that to stop.
For example, I have four widgets in a row. the top widget contains <div id="container">
and the last widget contains </div>
Word press automatically closes the first div and I need that to stop.
Are these default Text widgets or something added via customization or plugin?
Every <div> needs it's own </div>. Are they not nesting properly?
ASKER
I am using the WP Text widget to enter the HTML. The first twxt widget needs to hold an opening div. and the last widget needs to have the closing div.
Is "Automatically Add Paragraphs" checked in the widget box?
ASKER
@jason1178No that is not checked.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.