post-formats.php 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <?php
  2. /**
  3. * Vamtam Post Format Options
  4. *
  5. * @package vamtam/consulting
  6. */
  7. return array(
  8. array(
  9. 'name' => esc_html__( 'Standard', 'vamtam-consulting' ),
  10. 'type' => 'separator',
  11. 'tab_class' => 'vamtam-post-format-0',
  12. ),
  13. array(
  14. 'name' => esc_html__( 'How do I use standard post format?', 'vamtam-consulting' ),
  15. 'desc' => esc_html__( 'Just use the editor below.', 'vamtam-consulting' ),
  16. 'type' => 'info',
  17. 'visible' => true,
  18. ),
  19. // --
  20. array(
  21. 'name' => esc_html__( 'Aside', 'vamtam-consulting' ),
  22. 'type' => 'separator',
  23. 'tab_class' => 'vamtam-post-format-aside',
  24. ),
  25. array(
  26. 'name' => esc_html__( 'How do I use aside post format?', 'vamtam-consulting' ),
  27. 'desc' => esc_html__( 'Just use the editor below. The post title will not be shown publicly.', 'vamtam-consulting' ),
  28. 'type' => 'info',
  29. 'visible' => true,
  30. ),
  31. // --
  32. array(
  33. 'name' => esc_html__( 'Link', 'vamtam-consulting' ),
  34. 'type' => 'separator',
  35. 'tab_class' => 'vamtam-post-format-link',
  36. ),
  37. array(
  38. 'name' => esc_html__( 'How do I use link post format?', 'vamtam-consulting' ),
  39. 'desc' => esc_html__( 'Use the editor below for the post body, put the link in the option below.', 'vamtam-consulting' ),
  40. 'type' => 'info',
  41. 'visible' => true,
  42. ),
  43. array(
  44. 'name' => esc_html__( 'Link', 'vamtam-consulting' ),
  45. 'id' => 'vamtam-post-format-link',
  46. 'type' => 'text',
  47. ),
  48. // --
  49. array(
  50. 'name' => esc_html__( 'Image', 'vamtam-consulting' ),
  51. 'type' => 'separator',
  52. 'tab_class' => 'vamtam-post-format-image',
  53. ),
  54. array(
  55. 'name' => esc_html__( 'How do I use image post format?', 'vamtam-consulting' ),
  56. 'desc' => esc_html__( 'Use the standard Featured Image option.', 'vamtam-consulting' ),
  57. 'type' => 'info',
  58. 'visible' => true,
  59. ),
  60. // --
  61. array(
  62. 'name' => esc_html__( 'Video', 'vamtam-consulting' ),
  63. 'type' => 'separator',
  64. 'tab_class' => 'vamtam-post-format-video',
  65. ),
  66. array(
  67. 'name' => esc_html__( 'How do I use video post format?', 'vamtam-consulting' ),
  68. 'desc' => esc_html__( 'Put the url of the video below. You must use an oEmbed provider supported by WordPress or a file supported by the [video] shortcode which comes with WordPress.', 'vamtam-consulting' ),
  69. 'type' => 'info',
  70. 'visible' => true,
  71. ),
  72. array(
  73. 'name' => esc_html__( 'Link', 'vamtam-consulting' ),
  74. 'id' => 'vamtam-post-format-video-link',
  75. 'type' => 'text',
  76. ),
  77. // --
  78. array(
  79. 'name' => esc_html__( 'Audio', 'vamtam-consulting' ),
  80. 'type' => 'separator',
  81. 'tab_class' => 'vamtam-post-format-audio',
  82. ),
  83. array(
  84. 'name' => esc_html__( 'How do I use auido post format?', 'vamtam-consulting' ),
  85. 'desc' => esc_html__( 'Put the url of the audio below. You must use an oEmbed provider supported by WordPress or a file supported by the [audio] shortcode which comes with WordPress.', 'vamtam-consulting' ),
  86. 'type' => 'info',
  87. 'visible' => true,
  88. ),
  89. array(
  90. 'name' => esc_html__( 'Link', 'vamtam-consulting' ),
  91. 'id' => 'vamtam-post-format-audio-link',
  92. 'type' => 'text',
  93. ),
  94. // --
  95. array(
  96. 'name' => esc_html__( 'Quote', 'vamtam-consulting' ),
  97. 'type' => 'separator',
  98. 'tab_class' => 'vamtam-post-format-quote',
  99. ),
  100. array(
  101. 'name' => esc_html__( 'How do I use quote post format?', 'vamtam-consulting' ),
  102. 'desc' => esc_html__( 'Simply fill in author and link fields', 'vamtam-consulting' ),
  103. 'type' => 'info',
  104. 'visible' => true,
  105. ),
  106. array(
  107. 'name' => esc_html__( 'Author', 'vamtam-consulting' ),
  108. 'id' => 'vamtam-post-format-quote-author',
  109. 'type' => 'text',
  110. ),
  111. array(
  112. 'name' => esc_html__( 'Link', 'vamtam-consulting' ),
  113. 'id' => 'vamtam-post-format-quote-link',
  114. 'type' => 'text',
  115. ),
  116. // --
  117. array(
  118. 'name' => esc_html__( 'Gallery', 'vamtam-consulting' ),
  119. 'type' => 'separator',
  120. 'tab_class' => 'vamtam-post-format-gallery',
  121. ),
  122. array(
  123. 'name' => esc_html__( 'How do I use gallery post format?', 'vamtam-consulting' ),
  124. 'desc' => esc_html__( 'Use the "Add Media" in a text/image block element to create a gallery.This button is also found in the top left side of the visual and text editors.', 'vamtam-consulting' ),
  125. 'type' => 'info',
  126. 'visible' => true,
  127. ),
  128. // --
  129. array(
  130. 'name' => esc_html__( 'Status', 'vamtam-consulting' ),
  131. 'type' => 'separator',
  132. 'tab_class' => 'vamtam-post-format-status',
  133. ),
  134. array(
  135. 'name' => esc_html__( 'How do I use this post format?', 'vamtam-consulting' ),
  136. 'desc' => esc_html__( '...', 'vamtam-consulting' ),
  137. 'type' => 'info',
  138. 'visible' => true,
  139. ),
  140. );