Changeset 3270815
- Timestamp:
- 04/11/2025 06:17:50 AM (12 months ago)
- Location:
- themebeez-toolkit
- Files:
-
- 8 edited
- 1 copied
-
tags/1.3.3 (copied) (copied from themebeez-toolkit/trunk)
-
tags/1.3.3/includes/class-themebeez-toolkit.php (modified) (1 diff)
-
tags/1.3.3/includes/functions.php (modified) (1 diff)
-
tags/1.3.3/readme.txt (modified) (2 diffs)
-
tags/1.3.3/themebeez-toolkit.php (modified) (3 diffs)
-
trunk/includes/class-themebeez-toolkit.php (modified) (1 diff)
-
trunk/includes/functions.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/themebeez-toolkit.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
themebeez-toolkit/tags/1.3.3/includes/class-themebeez-toolkit.php
r3212913 r3270815 170 170 $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' ); 171 171 $this->loader->add_action( 'wp_dashboard_setup', $plugin_admin, 'register_dashboard_widget' ); 172 173 $current_active_theme = wp_get_theme(); 174 175 if ( 176 'orchid-store' === $current_active_theme->get( 'TextDomain' ) || 177 'orchid-store' === $current_active_theme->get( 'Template' ) 178 ) { 179 180 require_once plugin_dir_path( __FILE__ ) . 'simple-mega-menu/class-simple-mega-menu-walker-filter.php'; 181 182 require_once plugin_dir_path( __FILE__ ) . 'simple-mega-menu/class-simple-mega-menu-nav-walker.php'; 183 184 add_filter( 185 'wp_nav_menu_args', 186 function ( $args ) { 187 188 return array_merge( 189 $args, 190 array( 191 'walker' => new Simple_Mega_Menu_Nav_Walker(), 192 ) 193 ); 194 } 195 ); 196 } 172 197 } 173 198 -
themebeez-toolkit/tags/1.3.3/includes/functions.php
r3212913 r3270815 94 94 95 95 require_once plugin_dir_path( __FILE__ ) . 'theme-info/configs/' . $theme_text_domain . '-config.php'; 96 97 if (98 'orchid-store' === $theme_text_domain ||99 themebeez_toolkit_template_name() === 'orchid-store'100 ) {101 102 require_once plugin_dir_path( __FILE__ ) . 'simple-mega-menu/class-simple-mega-menu-walker-filter.php';103 104 require_once plugin_dir_path( __FILE__ ) . 'simple-mega-menu/class-simple-mega-menu-nav-walker.php';105 106 add_filter(107 'wp_nav_menu_args',108 function ( $args ) {109 110 return array_merge(111 $args,112 array(113 'walker' => new Simple_Mega_Menu_Nav_Walker(),114 )115 );116 }117 );118 }119 96 } 120 97 } -
themebeez-toolkit/tags/1.3.3/readme.txt
r3214797 r3270815 5 5 Requires at least: 5.6 6 6 Requires PHP: 7.4 7 Tested up to: 6.7. 18 Stable tag: 1.3. 27 Tested up to: 6.7.2 8 Stable tag: 1.3.3 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 86 86 87 87 == Changelog == 88 89 = 1.3.3 - 11 April, 2025 = 90 - Updated: Simple mega menu support for child theme for Orchid Store. 88 91 89 92 = 1.3.2 - 30 December, 2024 = -
themebeez-toolkit/tags/1.3.3/themebeez-toolkit.php
r3214797 r3270815 4 4 * Plugin URI: https://wordpress.org/plugins/themebeez-toolkit/ 5 5 * Description: A essential toolkit for themes made by www.themebeez.com. This plugin extends themes made by themebeez & adds functionality to import demo data in just a click. 6 * Version: 1.3. 26 * Version: 1.3.3 7 7 * Requires at least: 5.6 8 8 * Requires PHP: 7.4 9 * Tested up to: 6.7. 19 * Tested up to: 6.7.2 10 10 * Author: themebeez 11 11 * Author URI: https://themebeez.com … … 28 28 * Rename this for your plugin and update it as you release new versions. 29 29 */ 30 define( 'THEMEBEEZTOOLKIT_VERSION', '1.3. 2' );30 define( 'THEMEBEEZTOOLKIT_VERSION', '1.3.3' ); 31 31 32 32 // Define THEMEBEEZTOOLKIT_PLUGIN_FILE. … … 106 106 $themes = themebeez_toolkit_theme_array(); 107 107 108 if ( $theme->get( 'Author' ) === 'themebeez' && in_array( $theme->get( 'TextDomain' ), $themes, true ) ) { 108 109 if ( 110 $theme->get( 'Author' ) === 'themebeez' && 111 ( in_array( $theme->get( 'TextDomain' ), $themes, true ) || in_array( themebeez_toolkit_template_name(), $themes, true ) ) 112 ) { 109 113 110 114 // Global for backwards compatibility. -
themebeez-toolkit/trunk/includes/class-themebeez-toolkit.php
r3212913 r3270815 170 170 $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' ); 171 171 $this->loader->add_action( 'wp_dashboard_setup', $plugin_admin, 'register_dashboard_widget' ); 172 173 $current_active_theme = wp_get_theme(); 174 175 if ( 176 'orchid-store' === $current_active_theme->get( 'TextDomain' ) || 177 'orchid-store' === $current_active_theme->get( 'Template' ) 178 ) { 179 180 require_once plugin_dir_path( __FILE__ ) . 'simple-mega-menu/class-simple-mega-menu-walker-filter.php'; 181 182 require_once plugin_dir_path( __FILE__ ) . 'simple-mega-menu/class-simple-mega-menu-nav-walker.php'; 183 184 add_filter( 185 'wp_nav_menu_args', 186 function ( $args ) { 187 188 return array_merge( 189 $args, 190 array( 191 'walker' => new Simple_Mega_Menu_Nav_Walker(), 192 ) 193 ); 194 } 195 ); 196 } 172 197 } 173 198 -
themebeez-toolkit/trunk/includes/functions.php
r3212913 r3270815 94 94 95 95 require_once plugin_dir_path( __FILE__ ) . 'theme-info/configs/' . $theme_text_domain . '-config.php'; 96 97 if (98 'orchid-store' === $theme_text_domain ||99 themebeez_toolkit_template_name() === 'orchid-store'100 ) {101 102 require_once plugin_dir_path( __FILE__ ) . 'simple-mega-menu/class-simple-mega-menu-walker-filter.php';103 104 require_once plugin_dir_path( __FILE__ ) . 'simple-mega-menu/class-simple-mega-menu-nav-walker.php';105 106 add_filter(107 'wp_nav_menu_args',108 function ( $args ) {109 110 return array_merge(111 $args,112 array(113 'walker' => new Simple_Mega_Menu_Nav_Walker(),114 )115 );116 }117 );118 }119 96 } 120 97 } -
themebeez-toolkit/trunk/readme.txt
r3214797 r3270815 5 5 Requires at least: 5.6 6 6 Requires PHP: 7.4 7 Tested up to: 6.7. 18 Stable tag: 1.3. 27 Tested up to: 6.7.2 8 Stable tag: 1.3.3 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 86 86 87 87 == Changelog == 88 89 = 1.3.3 - 11 April, 2025 = 90 - Updated: Simple mega menu support for child theme for Orchid Store. 88 91 89 92 = 1.3.2 - 30 December, 2024 = -
themebeez-toolkit/trunk/themebeez-toolkit.php
r3214797 r3270815 4 4 * Plugin URI: https://wordpress.org/plugins/themebeez-toolkit/ 5 5 * Description: A essential toolkit for themes made by www.themebeez.com. This plugin extends themes made by themebeez & adds functionality to import demo data in just a click. 6 * Version: 1.3. 26 * Version: 1.3.3 7 7 * Requires at least: 5.6 8 8 * Requires PHP: 7.4 9 * Tested up to: 6.7. 19 * Tested up to: 6.7.2 10 10 * Author: themebeez 11 11 * Author URI: https://themebeez.com … … 28 28 * Rename this for your plugin and update it as you release new versions. 29 29 */ 30 define( 'THEMEBEEZTOOLKIT_VERSION', '1.3. 2' );30 define( 'THEMEBEEZTOOLKIT_VERSION', '1.3.3' ); 31 31 32 32 // Define THEMEBEEZTOOLKIT_PLUGIN_FILE. … … 106 106 $themes = themebeez_toolkit_theme_array(); 107 107 108 if ( $theme->get( 'Author' ) === 'themebeez' && in_array( $theme->get( 'TextDomain' ), $themes, true ) ) { 108 109 if ( 110 $theme->get( 'Author' ) === 'themebeez' && 111 ( in_array( $theme->get( 'TextDomain' ), $themes, true ) || in_array( themebeez_toolkit_template_name(), $themes, true ) ) 112 ) { 109 113 110 114 // Global for backwards compatibility.
Note: See TracChangeset
for help on using the changeset viewer.