/home/vianto5/ceibaresidencial.mx/wp-content/themes/moore_old/elementor/widgets
NameSizeModeActions
apartments-masonry.php128150644editdlrm
apartments-slider.php158910644editdlrm
blog.php133660644editdlrm
box-feature.php120100644editdlrm
box-feature2.php99410644editdlrm
box-info.php84540644editdlrm
button-scrolldown.php32440644editdlrm
choice-language.php145290644editdlrm
contact-info.php122000644editdlrm
direction-slider.php100090644editdlrm
gallery-category.php110870644editdlrm
gallery-simple.php69540644editdlrm
gallery.php115840644editdlrm
header-banner.php89300644editdlrm
header-left.php64060644editdlrm
heading.php46930644editdlrm
instagram.php145030644editdlrm
logo.php81870644editdlrm
menu-canvas.php49230644editdlrm
menu-footer.php61570644editdlrm
menu-nav.php51730644editdlrm
package.php113700644editdlrm
progress.php113140644editdlrm
project-declaration.php134470644editdlrm
room-list.php188410644editdlrm
rooms-filter.php234750644editdlrm
team.php63090644editdlrm
testimonial.php177270644editdlrm
text-list.php59650644editdlrm
Edit: /home/vianto5/ceibaresidencial.mx/wp-content/themes/moore_old/elementor/widgets/gallery-simple.php (6954B)
start_controls_section( 'section_content', [ 'label' => esc_html__( 'Content', 'moore' ), ] ); $this->add_control( 'id_gallery_simple', [ 'label' => esc_html__( 'ID', 'moore' ), 'type' => Controls_Manager::TEXT, 'default' => time(), ] ); // Add Class control $repeater = new \Elementor\Repeater(); $default_icon = 'fas fa-plus'; $repeater->add_control( 'class_icon', [ 'label' => esc_html__( 'Class Icon', 'moore' ), 'type' => Controls_Manager::TEXT, 'default' => $default_icon, ] ); $repeater->add_control( 'caption', [ 'label' => esc_html__( 'Caption Image', 'moore' ), 'type' => Controls_Manager::TEXT, 'default' => esc_html__( '', 'moore' ), ] ); $repeater->add_control( 'image', [ 'label' => esc_html__( 'Gallery Simple Image', 'moore' ), 'type' => Controls_Manager::MEDIA, 'default' => [ 'url' => Utils::get_placeholder_image_src(), ], ] ); $repeater->add_control( 'image_popup', [ 'label' => esc_html__( 'Popup Image', 'moore' ), 'type' => Controls_Manager::MEDIA, 'default' => [ 'url' => Utils::get_placeholder_image_src(), ], ] ); $this->add_control( 'tab_item', [ 'label' => esc_html__( 'Items Gallery Simple', 'moore' ), 'type' => Controls_Manager::REPEATER, 'fields' => $repeater->get_controls(), 'default' => [ [ 'class_icon' => $default_icon, ], [ 'class_icon' => $default_icon, ], [ 'class_icon' => $default_icon, ], [ 'class_icon' => $default_icon, ], [ 'class_icon' => $default_icon, ], [ 'class_icon' => $default_icon, ], ], ] ); $this->add_responsive_control( 'gap', [ 'label' => esc_html__( 'Grid Gap', 'moore' ), 'type' => Controls_Manager::SLIDER, 'range' => [ 'px' => [ 'min' => 0, 'max' => 150, ], ], 'selectors' => [ '{{WRAPPER}} .ova-gallery-simple ' => 'gap: {{SIZE}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->end_controls_section(); $this->start_controls_section( 'icon_style', [ 'label' => esc_html__( 'Icon', 'moore' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_responsive_control( 'size_icon', [ 'label' => esc_html__( 'Size', 'moore' ), 'type' => Controls_Manager::SLIDER, 'range' => [ 'px' => [ 'min' => 10, 'max' => 500, ], ], 'selectors' => [ '{{WRAPPER}} .ova-gallery-simple .grid-item .gallery-simple-icon i' => 'font-size: {{SIZE}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->add_control( 'icon_color', [ 'label' => esc_html__( 'Color', 'moore' ), 'type' => Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .ova-gallery-simple .grid-item .gallery-simple-icon i' => 'color : {{VALUE}};', ], ] ); $this->add_responsive_control( 'icon_top', [ 'label' => esc_html__( 'Top', 'moore' ), 'type' => Controls_Manager::SLIDER, 'size_units' => [ '%', 'px' ], 'default' => [ 'unit' => 'px', ], 'tablet_default' => [ 'unit' => 'px', ], 'mobile_default' => [ 'unit' => 'px', ], 'range' => [ 'px' => [ 'min' => 0, 'max' => 500, 'step' => 1, ], '%' => [ 'min' => 0, 'max' => 100, 'step' => 1, ], ], 'selectors' => [ '{{WRAPPER}} .ova-gallery-simple .grid-item .gallery-simple-icon ' => 'top: {{SIZE}}{{UNIT}}', ], ] ); $this->add_responsive_control( 'icon_left', [ 'label' => esc_html__( 'Left', 'moore' ), 'type' => Controls_Manager::SLIDER, 'size_units' => [ '%', 'px' ], 'default' => [ 'unit' => 'px', ], 'tablet_default' => [ 'unit' => 'px', ], 'mobile_default' => [ 'unit' => 'px', ], 'range' => [ 'px' => [ 'min' => 0, 'max' => 500, 'step' => 1, ], '%' => [ 'min' => 0, 'max' => 100, 'step' => 1, ], ], 'selectors' => [ '{{WRAPPER}} .ova-gallery-simple .grid-item .gallery-simple-icon ' => 'left: {{SIZE}}{{UNIT}}', ], ] ); $this->end_controls_section(); } // Render Template Here protected function render() { $settings = $this->get_settings(); // Get list item $tabs = $settings['tab_item']; $group = $settings['id_gallery_simple']; ?> register( new Moore_Elementor_Gallery_Simple() );