ru-se.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

general.php (725B)


      1 <?php
      2 
      3 add_action("materialis_header_background_overlay_settings", "materialis_front_page_header_general_settings", 4, 5);
      4 
      5 function materialis_front_page_header_general_settings($section, $prefix, $group, $inner, $priority)
      6 {
      7 
      8     if ($inner) return;
      9 
     10     $priority = 5;
     11     $prefix   = "header";
     12     $section  = "header_background_chooser";
     13     $group = "";
     14 
     15     materialis_add_kirki_field(array(
     16         'type'      => 'checkbox',
     17         'label'     => esc_html__('Full Height Background', 'materialis'),
     18         'settings'  => 'full_height_header',
     19         'default'   => false,
     20         'transport' => 'postMessage',
     21         'section'   => $section,
     22         'priority'  => $priority,
     23         'group' => $group
     24     ));
     25 }