WP stripping out my html

by 5 replies
7
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?
#website design #html #stripping
  • 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.
    • [ 1 ] Thanks
  • 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?
    • [ 1 ] Thanks
  • 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.
    • [ 1 ] Thanks
    • [1] reply
    • 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!!!
  • Hmmm seems the html plugin didn't work, but I added a plugin "MaxBlogPress Optin Form Adder" which does the trick

Next Topics on Trending Feed