From db421ba83106a2734d15adfa229996376f4e2351 Mon Sep 17 00:00:00 2001 From: seothemes Date: Fri, 6 Sep 2019 16:51:58 +0800 Subject: [PATCH] Add Genesis style trump --- CHANGELOG.md | 3 +++ lib/functions/enqueue.php | 4 ++++ package.json | 2 +- style.css | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 194c041..827c088 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Genesis Starter Theme Changelog +## [3.5.3] - 2019-06-09 +* Add Genesis style trump + ## [3.5.2] - 2019-05-09 * Add test suite diff --git a/lib/functions/enqueue.php b/lib/functions/enqueue.php index 1e5246e..052f02f 100644 --- a/lib/functions/enqueue.php +++ b/lib/functions/enqueue.php @@ -11,6 +11,10 @@ namespace SeoThemes\GenesisStarterTheme\Functions; +// Genesis style trump. +remove_action( 'genesis_meta', 'genesis_load_stylesheet' ); +add_action( 'wp_enqueue_scripts', 'genesis_enqueue_main_stylesheet', 99 ); + \add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\enqueue_assets' ); \add_action( 'enqueue_block_editor_assets', __NAMESPACE__ . '\enqueue_assets' ); /** diff --git a/package.json b/package.json index e251a6a..daa7b29 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "genesis-starter-theme", - "version": "3.5.2", + "version": "3.5.3", "description": "Genesis starter theme with a modern development workflow.", "repository": { "type": "git", diff --git a/style.css b/style.css index 8be5c1d..e5fd2dc 100644 --- a/style.css +++ b/style.css @@ -4,7 +4,7 @@ * Author: SEO Themes * Author URI: https://seothemes.com/ * Description: Genesis starter theme with a modern development workflow. - * Version: 3.5.2 + * Version: 3.5.3 * License: GPL-2.0-or-later * License URI: http://www.gnu.org/licenses/gpl-2.0.html * Text Domain: genesis-starter-theme