WordPress.org

Ready to get started?Download WordPress

Forums

Remote posting (2 posts)

  1. modestopinions
    Member
    Posted 6 years ago #

    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.

  2. modestopinions
    Member
    Posted 6 years ago #

    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 :(

Topic Closed

This topic has been closed to new replies.

About this Topic