Changeset 3144069
- Timestamp:
- 08/30/2024 06:34:26 AM (18 months ago)
- Location:
- themesflat-addons-for-elementor/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
themesflat-addons-for-elementor.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
themesflat-addons-for-elementor/trunk/readme.txt
r3140230 r3144069 5 5 Tested up to: 6.6 6 6 Requires PHP: 5.2 7 Stable tag: 2. 1.97 Stable tag: 2.2.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
themesflat-addons-for-elementor/trunk/themesflat-addons-for-elementor.php
r3140228 r3144069 5 5 Author: Themesflat 6 6 Author URI: http://themesflat-addons.com/ 7 Version: 2. 1.97 Version: 2.2.0 8 8 Text Domain: themesflat-addons-for-elementor 9 9 Domain Path: /languages … … 88 88 89 89 90 require_once( __DIR__ . '/shortcode.php' ); 91 92 require_once plugin_dir_path( __FILE__ ).'pagination.php'; 93 require_once plugin_dir_path( __FILE__ ).'tf-function.php'; 94 require_once plugin_dir_path( __FILE__ ).'addon-elementor-icon-manager.php'; 95 // require_once plugin_dir_path( __FILE__ ).'tf-post-format.php'; 96 97 98 99 100 require_once plugin_dir_path( __FILE__ ).'tf-plugin-option.php'; 101 // require_once plugin_dir_path( __FILE__ ).'tf-plugin-setup.php'; 90 102 91 103 … … 117 129 },5); 118 130 119 require_once( __DIR__ . '/shortcode.php' );120 121 require_once plugin_dir_path( __FILE__ ).'pagination.php';122 require_once plugin_dir_path( __FILE__ ).'tf-function.php';123 require_once plugin_dir_path( __FILE__ ).'addon-elementor-icon-manager.php';124 // require_once plugin_dir_path( __FILE__ ).'tf-post-format.php';125 126 127 128 129 require_once plugin_dir_path( __FILE__ ).'tf-plugin-option.php';130 // require_once plugin_dir_path( __FILE__ ).'tf-plugin-setup.php';131 131 132 132 … … 294 294 public function init_widgets() { 295 295 296 if(tf_opt_get_option('wd_image_box') ) {296 if(tf_opt_get_option('wd_image_box') === false || tf_opt_get_option('wd_image_box') === 'on') { 297 297 require_once( __DIR__ . '/widgets/widget-imagebox.php' ); 298 298 \Elementor\Plugin::instance()->widgets_manager->register( new \TFImageBox_Widget_Free() ); 299 } 300 301 if(tf_opt_get_option('wd_carousel')) { 299 } elseif (tf_opt_get_option('wd_image_box') !== 'on' ) { 300 301 } 302 303 if(tf_opt_get_option('wd_carousel') === false || tf_opt_get_option('wd_carousel') === 'on') { 302 304 require_once( __DIR__ . '/widgets/widget-carousel.php' ); 303 305 \Elementor\Plugin::instance()->widgets_manager->register( new \TFCarousel_Widget_Free() ); 304 } 305 306 if(tf_opt_get_option('wd_navmenu')) { 306 } elseif (tf_opt_get_option('wd_carousel') !== 'on' ) { 307 308 } 309 310 if(tf_opt_get_option('wd_navmenu') === false || tf_opt_get_option('wd_navmenu') === 'on') { 307 311 require_once( __DIR__ . '/widgets/widget-navmenu.php' ); 308 312 \Elementor\Plugin::instance()->widgets_manager->register( new \TFNavMenu_Widget_Free() ); 309 } 310 311 if(tf_opt_get_option('wd_search')) { 313 } elseif (tf_opt_get_option('wd_navmenu') !== 'on' ) { 314 315 } 316 317 if(tf_opt_get_option('wd_search') === false || tf_opt_get_option('wd_search') === 'on') { 312 318 require_once( __DIR__ . '/widgets/widget-search.php' ); 313 319 \Elementor\Plugin::instance()->widgets_manager->register( new \TFSearch_Widget_Free() ); 314 } 315 316 if(tf_opt_get_option('wd_posts')) { 320 } elseif (tf_opt_get_option('wd_search') !== 'on' ) { 321 322 } 323 324 325 if(tf_opt_get_option('wd_posts') === false || tf_opt_get_option('wd_posts') === 'on') { 317 326 require_once( __DIR__ . '/widgets/widget-posts.php' ); 318 327 \Elementor\Plugin::instance()->widgets_manager->register( new \TFPosts_Widget_Free() ); 319 } 320 321 if(tf_opt_get_option('wd_tabs')) { 328 } elseif (tf_opt_get_option('wd_posts') !== 'on' ) { 329 330 } 331 332 if(tf_opt_get_option('wd_tabs') === false || tf_opt_get_option('wd_tabs') === 'on') { 322 333 require_once( __DIR__ . '/widgets/widget-tabs.php' ); 323 334 \Elementor\Plugin::instance()->widgets_manager->register( new \TFTabs_Widget_Free() ); 324 } 325 326 if(tf_opt_get_option('wd_simple_slider')) { 335 } elseif (tf_opt_get_option('wd_tabs') !== 'on' ) { 336 337 } 338 339 340 if(tf_opt_get_option('wd_simple_slider') === false || tf_opt_get_option('wd_simple_slider') === 'on') { 327 341 require_once( __DIR__ . '/widgets/widget-simple-slide.php' ); 328 342 \Elementor\Plugin::instance()->widgets_manager->register( new \TFSlide_Widget_Free() ); 329 } 330 331 if(tf_opt_get_option('wd_e_slider')) { 343 } elseif (tf_opt_get_option('wd_simple_slider') !== 'on' ) { 344 345 } 346 347 if(tf_opt_get_option('wd_e_slider') === false || tf_opt_get_option('wd_e_slider') === 'on') { 332 348 require_once( __DIR__ . '/widgets/widget-flex-slide.php' ); 333 349 \Elementor\Plugin::instance()->widgets_manager->register( new \TFFlex_Slide_Widget_Free() ); 334 } 335 336 if(tf_opt_get_option('wd_scroll_top')) { 350 } elseif (tf_opt_get_option('wd_e_slider') !== 'on' ) { 351 352 } 353 354 if(tf_opt_get_option('wd_scroll_top') === false || tf_opt_get_option('wd_scroll_top') === 'on') { 337 355 require_once( __DIR__ . '/widgets/widget-scroll-top.php' ); 338 356 \Elementor\Plugin::instance()->widgets_manager->register( new \TFScrollTop_Widget_Free() ); 339 } 340 341 if(tf_opt_get_option('wd_preload')) { 357 } elseif (tf_opt_get_option('wd_scroll_top') !== 'on' ) { 358 359 } 360 361 if(tf_opt_get_option('wd_preload') === false || tf_opt_get_option('wd_preload') === 'on') { 342 362 require_once( __DIR__ . '/widgets/widget-preload.php' ); 343 363 \Elementor\Plugin::instance()->widgets_manager->register( new \TFPreload_Widget_Free() ); 344 } 345 346 if(tf_opt_get_option('wd_post_image')) { 364 } elseif (tf_opt_get_option('wd_preload') !== 'on' ) { 365 366 } 367 368 if(tf_opt_get_option('wd_post_image') === false || tf_opt_get_option('wd_post_image') === 'on') { 347 369 require_once( __DIR__ . '/widgets/widget-post-image.php' ); 348 370 \Elementor\Plugin::instance()->widgets_manager->register( new \TFPostImage_Widget_Free() ); 349 } 350 351 if(tf_opt_get_option('wd_post_title')) { 371 } elseif (tf_opt_get_option('wd_post_image') !== 'on' ) { 372 373 } 374 375 376 if(tf_opt_get_option('wd_post_title') === false || tf_opt_get_option('wd_post_title') === 'on') { 352 377 require_once( __DIR__ . '/widgets/widget-post-title.php' ); 353 378 \Elementor\Plugin::instance()->widgets_manager->register( new \TFPostTitle_Widget_Free() ); 354 } 355 356 if(tf_opt_get_option('wd_post_excerpt')) { 379 } elseif (tf_opt_get_option('wd_post_title') !== 'on' ) { 380 381 } 382 383 if(tf_opt_get_option('wd_post_excerpt') === false || tf_opt_get_option('wd_post_excerpt') === 'on') { 357 384 require_once( __DIR__ . '/widgets/widget-post-excerpt.php' ); 358 385 \Elementor\Plugin::instance()->widgets_manager->register( new \TFPostExcerpt_Widget_Free() ); 359 } 360 361 if(tf_opt_get_option('wd_post_content')) { 386 } elseif (tf_opt_get_option('wd_post_excerpt') !== 'on' ) { 387 388 } 389 390 if(tf_opt_get_option('wd_post_content') === false || tf_opt_get_option('wd_post_content') === 'on') { 362 391 require_once( __DIR__ . '/widgets/widget-post-content.php' ); 363 392 \Elementor\Plugin::instance()->widgets_manager->register( new \TFPostContent_Widget_Free() ); 364 } 365 366 if(tf_opt_get_option('wd_author_box')) { 393 } elseif (tf_opt_get_option('wd_post_content') !== 'on' ) { 394 395 } 396 397 if(tf_opt_get_option('wd_author_box') === false || tf_opt_get_option('wd_author_box') === 'on') { 367 398 require_once( __DIR__ . '/widgets/widget-post-author-box.php' ); 368 399 \Elementor\Plugin::instance()->widgets_manager->register( new \TFPostAuthorBox_Widget_Free() ); 369 } 370 371 if(tf_opt_get_option('wd_post_comment')) { 400 } elseif (tf_opt_get_option('wd_author_box') !== 'on' ) { 401 402 } 403 404 if(tf_opt_get_option('wd_post_comment') === false || tf_opt_get_option('wd_post_comment') === 'on') { 372 405 require_once( __DIR__ . '/widgets/widget-post-comment.php' ); 373 406 \Elementor\Plugin::instance()->widgets_manager->register( new \TFPostComment_Widget_Free() ); 374 } 375 376 if(tf_opt_get_option('wd_post_info')) { 407 } elseif (tf_opt_get_option('wd_post_comment') !== 'on' ) { 408 409 } 410 411 if(tf_opt_get_option('wd_post_info') === false || tf_opt_get_option('wd_post_info') === 'on') { 377 412 require_once( __DIR__ . '/widgets/widget-post-info.php' ); 378 413 \Elementor\Plugin::instance()->widgets_manager->register( new \TFPostInfo_Widget_Free() ); 379 } 380 381 if(tf_opt_get_option('wd_post_navigation')) { 414 } elseif (tf_opt_get_option('wd_post_info') !== 'on' ) { 415 416 } 417 418 if(tf_opt_get_option('wd_post_navigation') === false || tf_opt_get_option('wd_post_navigation') === 'on') { 382 419 require_once( __DIR__ . '/widgets/widget-post-navigation.php' ); 383 420 \Elementor\Plugin::instance()->widgets_manager->register( new \TFPostNavigation_Widget_Free() ); 384 } 385 386 if(tf_opt_get_option('wd_slider_swiper')) { 421 } elseif (tf_opt_get_option('wd_post_navigation') !== 'on' ) { 422 423 } 424 425 if(tf_opt_get_option('wd_slider_swiper') === false || tf_opt_get_option('wd_slider_swiper') === 'on') { 387 426 require_once( __DIR__ . '/widgets/widget-slide-swiper.php' ); 388 427 \Elementor\Plugin::instance()->widgets_manager->register( new \TFSlideSwiper_Widget_Free() ); 389 } 390 391 if(tf_opt_get_option('wd_animated_headline')) { 428 } elseif (tf_opt_get_option('wd_slider_swiper') !== 'on' ) { 429 430 } 431 432 if(tf_opt_get_option('wd_animated_headline') === false || tf_opt_get_option('wd_animated_headline') === 'on') { 392 433 require_once( __DIR__ . '/widgets/widget-animated-headline.php' ); 393 434 \Elementor\Plugin::instance()->widgets_manager->register( new \TFAnimated_Headline_Widget_Free() ); 394 } 395 396 if(tf_opt_get_option('wd_team')) { 435 } elseif (tf_opt_get_option('wd_animated_headline') !== 'on' ) { 436 437 } 438 439 if(tf_opt_get_option('wd_team') === false || tf_opt_get_option('wd_team') === 'on') { 397 440 require_once( __DIR__ . '/widgets/widget-team.php' ); 398 441 \Elementor\Plugin::instance()->widgets_manager->register( new \TFTeam_Widget_Free() ); 399 } 400 401 if(tf_opt_get_option('wd_icon_box')) { 442 } elseif (tf_opt_get_option('wd_team') !== 'on' ) { 443 444 } 445 446 if(tf_opt_get_option('wd_icon_box') === false || tf_opt_get_option('wd_icon_box') === 'on') { 402 447 require_once( __DIR__ . '/widgets/widget-iconbox.php' ); 403 448 \Elementor\Plugin::instance()->widgets_manager->register( new \TFIconBox_Widget_Free() ); 404 } 405 if(tf_opt_get_option('wd_testimonial_carousel')) { 449 } elseif (tf_opt_get_option('wd_icon_box') !== 'on' ) { 450 451 } 452 453 if(tf_opt_get_option('wd_testimonial_carousel') === false || tf_opt_get_option('wd_testimonial_carousel') === 'on') { 406 454 require_once( __DIR__ . '/widgets/widget-testimonial-carousel.php' ); 407 455 \Elementor\Plugin::instance()->widgets_manager->register( new \TFTestimonialCarousel_Widget_Free() ); 408 } 409 410 411 if(tf_opt_get_option('wd_counter')) { 456 } elseif (tf_opt_get_option('wd_testimonial_carousel') !== 'on' ) { 457 458 } 459 460 if(tf_opt_get_option('wd_counter') === false || tf_opt_get_option('wd_counter') === 'on') { 412 461 require_once( __DIR__ . '/widgets/widget-counter.php' ); 413 462 \Elementor\Plugin::instance()->widgets_manager->register( new \TFCounter_Widget_Free() ); 414 } 415 416 if(tf_opt_get_option('wd_slider_before_after')) { 463 } elseif (tf_opt_get_option('wd_counter') !== 'on' ) { 464 465 } 466 467 if(tf_opt_get_option('wd_slider_before_after') === false || tf_opt_get_option('wd_slider_before_after') === 'on') { 417 468 require_once( __DIR__ . '/widgets/widget-sliderbeforeafter.php' ); 418 469 \Elementor\Plugin::instance()->widgets_manager->register( new \TFSliderBeforeAfter_Widget_Free() ); 419 } 420 421 if(tf_opt_get_option('wd_clipping_mask')) { 422 require_once( __DIR__ . '/widgets/widget-clipping-mask.php' ); 470 } elseif (tf_opt_get_option('wd_slider_before_after') !== 'on' ) { 471 472 } 473 474 if(tf_opt_get_option('wd_clipping_mask') === false || tf_opt_get_option('wd_clipping_mask') === 'on') { 475 require_once( __DIR__ . '/widgets/widget-clipping-mask.php' ); 423 476 \Elementor\Plugin::instance()->widgets_manager->register( new \TFClipping_Mask_Widget_Free() ); 424 } 425 426 if(tf_opt_get_option('wd_price_table')) { 477 } elseif (tf_opt_get_option('wd_clipping_mask') !== 'on' ) { 478 479 } 480 481 if(tf_opt_get_option('wd_price_table') === false || tf_opt_get_option('wd_price_table') === 'on') { 427 482 require_once( __DIR__ . '/widgets/widget-pricetable.php' ); 428 483 \Elementor\Plugin::instance()->widgets_manager->register( new \TFPriceTable_Widget_Free() ); 429 } 430 431 if(tf_opt_get_option('wd_accordion')) { 484 } elseif (tf_opt_get_option('wd_price_table') !== 'on' ) { 485 486 } 487 488 if(tf_opt_get_option('wd_accordion') === false || tf_opt_get_option('wd_accordion') === 'on') { 432 489 require_once( __DIR__ . '/widgets/widget-accordion.php' ); 433 490 \Elementor\Plugin::instance()->widgets_manager->register( new \TFAccordion_Widget_Free() ); 434 } 435 436 if(tf_opt_get_option('wd_progress_bar')) { 491 } elseif (tf_opt_get_option('wd_accordion') !== 'on' ) { 492 493 } 494 495 if(tf_opt_get_option('wd_progress_bar') === false || tf_opt_get_option('wd_progress_bar') === 'on') { 437 496 require_once( __DIR__ . '/widgets/widget-progress-bar.php' ); 438 497 \Elementor\Plugin::instance()->widgets_manager->register( new \TFProgressBars_Widget_Free() ); 439 } 440 441 if(tf_opt_get_option('wd_countdown')) { 498 } elseif (tf_opt_get_option('wd_progress_bar') !== 'on' ) { 499 500 } 501 502 if(tf_opt_get_option('wd_countdown') === false || tf_opt_get_option('wd_countdown') === 'on') { 442 503 require_once( __DIR__ . '/widgets/widget-countdown.php' ); 443 504 \Elementor\Plugin::instance()->widgets_manager->register( new \TFCountdown_Widget_Free() ); 444 } 445 446 if(tf_opt_get_option('wd_pie_chart')) { 505 } elseif (tf_opt_get_option('wd_countdown') !== 'on' ) { 506 507 } 508 509 if(tf_opt_get_option('wd_pie_chart') === false || tf_opt_get_option('wd_pie_chart') === 'on') { 447 510 require_once( __DIR__ . '/widgets/widget-piechart.php' ); 448 511 \Elementor\Plugin::instance()->widgets_manager->register( new \TFPieChart_Widget_Free() ); 449 } 450 451 if(tf_opt_get_option('wd_google_maps')) { 512 } elseif (tf_opt_get_option('wd_pie_chart') !== 'on' ) { 513 514 } 515 516 517 if(tf_opt_get_option('wd_google_maps') === false || tf_opt_get_option('wd_google_maps') === 'on') { 452 518 require_once( __DIR__ . '/widgets/widget-google-maps.php' ); 453 519 \Elementor\Plugin::instance()->widgets_manager->register( new \TF_Google_Maps_Widget_Free() ); 520 } elseif (tf_opt_get_option('wd_google_maps') !== 'on' ) { 521 454 522 } 455 523 456 // Update 9/8/2023457 if(tf_opt_get_option('wd_group_images') ) {524 525 if(tf_opt_get_option('wd_group_images') === false || tf_opt_get_option('wd_group_images') === 'on') { 458 526 require_once( __DIR__ . '/widgets/widget-tfgroupimage.php' ); 459 527 \Elementor\Plugin::instance()->widgets_manager->register( new \TF_Group_Image_Widget_Free() ); 460 } 461 462 if(tf_opt_get_option('wd_animation_item')) { 528 } elseif (tf_opt_get_option('wd_group_images') !== 'on' ) { 529 530 } 531 532 if(tf_opt_get_option('wd_animation_item') === false || tf_opt_get_option('wd_animation_item') === 'on') { 463 533 require_once( __DIR__ . '/widgets/widget-animation-item.php' ); 464 534 \Elementor\Plugin::instance()->widgets_manager->register( new \TFAnimationitem_Widget_Free() ); 465 } 466 467 if(tf_opt_get_option('wd_partner')) { 535 } elseif (tf_opt_get_option('wd_animation_item') !== 'on' ) { 536 537 } 538 539 if(tf_opt_get_option('wd_partner') === false || tf_opt_get_option('wd_partner') === 'on') { 468 540 require_once( __DIR__ . '/widgets/widget-list-image.php' ); 469 541 \Elementor\Plugin::instance()->widgets_manager->register( new \TFListImage_Widget_Free() ); 470 } 471 472 473 // Update 9/8/2023 474 if(tf_opt_get_option('wd_video') ) {542 } elseif (tf_opt_get_option('wd_partner') !== 'on' ) { 543 544 } 545 546 if(tf_opt_get_option('wd_video') === false || tf_opt_get_option('wd_video') === 'on') { 475 547 require_once( __DIR__ . '/widgets/widget-video.php' ); 476 548 \Elementor\Plugin::instance()->widgets_manager->register( new \TF_Addon_Video_Widget_Free() ); 549 } elseif (tf_opt_get_option('wd_video') !== 'on' ) { 550 477 551 } 478 552 … … 480 554 481 555 if ( is_plugin_active( 'woocommerce/woocommerce.php' ) ) { 482 if(tf_opt_get_option('wd_woo_product_grid') ) {556 if(tf_opt_get_option('wd_woo_product_grid') === false || tf_opt_get_option('wd_woo_product_grid') === 'on') { 483 557 require_once( __DIR__ . '/widgets/widget-woo-product-grid.php' ); 484 558 \Elementor\Plugin::instance()->widgets_manager->register( new \TFWooProductGrid_Widget_Free() ); 485 } 486 if(tf_opt_get_option('wd_woo_mini_cart')) { 559 } elseif (tf_opt_get_option('wd_woo_product_grid') !== 'on' ) { 560 561 } 562 563 if(tf_opt_get_option('wd_woo_mini_cart') === false || tf_opt_get_option('wd_woo_mini_cart') === 'on') { 487 564 require_once( __DIR__ . '/widgets/widget-mini-cart.php' ); 488 565 \Elementor\Plugin::instance()->widgets_manager->register( new \TFMiniCart_Widget_Free() ); 566 } elseif (tf_opt_get_option('wd_woo_mini_cart') !== 'on' ) { 567 489 568 } 490 569 491 570 } 492 571 if ( class_exists( 'YITH_WCWL' ) ) { 493 if(tf_opt_get_option('wd_woo_wishlist_count')) { 572 573 if(tf_opt_get_option('wd_woo_wishlist_count') === false || tf_opt_get_option('wd_woo_wishlist_count') === 'on') { 494 574 require_once( __DIR__ . '/widgets/widget-wishlist-count.php' ); 495 575 \Elementor\Plugin::instance()->widgets_manager->register( new \TFWishlistCount_Widget_Free() ); 576 } elseif (tf_opt_get_option('wd_woo_wishlist_count') !== 'on' ) { 577 496 578 } 497 579
Note: See TracChangeset
for help on using the changeset viewer.