Need help? Check out our Support site, then


How do I stop WordPress Editing my HTML

  1. ownafilmcompany
    Member

    I want to embed a video clip in my post, but when I save the code, WordPress rewries it and it doesn't work. I've unticked use Visual Editor in my account setting and unticked correct nested xhtml in the write setting, but it still screws up my code.

  2. Having the same problem with some HTML code for a email subscription form. Whenever I save the page, it removes all of the editable fields and buttons, just leaving the text.

    Any help?

  3. ownafilmcompany - you cannot use any video embed that is not allowed here. The list of videos that are permissable is included in the FAQ.

    econsultation - you posted the same thing in another thread. The code you are trying to post likely includes items that are not allowed here.

    Both of you - try posting the code here in the forums between backticks (the key to the left od the number 1 on your keyboard) and we can take a look. There are quite a few things that are stripped out of the code (frames, forms, javascript, among them) due to security concerns.

  4. <`form action="http://practicalesolutions.cmail1.com/s/426866/" method="post">
    <`div>
    <label for="name">Name:</label><br /><input type="text" name="name" id="name" /><`br />
    <label for="l426866-426866">Email:</label><br /><input type="text" name="cm-426866-426866" id="l426866-426866" /><`br />
    Company Name:<br /><input type="text" name="cm-f-205028" id="CompanyName" /><`br />
    Interested Services:<br /><input type="text" name="cm-f-205029" id="InterestedServices" /><`br />
    Tell Us About Your Company:<br /><input type="text" name="cm-f-205030" id="TellUsAboutYourCompany" />
    <`input type="submit" value="Subscribe" />
    <`/div>
    <`/form>

  5. Tell me if I did the backticks wrong... I put them in after < but before the words...

  6. You just need one backtick at the beginning of the code and one at the end, not in each line.

  7. ownafilmcompany
    Member

    <!-- Filmtrailer.com - Embeddable Flash Player --><div id="playnw" class="playnw"><script src="http://uk.player.playnetworks.net/player.php?mid=1081&channel_user_id=441100001-1&version=2.0&nav_bar=1&trailer_list=1&width=400&height=246&repeat=1&volume=60"></script><br /><a style="font-family: Verdana, sans-serif; color: #ccc; font-size: 8pt; text-decoration: none" target="_blank" href="http://uk.filmtrailer.com/">Film Trailers from Filmtrailer.com</a></div><!-- Filmtrailer.com - Embeddable Flash Player -->

  8. <form action="http://practicalesolutions.cmail1.com/s/426866/" method="post">
    <div>
    <label for="name">Name:</label><br /><input type="text" name="name" id="name" /><br />
    <label for="l426866-426866">Email:</label><br /><input type="text" name="cm-426866-426866" id="l426866-426866" /><br />
    Company Name:<br /><input type="text" name="cm-f-205028" id="CompanyName" /><br />
    Interested Services:<br /><input type="text" name="cm-f-205029" id="InterestedServices" /><br />
    Tell Us About Your Company:<br /><input type="text" name="cm-f-205030" id="TellUsAboutYourCompany" /><br />
    <input type="submit" value="Subscribe" />
    </div>
    </form>
  9. If this kind of HTML is not allowed, is there anyway to set up a contact form on wordpress.com sites?

  10. econ - that is a form and it is not allowed here. Look for the pure HTML code for that. You may have to link to the form off-site instead of having it on your blog (like I do with my email subscriptions on my blog).

    own - that will not work here because both the embed codes and the flash codes will be stripped out. Neither of those are allowed here. Best bet for video formats not allowed here is VodPod. It can handle just about anything.

  11. Here is a list of allowed HTML tags http://faq.wordpress.com/2006/06/08/allowed-html-tags/

  12. ownafilmcompany
    Member

    Thanks.

  13. Glad to help.

Topic Closed

This topic has been closed to new replies.

About this Topic