| Server IP : 51.91.236.255 / Your IP : 216.73.217.120 Web Server : Apache System : Linux webm002.cluster129.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : laureet ( 1012854) PHP Version : 8.0.30 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/laureet/www/wp-content/themes/rhye/inc/customizer/panels/general-style/sections/ |
Upload File : |
<?php $priority = 1; /** * Gutters Horizontal */ Kirki::add_field( 'arts', array( 'type' => 'generic', 'label' => esc_html__( 'Horizontal Gutter Presets', 'rhye' ), 'settings' => 'gutters_generic_heading' . $priority, 'section' => 'gutters', 'priority' => $priority++, 'choices' => array( 'element' => 'span', ), ) ); Kirki::add_field( 'arts', array( 'type' => 'slider', 'settings' => 'gutter_horizontal_xlarge', 'description' => esc_html__( 'Screens min. of 1401px width', 'rhye' ), 'section' => 'gutters', 'default' => 120, 'priority' => $priority++, 'choices' => array( 'min' => 0, 'max' => 200, 'step' => 1, ), 'transport' => 'auto', 'output' => array( array( 'element' => ':root', 'property' => '--gutter-horizontal', 'units' => 'px', ), array( 'element' => ':root', 'property' => '--gutter-horizontal', 'units' => 'px', 'context' => array( 'editor' ), ), ), ) ); Kirki::add_field( 'arts', array( 'type' => 'slider', 'settings' => 'gutter_horizontal_large', 'description' => esc_html__( 'Screens max. of 1400px width', 'rhye' ), 'section' => 'gutters', 'default' => 80, 'priority' => $priority++, 'choices' => array( 'min' => 0, 'max' => 200, 'step' => 1, ), 'transport' => 'auto', 'output' => array( array( 'element' => ':root', 'property' => '--gutter-horizontal', 'units' => 'px', 'media_query' => '@media (max-width: 1400px)', ), array( 'element' => ':root', 'property' => '--gutter-horizontal', 'units' => 'px', 'media_query' => '@media (max-width: 1400px)', 'context' => array( 'editor' ), ), ), ) ); Kirki::add_field( 'arts', array( 'type' => 'slider', 'settings' => 'gutter_horizontal_medium', 'description' => esc_html__( 'Screens max. of 1280px width', 'rhye' ), 'section' => 'gutters', 'default' => 60, 'priority' => $priority++, 'choices' => array( 'min' => 0, 'max' => 200, 'step' => 1, ), 'transport' => 'auto', 'output' => array( array( 'element' => ':root', 'property' => '--gutter-horizontal', 'units' => 'px', 'media_query' => '@media (max-width: 1280px)', ), array( 'element' => ':root', 'property' => '--gutter-horizontal', 'units' => 'px', 'media_query' => '@media (max-width: 1280px)', 'context' => array( 'editor' ), ), ), ) ); Kirki::add_field( 'arts', array( 'type' => 'slider', 'settings' => 'gutter_horizontal_small', 'description' => esc_html__( 'Screens max. of 991px width', 'rhye' ), 'section' => 'gutters', 'default' => 20, 'priority' => $priority++, 'choices' => array( 'min' => 0, 'max' => 200, 'step' => 1, ), 'transport' => 'auto', 'output' => array( array( 'element' => ':root', 'property' => '--gutter-horizontal', 'units' => 'px', 'media_query' => '@media (max-width: 991px)', ), array( 'element' => ':root', 'property' => '--gutter-horizontal', 'units' => 'px', 'media_query' => '@media (max-width: 991px)', 'context' => array( 'editor' ), ), ), ) ); Kirki::add_field( 'arts', array( 'type' => 'generic', 'settings' => 'gutters_generic_divider' . $priority, 'section' => 'gutters', 'priority' => $priority++, 'choices' => array( 'element' => 'hr', ), ) ); /** * Gutters Vertical */ Kirki::add_field( 'arts', array( 'type' => 'generic', 'label' => esc_html__( 'Vertical Gutter Presets', 'rhye' ), 'settings' => 'gutters_generic_heading' . $priority, 'section' => 'gutters', 'priority' => $priority++, 'choices' => array( 'element' => 'span', ), ) ); Kirki::add_field( 'arts', array( 'type' => 'slider', 'settings' => 'gutter_vertical_xlarge', 'description' => esc_html__( 'Screens min. of 1401px width', 'rhye' ), 'section' => 'gutters', 'default' => 80, 'priority' => $priority++, 'choices' => array( 'min' => 0, 'max' => 200, 'step' => 1, ), 'transport' => 'auto', 'output' => array( array( 'element' => ':root', 'property' => '--gutter-vertical', 'units' => 'px', ), array( 'element' => ':root', 'property' => '--gutter-vertical', 'units' => 'px', 'context' => array( 'editor' ), ), ), ) ); Kirki::add_field( 'arts', array( 'type' => 'slider', 'settings' => 'gutter_vertical_large', 'description' => esc_html__( 'Screens max. of 1400px width', 'rhye' ), 'section' => 'gutters', 'default' => 60, 'priority' => $priority++, 'choices' => array( 'min' => 0, 'max' => 200, 'step' => 1, ), 'transport' => 'auto', 'output' => array( array( 'element' => ':root', 'property' => '--gutter-vertical', 'units' => 'px', 'media_query' => '@media (max-width: 1400px)', ), array( 'element' => ':root', 'property' => '--gutter-vertical', 'units' => 'px', 'media_query' => '@media (max-width: 1400px)', 'context' => array( 'editor' ), ), ), ) ); Kirki::add_field( 'arts', array( 'type' => 'slider', 'settings' => 'gutter_vertical_medium', 'description' => esc_html__( 'Screens max. of 1280px width', 'rhye' ), 'section' => 'gutters', 'default' => 40, 'priority' => $priority++, 'choices' => array( 'min' => 0, 'max' => 200, 'step' => 1, ), 'transport' => 'auto', 'output' => array( array( 'element' => ':root', 'property' => '--gutter-vertical', 'units' => 'px', 'media_query' => '@media (max-width: 1280px)', ), array( 'element' => ':root', 'property' => '--gutter-vertical', 'units' => 'px', 'media_query' => '@media (max-width: 1280px)', 'context' => array( 'editor' ), ), ), ) ); Kirki::add_field( 'arts', array( 'type' => 'slider', 'settings' => 'gutter_vertical_small', 'description' => esc_html__( 'Screens max. of 991px width', 'rhye' ), 'section' => 'gutters', 'default' => 20, 'priority' => $priority++, 'choices' => array( 'min' => 0, 'max' => 200, 'step' => 1, ), 'transport' => 'auto', 'output' => array( array( 'element' => ':root', 'property' => '--gutter-vertical', 'units' => 'px', 'media_query' => '@media (max-width: 991px)', ), array( 'element' => ':root', 'property' => '--gutter-vertical', 'units' => 'px', 'media_query' => '@media (max-width: 991px)', 'context' => array( 'editor' ), ), ), ) );