PluginProbe
Property Hive / 2.2.6
Property Hive v2.2.6
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 1.4.61 All 261 releases
propertyhive / includes / avada-widgets / property-summary-description.php

property-summary-description.php in Property Hive 2.2.6, at includes/avada-widgets/property-summary-description.php

68 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 fusion_builder_map( array(
4 'name' => esc_attr__( $widget, 'propertyhive' ),
5 'shortcode' => 'avada_' . str_replace("-", "_", sanitize_title($widget)),
6 'icon' => 'fusiona-font', // Use a Fusion icon
7 'preview' => dirname( PH_PLUGIN_FILE ) . '/includes/avada-widgets/' . sanitize_title($widget) . '-preview.php',
8 'preview_id' => 'fusion-builder-block-module-' . sanitize_title($widget) . '-preview-template',
9 'params' => array(
10 [
11 'type' => 'radio_button_set',
12 'heading' => esc_attr__( 'Show Title', 'fusion-builder' ),
13 'param_name' => 'show_title',
14 'value' => [
15 'yes' => esc_attr__( 'Yes', 'fusion-builder' ),
16 'no' => esc_attr__( 'No', 'fusion-builder' ),
17 ],
18 'default' => 'yes',
19 ],
20 [
21 'type' => 'radio_button_set',
22 'heading' => esc_attr__( 'Alignment', 'fusion-builder' ),
23 'description' => esc_attr__( 'Choose to align the output left, right or center.', 'fusion-builder' ),
24 'param_name' => 'content_align',
25 'responsive' => [
26 'state' => 'large',
27 'default_value' => true,
28 ],
29 'value' => [
30 'left' => esc_attr__( 'Left', 'fusion-builder' ),
31 'center' => esc_attr__( 'Center', 'fusion-builder' ),
32 'right' => esc_attr__( 'Right', 'fusion-builder' ),
33 ],
34 'default' => 'left',
35 'group' => esc_attr__( 'Design', 'fusion-builder' ),
36 ],
37 [
38 'type' => 'typography',
39 //'remove_from_atts' => true,
40 'global' => true,
41 'heading' => esc_attr__( 'Typography', 'fusion-builder' ),
42 'param_name' => 'main_typography',
43 'group' => esc_attr__( 'Design', 'fusion-builder' ),
44 'choices' => [
45 'font-family' => 'summary_description_font',
46 'font-size' => 'font_size',
47 'line-height' => 'line_height',
48 'letter-spacing' => 'letter_spacing',
49 'text-transform' => 'text_transform',
50 ],
51 'default' => [
52 'font-family' => '',
53 'variant' => '',
54 'font-size' => '',
55 'line-height' => '',
56 'letter-spacing' => '',
57 'text-transform' => '',
58 ],
59 ],
60 [
61 'type' => 'colorpickeralpha',
62 'heading' => esc_attr__( 'Font Color', 'fusion-builder' ),
63 'param_name' => 'text_color',
64 'value' => '',
65 'group' => esc_attr__( 'Design', 'fusion-builder' ),
66 ],
67 ),
68 ) );