This commit is contained in:
Alexander Agnarson 2021-05-25 13:13:08 +02:00
parent b0bd863938
commit 9c034a832b
3 changed files with 7 additions and 2 deletions

View file

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

View file

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

View file

@ -1,7 +1,7 @@
/* /*
Theme Name: Curver Theme Name: Curver
Theme URI: http://alx.media/themes/curver/ Theme URI: http://alx.media/themes/curver/
Version: 1.1.8 Version: 1.1.9
Requires at least: 5.0 Requires at least: 5.0
Requires PHP: 5.6 Requires PHP: 5.6
Tested up to: 5.6 Tested up to: 5.6