Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Question

    #55531

    In Appearance / customize / Static front page I have : A static page choice and front page choice that shows my custom page.

    I want to transform this custom page as a header and display it on every page of my website. How would I do that ??

    Answers

    #55730

    Well after lot of research I found the solutions :

    1 ) make a copy of header.php from boss theme and put it in your child theme
    2 ) add these lines a the very end of your file header.php (in the child theme obviously) : <?php get_template_part( ‘template-parts/footer-new-header' ); ?>
    3 ) add a folder named template-parts to your child theme and add a new php file named footer-new-header.php (or whatever name you want to give it as long as it match the php command in step #2)
    4 ) create your header in your new php file and voila ….

Viewing 2 posts - 1 through 2 (of 2 total)
  • The question ‘Custom Header’ is closed to new replies.