require stmt jumbles element
-
hi.. i’m embarrassed to post this but i don’t know what else to do.
when i add any content to a required
header.php
file at'/inc/structure/header.php'
the <head> element content gets jumbled (corrupted?).the
<head>
content moves to below the<body>
tag and the customizer acts odd–i can’t browse to change themes (shows 0 themes to browse).it doesn’t happen until i add content (not just when i require a file). i’ve copied and pasted other code so i know it’s not a typo.
it happened before WP 5.6 release.
i’m trying to follow some GP structure and include code i learn from there, but this is totally bizarre to me.
i just got started so it’s an empty blank theme and a fresh WP install–have wp_head() and wp_footer() calls but it’s bare bones besides that.
so sorry for the dumb Q. i’m using Local by Flywheel.
i’m just baffled and really disappointed in myself tbo :/
thanks, L <3
- The topic ‘require stmt jumbles element’ is closed to new replies.