• Resolved thomasvansundert

    (@thomasvansundert)


    Hi,

    I would like to add the media-upload capability to allow editors to upload an image which is used as meta data for a post.

    How can I include the media-buttons and make sure the resulting image url is inserted in an input field instead of the text editor?

    thanks,
    Thomas

Viewing 3 replies - 1 through 3 (of 3 total)
  • I use this to add a custom field template to the edit post screen, which includes the WordPress uploader and then echo it using the get_post_meta() function.

    Is this what you mean?

    http://wordpress.org/extend/plugins/custom-field-template/

    Thread Starter thomasvansundert

    (@thomasvansundert)

    Thanks,
    I managed to get what I wanted by looking at the source code of the plugin you suggested and combining this with the More Fields plugin. It required some hacking, but it works…

    Thomas

    markgt

    (@markgt)

    Hi Thomas

    this is just what i’ve been looking to do! Im still learning PHP so trying to find my way around both plugins’s files. Any chance you could share some tips with us?

    Until More Fields has this built in, this seems the only way

    thanks!
    Mark

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Use image upload for post meta information’ is closed to new replies.