Instantly share code, notes, and snippets.

Embed
What would you like to do?
WordPress - Override custom logo size in child theme
<?php
# Change the default custom logo size from 215 x 215 in a child theme
# This child theme was based on the WordPress 2016 theme
function override_2016_customlogo() {
add_theme_support( 'custom-logo', array(
'height' => 400,
'width' => 400,
'flex-height' => true,
'flex-width' => true
) );
}
add_action( 'after_setup_theme', 'override_2016_customlogo', 11 );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment