Notice: Undefined index: HTTP_ACCEPT_LANGUAGE in /home/tbolleke/public_html/index.php on line 11
Notice: Undefined index: HTTP_REFERER in /home/tbolleke/public_html/index.php on line 12
['apply-filters-button'] . ':hover' => 'color: {{VALUE}}',
),
]);
$this->controls_manager->add_control([
'id' => 'filter_apply_button_hover_background_color',
'type' => 'color-picker',
'label' => esc_html__( 'Background Color', 'jet-smart-filters' ),
'separator' => 'before',
'css_selector' => array(
'{{WRAPPER}} ' . $this->css_scheme['apply-filters-button'] . ':hover' => 'background-color: {{VALUE}}',
),
'attributes' => [
'default' => [
'value' => ''
],
],
]);
$this->controls_manager->add_control([
'id' => 'filter_apply_button_hover_border_color',
'type' => 'color-picker',
'label' => esc_html__( 'Border Color', 'jet-smart-filters' ),
'separator' => 'before',
'css_selector' => array(
'{{WRAPPER}} ' . $this->css_scheme['apply-filters-button'] . ':hover' => 'border-color: {{VALUE}}',
),
]);
$this->controls_manager->end_tab();
$this->controls_manager->end_tabs();
$this->controls_manager->add_control([
'id' => 'filter_apply_button_border',
'type' => 'border',
'label' => esc_html__( 'Border', 'jet-smart-filters' ),
'css_selector' => array(
'{{WRAPPER}} ' . $this->css_scheme['apply-filters-button'] =>'border-style: {{STYLE}}; border-width: {{WIDTH}}; border-radius: {{RADIUS}}; border-color: {{COLOR}}',
),
]);
$this->controls_manager->add_control([
'id' => 'filter_apply_button_padding',
'type' => 'dimensions',
'label' => esc_html__( 'Padding', 'jet-smart-filters' ),
'units' => array( 'px', '%' ),
'css_selector' => array(
'{{WRAPPER}} ' . $this->css_scheme['apply-filters-button'] => 'padding: {{TOP}} {{RIGHT}} {{BOTTOM}} {{LEFT}};',
),
'separator' => 'before',
]);
$this->controls_manager->add_control([
'id' => 'filter_apply_button_margin',
'type' => 'dimensions',
'label' => esc_html__( 'Margin', 'jet-smart-filters' ),
'units' => array( 'px', '%' ),
'css_selector' => array(
'{{WRAPPER}} ' . $this->css_scheme['apply-filters-button'] => 'margin: {{TOP}} {{RIGHT}} {{BOTTOM}} {{LEFT}};',
),
'separator' => 'before',
]);
$this->controls_manager->add_control([
'id' => 'filter_apply_button_alignment',
'type' => 'choose',
'label' => esc_html__( 'Alignment', 'jet-smart-filters' ),
'separator' => 'before',
'options' =>[
'flex-start' => [
'shortcut' => esc_html__( 'Left', 'jet-smart-filters' ),
'icon' => 'dashicons-editor-alignleft',
],
'center' => [
'shortcut' => esc_html__( 'Center', 'jet-smart-filters' ),
'icon' => 'dashicons-editor-aligncenter',
],
'flex-end' => [
'shortcut' => esc_html__( 'Right', 'jet-smart-filters' ),
'icon' => 'dashicons-editor-alignright',
],
'stretch' => [
'shortcut' => esc_html__( 'Stretch', 'jet-smart-filters' ),
'icon' => 'dashicons-editor-justify',
],
],
'css_selector' => [
'{{WRAPPER}} ' . $this->css_scheme['apply-filters-button'] => 'align-self: {{VALUE}};',
],
'attributes' => [
'default' => [
'value' => 'flex-start',
],
]
]);
$this->controls_manager->end_section();
$this->controls_manager->start_section(
'style_controls',
[
'id' => 'counter_style',
'title' => esc_html__( 'Counter', 'jet-smart-filters' ),
'condition' => [
'show_counter' => true,
'apply_indexer' => true,
],
]
);
$this->controls_manager->add_control([
'id' => 'counter_typography',
'type' => 'typography',
'separator' => 'before',
'css_selector' => [
'{{WRAPPER}} ' . $this->css_scheme['counter'] => 'font-family: {{FAMILY}}; font-weight: {{WEIGHT}}; text-transform: {{TRANSFORM}}; font-style: {{STYLE}}; text-decoration: {{DECORATION}}; line-height: {{LINEHEIGHT}}{{LH_UNIT}}; letter-spacing: {{LETTERSPACING}}{{LS_UNIT}}; font-size: {{SIZE}}{{S_UNIT}};',
],
]);
$this->controls_manager->add_control([
'id' => 'counter_color',
'type' => 'color-picker',
'separator' => 'before',
'label' => esc_html__( 'Text Color', 'jet-smart-filters' ),
'css_selector' => array(
'{{WRAPPER}} ' . $this->css_scheme['counter'] => 'color: {{VALUE}}',
),
]);
$this->controls_manager->add_control([
'id' => 'counter_background_color',
'type' => 'color-picker',
'separator' => 'before',
'label' => esc_html__( 'Background Color', 'jet-smart-filters' ),
'css_selector' => array(
'{{WRAPPER}} ' . $this->css_scheme['counter'] => 'background-color: {{VALUE}}',
),
'attributes' => [
'default' => [
'value' => ''
],
],
]);
$this->controls_manager->add_control([
'id' => 'counter_padding',
'type' => 'dimensions',
'label' => esc_html__( 'Padding', 'jet-smart-filters' ),
'units' => array( 'px', '%' ),
'css_selector' => array(
'{{WRAPPER}} ' . $this->css_scheme['counter'] => 'padding: {{TOP}} {{RIGHT}} {{BOTTOM}} {{LEFT}};',
),
'separator' => 'before',
]);
$this->controls_manager->add_control([
'id' => 'counter_border',
'type' => 'border',
'label' => esc_html__( 'Border', 'jet-smart-filters' ),
'css_selector' => array(
'{{WRAPPER}} ' . $this->css_scheme['counter'] =>'border-style: {{STYLE}}; border-width: {{WIDTH}}; border-radius: {{RADIUS}}; border-color: {{COLOR}}',
),
'separator' => 'before',
]);
$this->controls_manager->end_section();
// Include Additional Filter Settings Style
include jet_smart_filters()->plugin_path( 'includes/blocks/common-controls/additional-filter-style.php' );
}
}
}
Fatal error: Uncaught Error: Class 'Jet_Smart_Filters_Block_Checkboxes' not found in /home/tbolleke/public_html/wp-content/plugins/jet-smart-filters/includes/blocks.php:146
Stack trace:
#0 /home/tbolleke/public_html/wp-content/plugins/jet-smart-filters/includes/blocks.php(30): Jet_Smart_Filters_Blocks_Manager->register_block_types()
#1 /home/tbolleke/public_html/wp-content/plugins/jet-smart-filters/jet-smart-filters.php(159): Jet_Smart_Filters_Blocks_Manager->__construct()
#2 /home/tbolleke/public_html/wp-includes/class-wp-hook.php(341): Jet_Smart_Filters->init('')
#3 /home/tbolleke/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters(NULL, Array)
#4 /home/tbolleke/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#5 /home/tbolleke/public_html/wp-settings.php(742): do_action('init')
#6 /home/tbolleke/public_html/wp-config.php(96): require_once('/home/tbolleke/...')
#7 /home/tbolleke/public_html/wp-load.php(50): require_once('/home/tbolleke/...')
#8 /home/tbolleke/public_html/wp-blog-head in /home/tbolleke/public_html/wp-content/plugins/jet-smart-filters/includes/blocks.php on line 146