This commit is contained in:
Alexander Agnarson 2020-08-25 16:53:22 +02:00
parent 503f8822f3
commit 3adf01523b
11 changed files with 995 additions and 299 deletions

View file

@ -95,6 +95,19 @@ if ( ! function_exists( 'split_setup' ) ) {
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();
/* Custom logo
/* ------------------------------------ */
if ( ! function_exists( 'split_custom_logo' ) ) {