WordPress.org

Ready to get started?Download WordPress

Forums

Multiple Post Thumbnails
[resolved] Re-attach thumbnails after changing name of custom post type (2 posts)

  1. hippkul
    Member
    Posted 2 years ago #

    Hi,

    I had to change the name of my custom post type that I had the multiple thumbnailst attach to.

    Now it still shows on the frontend, but not the backend...
    I can still see the input fields for the thumbnails but they are empty.

    any ideas how to make them visible again in the GUI in the backend ?

    http://wordpress.org/extend/plugins/multiple-post-thumbnails/

  2. Chris Scott
    Member
    Plugin Author

    Posted 2 years ago #

    @hippkul: the thumbnails are stored as post meta in the format $post_type_$id_thumbnail_id so when the post type changes, the association is "lost".

    So, to fix this you'll need to update the metadata keys. Easiest way would be to do it directly on the DB if you have a lot of posts. Otherwise, for just a few posts you can do it using the custom fields metabox in the post edit screen.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic