This commit is contained in:
Alexander Agnarson 2021-03-05 17:09:53 +01:00
parent b3f8c93498
commit 0cd8c43f84
6 changed files with 39 additions and 21 deletions

View file

@ -98,7 +98,7 @@ add_action( 'after_setup_theme', 'magaziner_setup' );
/* ------------------------------------ */
add_action( 'wp', function() {
require_once 'functions/nav.php';
$nav = new \AlxMedia\Nav();
$nav = new \Magaziner\Nav();
$nav->enqueue(
[
'script' => 'js/nav.js',