mirror of
https://ghproxy.net/https://github.com/AlxMedia/curver.git
synced 2025-08-26 10:54:03 +08:00
1.1.8
This commit is contained in:
parent
2e0d2c4a34
commit
75c4c99465
25 changed files with 6799 additions and 1638 deletions
|
@ -90,15 +90,17 @@ 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();
|
||||
add_action( 'wp', function() {
|
||||
require_once 'functions/nav.php';
|
||||
$nav = new \Curver\Nav();
|
||||
$nav->enqueue(
|
||||
[
|
||||
'script' => 'js/nav.js',
|
||||
'inline' => false,
|
||||
]
|
||||
);
|
||||
$nav->init();
|
||||
} );
|
||||
|
||||
|
||||
/* Custom logo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue