Tagged: header widget
Anyone overhauled this thing? The absolute positioning is horrible, especially when trying to add a widget in the header :(
I have the header widget added and working,
add_action( 'ava_main_header', 'enfold_customization_header_widget_area' );
function enfold_customization_header_widget_area() {
dynamic_sidebar( 'header' );
}
But that puts it outside of the container, so it is only relative to the browser window and can get moved all over, is there another hook maybe that can dump a widget INSIDE the container in the header?
Hey thatryan!
You can try either of these hooks.
ava_main_header
ava_before_bottom_main_menu
ava_inside_main_menu
ava_after_main_menu
Cheers!
Elliott
Ah yes thank you!
ava_before_bottom_main_menu
Is what I needed.
Is there a doc with hooks listed somewhere?
Hey!
I don’t think so. You can always open up the PHP files and look around though. Or do a search with a text editor such as notepad++ for “add_action” and it will show you a lot of hooks.
Regards,
Elliott