Skip to content

Instantly share code, notes, and snippets.

@pfefferle
Created February 28, 2018 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pfefferle/789ee1b46f297b4fe758a7b72a5e0c49 to your computer and use it in GitHub Desktop.
Save pfefferle/789ee1b46f297b4fe758a7b72a5e0c49 to your computer and use it in GitHub Desktop.
<?php
function zenpress_child_setup() {
// This theme supports a custom header
$custom_header_args = array(
'width' => 1250,
'height' => 600,
'header-text' => true,
);
add_theme_support( 'custom-header', $custom_header_args );
}
add_action( 'after_setup_theme', 'zenpress_child_setup', 20 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment