1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
<?php // Shortcode settings $group_color = 'Color'; $group_space = 'Spacing';
return array( 'name' => esc_html__( 'Booking Official', 'penci-framework' ), 'weight' => 810, 'params' => array_merge( Penci_Framework_Shortcode_Params::block_title(), Penci_Framework_Shortcode_Params::block_option_block_title(), array( array( 'type' => 'textfield', 'param_name' => 'heading_extra_settings', 'heading' => esc_html__( 'Booking settings', 'penci-framework' ), 'value' => '', 'edit_field_class' => 'penci-param-heading-wrapper no-top-margin vc_column vc_col-sm-12', ), array( 'type' => 'dropdown', 'heading' => esc_html__( 'Posttion', 'penci-framework' ), 'param_name' => 'booking_pos', 'value' => array( esc_html__( 'Left', 'penci-framework' ) => 'left', esc_html__( 'Center', 'penci-framework' ) => 'center', esc_html__( 'Right', 'penci-framework' ) => 'right', ), 'std' => 'left', ), array( 'type' => 'checkbox', 'heading' => esc_html__( 'Hide Text "Search hotels and more..."', 'penci-framework' ), 'param_name' => 'hide_dftitle', 'value' => array( __( 'Yes', 'penci-framework' ) => 'yes' ), ), array( 'type' => 'checkbox', 'heading' => esc_html__( 'Hide logo booking.com', 'penci-framework' ), 'param_name' => 'hide_logo' ), array( 'type' => 'penci_number', 'heading' => esc_html__( 'Custom padding for form booking', 'penci-framework' ), 'param_name' => 'padding_booking', 'edit_field_class' => 'vc_col-sm-6', ), ), Penci_Framework_Shortcode_Params::color_params( $shotcode_id, false ), Penci_Framework_Shortcode_Params::block_option_note_custom_fonts(), Penci_Framework_Shortcode_Params::block_option_typo( array( 'prefix' => 'block_title', 'title' => esc_html__( 'Block title settings' ), 'google_fonts' => Penci_Helper_Shortcode::get_font_family( 'oswald' ), 'font-size' => '18px', ) ), Penci_Framework_Shortcode_Params::block_option_typo( array( 'prefix' => 'default_title', 'title' => esc_html__( 'Default title booking settings' ), 'google_fonts' => Penci_Helper_Shortcode::get_font_family( 'roboto' ), 'font-size' => '24px', ) ), Penci_Framework_Shortcode_Params::block_option_typo( array( 'prefix' => 'destination_text', 'title' => esc_html__( 'Destination text,Check-in text , Check-out text settings' ), 'google_fonts' => Penci_Helper_Shortcode::get_font_family( 'muktavaani600' ), 'font-size' => '14px', ) ), Penci_Framework_Shortcode_Params::block_option_typo( array( 'prefix' => 'submit_button', 'title' => esc_html__( 'Submit button settings' ), 'google_fonts' => Penci_Helper_Shortcode::get_font_family( 'roboto' ), 'font-size' => '14px', ) ) ) );
|