WordPress.org

Ready to get started?Download WordPress

Forums

changing an attachment's parent (4 posts)

  1. ktdreyer
    Member
    Posted 5 years ago #

    When I upload an image to a page, WordPress seems to store the page as that image's "parent". When I look in the Media Library, this is the "attached to" field. How can I change this value (i.e. reassign an image to another page)?

  2. figaro
    Member
    Posted 5 years ago #

    Of course, you know you can add the image to as many posts/pages as you want by selecting the Media Library, but I don't see an option in the WP admin to change the post/page the image is attached to...you would probably need to do that directly in the database.

  3. mkormendy
    Member
    Posted 4 years ago #

    I am thinking of creating a plugin for this, as I too have just came across this requirement of re-assigning and deleting assignments of Media attachments with posts.

  4. romanzmykulova
    Member
    Posted 4 years ago #

    Hi! it seem there is one simple plugin, which gives you ability to change image "parent" : http://wordpress.org/extend/plugins/change-attachment-parent/

Topic Closed

This topic has been closed to new replies.

About this Topic