Changeset 2431800
- Timestamp:
- 12/04/2020 08:19:41 PM (5 years ago)
- Location:
- fancy-elementor-flipbox/trunk
- Files:
-
- 1 added
- 3 edited
-
README.md (added)
-
fancy-elementor-flipbox.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
widgets/fancy-elementor-flipbox.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fancy-elementor-flipbox/trunk/fancy-elementor-flipbox.php
r2230163 r2431800 4 4 * Description: This plugin adds an amazing and customizable flip box widget(with many options) to the Elementor page builder plugin. 5 5 * Plugin URI: http://themeprix.com/fancy-elementor-flipbox/ 6 * Version: 1.0. 67 * Author: Hossein Hashemi6 * Version: 1.0.7 7 * Author: ThemePrix 8 8 * Author URI: https://themeprix.com/ 9 9 * Text Domain: fancy-elementor-flipbox -
fancy-elementor-flipbox/trunk/readme.txt
r2375523 r2431800 10 10 Plugin URI: http://themeprix.com/fancy-elementor-flipbox/ 11 11 Author URI: http://themeprix.com/ 12 Stable tag: 1.0. 612 Stable tag: 1.0.7 13 13 ======= 14 14 -
fancy-elementor-flipbox/trunk/widgets/fancy-elementor-flipbox.php
r2222215 r2431800 327 327 328 328 $this->add_control( 329 'title_tag', 330 [ 331 'label' => __( 'Title HTML Tag', 'fancy-elementor-flipbox' ), 332 'type' => Controls_Manager::SELECT, 333 'options' => [ 334 'h1' => __( 'H1', 'fancy-elementor-flipbox' ), 335 'h2' => __( 'H2', 'fancy-elementor-flipbox' ), 336 'h3' => __( 'H3', 'fancy-elementor-flipbox' ), 337 'h4' => __( 'H4', 'fancy-elementor-flipbox' ), 338 'h5' => __( 'H5', 'fancy-elementor-flipbox' ), 339 'h6' => __( 'H6', 'fancy-elementor-flipbox' ), 340 'div' => __( 'div', 'fancy-elementor-flipbox' ), 341 'span' => __( 'Span', 'fancy-elementor-flipbox' ), 342 ], 343 'default' => 'div', 344 ] 345 ); 346 347 348 $this->add_control( 349 'content_tag', 350 [ 351 'label' => __( 'Description HTML Tag', 'fancy-elementor-flipbox' ), 352 'type' => Controls_Manager::SELECT, 353 'options' => [ 354 'div' => __( 'div', 'fancy-elementor-flipbox' ), 355 'span' => __( 'Span', 'fancy-elementor-flipbox' ), 356 'p' => __( 'P', 'fancy-elementor-flipbox' ), 357 ], 358 'default' => 'div', 359 ] 360 ); 361 362 363 $this->add_control( 329 364 'tp_flipbox_f_title', 330 365 [ … … 657 692 658 693 echo ' </div>'; 659 echo ' < div class="tp-flipbox__title-front">'.$settings['tp_flipbox_f_title'].'</div>';660 echo ' < div class="tp-flipbox__desc-front">'.$settings['tp_flipbox_f_desc'].'</div>';694 echo ' <' . esc_html($settings['title_tag']) . ' class="tp-flipbox__title-front">'.$settings['tp_flipbox_f_title'].'</' . esc_html($settings['title_tag']) . '>'; 695 echo ' <' . esc_html($settings['content_tag']) . ' class="tp-flipbox__desc-front">'.$settings['tp_flipbox_f_desc'].'</' . esc_html($settings['content_tag']) . '>'; 661 696 echo ' </div>'; 662 697 echo ' </div>'; … … 670 705 671 706 echo ' </div>'; 672 echo ' < div class="tp-flipbox__title-back">'.$settings['tp_flipbox_b_title'].'</div>';673 echo ' < div class="tp-flipbox__desc-back">'.$settings['tp_flipbox_b_desc'].'</div>';707 echo ' <' . esc_html($settings['title_tag']) . ' class="tp-flipbox__title-back">'.$settings['tp_flipbox_b_title'].'</' . esc_html($settings['title_tag']) . '>'; 708 echo ' <' . esc_html($settings['content_tag']) . ' class="tp-flipbox__desc-back">'.$settings['tp_flipbox_b_desc'].'</' . esc_html($settings['content_tag']) . '>'; 674 709 if($tp_flipbox_show_btn == "yes"){ 675 710 echo ' <div class="tp-flipbox__action">'; 676 echo ' <a href="'.$settings['tp_flipbox_b_btn_url']['url'].'" class="tp-flipbox__btn">'.$settings['tp_flipbox_b_btn_text'].'</a>'; 711 $btn_external = ""; 712 $btn_nofollow = ""; 713 if( $settings['tp_flipbox_b_btn_url']['is_external'] ) { 714 $btn_external = ' target="_blank" '; 715 } 716 717 if( $settings['tp_flipbox_b_btn_url']['nofollow'] ) { 718 $btn_nofollow = ' rel="nofollow" '; 719 } 720 721 echo ' <a ' . $btn_external . ' ' . $btn_nofollow . ' href="'.$settings['tp_flipbox_b_btn_url']['url'].'" class="tp-flipbox__btn">'.$settings['tp_flipbox_b_btn_text'].'</a>'; 677 722 echo ' </div>'; 678 723 } … … 711 756 712 757 </div> 713 < div class="tp-flipbox__title-front">{{{ settings.tp_flipbox_f_title }}}</div>714 < div class="tp-flipbox__desc-front">{{{ settings.tp_flipbox_f_desc }}}</div>758 <{{{ settings.title_tag }}} class="tp-flipbox__title-front">{{{ settings.tp_flipbox_f_title }}}</{{{ settings.title_tag }}}> 759 <{{{ settings.content_tag }}} class="tp-flipbox__desc-front">{{{ settings.tp_flipbox_f_desc }}}</{{{ settings.content_tag }}}> 715 760 </div> 716 761 </div> … … 721 766 <img src="{{settings.tp_flipbox_b_icon.url}}"/> 722 767 </div> 723 < div class="tp-flipbox__title-back">{{{ settings.tp_flipbox_b_title }}}</div>724 < div class="tp-flipbox__desc-back">{{{ settings.tp_flipbox_b_desc }}}</div>768 <{{{ settings.title_tag }}} class="tp-flipbox__title-back">{{{ settings.tp_flipbox_b_title }}}</{{{ settings.title_tag }}}> 769 <{{{ settings.content_tag }}} class="tp-flipbox__desc-back">{{{ settings.tp_flipbox_b_desc }}}</{{{ settings.content_tag }}}> 725 770 <# if ( settings.tp_flipbox_show_btn == 'yes' ) { #> 726 771 <div class="tp-flipbox__action">
Note: See TracChangeset
for help on using the changeset viewer.