• Hi,

    I’m using an old premium theme that uses the custom field “Thumbnail” to display images, and I want to switch to a new theme which uses the Featured Image. It is a news website with more of 11,000 articles so I can’t do it manually.

    I’ve been searching for plugins and threads but most of them are 4 years old and the plugins 2 years old and unsupported.

    Is there a plugin or a way to batch assign a featured image from custom field?

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Hi there!

    What theme are you using and where did you get it from, first? Have you tried reaching out to the theme’s author for help?

    Second, what plugins are you searching for? Have you looked into using a plugin that updates post meta? A few that could be worth looking into:

    https://wordpress.org/plugins/simple-post-meta-manager/
    https://wordpress.org/plugins/post-meta-manager/

    Depending on how the theme is coded, you would need to look into how they are storing that information and make sure that it is the right information in order to make the proper switch.

    You want to make sure that the saved custom field is using a URL and not an ID – which is why it is super important to know how the theme is saving that data.

    Thread Starter Geetar

    (@geetar)

    Hi Jose,

    Thanks for your advice. I want to switch to a new theme and convert the custom field “thumbnail” to a Featured Image.

    I’ll give a try to the plugins.

    Thanks again!

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Of course!

    Be sure that the meta_key value is an integer that corresponds to an attachment image ID. the_post_thumbnail() uses an ID to get the right image. If that thumbnail meta value is an number you should be able to make that switch with no issues. Please, please, please be sure to make a backup of the database just in case. I cannot emphasize that enough. 🙂

    Let us know how that works out for you. 🙂

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

The topic ‘Featured Image from custom field’ is closed to new replies.