body.php 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?php
  2. /**
  3. * Theme options / Layout / Body
  4. *
  5. * @package vamtam/consulting
  6. */
  7. return array(
  8. array(
  9. 'label' => esc_html__( 'Side Widget Areas', 'vamtam-consulting' ),
  10. 'type' => 'heading',
  11. 'id' => 'layout-body-regular-sidebars',
  12. ),
  13. array(
  14. 'label' => esc_html__( 'Left', 'vamtam-consulting' ),
  15. 'id' => 'left-sidebar-width',
  16. 'type' => 'select',
  17. 'choices' => array(
  18. '33.333333' => '1/3',
  19. '20' => '1/5',
  20. '25' => '1/4',
  21. ),
  22. 'compiler' => true,
  23. 'transport' => 'postMessage',
  24. ),
  25. array(
  26. 'label' => esc_html__( 'Right', 'vamtam-consulting' ),
  27. 'description' => wp_kses_post( sprintf( __( 'The width of the sidebars is a percentage of the website width. 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/' ) ),
  28. 'id' => 'right-sidebar-width',
  29. 'type' => 'select',
  30. 'choices' => array(
  31. '33.333333' => '1/3',
  32. '20' => '1/5',
  33. '25' => '1/4',
  34. ),
  35. 'compiler' => true,
  36. 'transport' => 'postMessage',
  37. ),
  38. array(
  39. 'label' => esc_html__( 'Styles', 'vamtam-consulting' ),
  40. 'type' => 'heading',
  41. 'id' => 'body-styles',
  42. ),
  43. array(
  44. 'label' => esc_html__( 'Body Background', 'vamtam-consulting' ),
  45. 'description' => esc_html__( 'If you want to use an image as a background, enabling the cover button will resize and crop the image so that it will always fit the browser window on any resolution. If the color opacity is less than 1 the page background underneath will be visible.', 'vamtam-consulting' ),
  46. 'id' => 'main-background',
  47. 'type' => 'background',
  48. 'compiler' => true,
  49. 'transport' => 'postMessage',
  50. ),
  51. array(
  52. 'label' => esc_html__( 'Hide the Background Image on Lower Resolutions', 'vamtam-consulting' ),
  53. 'id' => 'main-background-hide-lowres',
  54. 'type' => 'switch',
  55. 'transport' => 'postMessage',
  56. ),
  57. array(
  58. 'label' => esc_html__( 'Body Font', 'vamtam-consulting' ),
  59. 'description' => esc_html__( 'This is the general font used in the body and the sidebars. Please note that the styles of the heading fonts are located in the general typography tab.', 'vamtam-consulting' ),
  60. 'id' => 'primary-font',
  61. 'type' => 'typography',
  62. 'compiler' => true,
  63. 'transport' => 'postMessage',
  64. ),
  65. array(
  66. 'label' => esc_html__( 'Links', 'vamtam-consulting' ),
  67. 'type' => 'color-row',
  68. 'id' => 'body-link',
  69. 'choices' => array(
  70. 'regular' => esc_html__( 'Regular:', 'vamtam-consulting' ),
  71. 'hover' => esc_html__( 'Hover:', 'vamtam-consulting' ),
  72. 'visited' => esc_html__( 'Visited:', 'vamtam-consulting' ),
  73. 'active' => esc_html__( 'Active:', 'vamtam-consulting' ),
  74. ),
  75. 'compiler' => true,
  76. 'transport' => 'postMessage',
  77. ),
  78. );