Skip to content

Instantly share code, notes, and snippets.

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 carlthewebmaster/b42c19737ca3181211ed to your computer and use it in GitHub Desktop.
Save carlthewebmaster/b42c19737ca3181211ed to your computer and use it in GitHub Desktop.
<?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