Archived topic
Hook element before or after logo in mobile header
3 replies · Started by Antonio on September 5, 2022
Viewing posts 1–4 of 4
Hello,
how can I hook an element before or after logo on mobile header?
Thank you
Hi there,
this is how we hook the logo into the mobile header:
add_action( 'generate_inside_mobile_header', 'generate_menu_plus_mobile_header_logo', 5 );
So in your element you can use the inside_mobile_header hook.
And set the Priority to 4 for before the logo and 6 for after the logo.
Working perfectly!
Thank you
Glad to hear that!
This archived topic is closed to new replies.