WP stripping out my html

5 replies
  • WEB DESIGN
  • |
Hey folks,

Need some help here. I've recently begun updating some of my wordpress posts on my blog and putting a opt-in form directly on some of the posts.

I've been taking the raw html code from aweber and simply pasting it on the html section under the edit screen of blog posts.

However, the funny thing is that when I go to publish the post, a good portion of the html code gets stripped out, making the form non-functional.

I've been using opt-in forms for years now on more traditional squeeze pages, and in fact use them on another blog of mine, but one particular blog seems to be doing this.

Am I missing something or why would this be happening?
#html #stripping
  • Profile picture of the author jakesellers
    Post as user with admin privledges will bypass tag filter but not formatter, use html rather than visual editor when posting form, make sure tags aren't being wrapped in editor, you can split long tags if needed thusly:

    <input type="text"
    name="asdf" />

    Consider using javascript option to insert form.
    {{ DiscussionBoard.errors[1128358].message }}
  • Profile picture of the author SickHippie
    I had an html-stripping issue with one of my blogs - it turned out to be something in the theme. If you switch to the default theme and put in your code, does it still strip it out?
    Signature

    {{ DiscussionBoard.errors[1128389].message }}
  • Profile picture of the author Abledragon
    Kurt, hi,

    WordPress has some HTML filters in which do strip out some HTML - the WordPress HTML police.

    Installing the Raw HTML plugin fixed that for me. Here's a review, which contains a link to it:

    http://www.wealthydragon.com/blog/20...ordpress-html/

    Hope it helps,

    Cheers,

    Martin.
    Signature
    WealthyDragon - Earning My Living Online
    {{ DiscussionBoard.errors[1128967].message }}
    • Profile picture of the author Kurt Henninger
      Thank you all VERY much for the help. I'll go ahead and install the html plugin and report back to let you know the results!!!
      Signature

      Lets' Connect On Twitter My Twitter Page

      {{ DiscussionBoard.errors[1128998].message }}
  • Profile picture of the author Kurt Henninger
    Hmmm seems the html plugin didn't work, but I added a plugin "MaxBlogPress Optin Form Adder" which does the trick
    Signature

    Lets' Connect On Twitter My Twitter Page

    {{ DiscussionBoard.errors[1129579].message }}

Trending Topics