Title: Problem with creating posts remotely
Last modified: August 19, 2016

---

# Problem with creating posts remotely

 *  [gnji](https://wordpress.org/support/users/gnji/)
 * (@gnji)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/problem-with-creating-posts-remotely/)
 * Hey guys..
    I’m trying to create a script to remotely post wordpress posts with
   a specific template.
 * I have the following PHP code..
 *     ```
       $content = "
       <div class=\"postlinks\">
   
       <ul>
       <li>
       		<span id=\"trailr\"><a><img alt=\"trailer\" src=\"http://imgur.com/pQwmw.png\" width=\"50\" height=\"50\"/></a></span></li>
       		<div id=\"trailer$r\" style=\"display:none;\">
       ```
   
 * the $content holds part of my template that i want to use for each of my posts.
   However, when I send this string to wordpress, it gets stripped of all its <script
   >, id and class tags..
 * Does anyone know how to disable this wordpress stripping of tags?
 * Please let me know asap 🙁

Viewing 1 replies (of 1 total)

 *  Thread Starter [gnji](https://wordpress.org/support/users/gnji/)
 * (@gnji)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/problem-with-creating-posts-remotely/#post-1216911)
 * bump :/

Viewing 1 replies (of 1 total)

The topic ‘Problem with creating posts remotely’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [gnji](https://wordpress.org/support/users/gnji/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/problem-with-creating-posts-remotely/#post-1216911)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
