| 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(); /** * Blockquote */ Kirki::add_field( 'arts', array( 'type' => 'generic', 'label' => esc_html__( 'Blockquote', 'rhye' ), 'settings' => 'blockquote_generic_heading' . $priority, 'section' => 'blockquote', 'priority' => $priority++, 'choices' => array( 'element' => 'span', ), ) ); Kirki::add_field( 'arts', array( 'type' => 'typography', 'settings' => 'blockquote_font', 'section' => 'blockquote', 'default' => array( 'font-family' => 'Raleway', 'variant' => 'italic', 'line-height' => 1.6, 'letter-spacing' => 0, 'text-transform' => 'none', ), 'priority' => $priority++, 'choices' => $choices, 'transport' => 'auto', 'output' => array( array( 'element' => 'blockquote, .blockquote, blockquote p, .blockquote p', ), ), ) ); Kirki::add_field( 'arts', array( 'type' => 'slider', 'settings' => 'blockquote_max_font_size', 'description' => esc_html__( 'Desktop font size (px)', 'rhye' ), 'section' => 'blockquote', 'default' => 24, 'priority' => $priority++, 'choices' => array( 'min' => 8, 'max' => 300, 'step' => 1, ), 'transport' => 'auto', 'output' => array( array( 'element' => ':root', 'property' => '--blockquote-max-font-size', ), array( 'element' => ':root', 'property' => '--blockquote-max-font-size', 'context' => array( 'editor' ), ), ), ) ); Kirki::add_field( 'arts', array( 'type' => 'slider', 'settings' => 'blockquote_min_font_size', 'description' => esc_html__( 'Mobile font size (px)', 'rhye' ), 'section' => 'blockquote', 'default' => 16, 'priority' => $priority++, 'choices' => array( 'min' => 8, 'max' => 300, 'step' => 1, ), 'transport' => 'auto', 'output' => array( array( 'element' => ':root', 'property' => '--blockquote-min-font-size', ), array( 'element' => ':root', 'property' => '--blockquote-min-font-size', 'context' => array( 'editor' ), ), ), ) ); Kirki::add_field( 'arts', array( 'section' => 'blockquote', 'type' => 'color', 'description' => esc_html__( 'Dark Color Preset', 'rhye' ), 'default' => '#262626', 'settings' => 'blockquote_color_dark', 'priority' => $priority ++, 'transport' => 'auto', 'output' => array( array( 'element' => ':root', 'property' => '--blockquote-color-dark', ), array( 'element' => ':root', 'property' => '--blockquote-color-dark', 'context' => array( 'editor' ), ), ), ) ); Kirki::add_field( 'arts', array( 'section' => 'blockquote', 'type' => 'color', 'description' => esc_html__( 'Light Color Preset', 'rhye' ), 'default' => '#ffffff', 'settings' => 'blockquote_color_light', 'priority' => $priority ++, 'transport' => 'auto', 'output' => array( array( 'element' => ':root', 'property' => '--blockquote-color-light', ), array( 'element' => ':root', 'property' => '--blockquote-color-light', 'context' => array( 'editor' ), ), ), ) );