[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 321
  • Last Modified:

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?
0
rgranlund
Asked:
rgranlund
  • 4
  • 3
1 Solution
 
Jason C. LevineNo oneCommented:
Try going to Settings | Writing and turn off "WordPress should correct invalidly nested XHTML automatically"
0
 
rgranlundAuthor Commented:
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.
0
 
Jason C. LevineNo oneCommented:
Are these default Text widgets or something added via customization or plugin?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
Dave BaldwinFixer of ProblemsCommented:
Every <div> needs it's own </div>.  Are they not nesting properly?
0
 
rgranlundAuthor Commented:
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.
0
 
Jason C. LevineNo oneCommented:
Is "Automatically Add Paragraphs" checked in the widget box?
0
 
rgranlundAuthor Commented:
@jason1178No that is not checked.
0
 
Jason C. LevineNo oneCommented:
You might be out of luck then.  The widget code will close divs to prevent the design from breaking.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now