This commit is contained in:
Alexander Agnarson 2021-05-25 13:36:00 +02:00
parent bdd34a4335
commit 53aa409944
3 changed files with 7 additions and 2 deletions

View file

@ -91,8 +91,10 @@ add_action( 'after_setup_theme', 'typecore_setup' );
/* Custom navigation
/* ------------------------------------ */
add_action( 'wp', function() {
if ( ! class_exists( '\Typecore\Nav' ) ) {
require_once 'functions/nav.php';
}
add_action( 'wp', function() {
$nav = new \Typecore\Nav();
$nav->enqueue(
[

View file

@ -94,6 +94,9 @@ Right sidebar images
== Changelog ==
= 1.3.2 - 2021-05-25 =
* Fixed compatibility issue with custom nav and various security plugins
= 1.3.1 - 2021-03-03 =
* Fixed: nav menu spacing in header
* Fixed: mobile menu tabbing will enter in the menu even when it's closed

View file

@ -1,7 +1,7 @@
/*
Theme Name: Typecore
Theme URI: http://alx.media/themes/typecore/
Version: 1.3.1
Version: 1.3.2
Requires at least: 5.0
Requires PHP: 5.6
Tested up to: 5.6