• WP keeps on changing my html code for a paypal button

    In the html I have:

    <select name="os0">
    	<option value="Monthly">Monthly : £5.00GBP - monthly</option>
    	<option value="Yearly">Yearly : £55.00GBP - yearly</option>
    </select>

    nothing special here
    BUT, as soon as i go to visual editor, everything is screwed up and i get this instead:

    <select name="os0">
    	<option value="Monthly">Monthly : £5.00GBP - monthly</option></select><select>
    	<option value="Yearly">Yearly : £55.00GBP - yearly</option>
    </select>

    why is it doing this? it’s adding </select><select> in the middle!!!
    what is causing this to happen??

    Not sure if relevant, but surrounding are tables – all unchanged from what Paypal gives

    How can I fix?

    I’m using Chrome – is that the problem?
    REALLY annoying – I can’t go into visual editor

    Thanks

    OM

Viewing 2 replies - 1 through 2 (of 2 total)
  • OM,

    Ideally you should not be putting html like this for functionality/buttons directly into posts/pages. You should add these to the theme files so the WYSIWYG doesn’t overwrite the HTML. HTML is often stripped out automatically.

    Posts/Pages are generally used for content entry only.

    Hope this provides some explanation.

    Thanks,
    Har

    the problem is the visual editor
    if you stick with the html editor it will work

    some folks say this works better
    http://wordpress.org/extend/plugins/tinymce-advanced/

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WP messing up my Paypal button html’ is closed to new replies.