test 17

svg code test (2)

SVG CODE FINALLY WORKING!

Don’t put new line between svg header and the code that follows. All the code needs to be on one line, otherwise it breaks the code. (thanks go to: wp decoder)
Don’t click on a Visual “button”(tab) when editing Post, else code will be deleted. (you can restore it in Revisions)

test 15

svg upload is working after adding

function cc_mime_types( $mimes ){
$mimes[‘svg’] = ‘image/svg+xml’;
return $mimes;
}
add_filter( ‘upload_mimes’, ‘cc_mime_types’ );

to   functions.php
(otherwise it is blocked for “security reasons”)

 

svg render works fine after manually changing size of an image!

zvezdica wordpress test

 

 

 

 

 

 

 

Ok