Changeset 2514784
- Timestamp:
- 04/14/2021 12:00:00 PM (5 years ago)
- Location:
- fd-elementor-imagebox/trunk
- Files:
-
- 3 edited
-
elements/fd-adv-imagebox.php (modified) (8 diffs)
-
fd-elementor-imagebox.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fd-elementor-imagebox/trunk/elements/fd-adv-imagebox.php
r2166842 r2514784 95 95 'title1', 96 96 [ 97 'label' => __( 'Heading 1', 'FD_EAW' ),97 'label' => __( 'Heading 1', 'FD_EAW' ), 98 98 'type' => Controls_Manager::TEXT, 99 99 'default' => __( 'This is', 'FD_EAW' ), … … 105 105 'title2', 106 106 [ 107 'label' => __( 'Heading 2', 'FD_EAW' ),107 'label' => __( 'Heading 2', 'FD_EAW' ), 108 108 'type' => Controls_Manager::TEXT, 109 109 'default' => __( 'Heading', 'FD_EAW' ), … … 236 236 'section_style_title1', 237 237 [ 238 'label' => __( 'Title 1', 'FD_EAW' ),238 'label' => __( 'Title 1', 'FD_EAW' ), 239 239 'tab' => Controls_Manager::TAB_STYLE, 240 240 ] … … 297 297 'section_style_title2', 298 298 [ 299 'label' => __( 'Title 2', 'FD_EAW' ),299 'label' => __( 'Title 2', 'FD_EAW' ), 300 300 'tab' => Controls_Manager::TAB_STYLE, 301 301 ] … … 554 554 } 555 555 } 556 if ( empty( $settings['title1'] ) ) {557 return;558 }559 if ( empty( $settings['title2'] ) ) {560 return;561 }562 if ( empty( $settings['button_text'] ) ) {563 return;564 }565 556 $title1 = $settings['title1']; 566 557 $title2 = $settings['title2']; … … 571 562 ?> 572 563 <div <?php echo $this->get_render_attribute_string( 'wrapper' ); ?>> 564 <?php //if ( $link['url'] ) { ?> 573 565 <a <?php echo $this->get_render_attribute_string( 'link' ); ?>> 566 <?php //} ?> 574 567 <img <?php echo $this->get_render_attribute_string( 'image' ); ?>> 575 <h4><?php echo $title1; ?><strong><?php echo ' '.$title2; ?></strong></h4> 568 <?php if ( $settings['title1'] != "" || $settings['title2'] != "" ) { ?> 569 <h4> 570 <?php echo $title1; ?> 571 <?php if ( $settings['title2'] != "" ) { ?> 572 <strong><?php echo ' '.$title2; ?></strong> 573 <?php } ?> 574 </h4> 575 <?php } ?> 576 576 <h5> 577 577 <?php if ( !empty( $settings['btn_icon'] ) ) : ?> … … 583 583 <?php echo $button; ?> 584 584 </h5> 585 < /a>585 <?php //if ( $link['url'] ) { ?></a><?php //} ?> 586 586 </div> 587 587 <?php … … 595 595 * @access protected 596 596 */ 597 protected function _content_template() { 598 597 protected function _content_template() { 598 //TODO: implement instant inline editing 599 /*?> 600 <h4 class="{{{ settings.class }}}">{{{ settings.title1 }}}</h4> 601 <?php */ 599 602 } 600 603 } -
fd-elementor-imagebox/trunk/fd-elementor-imagebox.php
r2166842 r2514784 5 5 * Plugin URI: https://flickdevs.com/elementor/ 6 6 * Author: FlickDevs, Aezaz Shaikh 7 * Version: 1.2. 27 * Version: 1.2.3 8 8 * Author URI: http://www.flickdevs.com/ 9 9 * -
fd-elementor-imagebox/trunk/readme.txt
r2166842 r2514784 1 1 === Elementor ImageBox === 2 2 Contributors: flickdevs, shaikhaezaz80 3 Requires at least: 4.74 Tested up to: 5. 2.25 Requires PHP: 5. 46 Stable tag: 1. 1.33 Requires at least: 5.0 4 Tested up to: 5.7 5 Requires PHP: 5.6 6 Stable tag: 1.2.3 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 29 29 30 30 == Changelog == 31 32 = 1.2.3 = 33 * fixed minor issue 34 * compatibility with latest WordPress and Elementor plugin 31 35 32 36 = 1.2.2 =
Note: See TracChangeset
for help on using the changeset viewer.