Managing multiple headers / footers

March 12, 2024

Yes, you can manage multiple headers / footers with LiveCanvas, within the Template Partials backend screen,

but you need to be able to code your own PHP logic to conditionally recall them.

You need to be running a child theme of course, and to have your own custom header.php file in it.

Let's focus where the LC header is recalled:

//use the LiveCanvas Custom Header
lc_custom_header();

Please consider that the lc_custom_header() function can handle a $variant optional parameter which can be used to require matching with your template partial's custom field called "is_header".