This commit is contained in:
Alexander Agnarson 2021-05-25 13:07:29 +02:00
parent 5a11998172
commit 1355058ada
3 changed files with 7 additions and 2 deletions

View file

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

View file

@ -83,6 +83,9 @@ Sidebar images
== Changelog ==
= 1.2.2 - 2021-05-25 =
* Fixed compatibility issue with custom nav and various security plugins
= 1.2.1 - 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: Blogside
Theme URI: http://alx.media/themes/blogside/
Version: 1.2.1
Version: 1.2.2
Requires at least: 5.0
Requires PHP: 5.6
Tested up to: 5.6