mirror of
https://ghproxy.net/https://github.com/AlxMedia/splits.git
synced 2025-08-26 06:20:51 +08:00
FA 5.15.2 + trap js/html + regen lang + menu css fix + dropdown width + style.css version number + pingback header fix + disable nav mods
This commit is contained in:
parent
95d27b91bb
commit
eee1924e85
23 changed files with 6761 additions and 1620 deletions
|
@ -97,15 +97,17 @@ 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();
|
||||
add_action( 'wp', function() {
|
||||
require_once 'functions/nav.php';
|
||||
$nav = new \AlxMedia\Nav();
|
||||
$nav->enqueue(
|
||||
[
|
||||
'script' => 'js/nav.js',
|
||||
'inline' => false,
|
||||
]
|
||||
);
|
||||
$nav->init();
|
||||
} );
|
||||
|
||||
|
||||
/* Custom logo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue