This commit is contained in:
Alexander Agnarson 2020-08-16 13:53:37 +02:00
parent d26d209ebd
commit 0758928289
11 changed files with 905 additions and 312 deletions

View file

@ -88,6 +88,19 @@ if ( ! function_exists( 'curver_setup' ) ) {
add_action( 'after_setup_theme', 'curver_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( 'curver_custom_logo' ) ) {