section.php 1002 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. global $vamtam_theme_customizer;
  3. $thispath = VAMTAM_OPTIONS . 'general/';
  4. $vamtam_theme_customizer->add_section( array(
  5. 'title' => esc_html__( 'General', 'vamtam-consulting' ),
  6. 'description' => '',
  7. 'id' => 'general',
  8. ) );
  9. $vamtam_theme_customizer->add_section( array(
  10. 'title' => esc_html__( 'General', 'vamtam-consulting' ),
  11. 'description' => '',
  12. 'id' => 'general-general',
  13. 'subsection' => true,
  14. 'fields' => include $thispath . 'general.php',
  15. ) );
  16. $vamtam_theme_customizer->add_section( array(
  17. 'title' => esc_html__( 'Posts', 'vamtam-consulting' ),
  18. 'description' => '',
  19. 'id' => 'general-posts',
  20. 'subsection' => true,
  21. 'fields' => include $thispath . 'posts.php',
  22. ) );
  23. $vamtam_theme_customizer->add_section( array(
  24. 'title' => esc_html__( 'Projects', 'vamtam-consulting' ),
  25. 'description' => '',
  26. 'id' => 'general-projects',
  27. 'subsection' => true,
  28. 'fields' => include $thispath . 'projects.php',
  29. ) );