FA 5.15.2 + trap js/html + regen lang + menu css fix + dropdown width + style.css version number + pingback header fix + disable nav mods

This commit is contained in:
Alexander Agnarson 2021-03-05 16:03:06 +01:00
parent 95d27b91bb
commit eee1924e85
23 changed files with 6761 additions and 1620 deletions

View file

@ -97,15 +97,17 @@ add_action( 'after_setup_theme', 'split_setup' );
/* Custom navigation
/* ------------------------------------ */
require_once 'functions/nav.php';
$nav = new \AlxMedia\Nav();
$nav->enqueue(
[
'script' => 'js/nav.js',
'inline' => false,
]
);
$nav->init();
add_action( 'wp', function() {
require_once 'functions/nav.php';
$nav = new \AlxMedia\Nav();
$nav->enqueue(
[
'script' => 'js/nav.js',
'inline' => false,
]
);
$nav->init();
} );
/* Custom logo