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