mirror of
https://ghproxy.net/https://github.com/AlxMedia/airl.git
synced 2025-08-26 16:38:40 +08:00
1.0.3
This commit is contained in:
parent
9858aef06c
commit
ceb4679caa
3 changed files with 8 additions and 2 deletions
|
@ -98,8 +98,10 @@ add_action( 'after_setup_theme', 'airl_setup' );
|
|||
|
||||
/* Custom navigation
|
||||
/* ------------------------------------ */
|
||||
add_action( 'wp', function() {
|
||||
if ( ! class_exists( '\Airl\Nav' ) ) {
|
||||
require_once 'functions/nav.php';
|
||||
}
|
||||
add_action( 'wp', function() {
|
||||
$nav = new \Airl\Nav();
|
||||
$nav->enqueue(
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue