global-layout.php 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. /**
  3. * Theme options / Layout / General
  4. *
  5. * @package vamtam/consulting
  6. */
  7. return array(
  8. array(
  9. 'label' => esc_html__( 'Layout Type', 'vamtam-consulting' ),
  10. 'description' => esc_html__( 'Please note that in full width layout mode, the body background option found in Styles - Body, acts as page background.', 'vamtam-consulting' ),
  11. 'id' => 'site-layout-type',
  12. 'type' => 'radio',
  13. 'choices' => array(
  14. 'boxed' => esc_html__( 'Boxed', 'vamtam-consulting' ),
  15. 'full' => esc_html__( 'Full width', 'vamtam-consulting' ),
  16. ),
  17. ),
  18. array(
  19. 'label' => esc_html__( 'Boxed Layout Padding', 'vamtam-consulting' ),
  20. 'description' => esc_html__( 'Add padding between the edge of the box and the page content. Only used on VamTam Builder pages.', 'vamtam-consulting' ),
  21. 'id' => 'boxed-layout-padding',
  22. 'type' => 'switch',
  23. ),
  24. array(
  25. 'label' => esc_html__( 'Maximum Page Width', 'vamtam-consulting' ),
  26. 'description' => wp_kses_post( sprintf( __( 'If you have changed this option, please use the <a href="%s" title="Regenerate thumbnails" target="_blank">Regenerate thumbnails</a> plugin in order to update your images.', 'vamtam-consulting' ), 'http://wordpress.org/extend/plugins/regenerate-thumbnails/' ) ),
  27. 'id' => 'site-max-width',
  28. 'type' => 'radio',
  29. 'choices' => array(
  30. 1140 => '1140px',
  31. 1260 => '1260px',
  32. 1400 => '1400px',
  33. ),
  34. 'compiler' => true,
  35. 'transport' => 'postMessage',
  36. ),
  37. );