[Resolved] How to output header somewhere else

Home Forums Support [Resolved] How to output header somewhere else

Home Forums Support How to output header somewhere else

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1975192
    bruno

    Hi

    I have a very specific need : I want to output the whole header somewhere else than the header, then move it freely with CSS flex.

    I have no problem removing it from the header with
    remove_action( 'generate_header','generate_construct_header' );

    But how can I output it somewhere like the footer ?

    Thanks

    #1975201
    Ying
    Staff
    Customer Support

    Hi Bruno,

    You can try this:

    add_action( 'generate_footer','generate_construct_header' );

    If you want to move it to somewhere else, just replace the generate_footer with other GP hook names.

    Let me know if this helps ๐Ÿ™‚

    #1975235
    bruno

    Works perfectly, thanks !

    #1975314
    Ying
    Staff
    Customer Support

    You are welcome ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.