Closed mrtamagotchi closed 5 years ago
borde bara hända om du försöker köra get_header() eller get_footer() funktionerna i din template.
om du använder page-"komponenten" som en layout ska allt funka fint!
Omitting
header.php
doesn't break themes. It simply triggers a notice whenWP_DEBUG
is enabled. It's not that big of a deal, and you can suppress the notice using WP hooks.
See header.php and footer.php templates are required in themes #1620
Setting up a new theme, but getting these errors:
Notice: Theme without header.php is deprecated since version 3.0.0 with no alternative available. Please include a header.php template in your theme.
Notice: Theme without footer.php is deprecated since version 3.0.0 with no alternative available. Please include a footer.php template in your theme.
So we should probably consider adding them back once again.
Eller missar jag nåt???