| 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/typography/sections/ |
Upload File : |
<?php $priority = 1; $choices = arts_add_fonts_custom_choice(); /** * Subheading */ Kirki::add_field( 'arts', array( 'type' => 'generic', 'label' => esc_html__( 'Subheading', 'rhye' ), 'settings' => 'subheading_generic_heading' . $priority, 'section' => 'subheading', 'priority' => $priority++, 'choices' => array( 'element' => 'span', ), ) ); Kirki::add_field( 'arts', array( 'type' => 'typography', 'settings' => 'subheading_font', 'section' => 'subheading', 'default' => array( 'font-family' => 'Raleway', 'variant' => '700', 'line-height' => 1.3, 'letter-spacing' => 2, 'text-transform' => 'uppercase', ), 'priority' => $priority++, 'choices' => $choices, 'transport' => 'auto', 'output' => array( array( 'element' => '.subheading', ), ), ) ); Kirki::add_field( 'arts', array( 'type' => 'slider', 'settings' => 'subheading_max_font_size', 'description' => esc_html__( 'Desktop font size (px)', 'rhye' ), 'section' => 'subheading', 'default' => 13, 'priority' => $priority++, 'choices' => array( 'min' => 8, 'max' => 300, 'step' => 1, ), 'transport' => 'auto', 'output' => array( array( 'element' => ':root', 'property' => '--subheading-max-font-size', ), ), ) ); Kirki::add_field( 'arts', array( 'type' => 'slider', 'settings' => 'subheading_min_font_size', 'description' => esc_html__( 'Mobile font size (px)', 'rhye' ), 'section' => 'subheading', 'default' => 10, 'priority' => $priority++, 'choices' => array( 'min' => 8, 'max' => 300, 'step' => 1, ), 'transport' => 'auto', 'output' => array( array( 'element' => ':root', 'property' => '--subheading-min-font-size', ), ), ) ); Kirki::add_field( 'arts', array( 'section' => 'subheading', 'type' => 'color', 'description' => esc_html__( 'Dark Color Preset', 'rhye' ), 'default' => '#777777', 'settings' => 'subheading_color_dark', 'priority' => $priority ++, 'transport' => 'auto', 'output' => array( array( 'element' => ':root', 'property' => '--subheading-color-dark', ), ), ) ); Kirki::add_field( 'arts', array( 'section' => 'subheading', 'type' => 'color', 'description' => esc_html__( 'Light Color Preset', 'rhye' ), 'default' => '#ffffff', 'settings' => 'subheading_color_light', 'priority' => $priority ++, 'transport' => 'auto', 'output' => array( array( 'element' => ':root', 'property' => '--subheading-color-light', ), ), ) ); Kirki::add_field( 'arts', array( 'type' => 'generic', 'settings' => 'par_generic_divider' . $priority, 'section' => 'subheading', 'priority' => $priority++, 'choices' => array( 'element' => 'hr', ), ) );