global-typography.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?php
  2. /**
  3. * Theme options / Styles / General Typography
  4. *
  5. * @package vamtam/consulting
  6. */
  7. return array(
  8. array(
  9. 'label' => esc_html__( 'Headlines', 'vamtam-consulting' ),
  10. 'type' => 'heading',
  11. 'id' => 'styles-typography-headlines',
  12. ),
  13. array(
  14. 'label' => esc_html__( 'H1', 'vamtam-consulting' ),
  15. 'id' => 'h1',
  16. 'type' => 'typography',
  17. 'compiler' => true,
  18. 'transport' => 'postMessage',
  19. ),
  20. array(
  21. 'label' => esc_html__( 'H2', 'vamtam-consulting' ),
  22. 'id' => 'h2',
  23. 'type' => 'typography',
  24. 'compiler' => true,
  25. 'transport' => 'postMessage',
  26. ),
  27. array(
  28. 'label' => esc_html__( 'H3', 'vamtam-consulting' ),
  29. 'id' => 'h3',
  30. 'type' => 'typography',
  31. 'compiler' => true,
  32. 'transport' => 'postMessage',
  33. ),
  34. array(
  35. 'label' => esc_html__( 'H4', 'vamtam-consulting' ),
  36. 'id' => 'h4',
  37. 'type' => 'typography',
  38. 'compiler' => true,
  39. 'transport' => 'postMessage',
  40. ),
  41. array(
  42. 'label' => esc_html__( 'H5', 'vamtam-consulting' ),
  43. 'id' => 'h5',
  44. 'type' => 'typography',
  45. 'compiler' => true,
  46. 'transport' => 'postMessage',
  47. ),
  48. array(
  49. 'label' => esc_html__( 'H6', 'vamtam-consulting' ),
  50. 'id' => 'h6',
  51. 'type' => 'typography',
  52. 'compiler' => true,
  53. 'transport' => 'postMessage',
  54. ),
  55. array(
  56. 'label' => esc_html__( 'Additional Fonts', 'vamtam-consulting' ),
  57. 'type' => 'heading',
  58. 'id' => 'styles-typography-additional',
  59. ),
  60. array(
  61. 'label' => esc_html__( 'Emphasis Font', 'vamtam-consulting' ),
  62. 'id' => 'em',
  63. 'type' => 'typography',
  64. 'compiler' => true,
  65. 'transport' => 'postMessage',
  66. ),
  67. array(
  68. 'label' => esc_html__( 'Style 1', 'vamtam-consulting' ),
  69. 'id' => 'additional-font-1',
  70. 'type' => 'typography',
  71. 'compiler' => true,
  72. 'transport' => 'postMessage',
  73. ),
  74. array(
  75. 'label' => esc_html__( 'Style 2', 'vamtam-consulting' ),
  76. 'id' => 'additional-font-2',
  77. 'type' => 'typography',
  78. 'compiler' => true,
  79. 'transport' => 'postMessage',
  80. ),
  81. array(
  82. 'label' => esc_html__( 'Google Fonts Options', 'vamtam-consulting' ),
  83. 'type' => 'heading',
  84. 'id' => 'styles-typography-gfonts',
  85. ),
  86. array(
  87. 'label' => esc_html__( 'Subsets', 'vamtam-consulting' ),
  88. 'id' => 'gfont-subsets',
  89. 'type' => 'multicheck',
  90. 'transport' => 'postMessage',
  91. 'choices' => vamtam_get_google_fonts_subsets(),
  92. ),
  93. );