Search code examples
wordpressheaderamp-html

My wordpress header disappears when I am on some page


I have a Wordpress site and custom theme where I integrate AMP. I use different get_headers() for my custom pages.

When I navigate to projekte's page from homepage, my header is missing.

This is my site

here is my screenshot


Solution

  • Example for custom headers:

    File: header-custom.php
    Code: get_header('custom');

    For this example make sure that your custom headers are located in theme root.