PluginProbe
Property Hive / 2.4.0
Property Hive v2.4.0
2.4.0 2.3.1 2.3.0 2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 1.4.46 1.4.47 1.4.48 1.4.49 1.4.5 1.4.50 1.4.51 1.4.52 1.4.53 1.4.54 1.4.55 1.4.56 1.4.57 1.4.58 1.4.59 1.4.6 1.4.60 All 262 releases
← All changes | includes/elementor-widgets/property-full-description.php +12 -10 1.4.60 → 2.4.0 View file →
@@ -14,9 +14,9 @@
14 14 return __( 'Full Description', 'propertyhive' );
15 15 }
16 16
17 17 public function get_icon() {
18 - return 'fa fa-paragraph';
18 + return 'eicon-text';
19 19 }
20 20
21 21 public function get_categories() {
22 22 return [ 'property-hive' ];
@@ -25,9 +25,9 @@
25 25 public function get_keywords() {
26 26 return [ 'property hive', 'propertyhive', 'property', 'description', 'full', 'full description' ];
27 27 }
28 28
29 - protected function _register_controls() {
29 + protected function register_controls() {
30 30
31 31 $this->start_controls_section(
32 32 'style_section',
33 33 [
@@ -52,9 +52,11 @@
52 52 \Elementor\Group_Control_Typography::get_type(),
53 53 [
54 54 'name' => 'title_typography',
55 55 'label' => __( 'Title Typography', 'propertyhive' ),
56 - 'scheme' => \Elementor\Scheme_Typography::TYPOGRAPHY_1,
56 + 'global' => [
57 + 'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
58 + ],
57 59 'selector' => '{{WRAPPER}} .description h4',
58 60 'condition' => [
59 61 'show_title' => 'yes'
60 62 ],
@@ -65,11 +67,10 @@
65 67 'title_color',
66 68 [
67 69 'label' => __( 'Title Colour', 'propertyhive' ),
68 70 'type' => \Elementor\Controls_Manager::COLOR,
69 - 'scheme' => [
70 - 'type' => \Elementor\Scheme_Color::get_type(),
71 - 'value' => \Elementor\Scheme_Color::COLOR_1,
71 + 'global' => [
72 + 'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
72 73 ],
73 74 'selectors' => [
74 75 '{{WRAPPER}} .description h4' => 'color: {{VALUE}}',
75 76 ],
@@ -83,9 +84,11 @@
83 84 \Elementor\Group_Control_Typography::get_type(),
84 85 [
85 86 'name' => 'description_typography',
86 87 'label' => __( 'Description Typography', 'propertyhive' ),
87 - 'scheme' => \Elementor\Scheme_Typography::TYPOGRAPHY_1,
88 + 'global' => [
89 + 'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Typography::TYPOGRAPHY_PRIMARY,
90 + ],
88 91 'selector' => '{{WRAPPER}} .description .description-contents',
89 92 ]
90 93 );
91 94
@@ -93,11 +96,10 @@
93 96 'description_color',
94 97 [
95 98 'label' => __( 'Description Colour', 'propertyhive' ),
96 99 'type' => \Elementor\Controls_Manager::COLOR,
97 - 'scheme' => [
98 - 'type' => \Elementor\Scheme_Color::get_type(),
99 - 'value' => \Elementor\Scheme_Color::COLOR_1,
100 + 'global' => [
101 + 'default' => \Elementor\Core\Kits\Documents\Tabs\Global_Colors::COLOR_PRIMARY,
100 102 ],
101 103 'selectors' => [
102 104 '{{WRAPPER}} .description .description-contents' => 'color: {{VALUE}}',
103 105 ],