• Currently I am developing a plugin where a user can upload a image. When the image is uploaded it returns a <p> tag with the link associated to that specific image.

    Anyway, I want to create a insert to post button that takes that echo’d p tag and inserts it right in to the new post window. I know this is possible because the media uploader has this button. But I can’t find the code that makes the button function properly so I have no idea how it’s working.

    Any help would be greatly appreciated.

    -How do I make an Insert to Post button inside of my plugin??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Evan Herman

    (@eherman24)

    bump.

    Is there a function that I can call to make the button, store the variable, and insert it in to the new post window??

    Seems like it really shouldn’t be that hard. I’ve been trying to do this with jQuery but it’s not appending to the content box.

    Thread Starter Evan Herman

    (@eherman24)

    I’ve looked at the plugin. Haven’t downloaded it. Should I be looking at the source code? Still haven’t been able to crack this one yet. There is just this, another small problem and writing the uninstall file till I’m complete with first phase of development.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Creating a 'Insert to Post' button inside of my plugin’ is closed to new replies.