From 860c2a7cc6c67a3c24bbf3cff9777c16e2f3ec0f Mon Sep 17 00:00:00 2001 From: girishpanchal30 Date: Tue, 21 Jul 2026 15:49:20 +0530 Subject: [PATCH] fix: define theme version to prevent fatal errors --- functions.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/functions.php b/functions.php index 89a863c..a0c1578 100644 --- a/functions.php +++ b/functions.php @@ -3,6 +3,11 @@ if ( ! defined( 'ABSPATH' ) ) { exit; } + +if ( ! defined( 'NEVE_VERSION' ) ) { + define( 'NEVE_VERSION', wp_get_theme( get_template() )->get( 'Version' ) ); +} + if ( ! function_exists( 'neve_child_load_css' ) ): /** * Load CSS file.