• I have just started having the problem where WordPress starts putting <DIV> in my posts and it messes up the sidebar. I have to manually go through and edit out the <DIV> and </DIV> from every post before I can publish the posting. This is getting to be a real pain. How can I fix this so WP quits. I have the latest version, AFAIK.

    You can see the page at https://www.longcreekbaptist.org or https://www.kevinpurcell.org. Both of my pages have this issue. They look ok now because I’ve edited out all the DIV’s in them.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I always do two thing when installing WP:
    1. kill the wysiwyg editor – admin > Options > Writing: Formatting:
    uncheck the WordPress should correct invalidly nested XHTML automatically box
    1a. Do the same in Users > Your profile: left bottom
    2. uncheck the Users should use the visual rich editor by default box

    In this way WP will never add anything to your code/post etc.

    Thread Starter kpurcell

    (@kpurcell)

    Is there no way to use the WYSIWIG and not have the problem with <DIV> being added?

    Ya know… I’m not a huge fan of the rich text editor for various reasons, but I’ve never seen it add <div> tags to my posts when I’ve used it.

    Are you composing your posts directly in WP, or in another program and then copy/pasting them over?

    What other plug-ins do you have running?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to fix <div> problem?’ is closed to new replies.