X7ROOT File Manager
Current Path:
/home/oakwood/public_html/wp-content/plugins/styler-for-wpforms/includes
home
/
oakwood
/
public_html
/
wp-content
/
plugins
/
styler-for-wpforms
/
includes
/
ðŸ“
..
📄
checkbox-inputs.php
(8.63 KB)
📄
class-sfwf-wpforms-styler-fetch.php
(17.01 KB)
📄
confirmation-message.php
(12.59 KB)
📄
customizer-addons.php
(7.5 KB)
📄
dropdown-fields.php
(12.19 KB)
📄
error-message.php
(3.99 KB)
📄
field-descriptions.php
(7.08 KB)
📄
field-labels.php
(6.82 KB)
📄
field-sub-labels.php
(1.96 KB)
📄
form-description.php
(7.66 KB)
📄
form-header.php
(4.25 KB)
📄
form-select.php
(1.06 KB)
📄
form-title.php
(7.61 KB)
📄
form-wrapper.php
(7.62 KB)
📄
general-settings.php
(3.33 KB)
📄
inner-shadow.php
(3.13 KB)
📄
list-field.php
(6.38 KB)
📄
outer-shadow.php
(3.14 KB)
📄
paragraph-textarea.php
(12.53 KB)
📄
placeholders.php
(1.9 KB)
📄
radio-inputs.php
(8.52 KB)
📄
section-break-description.php
(3.1 KB)
📄
section-break-title.php
(2.58 KB)
📄
submit-button.php
(15.99 KB)
📄
text-fields.php
(12.18 KB)
Editing: form-wrapper.php
<?php /** * Controls to design the form wrapper in customizer. */ // form wrapper section. $wp_customize->add_section( 'sfwf_form_id_form_wrapper', array( 'title' => 'Form Wrapper', 'panel' => 'sfwf_panel', ) ); // Label. $wp_customize->add_control( new Sfwf_Label_Only( $wp_customize, // WP_Customize_Manager. 'sfwf_form_id_' . $current_form_id . '[form-wrapper][max-width-label-only]', // Setting id. array( // Args, including any custom ones. 'label' => __( 'Width' ), 'section' => 'sfwf_form_id_form_wrapper', 'settings' => array(), ) ) ); $wp_customize->add_setting( 'sfwf_form_id_' . $current_form_id . '[form-wrapper][max-width]', array( 'default' => '', 'transport' => 'refresh', 'type' => 'option', ) ); $wp_customize->add_control( new Sfwf_Desktop_Text_Input_Option( $wp_customize, 'sfwf_form_id_' . $current_form_id . '[form-wrapper][max-width]', array( 'type' => 'text', 'priority' => 10, // Within the section. 'section' => 'sfwf_form_id_form_wrapper', // Required, core or custom. 'label' => '', 'input_attrs' => array( 'placeholder' => 'Ex.40px', ), ) ) ); // Tablet. $wp_customize->add_setting( 'sfwf_form_id_' . $current_form_id . '[form-wrapper][max-width-tab]', array( 'default' => '', 'transport' => 'refresh', 'type' => 'option', ) ); $wp_customize->add_control( new Sfwf_Tab_Text_Input_Option( $wp_customize, 'sfwf_form_id_' . $current_form_id . '[form-wrapper][max-width-tab]', array( 'type' => 'text', 'priority' => 10, // Within the section. 'section' => 'sfwf_form_id_form_wrapper', // Required, core or custom. 'label' => '', 'input_attrs' => array( 'placeholder' => 'Ex.40px', ), ) ) ); // Mobile. $wp_customize->add_setting( 'sfwf_form_id_' . $current_form_id . '[form-wrapper][max-width-phone]', array( 'default' => '', 'transport' => 'refresh', 'type' => 'option', ) ); $wp_customize->add_control( new Sfwf_Mobile_Text_Input_Option( $wp_customize, 'sfwf_form_id_' . $current_form_id . '[form-wrapper][max-width-phone]', array( 'type' => 'text', 'priority' => 10, // Within the section. 'section' => 'sfwf_form_id_form_wrapper', // Required, core or custom. 'label' => '', 'input_attrs' => array( 'placeholder' => 'Ex.40px', ), ) ) ); $wp_customize->add_setting( 'sfwf_form_id_' . $current_form_id . '[form-wrapper][font]', array( 'default' => 'Default', 'transport' => 'postMessage', 'type' => 'option', ) ); $wp_customize->add_control( 'sfwf_form_id_' . $current_form_id . '[form-wrapper][font]', array( 'type' => 'select', 'priority' => 10, // Within the section. 'section' => 'sfwf_form_id_form_wrapper', // Required, core or custom. 'label' => __( 'Font Family' ), 'choices' => $font_collection, ) ); $wp_customize->add_setting( 'sfwf_form_id_' . $current_form_id . '[form-wrapper][background-color]', array( 'default' => '', 'transport' => 'postMessage', 'type' => 'option', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, // WP_Customize_Manager. 'sfwf_form_id_' . $current_form_id . '[form-wrapper][background-color]', // Setting id. array( // Args, including any custom ones. 'label' => __( 'Background Color' ), 'section' => 'sfwf_form_id_form_wrapper', ) ) ); $wp_customize->add_setting( 'sfwf_form_id_' . $current_form_id . '[form-wrapper][background-image]', array( 'default' => '', 'transport' => 'postMessage', 'type' => 'option', ) ); $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'sfwf_form_id_' . $current_form_id . '[form-wrapper][background-image]', array( 'label' => 'Background Image', 'section' => 'sfwf_form_id_form_wrapper', 'settings' => 'sfwf_form_id_' . $current_form_id . '[form-wrapper][background-image]', ) ) ); // Border Label. $wp_customize->add_control( new Sfwf_Label_Only( $wp_customize, // WP_Customize_Manager. 'sfwf_form_id_' . $current_form_id . '[form-wrapper][border-label-only]', // Setting id. array( // Args, including any custom ones. 'label' => __( 'Form Border' ), 'section' => 'sfwf_form_id_form_wrapper', 'settings' => array(), ) ) ); $wp_customize->add_setting( 'sfwf_form_id_' . $current_form_id . '[form-wrapper][border-size]', array( 'default' => '', 'transport' => 'postMessage', 'type' => 'option', ) ); $wp_customize->add_control( 'sfwf_form_id_' . $current_form_id . '[form-wrapper][border-size]', array( 'type' => 'text', 'priority' => 10, // Within the section. 'section' => 'sfwf_form_id_form_wrapper', // Required, core or custom. 'label' => __( 'Size' ), 'input_attrs' => array( 'placeholder' => 'Example: 4px or 10%', ), ) ); $wp_customize->add_setting( 'sfwf_form_id_' . $current_form_id . '[form-wrapper][border-type]', array( 'default' => 'solid', 'transport' => 'postMessage', 'type' => 'option', ) ); $wp_customize->add_control( 'sfwf_form_id_' . $current_form_id . '[form-wrapper][border-type]', array( 'type' => 'select', 'priority' => 10, // Within the section. 'section' => 'sfwf_form_id_form_wrapper', // Required, core or custom. 'label' => __( 'Type' ), 'choices' => $border_types, ) ); $wp_customize->add_setting( 'sfwf_form_id_' . $current_form_id . '[form-wrapper][border-color]', array( 'default' => '', 'transport' => 'postMessage', 'type' => 'option', ) ); // border radius. $wp_customize->add_setting( 'sfwf_form_id_' . $current_form_id . '[form-wrapper][border-radius]', array( 'default' => '', 'transport' => 'postMessage', 'type' => 'option', ) ); $wp_customize->add_control( 'sfwf_form_id_' . $current_form_id . '[form-wrapper][border-radius]', array( 'type' => 'text', 'priority' => 10, // Within the section. 'section' => 'sfwf_form_id_form_wrapper', // Required, core or custom. 'label' => __( 'Radius' ), 'input_attrs' => array( 'placeholder' => 'Ex.4px', ), ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, // WP_Customize_Manager. 'sfwf_form_id_' . $current_form_id . '[form-wrapper][border-color]', // Setting id. array( // Args, including any custom ones. 'label' => __( 'Border Color' ), 'section' => 'sfwf_form_id_form_wrapper', ) ) ); // Start of Section // Label. $wp_customize->add_control( new WP_Customize_Label_Only( $wp_customize, // WP_Customize_Manager. 'sfwf_form_id_' . $current_form_id . '[form-wrapper][margin-label-only]', // Setting id. array( // Args, including any custom ones. 'label' => __( 'Margin' ), 'section' => 'sfwf_form_id_form_wrapper', 'settings' => array(), ) ) ); sfwf_margin_padding_controls( $wp_customize, $current_form_id, 'sfwf_form_id_form_wrapper', 'form-wrapper', 'margin' ); $wp_customize->add_control( new WP_Customize_Label_Only( $wp_customize, // WP_Customize_Manager. 'sfwf_form_id_' . $current_form_id . '[form-wrapper][padding-label-only]', // Setting id. array( // Args, including any custom ones. 'label' => __( 'Padding' ), 'section' => 'sfwf_form_id_form_wrapper', 'settings' => array(), ) ) ); sfwf_margin_padding_controls( $wp_customize, $current_form_id, 'sfwf_form_id_form_wrapper', 'form-wrapper', 'padding' );
Upload File
Create Folder