Support » Plugin: SVG Support » SVG still cant skip crop process

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Benbodhi


    Thanks for using my plugin.

    Please note that copying that article exactly will not work in your case as it is for header images and you’re working with a logo.
    The concept is the same but with slight differences to the code for the logo.
    Check out the codex here:

    I hope this points you the right direction. Please let me know how you go.


    Thanks so much for your help in time!

    but sorry I am not a code expert, I tried to add the

    add_theme_support( ‘custom-logo’, array(
    ‘height’ => 100,
    ‘width’ => 400,
    ‘flex-height’ => true,
    ‘flex-width’ => true,
    ‘header-text’ => array( ‘site-title’, ‘site-description’ ),
    ) );

    in the child function.php there is nothing change.

    Plugin Author Benbodhi


    You need a function to run that code and also you won’t need all of it.
    Try this:

    add_action( 'after_setup_theme', 'bodhisvgsupport_theme_support', 11 );
    function bodhisvgsupport_theme_support() {
    	remove_theme_support( 'custom-logo' );
    	add_theme_support( 'custom-logo', array(
    		'flex-width'  => true,
    		'flex-height' => true,
    	) );
    • This reply was modified 3 years, 2 months ago by Benbodhi.

    Cool! it`s all done suddenly!
    Thanks so much again!

    Plugin Author Benbodhi


    Great news!
    Thanks for letting me know.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘SVG still cant skip crop process’ is closed to new replies.