I’m attempting so as to add a customized nav menu to my WP theme. After I use the preview perform within the nav menu plugin’s menu builder, the menu operates appropriately, and masses as follows:
<physique>
<script>...</script>
<header>
<nav>...</nav>
</header>
</physique>
Nevertheless, after I roll out the menu to the dwell web site, it doesn’t function appropriately, and I seen that it’s forcing the inline jquery code to load within the footer earlier than the closing physique tag:
<physique>
<header>
<nav>...</nav>
</header>
<script>...</script>
</physique>
What ought to I search for inside the theme that may be forcing this motion; and what can I do to make sure that the inline script masses earlier than the header because it does within the preview?