Skip to content

Instantly share code, notes, and snippets.

View carlthewebmaster's full-sized avatar

Carl Leubsdorf, Jr. carlthewebmaster

View GitHub Profile
<?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 );