PluginProbe
Property Hive / 2.3.1
Property Hive v2.3.1
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
← All changes | includes/avada-widgets/property-type.php +21 -16 2.2.52.3.1 View file →
@@ -1,8 +1,13 @@
1 1 <?php
2 2
3 +if ( ! defined( 'ABSPATH' ) ) {
4 + exit;
5 +}
6 +
7 +
3 8 fusion_builder_map( array(
4 - 'name' => esc_attr__( $widget, 'propertyhive' ),
9 + 'name' => esc_attr__( 'Property Type', 'propertyhive' ),
5 10 'shortcode' => 'avada_' . str_replace("-", "_", sanitize_title($widget)),
6 11 'icon' => 'fusiona-flag', // Use a Fusion icon
7 12 'preview' => dirname( PH_PLUGIN_FILE ) . '/includes/avada-widgets/' . sanitize_title($widget) . '-preview.php',
8 13 'preview_id' => 'fusion-builder-block-module-' . sanitize_title($widget) . '-preview-template',
@@ -8,28 +13,28 @@
8 13 'preview_id' => 'fusion-builder-block-module-' . sanitize_title($widget) . '-preview-template',
9 14 'params' => array(
10 15 [
11 16 'type' => 'iconpicker',
12 - 'heading' => esc_attr__( 'Icon', 'fusion-builder' ),
17 + 'heading' => esc_attr__( 'Icon', 'propertyhive' ),
13 18 'param_name' => 'icon',
14 19 ],
15 20 [
16 21 'type' => 'textfield',
17 - 'heading' => esc_attr__( 'Before', 'fusion-builder' ),
22 + 'heading' => esc_attr__( 'Before', 'propertyhive' ),
18 23 'param_name' => 'before',
19 - 'description' => esc_attr__( 'Text to display before the output, like a label or prefix.', 'fusion-builder' ),
24 + 'description' => esc_attr__( 'Text to display before the output, like a label or prefix.', 'propertyhive' ),
20 25 'value' => 'Type: ',
21 26 ],
22 27 [
23 28 'type' => 'textfield',
24 - 'heading' => esc_attr__( 'After', 'fusion-builder' ),
29 + 'heading' => esc_attr__( 'After', 'propertyhive' ),
25 30 'param_name' => 'after',
26 - 'description' => esc_attr__( 'Text to display after the output, like a label or prefix.', 'fusion-builder' ),
31 + 'description' => esc_attr__( 'Text to display after the output, like a label or prefix.', 'propertyhive' ),
27 32 ],
28 33 [
29 34 'type' => 'radio_button_set',
30 - 'heading' => esc_attr__( 'Alignment', 'fusion-builder' ),
31 - 'description' => esc_attr__( 'Choose to align the output left, right or center.', 'fusion-builder' ),
35 + 'heading' => esc_attr__( 'Alignment', 'propertyhive' ),
36 + 'description' => esc_attr__( 'Choose to align the output left, right or center.', 'propertyhive' ),
32 37 'param_name' => 'content_align',
33 38 'responsive' => [
34 39 'state' => 'large',
35 40 'default_value' => true,
@@ -34,22 +39,22 @@
34 39 'state' => 'large',
35 40 'default_value' => true,
36 41 ],
37 42 'value' => [
38 - 'left' => esc_attr__( 'Left', 'fusion-builder' ),
39 - 'center' => esc_attr__( 'Center', 'fusion-builder' ),
40 - 'right' => esc_attr__( 'Right', 'fusion-builder' ),
43 + 'left' => esc_attr__( 'Left', 'propertyhive' ),
44 + 'center' => esc_attr__( 'Center', 'propertyhive' ),
45 + 'right' => esc_attr__( 'Right', 'propertyhive' ),
41 46 ],
42 47 'default' => 'left',
43 - 'group' => esc_attr__( 'Design', 'fusion-builder' ),
48 + 'group' => esc_attr__( 'Design', 'propertyhive' ),
44 49 ],
45 50 [
46 51 'type' => 'typography',
47 52 //'remove_from_atts' => true,
48 53 'global' => true,
49 - 'heading' => esc_attr__( 'Typography', 'fusion-builder' ),
54 + 'heading' => esc_attr__( 'Typography', 'propertyhive' ),
50 55 'param_name' => 'main_typography',
51 - 'group' => esc_attr__( 'Design', 'fusion-builder' ),
56 + 'group' => esc_attr__( 'Design', 'propertyhive' ),
52 57 'choices' => [
53 58 'font-family' => 'type_font',
54 59 'font-size' => 'font_size',
55 60 'line-height' => 'line_height',
@@ -66,11 +71,11 @@
66 71 ],
67 72 ],
68 73 [
69 74 'type' => 'colorpickeralpha',
70 - 'heading' => esc_attr__( 'Font Color', 'fusion-builder' ),
75 + 'heading' => esc_attr__( 'Font Color', 'propertyhive' ),
71 76 'param_name' => 'text_color',
72 77 'value' => '',
73 - 'group' => esc_attr__( 'Design', 'fusion-builder' ),
78 + 'group' => esc_attr__( 'Design', 'propertyhive' ),
74 79 ],
75 80 ),
76 81 ) );