Advertisement
Guest User

Meta Box Field Groups

a guest
May 30th, 2022
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.38 KB | None | 0 0
  1. [
  2. {
  3. "ID": 125,
  4. "post_author": "1",
  5. "post_date": "2021-09-06 16:21:05",
  6. "post_date_gmt": "2021-09-06 14:21:05",
  7. "post_content": "",
  8. "post_title": "Médias-Textes-Fields",
  9. "post_excerpt": "",
  10. "post_status": "publish",
  11. "comment_status": "closed",
  12. "ping_status": "closed",
  13. "post_password": "",
  14. "post_name": "media-textes",
  15. "to_ping": "",
  16. "pinged": "",
  17. "post_modified": "2021-09-08 20:45:11",
  18. "post_modified_gmt": "2021-09-08 18:45:11",
  19. "post_content_filtered": "",
  20. "post_parent": 0,
  21. "guid": "https://delacrau.com/?post_type=meta-box&p=125",
  22. "menu_order": 0,
  23. "post_type": "meta-box",
  24. "post_mime_type": "",
  25. "comment_count": "0",
  26. "filter": "raw",
  27. "settings": {
  28. "object_type": "post",
  29. "post_types": [
  30. "media-texte"
  31. ],
  32. "context": "normal",
  33. "priority": "high",
  34. "style": "default",
  35. "tab_style": "",
  36. "tab_default_active": "",
  37. "custom_table": {
  38. "name": ""
  39. },
  40. "class": "",
  41. "prefix": "",
  42. "text_domain": "your-text-domain",
  43. "function_name": "your_prefix_function_name"
  44. },
  45. "fields": {
  46. "text_rzyhaa24btr": {
  47. "_id": "text_rzyhaa24btr",
  48. "_state": "collapsed",
  49. "name": "Nom du Titre",
  50. "id": "dlc_media_texte_titre",
  51. "type": "text",
  52. "label_description": "Nom du titre dont les paroles sont traduites",
  53. "desc": "",
  54. "std": "",
  55. "placeholder": "Chaman",
  56. "size": "",
  57. "required": true,
  58. "prepend": "",
  59. "append": "",
  60. "datalist_choices": "",
  61. "max_clone": "",
  62. "add_button": "",
  63. "admin_columns": {
  64. "position": {
  65. "type": "after",
  66. "column": ""
  67. },
  68. "title": "",
  69. "before": "",
  70. "after": ""
  71. },
  72. "columns": 12,
  73. "tooltip": {
  74. "icon": "",
  75. "position": "top",
  76. "content": ""
  77. },
  78. "before": "",
  79. "after": "",
  80. "class": "",
  81. "sanitize_callback": "",
  82. "save_field": true
  83. },
  84. "text_1gfvhkaiwv4i": {
  85. "_id": "text_1gfvhkaiwv4i",
  86. "_state": "collapsed",
  87. "name": "Nom de l'Album",
  88. "id": "dlc_media_texte_album",
  89. "type": "text",
  90. "label_description": "Nom de l'album du titre dont les paroles sont traduites",
  91. "desc": "",
  92. "std": "",
  93. "placeholder": "Temperi",
  94. "size": "",
  95. "required": true,
  96. "prepend": "",
  97. "append": "",
  98. "datalist_choices": "",
  99. "max_clone": "",
  100. "add_button": "",
  101. "admin_columns": {
  102. "position": {
  103. "type": "after",
  104. "column": ""
  105. },
  106. "title": "",
  107. "before": "",
  108. "after": ""
  109. },
  110. "columns": 12,
  111. "tooltip": {
  112. "icon": "",
  113. "position": "top",
  114. "content": ""
  115. },
  116. "before": "",
  117. "after": "",
  118. "class": "",
  119. "sanitize_callback": "",
  120. "save_field": true
  121. },
  122. "text_kl5roun7myf": {
  123. "_id": "text_kl5roun7myf",
  124. "_state": "collapsed",
  125. "name": "Titre en Occitan",
  126. "id": "dlc_media_texte_titre_occitan",
  127. "type": "text",
  128. "label_description": "Titre en occitan",
  129. "desc": "",
  130. "std": "",
  131. "placeholder": "Titre en occitan",
  132. "size": "",
  133. "required": true,
  134. "prepend": "",
  135. "append": "",
  136. "datalist_choices": "",
  137. "max_clone": "",
  138. "add_button": "",
  139. "admin_columns": {
  140. "position": {
  141. "type": "after",
  142. "column": ""
  143. },
  144. "title": "",
  145. "before": "",
  146. "after": ""
  147. },
  148. "columns": 12,
  149. "tooltip": {
  150. "icon": "",
  151. "position": "top",
  152. "content": ""
  153. },
  154. "before": "",
  155. "after": "",
  156. "class": "",
  157. "sanitize_callback": "",
  158. "save_field": true
  159. },
  160. "textarea_lknn7khq7zd": {
  161. "_id": "textarea_lknn7khq7zd",
  162. "_state": "collapsed",
  163. "name": "Texte Occitan",
  164. "id": "dlc_media_texte_occitan",
  165. "type": "textarea",
  166. "label_description": "Texte en occitan (avec retours à la ligne)",
  167. "desc": "",
  168. "std": "",
  169. "placeholder": "Texte en occitan",
  170. "rows": 40,
  171. "cols": "",
  172. "required": true,
  173. "max_clone": "",
  174. "add_button": "",
  175. "admin_columns": {
  176. "position": {
  177. "type": "after",
  178. "column": ""
  179. },
  180. "title": "",
  181. "before": "",
  182. "after": ""
  183. },
  184. "columns": 12,
  185. "tooltip": {
  186. "icon": "",
  187. "position": "top",
  188. "content": ""
  189. },
  190. "before": "",
  191. "after": "",
  192. "class": "",
  193. "sanitize_callback": "",
  194. "save_field": true
  195. },
  196. "text_fz9djoms4r": {
  197. "_id": "text_fz9djoms4r",
  198. "_state": "collapsed",
  199. "name": "Titre en Français",
  200. "id": "dlc_media_texte_titre_francais",
  201. "type": "text",
  202. "label_description": "Titre en français",
  203. "desc": "",
  204. "std": "",
  205. "placeholder": "Titre en français",
  206. "size": "",
  207. "required": true,
  208. "prepend": "",
  209. "append": "",
  210. "datalist_choices": "",
  211. "max_clone": "",
  212. "add_button": "",
  213. "admin_columns": {
  214. "position": {
  215. "type": "after",
  216. "column": ""
  217. },
  218. "title": "",
  219. "before": "",
  220. "after": ""
  221. },
  222. "columns": 12,
  223. "tooltip": {
  224. "icon": "",
  225. "position": "top",
  226. "content": ""
  227. },
  228. "before": "",
  229. "after": "",
  230. "class": "",
  231. "sanitize_callback": "",
  232. "save_field": true
  233. },
  234. "textarea_cv6hhl38rw9": {
  235. "_id": "textarea_cv6hhl38rw9",
  236. "_state": "collapsed",
  237. "name": "Texte Français",
  238. "id": "dlc_media_texte_francais",
  239. "type": "textarea",
  240. "label_description": "Texte en français (avec retours à la ligne)",
  241. "desc": "",
  242. "std": "",
  243. "placeholder": "Texte en français",
  244. "rows": 40,
  245. "cols": "",
  246. "required": true,
  247. "max_clone": "",
  248. "add_button": "",
  249. "admin_columns": {
  250. "position": {
  251. "type": "after",
  252. "column": ""
  253. },
  254. "title": "",
  255. "before": "",
  256. "after": ""
  257. },
  258. "columns": 12,
  259. "tooltip": {
  260. "icon": "",
  261. "position": "top",
  262. "content": ""
  263. },
  264. "before": "",
  265. "after": "",
  266. "class": "",
  267. "sanitize_callback": "",
  268. "save_field": true
  269. },
  270. "text_u3y4oj2ctjf": {
  271. "_id": "text_u3y4oj2ctjf",
  272. "_state": "collapsed",
  273. "name": "Crédits Textes",
  274. "id": "dlc_media_texte_credits",
  275. "type": "text",
  276. "label_description": "Crédits pour l'écriture des textes",
  277. "desc": "",
  278. "std": "",
  279. "placeholder": "Sam Karpienia",
  280. "size": "",
  281. "required": true,
  282. "prepend": "",
  283. "append": "",
  284. "datalist_choices": "",
  285. "max_clone": "",
  286. "add_button": "",
  287. "admin_columns": {
  288. "position": {
  289. "type": "after",
  290. "column": ""
  291. },
  292. "title": "",
  293. "before": "",
  294. "after": ""
  295. },
  296. "columns": 12,
  297. "tooltip": {
  298. "icon": "",
  299. "position": "top",
  300. "content": ""
  301. },
  302. "before": "",
  303. "after": "",
  304. "class": "",
  305. "sanitize_callback": "",
  306. "save_field": true
  307. }
  308. },
  309. "data": {
  310. "tab_index": 0
  311. },
  312. "meta_box": {
  313. "title": "Médias-Textes-Fields",
  314. "id": "media-textes",
  315. "post_types": [
  316. "media-texte"
  317. ],
  318. "text_domain": "your-text-domain",
  319. "function_name": "your_prefix_function_name",
  320. "fields": [
  321. {
  322. "name": "Nom du Titre",
  323. "id": "dlc_media_texte_titre",
  324. "type": "text",
  325. "label_description": "Nom du titre dont les paroles sont traduites",
  326. "placeholder": "Chaman",
  327. "required": true
  328. },
  329. {
  330. "name": "Nom de l'Album",
  331. "id": "dlc_media_texte_album",
  332. "type": "text",
  333. "label_description": "Nom de l'album du titre dont les paroles sont traduites",
  334. "placeholder": "Temperi",
  335. "required": true
  336. },
  337. {
  338. "name": "Titre en Occitan",
  339. "id": "dlc_media_texte_titre_occitan",
  340. "type": "text",
  341. "label_description": "Titre en occitan",
  342. "placeholder": "Titre en occitan",
  343. "required": true
  344. },
  345. {
  346. "name": "Texte Occitan",
  347. "id": "dlc_media_texte_occitan",
  348. "type": "textarea",
  349. "label_description": "Texte en occitan (avec retours à la ligne)",
  350. "placeholder": "Texte en occitan",
  351. "rows": 40,
  352. "required": true
  353. },
  354. {
  355. "name": "Titre en Français",
  356. "id": "dlc_media_texte_titre_francais",
  357. "type": "text",
  358. "label_description": "Titre en français",
  359. "placeholder": "Titre en français",
  360. "required": true
  361. },
  362. {
  363. "name": "Texte Français",
  364. "id": "dlc_media_texte_francais",
  365. "type": "textarea",
  366. "label_description": "Texte en français (avec retours à la ligne)",
  367. "placeholder": "Texte en français",
  368. "rows": 40,
  369. "required": true
  370. },
  371. {
  372. "name": "Crédits Textes",
  373. "id": "dlc_media_texte_credits",
  374. "type": "text",
  375. "label_description": "Crédits pour l'écriture des textes",
  376. "placeholder": "Sam Karpienia",
  377. "required": true
  378. }
  379. ]
  380. }
  381. },
  382. {
  383. "ID": 88,
  384. "post_author": "1",
  385. "post_date": "2021-09-06 12:51:17",
  386. "post_date_gmt": "2021-09-06 10:51:17",
  387. "post_content": "",
  388. "post_title": "Médias-Photos-Fields",
  389. "post_excerpt": "",
  390. "post_status": "publish",
  391. "comment_status": "closed",
  392. "ping_status": "closed",
  393. "post_password": "",
  394. "post_name": "medias-photos",
  395. "to_ping": "",
  396. "pinged": "",
  397. "post_modified": "2022-05-29 23:03:22",
  398. "post_modified_gmt": "2022-05-29 21:03:22",
  399. "post_content_filtered": "",
  400. "post_parent": 0,
  401. "guid": "https://delacrau.com/?post_type=meta-box&p=88",
  402. "menu_order": 0,
  403. "post_type": "meta-box",
  404. "post_mime_type": "",
  405. "comment_count": "0",
  406. "filter": "raw",
  407. "settings": {
  408. "object_type": "post",
  409. "post_types": [
  410. ""
  411. ],
  412. "context": "normal",
  413. "priority": "high",
  414. "style": "default",
  415. "tab_style": "",
  416. "tab_default_active": "",
  417. "custom_table": {
  418. "name": ""
  419. },
  420. "class": "",
  421. "prefix": "",
  422. "text_domain": "your-text-domain",
  423. "function_name": "your_prefix_function_name"
  424. },
  425. "fields": {
  426. "text_a58eft7eevn": {
  427. "_id": "text_a58eft7eevn",
  428. "_state": "collapsed",
  429. "name": "Titre de la galerie",
  430. "id": "dlc_media_photos_titre",
  431. "type": "text",
  432. "label_description": "Titre à donner à la galerie (peut être le même que le titre de la publication)",
  433. "desc": "",
  434. "std": "",
  435. "placeholder": "Concert de Marseille",
  436. "size": "",
  437. "required": true,
  438. "prepend": "",
  439. "append": "",
  440. "datalist_choices": "",
  441. "max_clone": "",
  442. "add_button": "",
  443. "admin_columns": {
  444. "position": {
  445. "type": "after",
  446. "column": ""
  447. },
  448. "title": "",
  449. "before": "",
  450. "after": ""
  451. },
  452. "columns": 12,
  453. "tooltip": {
  454. "icon": "",
  455. "position": "top",
  456. "content": ""
  457. },
  458. "before": "",
  459. "after": "",
  460. "class": "",
  461. "sanitize_callback": "",
  462. "save_field": true
  463. },
  464. "image_select_9ztvaxgrtvq": {
  465. "_id": "image_select_9ztvaxgrtvq",
  466. "_state": "collapsed",
  467. "name": "Image en couverture",
  468. "id": "dlc_media_photos_couverture",
  469. "type": "single_image",
  470. "label_description": "Image à utiliser en couverture de la galerie",
  471. "desc": "",
  472. "image_size": "medium",
  473. "required": true,
  474. "max_clone": "",
  475. "add_button": "",
  476. "admin_columns": {
  477. "position": {
  478. "type": "after",
  479. "column": ""
  480. },
  481. "title": "",
  482. "before": "",
  483. "after": ""
  484. },
  485. "columns": 12,
  486. "tooltip": {
  487. "icon": "",
  488. "position": "top",
  489. "content": ""
  490. },
  491. "before": "",
  492. "after": "",
  493. "class": "",
  494. "sanitize_callback": "",
  495. "save_field": true
  496. },
  497. "image_select_cp6kgxffjep": {
  498. "_id": "image_select_cp6kgxffjep",
  499. "_state": "expanded",
  500. "name": "Choix d'images à montrer",
  501. "id": "dlc_media_photos_choix",
  502. "type": "image_select",
  503. "label_description": "Choisir la/les photo(s) à grouper dans cette galerie",
  504. "desc": "",
  505. "options": "",
  506. "std": "",
  507. "required": true,
  508. "max_clone": "",
  509. "add_button": "",
  510. "admin_columns": {
  511. "position": {
  512. "type": "after",
  513. "column": ""
  514. },
  515. "title": "",
  516. "before": "",
  517. "after": ""
  518. },
  519. "columns": 12,
  520. "tooltip": {
  521. "icon": "",
  522. "position": "top",
  523. "content": ""
  524. },
  525. "before": "",
  526. "after": "",
  527. "class": "",
  528. "sanitize_callback": "",
  529. "save_field": true
  530. },
  531. "date_k3ua2acbduj": {
  532. "_id": "date_k3ua2acbduj",
  533. "_state": "collapsed",
  534. "name": "Date de l'évènement",
  535. "id": "dlc_media_photos_date",
  536. "type": "date",
  537. "label_description": "Date de l'évènement",
  538. "desc": "",
  539. "std": "",
  540. "placeholder": "",
  541. "size": "",
  542. "save_format": "",
  543. "max_clone": "",
  544. "add_button": "",
  545. "admin_columns": {
  546. "position": {
  547. "type": "after",
  548. "column": ""
  549. },
  550. "title": "",
  551. "before": "",
  552. "after": ""
  553. },
  554. "columns": 12,
  555. "tooltip": {
  556. "icon": "",
  557. "position": "top",
  558. "content": ""
  559. },
  560. "before": "",
  561. "after": "",
  562. "class": "",
  563. "sanitize_callback": "",
  564. "save_field": true
  565. },
  566. "text_o1jifpgzw6p": {
  567. "_id": "text_o1jifpgzw6p",
  568. "_state": "collapsed",
  569. "name": "Lieu",
  570. "id": "dlc_media_photos_lieu",
  571. "type": "text",
  572. "label_description": "Lieu de l'évènement",
  573. "desc": "",
  574. "std": "",
  575. "placeholder": "",
  576. "size": "",
  577. "prepend": "",
  578. "append": "",
  579. "datalist_choices": "",
  580. "max_clone": "",
  581. "add_button": "",
  582. "admin_columns": {
  583. "position": {
  584. "type": "after",
  585. "column": ""
  586. },
  587. "title": "",
  588. "before": "",
  589. "after": ""
  590. },
  591. "columns": 12,
  592. "tooltip": {
  593. "icon": "",
  594. "position": "top",
  595. "content": ""
  596. },
  597. "before": "",
  598. "after": "",
  599. "class": "",
  600. "sanitize_callback": "",
  601. "save_field": true
  602. },
  603. "text_scu0on9j94": {
  604. "_id": "text_scu0on9j94",
  605. "_state": "collapsed",
  606. "name": "Crédits photographiques",
  607. "id": "dlc_media_photos_credits",
  608. "type": "text",
  609. "label_description": "Personnes à créditer pour les photos",
  610. "desc": "",
  611. "std": "",
  612. "placeholder": "",
  613. "size": "",
  614. "prepend": "",
  615. "append": "",
  616. "datalist_choices": "",
  617. "max_clone": "",
  618. "add_button": "",
  619. "admin_columns": {
  620. "position": {
  621. "type": "after",
  622. "column": ""
  623. },
  624. "title": "",
  625. "before": "",
  626. "after": ""
  627. },
  628. "columns": 12,
  629. "tooltip": {
  630. "icon": "",
  631. "position": "top",
  632. "content": ""
  633. },
  634. "before": "",
  635. "after": "",
  636. "class": "",
  637. "sanitize_callback": "",
  638. "save_field": true
  639. }
  640. },
  641. "data": {
  642. "tab_index": 0
  643. },
  644. "meta_box": {
  645. "title": "Médias-Photos-Fields",
  646. "id": "medias-photos",
  647. "post_types": [
  648. ""
  649. ],
  650. "text_domain": "your-text-domain",
  651. "function_name": "your_prefix_function_name",
  652. "fields": [
  653. {
  654. "name": "Titre de la galerie",
  655. "id": "dlc_media_photos_titre",
  656. "type": "text",
  657. "label_description": "Titre à donner à la galerie (peut être le même que le titre de la publication)",
  658. "placeholder": "Concert de Marseille",
  659. "required": true
  660. },
  661. {
  662. "name": "Image en couverture",
  663. "id": "dlc_media_photos_couverture",
  664. "type": "single_image",
  665. "label_description": "Image à utiliser en couverture de la galerie",
  666. "image_size": "medium",
  667. "required": true
  668. },
  669. {
  670. "name": "Choix d'images à montrer",
  671. "id": "dlc_media_photos_choix",
  672. "type": "image_select",
  673. "label_description": "Choisir la/les photo(s) à grouper dans cette galerie",
  674. "required": true
  675. },
  676. {
  677. "name": "Date de l'évènement",
  678. "id": "dlc_media_photos_date",
  679. "type": "date",
  680. "label_description": "Date de l'évènement"
  681. },
  682. {
  683. "name": "Lieu",
  684. "id": "dlc_media_photos_lieu",
  685. "type": "text",
  686. "label_description": "Lieu de l'évènement"
  687. },
  688. {
  689. "name": "Crédits photographiques",
  690. "id": "dlc_media_photos_credits",
  691. "type": "text",
  692. "label_description": "Personnes à créditer pour les photos"
  693. }
  694. ]
  695. }
  696. }
  697. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement