mirror of
https://ghproxy.net/https://github.com/AlxMedia/magaziner.git
synced 2025-08-27 18:38:17 +08:00
3.1.2
This commit is contained in:
parent
c4552887f5
commit
163d80e0f7
4 changed files with 29 additions and 23 deletions
|
@ -96,8 +96,10 @@ add_action( 'after_setup_theme', 'magaziner_setup' );
|
|||
|
||||
/* Custom navigation
|
||||
/* ------------------------------------ */
|
||||
add_action( 'wp', function() {
|
||||
if ( ! class_exists( '\Magaziner\Nav' ) ) {
|
||||
require_once 'functions/nav.php';
|
||||
}
|
||||
add_action( 'wp', function() {
|
||||
$nav = new \Magaziner\Nav();
|
||||
$nav->enqueue(
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue