How do I create an Insert into post button? (2 posts)

  1. highway7
    Posted 5 years ago #


    I have created a plugin which is a file manager and allows users to browse directories on the server using the wordpress CMS.

    What I need is that when a user browses to a particular image and views the details, they can see an 'insert into post' button. I have tried looking at the code for the existing insert into post but it does not seem to work anywhere else.

    Is there any function which can call/create an insert into post button or has anybody solved this issue before?

    All help greatly appreciate.


  2. websmithintl
    Posted 5 years ago #

    I have had the exact same problem. Except for me, the insert into post button existed for a little while, and then decided to quit showing up...

    I'm using a custom theme that I built and the media-uploader.

    Any new images that get uploaded to the server don't have the button, but old images still have the button... It's very strange, because nothing has changed...

    Also, all new images that get uploaded don't have any way to insert them into the field other than doing a manual copy/paste of the file path, which is rather annoying for my clients...

    Any clues on how to force the Insert Into Post button back into the media uploader?

Topic Closed

This topic has been closed to new replies.

About this Topic