Forked from ejdanderson/anno-custom-header-size.php
Last active
August 29, 2015 14:09
-
-
Save carlthewebmaster/b42c19737ca3181211ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Add the following function to a child theme or plugin: | |
function anno_custom_header_size() { | |
Anno_Keeper::keep( 'header_image', new Anno_Header_Image( 'header', array (1265, 110 ) ) ); | |
} | |
// Priority 10 to come in after the annotum's initial template initialization. | |
add_action( 'after_setup_theme', 'anno_custom_header_size', 10 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment