Skip to content

Instantly share code, notes, and snippets.

@technosailor
Created May 10, 2013 15:45
Show Gist options
  • Save technosailor/5555282 to your computer and use it in GitHub Desktop.
Save technosailor/5555282 to your computer and use it in GitHub Desktop.
<?php
class Some_Child_Theme {
public function __construct() {
$this->hooks();
}
public function hooks() {
add_action( 'genesis_setup', array( $this, 'genesis_setup' ), 15 );
}
public function genesis_setup() {
remove_action( 'genesis_header', 'genesis_header_markup_open', 5 );
remove_action( 'genesis_header', 'genesis_do_header' );
remove_action( 'genesis_header', 'genesis_header_markup_close', 15 );
}
}
new Some_Child_Theme;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment