This commit is contained in:
Alexander Agnarson 2020-08-17 12:30:39 +02:00
parent b51191b2c6
commit ad29debb83
11 changed files with 969 additions and 397 deletions

View file

@ -88,6 +88,19 @@ if ( ! function_exists( 'boxstyle_setup' ) ) {
add_action( 'after_setup_theme', 'boxstyle_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( 'boxstyle_custom_logo' ) ) {