Guest User

Time Field Not Saving

a guest
Dec 29th, 2025
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.48 KB | None | 0 0
  1. {
  2. "$schema": "https://schemas.metabox.io/field-group.json",
  3. "autosave": true,
  4. "custom_settings": {
  5. "tab_style": {
  6. "id": "tab_style",
  7. "key": "tab_style",
  8. "value": "left"
  9. },
  10. "tab_default_active": {
  11. "id": "tab_default_active",
  12. "key": "tab_default_active",
  13. "value": ""
  14. },
  15. "tab_remember": {
  16. "id": "tab_remember",
  17. "key": "tab_remember",
  18. "value": false
  19. }
  20. },
  21. "default_hidden": false,
  22. "fields": [
  23. {
  24. "type": "heading",
  25. "name": "Adresse",
  26. "desc": "Wo findet das Event statt?",
  27. "tab": "tab_event_details"
  28. },
  29. {
  30. "name": "Adresse",
  31. "id": "event_adresse",
  32. "type": "text",
  33. "columns": 6,
  34. "limit_type": "character",
  35. "tab": "tab_event_details"
  36. },
  37. {
  38. "name": "Location",
  39. "id": "location",
  40. "type": "text",
  41. "columns": 6,
  42. "limit_type": "character",
  43. "tab": "tab_event_details"
  44. },
  45. {
  46. "type": "heading",
  47. "name": "Datum",
  48. "desc": "Wann findet das Event statt?",
  49. "tab": "tab_event_details"
  50. },
  51. {
  52. "id": "event_start",
  53. "type": "date",
  54. "label_description": "Wann beginnt das Event?",
  55. "placeholder": "01-01-2026",
  56. "save_format": "Y-m-d",
  57. "inline": false,
  58. "js_options": {
  59. "dateFormat": "dd. MM yy"
  60. },
  61. "columns": 3,
  62. "format": "dd-mm-yy",
  63. "prepend": "Beginnt am:",
  64. "tab": "tab_event_details"
  65. },
  66. {
  67. "id": "event_time_start",
  68. "type": "time",
  69. "label_description": "Um wie viel Uhr beginnt das Event?",
  70. "placeholder": "09:00",
  71. "timestamp": true,
  72. "inline": false,
  73. "columns": 3,
  74. "prepend": "Beginnt um:",
  75. "tab": "tab_event_details"
  76. },
  77. {
  78. "id": "event_ende",
  79. "type": "date",
  80. "label_description": "Wann endet das Event? (optional)",
  81. "placeholder": "31-12-2026",
  82. "save_format": "Y-m-d",
  83. "inline": false,
  84. "js_options": {
  85. "dateFormat": "dd. MM yy"
  86. },
  87. "columns": 3,
  88. "format": "dd-mm-yy",
  89. "prepend": "Endet am:",
  90. "tab": "tab_event_details"
  91. },
  92. {
  93. "id": "event_time_end",
  94. "type": "time",
  95. "label_description": "Um wie viel Uhr endet das Event?",
  96. "placeholder": "12:00",
  97. "timestamp": true,
  98. "inline": false,
  99. "js_options": {
  100. "timeFormat": "HH:mm"
  101. },
  102. "columns": 3,
  103. "prepend": "Endet um:",
  104. "tab": "tab_event_details"
  105. },
  106. {
  107. "type": "select",
  108. "id": "event_type",
  109. "name": "Event Typ",
  110. "options": {
  111. "BusinessEvent": "BusinessEvent",
  112. "ChildrensEvent": "ChildrensEvent",
  113. "ComedyEvent": "ComedyEvent",
  114. "CourseInstance": "CourseInstance",
  115. "DanceEvent": "DanceEvent",
  116. "DeliveryEvent": "DeliveryEvent",
  117. "EducationEvent": "EducationEvent",
  118. "ExhibitionEvent": "ExhibitionEvent",
  119. "Festival": "Festival",
  120. "FoodEvent": "FoodEvent",
  121. "LiteraryEvent": "LiteraryEvent",
  122. "MusicEvent": "MusicEvent",
  123. "PublicationEvent": "PublicationEvent",
  124. "SaleEvent": "SaleEvent",
  125. "ScreeningEvent": "ScreeningEvent",
  126. "SocialEvent": "SocialEvent",
  127. "SportsEvent": "SportsEvent",
  128. "TheaterEvent": "TheaterEvent",
  129. "VisualArtsEvent": "VisualArtsEvent"
  130. },
  131. "label_description": "wichtig für Google Schema",
  132. "std": "BusinessEvent",
  133. "tab": "tab_event_details"
  134. },
  135. {
  136. "name": "Beschreibung",
  137. "id": "beschreibung",
  138. "type": "wysiwyg",
  139. "options": {
  140. "textarea_rows": 15
  141. },
  142. "limit_type": "character",
  143. "tab": "beschreibung_tab"
  144. },
  145. {
  146. "name": "Agenda",
  147. "id": "agendagroup",
  148. "type": "group",
  149. "clone": true,
  150. "sort_clone": true,
  151. "add_button": "weitere hinzufügen",
  152. "fields": [
  153. {
  154. "name": "Thema",
  155. "id": "agenda_thema",
  156. "type": "text",
  157. "limit_type": "character"
  158. },
  159. {
  160. "type": "switch",
  161. "id": "switch-agenda_beschreibung",
  162. "name": "Agenda/Thema Beschreibung?"
  163. },
  164. {
  165. "name": "Beschreibung",
  166. "id": "agenda_beschreibung",
  167. "type": "wysiwyg",
  168. "options": {
  169. "textarea_rows": 5,
  170. "media_buttons": false
  171. },
  172. "limit_type": "character",
  173. "visible": [
  174. "switch-agenda_beschreibung",
  175. true
  176. ]
  177. },
  178. {
  179. "type": "switch",
  180. "id": "switch_speaker",
  181. "name": "Speaker?"
  182. },
  183. {
  184. "name": "Foto",
  185. "id": "foto",
  186. "type": "single_image",
  187. "columns": 2,
  188. "visible": [
  189. "switch_speaker",
  190. true
  191. ]
  192. },
  193. {
  194. "name": "Name",
  195. "id": "name",
  196. "type": "text",
  197. "columns": 4,
  198. "limit_type": "character",
  199. "visible": [
  200. "switch_speaker",
  201. true
  202. ]
  203. },
  204. {
  205. "name": "Unternehmen",
  206. "id": "unternehmen",
  207. "type": "text",
  208. "columns": 4,
  209. "limit_type": "character",
  210. "visible": [
  211. "switch_speaker",
  212. true
  213. ]
  214. },
  215. {
  216. "name": "Uhrzeit",
  217. "id": "uhrzeit",
  218. "type": "time",
  219. "inline": false,
  220. "columns": 2,
  221. "visible": [
  222. "switch_speaker",
  223. true
  224. ]
  225. }
  226. ],
  227. "tab": "agenda"
  228. },
  229. {
  230. "type": "switch",
  231. "id": "switch_moderation",
  232. "name": "Moderation?",
  233. "tab": "moderation"
  234. },
  235. {
  236. "name": "Foto",
  237. "id": "moderation_foto",
  238. "type": "single_image",
  239. "columns": 2,
  240. "visible": [
  241. "switch_moderation",
  242. "!=",
  243. ""
  244. ],
  245. "tab": "moderation"
  246. },
  247. {
  248. "name": "Name",
  249. "id": "moderation_name",
  250. "type": "text",
  251. "columns": 2,
  252. "limit_type": "character",
  253. "visible": [
  254. "switch_moderation",
  255. "!=",
  256. ""
  257. ],
  258. "tab": "moderation"
  259. },
  260. {
  261. "name": "Unternehmen",
  262. "id": "moderation_unternehmen",
  263. "type": "text",
  264. "columns": 2,
  265. "limit_type": "character",
  266. "visible": [
  267. "switch_moderation",
  268. "!=",
  269. ""
  270. ],
  271. "tab": "moderation"
  272. },
  273. {
  274. "type": "wysiwyg",
  275. "id": "moderation_beschreibung",
  276. "name": "Beschreibung / Biographie",
  277. "options": {
  278. "media_buttons": false,
  279. "textarea_rows": 5
  280. },
  281. "columns": 6,
  282. "visible": [
  283. "switch_moderation",
  284. "!=",
  285. ""
  286. ],
  287. "tab": "moderation"
  288. },
  289. {
  290. "type": "text",
  291. "id": "anmeldung_uberschrift",
  292. "name": "Anmeldung Überschrift",
  293. "tab": "formular_anmeldung"
  294. },
  295. {
  296. "type": "wysiwyg",
  297. "id": "infos_anmeldung",
  298. "name": "Informationen zur Anmeldung",
  299. "label_description": "Wenn nicht benötigt, dann leer lassen.",
  300. "tab": "formular_anmeldung"
  301. },
  302. {
  303. "type": "text",
  304. "id": "formular_shortcode",
  305. "name": "Formular Shortcode",
  306. "label_description": "Kopiere hier den Shortcode für das Formulars ein. Siehe WS Form",
  307. "placeholder": "[ws_form id=\"17\"]",
  308. "prepend": "Füge hier den Shortcode ein:",
  309. "tab": "formular_anmeldung"
  310. },
  311. {
  312. "type": "wysiwyg",
  313. "id": "weitere_informationen",
  314. "name": "Weitere Informationen",
  315. "label_description": "Hier können weitere Informationen/Details zum Event geteilt werden und Formulare eingefügt werden.",
  316. "tab": "weitere_informatioen"
  317. }
  318. ],
  319. "id": "events",
  320. "modified": 1767022722,
  321. "post_types": [
  322. "events"
  323. ],
  324. "tab_style": "left",
  325. "tabs": {
  326. "tab_event_details": "Event Details",
  327. "beschreibung_tab": "Beschreibung",
  328. "agenda": "Agenda",
  329. "moderation": "Moderation",
  330. "formular_anmeldung": "Formular/Anmeldung",
  331. "weitere_informatioen": "Weitere Informatioen"
  332. },
  333. "title": "Events"
  334. }
Advertisement
Add Comment
Please, Sign In to add comment