Support » Plugin: Elementor - Header, Footer & Blocks Template » Mulitple Headers via Shortcodes – 1 Only Shows

  • Resolved vofer



    I have a Membership website that requires 4 different Headers.

    I have created all Headers with “Header, Footer & Blocks” with Elementor.

    Yet only one of them will show using the Shortcode in my PHP Script, which is the 1st one I created.

    Example (PHP):
    echo do_shortcode(“[hfe_template id=’386′]”);

    Basically, I edited the header.php and each page I pass in a Session variable to display a specific header, the if statement works, yet all but one Shortcode displays anything.

    Note: even trying to display the Header using shortcodes outside the IF statement, only the 1st Header I created displays.

    I have tried changing many settings, yet is there a linkage that forces the 1at Header created or am I missing something

    ** I have done this before with 2 headers and is worked well, yet with 4 headers it doesn’t work.

    Kind Regards,


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Mulitple Headers via Shortcodes – 1 Only Shows’ is closed to new replies.