Title: Javascript being stripped from posts
Last modified: August 19, 2016

---

# Javascript being stripped from posts

 *  [healingapostle](https://wordpress.org/support/users/healingapostle/)
 * (@healingapostle)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/javascript-being-stripped-from-posts/)
 * I am the webmaster of whatsyourdeal.com a coupon compnay, when one of our users
   posts a coupon in our admin tool, we generate a post for our vbulletin forums,
   and then generate a post for our blog, recently we have started using javascriupt
   links for the links to our stores to ensure we get credit for the clickthrough,
   but wordpress is stripping out the javascript is there anyway to disable the 
   stripping of the javascript.
 * I am using the wp_insert_post() function any help would be appreciated.
    I have
   been looking through the code but didn’t see any obvious way to prevent this 
   form happening

The topic ‘Javascript being stripped from posts’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [gone](https://wordpress.org/support/topic-tag/gone/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [post](https://wordpress.org/support/topic-tag/post/)
 * [removed](https://wordpress.org/support/topic-tag/removed/)
 * [stripped](https://wordpress.org/support/topic-tag/stripped/)

 * 0 replies
 * 1 participant
 * Last reply from: [healingapostle](https://wordpress.org/support/users/healingapostle/)
 * Last activity: [17 years, 9 months ago](https://wordpress.org/support/topic/javascript-being-stripped-from-posts/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
