| @@ -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 Features', 'propertyhive' ), | |
| 5 | 10 | 'shortcode' => 'avada_' . str_replace("-", "_", sanitize_title($widget)), |
| 6 | 11 | 'icon' => 'fusiona-list-ul', // 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,20 +13,20 @@ | ||
| 8 | 13 | 'preview_id' => 'fusion-builder-block-module-' . sanitize_title($widget) . '-preview-template', |
| 9 | 14 | 'params' => array( |
| 10 | 15 | [ |
| 11 | 16 | 'type' => 'radio_button_set', |
| 12 | - 'heading' => esc_attr__( 'Show Title', 'fusion-builder' ), | |
| 17 | + 'heading' => esc_attr__( 'Show Title', 'propertyhive' ), | |
| 13 | 18 | 'param_name' => 'show_title', |
| 14 | 19 | 'value' => [ |
| 15 | - 'on' => esc_attr__( 'On', 'fusion-builder' ), | |
| 16 | - 'off' => esc_attr__( 'Off', 'fusion-builder' ), | |
| 20 | + 'on' => esc_attr__( 'On', 'propertyhive' ), | |
| 21 | + 'off' => esc_attr__( 'Off', 'propertyhive' ), | |
| 17 | 22 | ], |
| 18 | 23 | 'default' => 'on', |
| 19 | 24 | ], |
| 20 | 25 | [ |
| 21 | 26 | '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' ), | |
| 27 | + 'heading' => esc_attr__( 'Alignment', 'propertyhive' ), | |
| 28 | + 'description' => esc_attr__( 'Choose to align the output left, right or center.', 'propertyhive' ), | |
| 24 | 29 | 'param_name' => 'content_align', |
| 25 | 30 | 'responsive' => [ |
| 26 | 31 | 'state' => 'large', |
| 27 | 32 | 'default_value' => true, |
| @@ -26,22 +31,22 @@ | ||
| 26 | 31 | 'state' => 'large', |
| 27 | 32 | 'default_value' => true, |
| 28 | 33 | ], |
| 29 | 34 | 'value' => [ |
| 30 | - 'left' => esc_attr__( 'Left', 'fusion-builder' ), | |
| 31 | - 'center' => esc_attr__( 'Center', 'fusion-builder' ), | |
| 32 | - 'right' => esc_attr__( 'Right', 'fusion-builder' ), | |
| 35 | + 'left' => esc_attr__( 'Left', 'propertyhive' ), | |
| 36 | + 'center' => esc_attr__( 'Center', 'propertyhive' ), | |
| 37 | + 'right' => esc_attr__( 'Right', 'propertyhive' ), | |
| 33 | 38 | ], |
| 34 | 39 | 'default' => 'left', |
| 35 | - 'group' => esc_attr__( 'Design', 'fusion-builder' ), | |
| 40 | + 'group' => esc_attr__( 'Design', 'propertyhive' ), | |
| 36 | 41 | ], |
| 37 | 42 | [ |
| 38 | 43 | 'type' => 'typography', |
| 39 | 44 | //'remove_from_atts' => true, |
| 40 | 45 | 'global' => true, |
| 41 | - 'heading' => esc_attr__( 'Typography', 'fusion-builder' ), | |
| 46 | + 'heading' => esc_attr__( 'Typography', 'propertyhive' ), | |
| 42 | 47 | 'param_name' => 'main_typography', |
| 43 | - 'group' => esc_attr__( 'Design', 'fusion-builder' ), | |
| 48 | + 'group' => esc_attr__( 'Design', 'propertyhive' ), | |
| 44 | 49 | 'choices' => [ |
| 45 | 50 | 'font-family' => 'features_font', |
| 46 | 51 | 'font-size' => 'font_size', |
| 47 | 52 | 'line-height' => 'line_height', |
| @@ -58,11 +63,11 @@ | ||
| 58 | 63 | ], |
| 59 | 64 | ], |
| 60 | 65 | [ |
| 61 | 66 | 'type' => 'colorpickeralpha', |
| 62 | - 'heading' => esc_attr__( 'Font Color', 'fusion-builder' ), | |
| 67 | + 'heading' => esc_attr__( 'Font Color', 'propertyhive' ), | |
| 63 | 68 | 'param_name' => 'text_color', |
| 64 | 69 | 'value' => '', |
| 65 | - 'group' => esc_attr__( 'Design', 'fusion-builder' ), | |
| 70 | + 'group' => esc_attr__( 'Design', 'propertyhive' ), | |
| 66 | 71 | ], |
| 67 | 72 | ), |
| 68 | 73 | ) ); |