Title: Pasting Code into WordPress Post
Last modified: August 19, 2016

---

# Pasting Code into WordPress Post

 *  [scottshedden](https://wordpress.org/support/users/scottshedden/)
 * (@scottshedden)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/pasting-code-into-wordpress-post/)
 * Hi There,
 * I am trying to insert a paypal button into my wordpress post. I am able to copy
   and paste the code, but the code disappears when I attempt to save it.
 * Any suggestions? Thanks.

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

 *  [SimonJ](https://wordpress.org/support/users/simonj/)
 * (@simonj)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/pasting-code-into-wordpress-post/#post-944009)
 * Are you sure you are logged as an administrator?
 * On my side, when authors try to write paypal code, it doesn’t work. But I have
   no problem when I log in as an admin.
 * S.
 *  Thread Starter [scottshedden](https://wordpress.org/support/users/scottshedden/)
 * (@scottshedden)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/pasting-code-into-wordpress-post/#post-944016)
 * I just checked, and yes I am an administrator.
 * What is happening is I am pasting the code, and it appears in the both the visual
   and html window. When I save the post, the code disappears and does not appear.
 *  [SimonJ](https://wordpress.org/support/users/simonj/)
 * (@simonj)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/pasting-code-into-wordpress-post/#post-944023)
 * Could you paste here the paypal button code you are trying to write in your post?
 * S.
 *  Thread Starter [scottshedden](https://wordpress.org/support/users/scottshedden/)
 * (@scottshedden)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/pasting-code-into-wordpress-post/#post-944047)
 * Thanks Shane. I will have a look.
 *  Thread Starter [scottshedden](https://wordpress.org/support/users/scottshedden/)
 * (@scottshedden)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/pasting-code-into-wordpress-post/#post-944048)
 * I can paste the code without a problem. It just disappears for some reason.
 *  [toddheitner](https://wordpress.org/support/users/toddheitner/)
 * (@toddheitner)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/pasting-code-into-wordpress-post/#post-944359)
 * I know this is an older post, but for anyone trying to paste PayPal code into
   a blog post, I thought I’d share a couple things.
 * If you’re using the code PayPal gives you to put on a web site, you’ll probably
   have problems because WordPress seems to want to add a bunch of closing `</form
   >` tags so it won’t work.
 * However, there is a way to do it. There is a nice tutorial on the WordPress.com
   site. While it’s geared toward wordpress.com and a self-hosted WordPress install,
   it’s basically the same problem you’d be running into and a great solution:
    
   [http://en.support.wordpress.com/paypal/](http://en.support.wordpress.com/paypal/)

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

The topic ‘Pasting Code into WordPress Post’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [toddheitner](https://wordpress.org/support/users/toddheitner/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/pasting-code-into-wordpress-post/#post-944359)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
