Title: Coding Confusion
Last modified: August 30, 2016

---

# Coding Confusion

 *  [sjnceltics](https://wordpress.org/support/users/sjnceltics/)
 * (@sjnceltics)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/coding-confusion-1/)
 * I’m having some trouble with a PayPal code. I enter it into the text as provided
   on the PayPal site:
 * <form action=”[https://www.paypal.com/cgi-bin/webscr&#8221](https://www.paypal.com/cgi-bin/webscr&#8221);
   method=”post” target=”_top”>
    <input type=”hidden” name=”cmd” value=”_s-xclick”
   > <input type=”hidden” name=”hosted_button_id” value=”UBKNCLFFXWHME”> <table>
   <tr><td><input type=”hidden” name=”on0″ value=”Ticket Options”>Ticket Options
   </td></tr><tr><td><select name=”os0″> <option value=”Single”>Single $150.00 USD
   </option> <option value=”Couple”>Couple $300.00 USD</option> </select> </td></
   tr> </table> <input type=”hidden” name=”currency_code” value=”USD”> <input type
   =”image” src=”[https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif&#8221](https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif&#8221);
   border=”0″ name=”submit” alt=”PayPal – The safer, easier way to pay online!”>
   <img alt=”” border=”0″ src=”[https://www.paypalobjects.com/en_US/i/scr/pixel.gif&#8221](https://www.paypalobjects.com/en_US/i/scr/pixel.gif&#8221);
   width=”1″ height=”1″> </form>
 * When I press “Update” on WordPress, it changes the code to:
 * <form action=”[https://www.paypal.com/cgi-bin/webscr&#8221](https://www.paypal.com/cgi-bin/webscr&#8221);
   method=”post” target=”_top”><input name=”cmd” type=”hidden” value=”_s-xclick”/
   >
    <input name=”hosted_button_id” type=”hidden” value=”UBKNCLFFXWHME” /></form
   > <table> <tbody> <tr> <td><input name=”on0″ type=”hidden” value=”Ticket Options”/
   >Ticket Options</td> </tr> <tr> <td><select name=”os0″> <option value=”Single”
   >Single $150.00 USD</option> <option value=”Couple”>Couple $300.00 USD</option
   > </select></td> </tr> </tbody> </table> <input name=”currency_code” type=”hidden”
   value=”USD” /> <input alt=”PayPal – The safer, easier way to pay online!” name
   =”submit” src=”[https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif&#8221](https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif&#8221);
   type=”image” /> <img src=”[https://www.paypalobjects.com/en_US/i/scr/pixel.gif&#8221](https://www.paypalobjects.com/en_US/i/scr/pixel.gif&#8221);
   alt=”” width=”1″ height=”1″ border=”0″ />
 * I can see that the </form> jumps up, and I’m assuming that is why the button 
   is not working properly on the site and that the border=”0″ also moves, but I
   cannot figure out why it is changing when I update!
 * Help is appreciated!
 * -Emily

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

 *  [wpfan1000](https://wordpress.org/support/users/wpfan1000/)
 * (@wpfan1000)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/coding-confusion-1/#post-6584881)
 * Hi Emily,
 * WP tends to filter out HTML in the edit screen of a post.
 * I would highly recommend you create a template and paste the Paypal code in there.
   This way, the code cannot be changed, it is hardcoded in the template.
 * [http://wpsites.net/wordpress-themes/wordpress-post-template-how-to-create-a-custom-post-template-using-a-plugin/](http://wpsites.net/wordpress-themes/wordpress-post-template-how-to-create-a-custom-post-template-using-a-plugin/)
 * Hope this helps 🙂
 *  [wpfan1000](https://wordpress.org/support/users/wpfan1000/)
 * (@wpfan1000)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/coding-confusion-1/#post-6584935)
 * The link above is creating a template using a plugin, which is not really needed.
   Take a lot at
 * [https://premium.wpmudev.org/blog/creating-custom-page-templates-in-wordpress/](https://premium.wpmudev.org/blog/creating-custom-page-templates-in-wordpress/)

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

The topic ‘Coding Confusion’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [Coding](https://wordpress.org/support/topic-tag/coding/)
 * [paypal](https://wordpress.org/support/topic-tag/paypal/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [wpfan1000](https://wordpress.org/support/users/wpfan1000/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/coding-confusion-1/#post-6584935)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
