This commit is contained in:
Alexander Agnarson 2020-08-26 16:50:22 +02:00
parent 54be48b977
commit 3044064221
10 changed files with 1052 additions and 392 deletions

View file

@ -94,6 +94,19 @@ if ( ! function_exists( 'magaziner_setup' ) ) {
add_action( 'after_setup_theme', 'magaziner_setup' );
/* Custom navigation
/* ------------------------------------ */
require_once 'functions/nav.php';
$nav = new \AlxMedia\Nav();
$nav->enqueue(
[
'script' => 'js/nav.js',
'inline' => false,
]
);
$nav->init();
/* Custom logo
/* ------------------------------------ */
if ( ! function_exists( 'magaziner_custom_logo' ) ) {