Title: Remote posting
Last modified: August 18, 2016

---

# Remote posting

 *  [modestopinions](https://wordpress.org/support/users/modestopinions/)
 * (@modestopinions)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/remote-posting/)
 * I hope this turns out to be easier than I’m thinking it might be!
 * I have a form. It has a textarea. That textarea is filled with HTML code for 
   people to copy/paste into their own websites or blogs.
 * Here’s the thing – I want to add a button/link that will take that code and insert
   it directly into a new WP post. The code is already stored (via PHP) in a variable
   called $code as part of the tool. Basically, I’m looking for a way to pass that
   variable to a new WP post so the contents of the variable show up in the body
   of the post.
 * I do *not* want to have to ask people for their username/password. If they’re
   not logged in, they should hit the login screen, login, then continue the operation.
 * Thoughts?
 * I can show the tool so you can see how it currently works if that would help.

Viewing 1 replies (of 1 total)

 *  Thread Starter [modestopinions](https://wordpress.org/support/users/modestopinions/)
 * (@modestopinions)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/remote-posting/#post-592543)
 * I’m only going to bump this once, since it’s been 3 days, then I’m going to just
   assume that nobody here can help me 🙁

Viewing 1 replies (of 1 total)

The topic ‘Remote posting’ is closed to new replies.

## Tags

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

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 1 reply
 * 1 participant
 * Last reply from: [modestopinions](https://wordpress.org/support/users/modestopinions/)
 * Last activity: [18 years, 11 months ago](https://wordpress.org/support/topic/remote-posting/#post-592543)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
