Changeset 3379380
- Timestamp:
- 10/16/2025 10:44:51 AM (5 months ago)
- Location:
- anant-addons-for-elementor/trunk
- Files:
-
- 3 edited
-
anant-addons-for-elementor.php (modified) (5 diffs)
-
inc/initializer.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
anant-addons-for-elementor/trunk/anant-addons-for-elementor.php
r3379255 r3379380 5 5 * Author: Anantsites 6 6 * Author URI: https://anantsites.com/ 7 * Version: 1.2. 47 * Version: 1.2.5 8 8 * License: GPLv3 9 9 * License URI: https://opensource.org/licenses/GPL-3.0 … … 74 74 define( 'ANANT_PATH', plugin_dir_path( ANANT ) ); 75 75 define( 'ANANT_URL', plugin_dir_url( ANANT ) ); 76 define( 'ANANT_VERSION', '1.2. 4' ); //Plugin Version76 define( 'ANANT_VERSION', '1.2.5' ); //Plugin Version 77 77 define( 'ANANT_MIN_ELEMENTOR_VERSION', '3.0.0' ); //MINIMUM ELEMENTOR Plugin Version 78 78 define( 'ANANT_MIN_PHP_VERSION', '7.4' ); //MINIMUM PHP Plugin Version … … 91 91 add_action( 'elementor/elements/categories_registered', [ $this, 'wc_create_category' ] ); // Add a custom category for panel widgets 92 92 add_action( 'elementor/elements/categories_registered', [ $this, 'wc_hf_create_category' ] ); // Add a custom header footer category for panel widgets 93 add_action( 'wp_enqueue_scripts', [ $this,'anant_enqueue_font_awesome'], 20 ); 93 94 } 94 95 … … 224 225 225 226 $set_categories->call( $elements_manager, $categories ); 227 } 228 229 /** Function for Font Awesome 5, Social Icons, Icon List */ 230 public function anant_enqueue_font_awesome() { 231 if ( class_exists( 'Elementor\Plugin' ) ) { 232 233 // Ensure Elementor Icons CSS is loaded. 234 wp_enqueue_style( 235 'anant-elementor-icons', 236 plugins_url( '/elementor/assets/lib/eicons/css/elementor-icons.min.css', 'elementor' ), 237 [], 238 '5.34.0' 239 ); 240 wp_enqueue_style( 241 'anant-icons-list', 242 plugins_url( '/elementor/assets/css/widget-icon-list.min.css', 'elementor' ), 243 [], 244 '3.24.3' 245 ); 246 wp_enqueue_style( 247 'anant-social-icons', 248 plugins_url( '/elementor/assets/css/widget-social-icons.min.css', 'elementor' ), 249 [], 250 '3.24.0' 251 ); 252 wp_enqueue_style( 253 'anant-social-share-icons-brands', 254 plugins_url( '/elementor/assets/lib/font-awesome/css/brands.css', 'elementor' ), 255 [], 256 '5.15.3' 257 ); 258 259 wp_enqueue_style( 260 'anant-social-share-icons-fontawesome', 261 plugins_url( '/elementor/assets/lib/font-awesome/css/fontawesome.css', 'elementor' ), 262 [], 263 '5.15.3' 264 ); 265 wp_enqueue_style( 266 'anant-nav-menu-icons', 267 plugins_url( '/elementor/assets/lib/font-awesome/css/solid.css', 'elementor' ), 268 [], 269 '5.15.3' 270 ); 271 } 226 272 } 227 273 … … 257 303 } 258 304 } ); 305 -
anant-addons-for-elementor/trunk/inc/initializer.php
r3379255 r3379380 97 97 } 98 98 99 100 add_action( 'wp_enqueue_scripts', 'anant_enqueue_font_awesome', 20 );101 99 } 102 100 … … 190 188 191 189 wp_send_json_success(array('wishlist' => $wishlist, 'wishlist_count' => count($wishlist))); 192 }193 }194 195 /** Function for Font Awesome 5, Social Icons, Icon List */196 function anant_enqueue_font_awesome() {197 198 if ( class_exists( 'Elementor\Plugin' ) ) {199 200 // Ensure Elementor Icons CSS is loaded.201 wp_enqueue_style(202 'blogfoel-elementor-icons',203 plugins_url( '/elementor/assets/lib/eicons/css/elementor-icons.min.css', 'elementor' ),204 [],205 '5.34.0'206 );207 wp_enqueue_style(208 'blogfoel-icons-list',209 plugins_url( '/elementor/assets/css/widget-icon-list.min.css', 'elementor' ),210 [],211 '3.24.3'212 );213 wp_enqueue_style(214 'blogfoel-social-icons',215 plugins_url( '/elementor/assets/css/widget-social-icons.min.css', 'elementor' ),216 [],217 '3.24.0'218 );219 wp_enqueue_style(220 'blogfoel-social-share-icons-brands',221 plugins_url( '/elementor/assets/lib/font-awesome/css/brands.css', 'elementor' ),222 [],223 '5.15.3'224 );225 226 wp_enqueue_style(227 'blogfoel-social-share-icons-fontawesome',228 plugins_url( '/elementor/assets/lib/font-awesome/css/fontawesome.css', 'elementor' ),229 [],230 '5.15.3'231 );232 wp_enqueue_style(233 'blogfoel-nav-menu-icons',234 plugins_url( '/elementor/assets/lib/font-awesome/css/solid.css', 'elementor' ),235 [],236 '5.15.3'237 );238 190 } 239 191 } -
anant-addons-for-elementor/trunk/readme.txt
r3379255 r3379380 5 5 Requires PHP: 7.4 6 6 Tested up to: 6.8 7 Stable tag: 1.2. 48 Version: 1.2. 47 Stable tag: 1.2.5 8 Version: 1.2.5 9 9 License: GPLv3 or later 10 10 License URI: https://opensource.org/licenses/GPL-3.0 … … 150 150 151 151 == Changelog == 152 = 1.2.5 = 153 * Fixed Font Awesome enqueue file. 152 154 = 1.2.4 = 153 155 * Fixed icons load issue.
Note: See TracChangeset
for help on using the changeset viewer.