Sid Gifari File Manager
🏠 Root
/
home
/
ailwtbdh
/
lynchestinegroup.com
/
wp-content
/
plugins
/
koncrete-core_2
/
elementor
/
about-history
/
Editing: class.php
<?php /** * @author RadiusTheme * @since 1.0 * @version 1.0 */ namespace radiustheme\Koncrete_Core; use Elementor\Controls_Manager; use Elementor\Group_Control_Typography; if ( ! defined( 'ABSPATH' ) ) exit; class About_History extends Custom_Widget_Base { public function __construct( $data = array(), $args = null ){ $this->rt_name = esc_html__( 'About History', 'koncrete-core' ); $this->rt_base = 'rt-about-history'; parent::__construct( $data, $args ); } public function rt_fields(){ $fields = array( array( 'mode' => 'section_start', 'id' => 'sec_general', 'label' => esc_html__( 'General', 'koncrete-core' ), ), array( 'type' => Controls_Manager::TEXT, 'id' => 'subtitle', 'label' => esc_html__( 'Subtitle', 'koncrete-core' ), 'default' => 'About Our History', ), array( 'type' => Controls_Manager::TEXTAREA, 'id' => 'title', 'label' => esc_html__( 'title', 'koncrete-core' ), 'default' => "We are Construction Company Since 1990", ), array( 'type' => Controls_Manager::TEXTAREA, 'id' => 'top_text', 'label' => esc_html__( 'Highlighted Text', 'koncrete-core' ), 'default' => "With over 15 years of experience under our hard hat, we partner with owners and design professionals to build high-quality projects.", ), array( 'type' => Controls_Manager::TEXTAREA, 'id' => 'bottom_text', 'label' => esc_html__( 'text', 'koncrete-core' ), 'default' => "Wuis laore nostrud exerci tation ulm hedi corper turet suscipit lobortis nisl ut aliquip erat volutpat autem vel eum iriure dolor in hendrerit in vulputate velit esse molestiewisi enim ad minim veniama arawliquilutpat autem vel eum iriure dolor in hendrerit in vulputate velit esse molest aiewisi enimety.r in hendrerit in vulputate velit esse molestiewisi enim ad minim veniama arawliquilutpat.", ), array( 'mode' => 'section_end', ), // Title Style array( 'mode' => 'section_start', 'id' => 'title_style', 'label' => esc_html__( 'Title Style', 'koncrete-core' ), 'tab' => Controls_Manager::TAB_STYLE, ), array( 'mode' => 'group', 'type' => Group_Control_Typography::get_type(), 'name' => 'title_typo', 'label' => esc_html__( 'Title Typography', 'koncrete-core' ), 'selector' => ' {{WRAPPER}} .rtel-about-history .rtin-title, {{WRAPPER}} noselector, {{WRAPPER}} noselector ', ), array( 'type' => Controls_Manager::COLOR, 'id' => 'title_color', 'label' => esc_html__( 'Title Color', 'koncrete-core' ), 'selectors' => array( '{{WRAPPER}} .rtel-about-history .rtin-title' => 'color: {{VALUE}}', '{{WRAPPER}} noselector' => 'color: {{VALUE}}', ), ), array( 'type' => Controls_Manager::DIMENSIONS, 'size_units' => array( 'px', '%', 'em' ), 'id' => 'title_content_margin', 'label' => __( 'Title Margin', 'koncrete-core' ), 'selectors' => array( '{{WRAPPER}} .rtel-about-history .rtin-title' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;', '{{WRAPPER}} noselector' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;', ), 'separator' => 'before', ), array( 'mode' => 'section_end', ), // Subtitle Style array( 'mode' => 'section_start', 'id' => 'subtitle_style', 'label' => esc_html__( 'Subtitle Style', 'koncrete-core' ), 'tab' => Controls_Manager::TAB_STYLE, ), array( 'mode' => 'group', 'type' => Group_Control_Typography::get_type(), 'name' => 'subtitle_typo', 'label' => esc_html__( 'Subtitle Typography', 'koncrete-core' ), 'selector' => ' {{WRAPPER}} .rtel-about-history .rtin-subtitle, {{WRAPPER}} noselector, {{WRAPPER}} noselector ', ), array( 'type' => Controls_Manager::COLOR, 'id' => 'subtitle_color', 'label' => esc_html__( 'Subtitle Color', 'koncrete-core' ), 'selectors' => array( '{{WRAPPER}} .rtel-about-history .rtin-subtitle' => 'color: {{VALUE}}', '{{WRAPPER}} noselector' => 'color: {{VALUE}}', ), ), array( 'type' => Controls_Manager::DIMENSIONS, 'size_units' => array( 'px', '%', 'em' ), 'id' => 'subtitle_content_margin', 'label' => __( 'Subtitle Margin', 'koncrete-core' ), 'selectors' => array( '{{WRAPPER}} .rtel-about-history .rtin-subtitle' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;', '{{WRAPPER}} noselector' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;', ), 'separator' => 'before', ), array( 'mode' => 'section_end', ), // Text 1 Style array( 'mode' => 'section_start', 'id' => 'text_1_style', 'label' => esc_html__( 'Text 1 Style', 'koncrete-core' ), 'tab' => Controls_Manager::TAB_STYLE, ), array( 'mode' => 'group', 'type' => Group_Control_Typography::get_type(), 'name' => 'text_1_typo', 'label' => esc_html__( 'Text 1 Typography', 'koncrete-core' ), 'selector' => ' {{WRAPPER}} .rtel-about-history .rtin-top-text, {{WRAPPER}} noselector, {{WRAPPER}} noselector ', ), array( 'type' => Controls_Manager::COLOR, 'id' => 'text_1_color', 'label' => esc_html__( 'Text 1 Color', 'koncrete-core' ), 'selectors' => array( '{{WRAPPER}} .rtel-about-history .rtin-top-text' => 'color: {{VALUE}}', '{{WRAPPER}} noselector' => 'color: {{VALUE}}', ), ), array( 'type' => Controls_Manager::DIMENSIONS, 'size_units' => array( 'px', '%', 'em' ), 'id' => 'text_1_content_margin', 'label' => __( 'Text 1 Margin', 'koncrete-core' ), 'selectors' => array( '{{WRAPPER}} .rtel-about-history .rtin-top-text' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;', '{{WRAPPER}} noselector' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;', ), 'separator' => 'before', ), array( 'mode' => 'section_end', ), // Text 2 Style array( 'mode' => 'section_start', 'id' => 'text_2_style', 'label' => esc_html__( 'Text 2 Style', 'koncrete-core' ), 'tab' => Controls_Manager::TAB_STYLE, ), array( 'mode' => 'group', 'type' => Group_Control_Typography::get_type(), 'name' => 'text_2_typo', 'label' => esc_html__( 'Text 2 Typography', 'koncrete-core' ), 'selector' => ' {{WRAPPER}} .rtel-about-history .rtin-bottom-text p, {{WRAPPER}} noselector, {{WRAPPER}} noselector ', ), array( 'type' => Controls_Manager::COLOR, 'id' => 'text_2_color', 'label' => esc_html__( 'Text 2 Color', 'koncrete-core' ), 'selectors' => array( '{{WRAPPER}} .rtel-about-history .rtin-bottom-text p' => 'color: {{VALUE}}', '{{WRAPPER}} noselector' => 'color: {{VALUE}}', ), ), array( 'type' => Controls_Manager::DIMENSIONS, 'size_units' => array( 'px', '%', 'em' ), 'id' => 'text_2_content_margin', 'label' => __( 'Text 2 Margin', 'koncrete-core' ), 'selectors' => array( '{{WRAPPER}} .rtel-about-history .rtin-bottom-text p' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;', '{{WRAPPER}} noselector' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}} !important;', ), 'separator' => 'before', ), array( 'mode' => 'section_end', ), ); return $fields; } protected function render() { $data = $this->get_settings(); $template = 'view'; return $this->rt_template( $template, $data ); } }
Save
Cancel