mirror of
https://ghproxy.net/https://github.com/AlxMedia/curver.git
synced 2025-08-26 10:54:03 +08:00
1.1.9
This commit is contained in:
parent
b0bd863938
commit
9c034a832b
3 changed files with 7 additions and 2 deletions
|
@ -90,8 +90,10 @@ add_action( 'after_setup_theme', 'curver_setup' );
|
|||
|
||||
/* Custom navigation
|
||||
/* ------------------------------------ */
|
||||
add_action( 'wp', function() {
|
||||
if ( ! class_exists( '\Curver\Nav' ) ) {
|
||||
require_once 'functions/nav.php';
|
||||
}
|
||||
add_action( 'wp', function() {
|
||||
$nav = new \Curver\Nav();
|
||||
$nav->enqueue(
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue