remove_action(‘genesis_header’,’genesis_do_header’) hook not working

I am trying to remove the default ‘genesis_do_header’ action from the genesis_header hook in order to format my own header layout; however, for some reason it is not working when I try to either inject it into my child theme’s functions.php or header.php. The new function that I want does work, though I just end up with the header double-rendered with both the default and the new custom header :/ Any help would be much appreciated, thanks!

Read more here:: remove_action(‘genesis_header’,’genesis_do_header’) hook not working

Leave a Reply

Your email address will not be published. Required fields are marked *