PluginProbe
Property Hive / 2.2.4
Property Hive v2.2.4
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 1.4.62 All 260 releases
propertyhive / includes / avada-widgets / property-address-postcode.php

property-address-postcode.php in Property Hive 2.2.4, at includes/avada-widgets/property-address-postcode.php

58 lines 2.0 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-flag', // 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__( 'Alignment', 'fusion-builder' ),
13 'description' => esc_attr__( 'Choose to align the output left, right or center.', 'fusion-builder' ),
14 'param_name' => 'content_align',
15 'responsive' => [
16 'state' => 'large',
17 'default_value' => true,
18 ],
19 'value' => [
20 'left' => esc_attr__( 'Left', 'fusion-builder' ),
21 'center' => esc_attr__( 'Center', 'fusion-builder' ),
22 'right' => esc_attr__( 'Right', 'fusion-builder' ),
23 ],
24 'default' => 'left',
25 'group' => esc_attr__( 'Design', 'fusion-builder' ),
26 ],
27 [
28 'type' => 'typography',
29 //'remove_from_atts' => true,
30 'global' => true,
31 'heading' => esc_attr__( 'Typography', 'fusion-builder' ),
32 'param_name' => 'main_typography',
33 'group' => esc_attr__( 'Design', 'fusion-builder' ),
34 'choices' => [
35 'font-family' => 'address_postcode_font',
36 'font-size' => 'font_size',
37 'line-height' => 'line_height',
38 'letter-spacing' => 'letter_spacing',
39 'text-transform' => 'text_transform',
40 ],
41 'default' => [
42 'font-family' => '',
43 'variant' => '',
44 'font-size' => '',
45 'line-height' => '',
46 'letter-spacing' => '',
47 'text-transform' => '',
48 ],
49 ],
50 [
51 'type' => 'colorpickeralpha',
52 'heading' => esc_attr__( 'Font Color', 'fusion-builder' ),
53 'param_name' => 'text_color',
54 'value' => '',
55 'group' => esc_attr__( 'Design', 'fusion-builder' ),
56 ],
57 ),
58 ) );