section.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. /**
  3. * Top level sections without panels
  4. *
  5. * @package vamtam/consulting
  6. */
  7. global $vamtam_theme_customizer;
  8. $thispath = VAMTAM_OPTIONS . 'top-level/';
  9. $vamtam_theme_customizer->add_section( array(
  10. 'title' => esc_html__( 'Global Layout', 'vamtam-consulting' ),
  11. 'id' => 'global-layout',
  12. 'description' => '',
  13. 'fields' => include $thispath . 'global-layout.php',
  14. ) );
  15. $vamtam_theme_customizer->add_section( array(
  16. 'title' => esc_html__( 'Global Styles', 'vamtam-consulting' ),
  17. 'id' => 'global-styles',
  18. 'description' => '',
  19. 'fields' => include $thispath . 'global-styles.php',
  20. ) );
  21. $vamtam_theme_customizer->add_section( array(
  22. 'title' => esc_html__( 'Global Typography', 'vamtam-consulting' ),
  23. 'id' => 'global-typography',
  24. 'description' => wp_kses_post( __( 'The options bellow are used for headings, titles and emphasizing text in different parts of the website.<br> Please note that some of the options for styling text are present in header, body and footer tabs as they are specific only to each area - for example, main menu, body general text, footer widget titles, etc.', 'vamtam-consulting' ) ),
  25. 'fields' => include $thispath . 'global-typography.php',
  26. ) );
  27. $vamtam_theme_customizer->add_section( array(
  28. 'title' => esc_html__( 'Top Bar', 'vamtam-consulting' ),
  29. 'id' => 'top-bar',
  30. 'description' => '',
  31. 'fields' => include $thispath . 'top-bar.php',
  32. ) );
  33. $vamtam_theme_customizer->add_section( array(
  34. 'title' => esc_html__( 'Header', 'vamtam-consulting' ),
  35. 'id' => 'header',
  36. 'description' => '',
  37. 'fields' => include $thispath . 'header.php',
  38. ) );
  39. $vamtam_theme_customizer->add_section( array(
  40. 'title' => esc_html__( 'Body', 'vamtam-consulting' ),
  41. 'id' => 'body',
  42. 'description' => '',
  43. 'fields' => include $thispath . 'body.php',
  44. ) );
  45. $vamtam_theme_customizer->add_section( array(
  46. 'title' => esc_html__( 'Footer', 'vamtam-consulting' ),
  47. 'id' => 'footer',
  48. 'description' => '',
  49. 'fields' => include $thispath . 'footer.php',
  50. ) );