I wonder if there is a specific way to create a custom 404 header template.
This can be done for secondary page, but creating a header-404.php doesn't do the trick.
Am I really supposed to create an if in the main header checking whether the is_404() returns true?
Thanks Andrea
get_header()
. TL;DR:if( is_404() ) { get_header( '404' ); }
... in which case, it will useheader-404.php
. – Pat J Apr 16 '14 at 21:05