@@ -4,10 +4,10 @@ |
||
| 4 | 4 | |
| 5 | 5 | class RegisterTaxonomy |
| 6 | 6 | { |
| 7 | - public $args; |
|
| 7 | + public $args; |
|
| 8 | 8 | |
| 9 | - public function __construct($input) |
|
| 10 | - { |
|
| 11 | - $this->args = $input; |
|
| 12 | - } |
|
| 9 | + public function __construct($input) |
|
| 10 | + { |
|
| 11 | + $this->args = $input; |
|
| 12 | + } |
|
| 13 | 13 | } |
@@ -4,10 +4,10 @@ |
||
| 4 | 4 | |
| 5 | 5 | class EnqueueAdminAssets |
| 6 | 6 | { |
| 7 | - public $pointers; |
|
| 7 | + public $pointers; |
|
| 8 | 8 | |
| 9 | - public function __construct(array $input) |
|
| 10 | - { |
|
| 11 | - $this->pointers = $input['pointers']; |
|
| 12 | - } |
|
| 9 | + public function __construct(array $input) |
|
| 10 | + { |
|
| 11 | + $this->pointers = $input['pointers']; |
|
| 12 | + } |
|
| 13 | 13 | } |
@@ -4,10 +4,10 @@ |
||
| 4 | 4 | |
| 5 | 5 | class RegisterShortcodes |
| 6 | 6 | { |
| 7 | - public $shortcodes; |
|
| 7 | + public $shortcodes; |
|
| 8 | 8 | |
| 9 | - public function __construct($input) |
|
| 10 | - { |
|
| 11 | - $this->shortcodes = $input; |
|
| 12 | - } |
|
| 9 | + public function __construct($input) |
|
| 10 | + { |
|
| 11 | + $this->shortcodes = $input; |
|
| 12 | + } |
|
| 13 | 13 | } |
@@ -1,33 +1,33 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | return [ |
| 4 | - 'rating' => [ |
|
| 5 | - 'label' => __('Your overall rating', 'site-reviews'), |
|
| 6 | - 'type' => 'rating', |
|
| 7 | - ], |
|
| 8 | - 'title' => [ |
|
| 9 | - 'label' => __('Title of your review', 'site-reviews'), |
|
| 10 | - 'placeholder' => __('Summarize your review or highlight an interesting detail', 'site-reviews'), |
|
| 11 | - 'type' => 'text', |
|
| 12 | - ], |
|
| 13 | - 'content' => [ |
|
| 14 | - 'label' => __('Your review', 'site-reviews'), |
|
| 15 | - 'placeholder' => __('Tell people your review', 'site-reviews'), |
|
| 16 | - 'rows' => 5, |
|
| 17 | - 'type' => 'textarea', |
|
| 18 | - ], |
|
| 19 | - 'name' => [ |
|
| 20 | - 'label' => __('Your name', 'site-reviews'), |
|
| 21 | - 'placeholder' => __('Tell us your name', 'site-reviews'), |
|
| 22 | - 'type' => 'text', |
|
| 23 | - ], |
|
| 24 | - 'email' => [ |
|
| 25 | - 'label' => __('Your email', 'site-reviews'), |
|
| 26 | - 'placeholder' => __('Tell us your email', 'site-reviews'), |
|
| 27 | - 'type' => 'email', |
|
| 28 | - ], |
|
| 29 | - 'terms' => [ |
|
| 30 | - 'label' => __('This review is based on my own experience and is my genuine opinion.', 'site-reviews'), |
|
| 31 | - 'type' => 'checkbox', |
|
| 32 | - ], |
|
| 4 | + 'rating' => [ |
|
| 5 | + 'label' => __('Your overall rating', 'site-reviews'), |
|
| 6 | + 'type' => 'rating', |
|
| 7 | + ], |
|
| 8 | + 'title' => [ |
|
| 9 | + 'label' => __('Title of your review', 'site-reviews'), |
|
| 10 | + 'placeholder' => __('Summarize your review or highlight an interesting detail', 'site-reviews'), |
|
| 11 | + 'type' => 'text', |
|
| 12 | + ], |
|
| 13 | + 'content' => [ |
|
| 14 | + 'label' => __('Your review', 'site-reviews'), |
|
| 15 | + 'placeholder' => __('Tell people your review', 'site-reviews'), |
|
| 16 | + 'rows' => 5, |
|
| 17 | + 'type' => 'textarea', |
|
| 18 | + ], |
|
| 19 | + 'name' => [ |
|
| 20 | + 'label' => __('Your name', 'site-reviews'), |
|
| 21 | + 'placeholder' => __('Tell us your name', 'site-reviews'), |
|
| 22 | + 'type' => 'text', |
|
| 23 | + ], |
|
| 24 | + 'email' => [ |
|
| 25 | + 'label' => __('Your email', 'site-reviews'), |
|
| 26 | + 'placeholder' => __('Tell us your email', 'site-reviews'), |
|
| 27 | + 'type' => 'email', |
|
| 28 | + ], |
|
| 29 | + 'terms' => [ |
|
| 30 | + 'label' => __('This review is based on my own experience and is my genuine opinion.', 'site-reviews'), |
|
| 31 | + 'type' => 'checkbox', |
|
| 32 | + ], |
|
| 33 | 33 | ]; |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | return [ |
| 4 | - 'fields' => [ |
|
| 5 | - 'input' => 'ninja-forms-field nf-element', |
|
| 6 | - 'textarea' => 'ninja-forms-field nf-element', |
|
| 7 | - ], |
|
| 4 | + 'fields' => [ |
|
| 5 | + 'input' => 'ninja-forms-field nf-element', |
|
| 6 | + 'textarea' => 'ninja-forms-field nf-element', |
|
| 7 | + ], |
|
| 8 | 8 | ]; |
@@ -1,19 +1,19 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | return [ |
| 4 | - 'fields' => [ |
|
| 5 | - 'input' => 'wpcf7-form-control', |
|
| 6 | - 'input_text' => 'wpcf7-form-control wpcf7-text', |
|
| 7 | - 'input_email' => 'wpcf7-form-control wpcf7-text wpcf7-email', |
|
| 8 | - 'select' => 'wpcf7-form-control wpcf7-select', |
|
| 9 | - 'textarea' => 'wpcf7-form-control wpcf7-textarea', |
|
| 10 | - ], |
|
| 11 | - 'validation' => [ |
|
| 12 | - 'error_tag' => 'span', |
|
| 13 | - 'error_tag_class' => 'wpcf7-not-valid-tip', |
|
| 14 | - 'input_error_class' => 'wpcf7-not-valid', |
|
| 15 | - 'message_initial_class' => 'wpcf7-display-none', |
|
| 16 | - 'message_success_class' => 'wpcf7-mail-sent-ok', |
|
| 17 | - 'message_tag_class' => 'wpcf7-response-output', |
|
| 18 | - ], |
|
| 4 | + 'fields' => [ |
|
| 5 | + 'input' => 'wpcf7-form-control', |
|
| 6 | + 'input_text' => 'wpcf7-form-control wpcf7-text', |
|
| 7 | + 'input_email' => 'wpcf7-form-control wpcf7-text wpcf7-email', |
|
| 8 | + 'select' => 'wpcf7-form-control wpcf7-select', |
|
| 9 | + 'textarea' => 'wpcf7-form-control wpcf7-textarea', |
|
| 10 | + ], |
|
| 11 | + 'validation' => [ |
|
| 12 | + 'error_tag' => 'span', |
|
| 13 | + 'error_tag_class' => 'wpcf7-not-valid-tip', |
|
| 14 | + 'input_error_class' => 'wpcf7-not-valid', |
|
| 15 | + 'message_initial_class' => 'wpcf7-display-none', |
|
| 16 | + 'message_success_class' => 'wpcf7-mail-sent-ok', |
|
| 17 | + 'message_tag_class' => 'wpcf7-response-output', |
|
| 18 | + ], |
|
| 19 | 19 | ]; |
@@ -1,12 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | return [ |
| 4 | - 'fields' => [ |
|
| 5 | - 'input' => 'wpforms-field-large', |
|
| 6 | - 'label' => 'wpforms-field-label', |
|
| 7 | - 'label_checkbox' => 'wpforms-field-label-inline', |
|
| 8 | - 'label_radio' => 'wpforms-field-label-inline', |
|
| 9 | - 'select' => 'wpforms-field-large', |
|
| 10 | - 'textarea' => 'wpforms-field-large', |
|
| 11 | - ], |
|
| 4 | + 'fields' => [ |
|
| 5 | + 'input' => 'wpforms-field-large', |
|
| 6 | + 'label' => 'wpforms-field-label', |
|
| 7 | + 'label_checkbox' => 'wpforms-field-label-inline', |
|
| 8 | + 'label_radio' => 'wpforms-field-label-inline', |
|
| 9 | + 'select' => 'wpforms-field-large', |
|
| 10 | + 'textarea' => 'wpforms-field-large', |
|
| 11 | + ], |
|
| 12 | 12 | ]; |
@@ -1,19 +1,19 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | return [ |
| 4 | - 'fields' => [ |
|
| 5 | - 'input' => 'form-control', |
|
| 6 | - 'input_checkbox' => 'custom-control-input', |
|
| 7 | - 'input_radio' => 'custom-control-input', |
|
| 8 | - 'label_checkbox' => 'custom-control-label', |
|
| 9 | - 'label_radio' => 'custom-control-label', |
|
| 10 | - 'select' => 'form-control', |
|
| 11 | - 'textarea' => 'form-control', |
|
| 12 | - ], |
|
| 13 | - 'validation' => [ |
|
| 14 | - 'error_tag' => 'div', |
|
| 15 | - 'error_tag_class' => 'invalid-feedback', |
|
| 16 | - 'field_class' => 'form-group', |
|
| 17 | - 'input_error_class' => 'is-invalid', |
|
| 18 | - ], |
|
| 4 | + 'fields' => [ |
|
| 5 | + 'input' => 'form-control', |
|
| 6 | + 'input_checkbox' => 'custom-control-input', |
|
| 7 | + 'input_radio' => 'custom-control-input', |
|
| 8 | + 'label_checkbox' => 'custom-control-label', |
|
| 9 | + 'label_radio' => 'custom-control-label', |
|
| 10 | + 'select' => 'form-control', |
|
| 11 | + 'textarea' => 'form-control', |
|
| 12 | + ], |
|
| 13 | + 'validation' => [ |
|
| 14 | + 'error_tag' => 'div', |
|
| 15 | + 'error_tag_class' => 'invalid-feedback', |
|
| 16 | + 'field_class' => 'form-group', |
|
| 17 | + 'input_error_class' => 'is-invalid', |
|
| 18 | + ], |
|
| 19 | 19 | ]; |
@@ -1,18 +1,18 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | return [ |
| 4 | - 'fields' => [ |
|
| 5 | - 'select' => 'browser-default', |
|
| 6 | - 'textarea' => 'materialize-textarea', |
|
| 7 | - ], |
|
| 8 | - 'pagination' => [ |
|
| 9 | - 'type' => 'list', |
|
| 10 | - ], |
|
| 11 | - 'validation' => [ |
|
| 12 | - 'error_tag' => 'span', |
|
| 13 | - 'input_error_class' => 'wpcf7-not-valid', |
|
| 14 | - 'error_tag_class' => 'wpcf7-not-valid-tip', |
|
| 15 | - 'input_error_class' => 'wpcf7-not-valid', |
|
| 16 | - 'message_tag_class' => 'wpcf7-response-output', |
|
| 17 | - ], |
|
| 4 | + 'fields' => [ |
|
| 5 | + 'select' => 'browser-default', |
|
| 6 | + 'textarea' => 'materialize-textarea', |
|
| 7 | + ], |
|
| 8 | + 'pagination' => [ |
|
| 9 | + 'type' => 'list', |
|
| 10 | + ], |
|
| 11 | + 'validation' => [ |
|
| 12 | + 'error_tag' => 'span', |
|
| 13 | + 'input_error_class' => 'wpcf7-not-valid', |
|
| 14 | + 'error_tag_class' => 'wpcf7-not-valid-tip', |
|
| 15 | + 'input_error_class' => 'wpcf7-not-valid', |
|
| 16 | + 'message_tag_class' => 'wpcf7-response-output', |
|
| 17 | + ], |
|
| 18 | 18 | ]; |