How do I stop WordPress Editing my HTML
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.
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.
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.
<`form action=”http://practicalesolutions.cmail1.com/s/426866/” method=”post”>
br /><input type=”text” name=”name” id=”name” /><`br />
br /><input type=”text” name=”cm-426866-426866″ id=”l426866-426866″ /><`br />
br /><input type=”text” name=”cm-f-205028″ id=”CompanyName” /><`br />
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” />
Tell me if I did the backticks wrong… I put them in after < but before the words…
You just need one backtick at the beginning of the code and one at the end, not in each line.
<!-- 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 -->
<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>
If this kind of HTML is not allowed, is there anyway to set up a contact form on wordpress.com sites?
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.
econ – yes. There is a contact form – http://faq.wordpress.com/2007/05/13/how-do-i-make-a-contact-form/
Here is a list of allowed HTML tags http://faq.wordpress.com/2006/06/08/allowed-html-tags/
Glad to help.
The topic ‘How do I stop WordPress Editing my HTML’ is closed to new replies.