Support » Plugin: Multiple Featured Images » How import Feature images with Wp all import

  • How it´s posible to import with CSV the features images with wp all import. I can upload without problem defaut image thumbail, but with field featured-image-1 i can´t do the same

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m also trying to figure this out – I assume there’s a custom field I can write to to set the path for my registered image slot?

    For example, I’ve registered the id of my second featured image as slider-image and I’ve tried setting the value of a custom field called kdmfi_slider-image to the path of an image in the media library.

    Or perhaps we need to use the function editor to do this?

    I figured it out! The plugin stores the ID of the image you want to use as postmeta

    The custom field name is _kdmfi_your-registered-id

    So if you registered your featured image like this:

    add_filter( 'kdmfi_featured_images', function( $featured_images ) {
    		$args = array(
    				'id' => 'slider-image',
    				'post_type' => array('post', 'page', 'tnb-issue'),      // Set this to post or page
    				'label_name' => 'Hero',
    			    'label_set' => 'Set Hero Image',
    			    'label_remove' => 'Remove Hero Image',
    			    'label_use' => 'Use as Hero Image',
    		$featured_images[] = $args;
    		return $featured_images;

    Then in wp-all-import set the custom field _kdmfi_slider-image to have the value of the ID of the image you want (i.e. the image must already be in your media library)

    We want to set more than 1 image as feature images for Product Variations.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.