PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.4.0
ShopBuilder – WooCommerce Builder For Elementor v3.4.0
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
shopbuilder / app / Elementor / Widgets / Controls / ArchiveCountSettings.php

ArchiveCountSettings.php in ShopBuilder – WooCommerce Builder For Elementor 3.4.0, at app/Elementor/Widgets/Controls/ArchiveCountSettings.php

72 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Main ProductDescription class.
4 *
5 * @package RadiusTheme\SB
6 */
7
8 namespace RadiusTheme\SB\Elementor\Widgets\Controls;
9
10 use Elementor\Controls_Manager;
11
12 use RadiusTheme\SB\Elementor\Helper\ControlHelper;
13
14 // Do not allow directly accessing this file.
15 if ( ! defined( 'ABSPATH' ) ) {
16 exit( 'This script cannot be accessed directly.' );
17 }
18
19 /**
20 * Product Description class
21 */
22 class ArchiveCountSettings {
23 /**
24 * Widget Field
25 *
26 * @return array
27 */
28 public static function widget_fields( $widget ) {
29 $fields = [
30 'section_style' => [
31 'mode' => 'section_start',
32 'label' => esc_html__( 'Style', 'shopbuilder' ),
33 ],
34 'typo' => [
35 'mode' => 'group',
36 'type' => 'typography',
37 'label' => esc_html__( 'Typography', 'shopbuilder' ),
38 'selector' => $widget->selectors['typo'],
39 ],
40 'align' => [
41 'mode' => 'responsive',
42 'label' => esc_html__( 'Alignment', 'shopbuilder' ),
43 'type' => 'choose',
44 'options' => ControlHelper::alignment(),
45 'default' => '',
46 'selectors' => [
47 $widget->selectors['align'] => 'text-align: {{VALUE}};',
48 ],
49 ],
50 'text_color' => [
51 'label' => esc_html__( 'Text Color', 'shopbuilder' ),
52 'type' => 'color',
53 'default' => '',
54 'selectors' => [
55 $widget->selectors['text_color'] => 'color: {{VALUE}};',
56 ],
57 ],
58 'text_shadow' => [
59 'mode' => 'group',
60 'type' => 'text-shadow',
61 'selector' => $widget->selectors['text_shadow'],
62 ],
63 'section_style_end' => [
64 'mode' => 'section_end',
65 ],
66 ];
67 return $fields;
68 }
69
70
71 }
72