Forums

[resolved] WordPress adding HTML when published (7 posts)

  1. Blondierandi
    Member
    Posted 2 years ago #

    I am trying to load a form onto one of my pages. I have the HTML code completely written out on a separate program. Once I publish it all of my text boxes and drop downs get moved to the next like. I looked at the Page Source and it shows the code < br / > which I know is a line break. I checked it in my program, it wasn't there. I checked it in the text box where I can add the HTML and it wasn't there. Somewhere in between the editting page and the publishing phase those codes are added in.

    I do not think it is a margin problem because it does this regardless of the size of the box.

    Here's what it looks like

    Name
    [TEXT BOX] Date
    [TEXT BOX] Mailing Address
    [TEXT BOX]

    Here is what it is supposed to look like

    Name [TEXT BOX] Date [TEXT BOX]
    Mailing Address [TEXT BOX]

    Please help me :/

  2. a_johnson
    Member
    Posted 2 years ago #

    Use the plugin WP Unformatted and use the settings "sponge" "1" any time you have anything besides simple text.

    This is bug is long overdue to be fixed.

  3. Blondierandi
    Member
    Posted 2 years ago #

    How do I set the custom field to "sponge" and "1" is there a code??? or what?

  4. Blondierandi
    Member
    Posted 2 years ago #

    Okay so... I did everything you told me to, and its still doing it...

  5. Blondierandi
    Member
    Posted 2 years ago #

    Instead of a
    it has added <p> and </p> everywhere where the breaks are (exept for the first form field.

  6. Blondierandi
    Member
    Posted 2 years ago #

    hahahaha oops, instead of a < br >

  7. Blondierandi
    Member
    Posted 2 years ago #

    OMG a_johnson I love you! You have helped me soooo much. Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic