Forums

Convert Custom Field "image" to be the featured image (3 posts)

  1. weberm
    Member
    Posted 1 year ago #

    I have recently changed themes. The old theme used a custom field named "image" to set the featured image for the content slider, and the thumbnail. My new theme uses the built in wordpress Thumbnail thing. "Featured Image"

    Is there a way to convert all of the old custom fields named image to insert their images into the Featured Image box?

  2. alexpts
    Member
    Posted 1 year ago #

    do SQL query in phpMyAdmin:

    UPDATE wp_postmeta SET meta_key = REPLACE ( meta_key, 'image', 'Featured Image' );

  3. JimmyTheX
    Member
    Posted 1 year ago #

    Hello.

    I have some issue.

    I used a theme with custom field "image" where need to put direct link to images.

    I instaled a new theme and I need to convert somehow custom field "image" in Featured Image (from WordPress 3.1). I mean all images from custom field "image" to be moved/converted in Featured Image from new WordPress 3.1.

    Is that posible?

    I try
    "
    do SQL query in phpMyAdmin:

    UPDATE wp_postmeta SET meta_key = REPLACE ( meta_key, 'image', 'Featured Image' );
    "
    it works. Changed "image" in "featured image" but the pictures doesn`t show up in Featured Image.

    Any ideas?

    Pls. help.

Topic Closed

This topic has been closed to new replies.

About this Topic