WordPress.org

Forums

Bulk add or edit Feature Images / Mass edit feature images (2 posts)

  1. wibbsy
    Member
    Posted 3 years ago #

    I notice this topic is asked a lot but no clear answer anywhere.

    I have a site migration (from an older CMS) and I can migrate the posts (some 300+) but now they are in my new WP site I want to assign a feature image to them.

    My theme uses feature images, but I can't find a way to bulk add/edit without having to go through each post manually.

    Has anyone done this or knows of a plugin that works on 3.0+ and will allow this to happen?

    What about SQL injection code in the phpmyadmin back-end?

    Any help would be greatly appreciated as I don;t fancy making 300 manual amends.

  2. brasofilo
    Member
    Posted 3 years ago #

    The following code will set the first attached image as the Featured Image, but I'm not sure if your import process will attach the images to the post in the first place...
    http://pastebin.com/Xys2ZPhR

    Otherwise, take a look at this post: http://wordpress.stackexchange.com/q/3442/12615

Topic Closed

This topic has been closed to new replies.

About this Topic