How to change the custom header for posts page (WordPress Childtheme)

I have created a custom page template for my wordpress theme that uses a custom header-file:

get_header('custom');

Everything works as expected, but when I set a page to be the Posts-Page somehow the standard header-file gets loaded instead (my custom page template is activated).

Read More

I have also tried to override the blog.php from the parent and added the explicit call to my custom header-file, but it didn’t have any effect.

What am I doing wrong? How does this work?

Related posts

Leave a Reply

2 comments