This commit is contained in:
Alexander Agnarson 2021-05-25 12:52:44 +02:00
parent 9439ba2c08
commit ae8ebd9f44
3 changed files with 7 additions and 2 deletions

View file

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

View file

@ -75,6 +75,9 @@ Sidebar images
== Changelog ==
= 1.3.0 - 2021-05-25 =
* Fixed compatibility issue with custom nav and various security plugins
= 1.2.9 - 2021-03-03 =
* Fixed: mobile menu tabbing will enter in the menu even when it's closed
* Fixed: add styles to focus states of menu and search

View file

@ -1,7 +1,7 @@
/*
Theme Name: Minimer
Theme URI: http://alx.media/themes/minimer/
Version: 1.2.9
Version: 1.3.0
Requires at least: 5.0
Requires PHP: 5.6
Tested up to: 5.6