Posts adding P and BR tags using iPhorm

pending (2 posts) (2 voices)

  1. socialtim
    Member

    Hi

    I've just installed iPhorm on my wordpress instance and the layout is looking really stretched out. I initially thought it was a problem with CSS being incompatible, but I've noticed that infocus appears to be adding P and BR tags where they shouldn't be.

    For instance, using the preview of iPhorm, here's a section of the HTML:

    <div class="iphorm-element-wrap iphorm-element-wrap-text iphorm_1_7-element-wrap iphorm-clearfix iphorm-labels-above iphorm-element-optional">
        <div class="iphorm-element-spacer iphorm-element-spacer-text iphorm_1_7-element-spacer">
                        <label for="iphorm_3d326881e2c22298ee2cb1443e60731d14f2f61e60a0f7_7">
                    Other                                            </label>
                    <div class="iphorm-input-wrap iphorm-input-wrap-text iphorm_1_7-input-wrap">
                <input class="iphorm-element-text  iphorm_1_7" id="iphorm_3d326881e2c22298ee2cb1443e60731d14f2f61e60a0f7_7" type="text" name="iphorm_1_7" value="">
                    <p class="iphorm-description">If it's about something else, please let us know what it is.</p>
            </div>
            <div class="iphorm-errors-wrap iphorm-hidden">
        </div>    </div>
        </div>

    But, when that's embedded in a page using the iPhorm shortcode, it looks like this:

    <div class="iphorm-element-wrap iphorm-element-wrap-text iphorm_1_7-element-wrap iphorm-clearfix iphorm-labels-above iphorm-element-optional">
    <div class="iphorm-element-spacer iphorm-element-spacer-text iphorm_1_7-element-spacer">
                        <label for="iphorm_3d326881e2c22298ee2cb1443e60731d14f2f651d04717_7">
                    Other                                            </label><p></p>
    <div class="iphorm-input-wrap iphorm-input-wrap-text iphorm_1_7-input-wrap">
    <input class="iphorm-element-text  iphorm_1_7" id="iphorm_3d326881e2c22298ee2cb1443e60731d14f2f651d04717_7" type="text" name="iphorm_1_7" value="">
    <p class="iphorm-description">If it’s about something else, please let us know what it is.</p>
    <p></p></div>
    <div class="iphorm-errors-wrap iphorm-hidden">
        </div>
    <p></p></div>
    <p></p></div>

    As you can see, it's adding unwanted P /P tags all through it, as well as erroneous BRs too.

    Is there anyway to stop the theme (or wordpress if it's that) adding its own markup?

    Thanks

    Tim

    Posted 3 months ago #
  2. Elliott
    Support

    Hello socialtim,

    If your using a shortcode then try surrounding it with [raw] [/raw] tags.

    Posted 3 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme