diff --git a/footer.php b/footer.php index b5a195b..e74b4ac 100644 --- a/footer.php +++ b/footer.php @@ -47,7 +47,7 @@ diff --git a/functions.php b/functions.php index f1f54d0..a89305d 100644 --- a/functions.php +++ b/functions.php @@ -100,7 +100,7 @@ add_action( 'after_setup_theme', 'featureon_setup' ); /* ------------------------------------ */ add_action( 'wp', function() { require_once 'functions/nav.php'; - $nav = new \AlxMedia\Nav(); + $nav = new \Featureon\Nav(); $nav->enqueue( [ 'script' => 'js/nav.js', diff --git a/functions/nav.php b/functions/nav.php index 0dc2384..9430b7b 100644 --- a/functions/nav.php +++ b/functions/nav.php @@ -3,7 +3,7 @@ * An accessible and mobile-friendly implementation for navigation menus. */ -namespace AlxMedia; +namespace Featureon; /** * Object containing all methods and hooks to modify default menus. @@ -46,7 +46,7 @@ class Nav { * * @var string */ - protected $handle_prefix = 'alexmedia-nav'; + protected $handle_prefix = 'featureon-nav'; /** * Init. @@ -56,7 +56,7 @@ class Nav { * @return void */ public function init() { - if ( apply_filters( 'alxmedia_disable_nav_mods', false ) ) { + if ( apply_filters( 'featureon_disable_nav_mods', false ) ) { return; } add_filter( 'walker_nav_menu_start_el', [ $this, 'add_nav_sub_menu_buttons' ], 10, 4 ); diff --git a/functions/updater/theme-updater.php b/functions/updater/theme-updater.php index 4aebe45..38e97af 100644 --- a/functions/updater/theme-updater.php +++ b/functions/updater/theme-updater.php @@ -18,7 +18,7 @@ $updater = new EDD_Theme_Updater_Admin( 'remote_api_url' => 'https://alx.media', // Site where EDD is hosted 'item_name' => 'Featureon', // Name of theme 'theme_slug' => 'featureon', // Theme slug - 'version' => '2.4.1', // The current version of this theme + 'version' => '2.4.2', // The current version of this theme 'author' => 'AlxMedia', // The author of this theme 'download_id' => '', // Optional, used for generating a license renewal link 'renew_url' => '', // Optional, allows for a custom license renewal link diff --git a/header.php b/header.php index 8619fc6..cd0da92 100644 --- a/header.php +++ b/header.php @@ -30,14 +30,14 @@
- 'mobile','menu_id' => 'nav-mobile','fallback_cb'=> false)); ?> + 'mobile','menu_id' => 'nav-mobile','fallback_cb'=> false)); ?>
- 'topbar','menu_id' => 'nav-topbar','fallback_cb'=> false)); ?> + 'topbar','menu_id' => 'nav-topbar','fallback_cb'=> false)); ?>
@@ -91,7 +91,7 @@
- 'header','menu_id' => 'nav-header','fallback_cb'=> false)); ?> + 'header','menu_id' => 'nav-header','fallback_cb'=> false)); ?>
diff --git a/readme.txt b/readme.txt index 9ac56d1..2d5ba93 100644 --- a/readme.txt +++ b/readme.txt @@ -23,7 +23,7 @@ http://alx.media/documentation/ == Copyright == -Featureon WordPress Theme, Copyright 2018 AlxMedia +Featureon WordPress Theme, Copyright 2021 AlxMedia Featureon is distributed under the terms of the GNU GPL This program is free software: you can redistribute it and/or modify @@ -38,36 +38,54 @@ GNU General Public License for more details. Featureon bundles the following third-party resources: -Font Awesome, Copyright Dave Gandy +Font Awesome +Copyright (c) Dave Gandy License: SIL OFL 1.1 (Fonts); MIT (CSS) -Source: http://fontawesome.com/ +Source: https://fontawesome.com/ -Titillium font, Copyright Accademia di Belle Arti di Urbino -License: SIL Open Font License, version 1.1. +Titillium Font +Copyright (c) Accademia di Belle Arti di Urbino +License: SIL OFL 1.1 Source: http://www.campivisivi.net/titillium/ -Flexslider, Copyright WooThemes +Flexslider +Copyright (c) WooThemes License: GPLv2 or later Source: http://flexslider.woothemes.com/ -OwlCarousel, Copyright Bartosz Wojciechowski +OwlCarousel +Copyright (c) Bartosz Wojciechowski License: MIT Source: http://www.owlgraphic.com/owlcarousel/ -FitVids, Copyright Chris Coyier +FitVids +Copyright (c) Chris Coyier License: WTFPL Source: http://fitvidsjs.com/ -Kirki, Copyright Aristeides Stathopoulos +Kirki +Copyright (c) David Vongries License: MIT -Source: https://github.com/aristath/kirki +Source: https://kirki.org/ Screenshot images License: CC0 1.0 Universal (CC0 1.0) -Source: http://pixabay.com/ +Source: https://stocksnap.io == Changelog == += 2.4.2 - 2021-03-05 = +* Fixed: mobile menu tabbing will enter in the menu even when it's closed +* Fixed: trap focus in search popup +* Fixed: prefix for custom menu names and classes +* Fixed: readme format to declare license information +* Fixed: make sure that the pingback_url is conditional since pings can be turned off +* Fixed: added no minified font awesome css +* Increased menu dropdown width +* Added option to disable custom navigation in child themes +* Updated language files +* Updated to Font Awesome Free 5.15.2 + = 2.4.1 - 2020-08-28 = * Improved a11y * Added new menu