Reply To: import issues with svg files

Support Forums Kampina import issues with svg files Reply To: import issues with svg files

#279
TigriWeb
Keymaster

Okay, something seems to have changed since the last update. I also tried it on my staging site and had the same issue.

This code should help — add it to your functions.php before the import:

add_filter( 'upload_mimes', function ( $mimes ) {
	$mimes['svg'] = 'image/svg+xml';

	return $mimes;
} );

P.S. I got blocked by “Protection par ParFeu · Acantic”, IP 185.5.218.15.
I added a debugging plugin there — it can be removed..))

Best regards,
TigriWeb Team