top-bar.php 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. <?php
  2. return array(
  3. array(
  4. 'label' => esc_html__( 'Layout', 'vamtam-consulting' ),
  5. 'id' => 'top-bar-layout',
  6. 'type' => 'select',
  7. 'transport' => 'postMessage',
  8. 'choices' => vamtam_get_beaver_layouts( array(
  9. '' => esc_html__( 'Disabled', 'vamtam-consulting' ),
  10. 'menu-social' => esc_html__( 'Left: Menu, Right: Social Icons', 'vamtam-consulting' ),
  11. 'social-menu' => esc_html__( 'Left: Social Icons, Right: Menu', 'vamtam-consulting' ),
  12. 'text-menu' => esc_html__( 'Left: Text, Right: Menu', 'vamtam-consulting' ),
  13. 'menu-text' => esc_html__( 'Left: Menu, Right: Text', 'vamtam-consulting' ),
  14. 'social-text' => esc_html__( 'Left: Social Icons, Right: Text', 'vamtam-consulting' ),
  15. 'text-social' => esc_html__( 'Left: Text, Right: Social Icons', 'vamtam-consulting' ),
  16. 'fulltext' => esc_html__( 'Text only', 'vamtam-consulting' ),
  17. 'none' => esc_html__( '--- Builder Templates: ---', 'vamtam-consulting' ),
  18. ), 'beaver-' ),
  19. ),
  20. array(
  21. 'label' => esc_html__( 'Text', 'vamtam-consulting' ),
  22. 'description' => esc_html__( 'You can place plain text, HTML and shortcodes.', 'vamtam-consulting' ),
  23. 'id' => 'top-bar-text',
  24. 'type' => 'textarea',
  25. 'transport' => 'postMessage',
  26. ),
  27. array(
  28. 'label' => esc_html__( 'Social Text Lead', 'vamtam-consulting' ),
  29. 'id' => 'top-bar-social-lead',
  30. 'type' => 'text',
  31. 'transport' => 'postMessage',
  32. ),
  33. array(
  34. 'label' => esc_html__( 'Facebook Link', 'vamtam-consulting' ),
  35. 'id' => 'top-bar-social-fb',
  36. 'type' => 'text',
  37. 'transport' => 'postMessage',
  38. ),
  39. array(
  40. 'label' => esc_html__( 'Twitter Link', 'vamtam-consulting' ),
  41. 'id' => 'top-bar-social-twitter',
  42. 'type' => 'text',
  43. 'transport' => 'postMessage',
  44. ),
  45. array(
  46. 'label' => esc_html__( 'LinkedIn Link', 'vamtam-consulting' ),
  47. 'id' => 'top-bar-social-linkedin',
  48. 'type' => 'text',
  49. 'transport' => 'postMessage',
  50. ),
  51. array(
  52. 'label' => esc_html__( 'Google+ Link', 'vamtam-consulting' ),
  53. 'id' => 'top-bar-social-gplus',
  54. 'type' => 'text',
  55. 'transport' => 'postMessage',
  56. ),
  57. array(
  58. 'label' => esc_html__( 'Flickr Link', 'vamtam-consulting' ),
  59. 'id' => 'top-bar-social-flickr',
  60. 'type' => 'text',
  61. 'transport' => 'postMessage',
  62. ),
  63. array(
  64. 'label' => esc_html__( 'Pinterest Link', 'vamtam-consulting' ),
  65. 'id' => 'top-bar-social-pinterest',
  66. 'type' => 'text',
  67. 'transport' => 'postMessage',
  68. ),
  69. array(
  70. 'label' => esc_html__( 'Dribbble Link', 'vamtam-consulting' ),
  71. 'id' => 'top-bar-social-dribbble',
  72. 'type' => 'text',
  73. 'transport' => 'postMessage',
  74. ),
  75. array(
  76. 'label' => esc_html__( 'Instagram Link', 'vamtam-consulting' ),
  77. 'id' => 'top-bar-social-instagram',
  78. 'type' => 'text',
  79. 'transport' => 'postMessage',
  80. ),
  81. array(
  82. 'label' => esc_html__( 'YouTube Link', 'vamtam-consulting' ),
  83. 'id' => 'top-bar-social-youtube',
  84. 'type' => 'text',
  85. 'transport' => 'postMessage',
  86. ),
  87. array(
  88. 'label' => esc_html__( 'Vimeo Link', 'vamtam-consulting' ),
  89. 'id' => 'top-bar-social-vimeo',
  90. 'type' => 'text',
  91. 'transport' => 'postMessage',
  92. ),
  93. array(
  94. 'label' => esc_html__( 'Background', 'vamtam-consulting' ),
  95. 'description' => wp_kses_post( __( '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.<br> If the color opacity is less than 1 the page background underneath will be visible.', 'vamtam-consulting' ) ),
  96. 'id' => 'top-nav-background',
  97. 'type' => 'background',
  98. 'transport' => 'postMessage',
  99. 'show' => array(
  100. 'background-attachment' => false,
  101. 'background-position' => false,
  102. ),
  103. ),
  104. array(
  105. 'label' => esc_html__( 'Colors', 'vamtam-consulting' ),
  106. 'type' => 'color-row',
  107. 'id' => 'css-tophead',
  108. 'choices' => array(
  109. 'text-color' => esc_html__( 'Text Color:', 'vamtam-consulting' ),
  110. 'link-color' => esc_html__( 'Link Color:', 'vamtam-consulting' ),
  111. 'link-hover-color' => esc_html__( 'Link Hover Color:', 'vamtam-consulting' ),
  112. ),
  113. 'compiler' => true,
  114. 'transport' => 'postMessage',
  115. ),
  116. array(
  117. 'label' => esc_html__( 'Sub-Menus', 'vamtam-consulting' ),
  118. 'type' => 'color-row',
  119. 'id' => 'submenu',
  120. 'choices' => array(
  121. 'background' => esc_html__( 'Background:', 'vamtam-consulting' ),
  122. 'color' => esc_html__( 'Text Normal Color:', 'vamtam-consulting' ),
  123. 'hover-color' => esc_html__( 'Text Hover Color:', 'vamtam-consulting' ),
  124. ),
  125. 'compiler' => true,
  126. 'transport' => 'postMessage',
  127. ),
  128. );