Skip to content

Instantly share code, notes, and snippets.

View lswilson's full-sized avatar

Lisa Sabin-Wilson lswilson

View GitHub Profile
add_action( 'template_redirect', 'ngd_multiple_logos' );
function ngd_multiple_logos() {
sp_remove_action('sb_header', 'sp_header_settings', 'logo');
sp_add_action( 'sb_header', 'ngd_logo');
}
function ngd_logo() {
// We need the $post global to determine parent_page relationships
global $post;