Skip to content

Instantly share code, notes, and snippets.

@JLNNN
Created April 5, 2019 12:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JLNNN/2845cfe722382bb2556b30a244e90784 to your computer and use it in GitHub Desktop.
Save JLNNN/2845cfe722382bb2556b30a244e90784 to your computer and use it in GitHub Desktop.
{
"meta": {
"version": "2.7.12",
"build": 1554467925
},
"pods": {
"395": {
"id": 395,
"name": "project",
"label": "Projekte",
"description": "",
"type": "post_type",
"storage": "meta",
"object": "",
"alias": "",
"fields": {
"project_content": {
"id": 1145,
"name": "project_content",
"label": "Projekt Inhalt",
"description": "",
"help": "",
"class": "",
"type": "wysiwyg",
"weight": 0,
"pick_object": "",
"pick_val": "",
"sister_id": "",
"required": "0",
"wysiwyg_editor": "tinymce",
"wysiwyg_media_buttons": "1",
"wysiwyg_oembed": "0",
"wysiwyg_wptexturize": "1",
"wysiwyg_convert_chars": "1",
"wysiwyg_wpautop": "1",
"wysiwyg_allow_shortcode": "0",
"pick_post_status": ["publish"],
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": ["administrator"],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"wysiwyg_repeatable": "0",
"wysiwyg_allowed_html_tags": ""
},
"title_image": {
"id": 396,
"name": "title_image",
"label": "Titelbild",
"description": "",
"help": "",
"class": "",
"type": "file",
"weight": 1,
"pick_object": "custom-simple",
"pick_val": "",
"sister_id": "",
"required": "0",
"file_format_type": "single",
"file_uploader": "attachment",
"file_attachment_tab": "browse",
"file_edit_title": "1",
"file_show_edit_link": "0",
"file_linked": "0",
"file_limit": "0",
"file_restrict_filesize": "10MB",
"file_type": "images",
"file_field_template": "rows",
"file_add_button": "Bild hinzufügen",
"file_modal_title": "Bild hinzufügen",
"file_modal_add_button": "Bild hinzufügen",
"file_wp_gallery_output": "0",
"file_wp_gallery_link": "post",
"file_wp_gallery_columns": "1",
"file_wp_gallery_random_sort": "0",
"file_wp_gallery_size": "thumbnail",
"pick_post_status": ["publish"],
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": ["administrator"],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"file_allowed_extensions": ""
},
"customer": {
"id": 397,
"name": "customer",
"label": "Kunde",
"description": "",
"help": "",
"class": "",
"type": "pick",
"weight": 2,
"pick_object": "post_type",
"pick_val": "customer",
"sister_id": "",
"required": "0",
"pick_format_type": "single",
"pick_format_single": "dropdown",
"pick_format_multi": "checkbox",
"pick_allow_add_new": "1",
"pick_taggable": "0",
"pick_show_icon": "1",
"pick_show_edit_link": "1",
"pick_show_view_link": "1",
"pick_limit": "0",
"pick_user_role": [],
"pick_post_status": ["publish"],
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": ["administrator"],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"pick_select_text": "",
"pick_table_id": "",
"pick_table_index": "",
"pick_display": "",
"pick_where": "",
"pick_orderby": "",
"pick_groupby": ""
},
"skills": {
"id": 402,
"name": "skills",
"label": "Leistungen",
"description": "",
"help": "",
"class": "",
"type": "pick",
"weight": 3,
"pick_object": "post_type",
"pick_val": "skills",
"sister_id": "",
"required": "0",
"pick_format_type": "multi",
"pick_format_single": "dropdown",
"pick_format_multi": "checkbox",
"pick_allow_add_new": "1",
"pick_taggable": "0",
"pick_show_icon": "1",
"pick_show_edit_link": "1",
"pick_show_view_link": "1",
"pick_limit": "0",
"pick_user_role": [],
"pick_post_status": ["publish"],
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": ["administrator"],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"pick_select_text": "",
"pick_table_id": "",
"pick_table_index": "",
"pick_display": "",
"pick_where": "",
"pick_orderby": "",
"pick_groupby": ""
},
"project_start": {
"id": 1122,
"name": "project_start",
"label": "Projektstart",
"description": "",
"help": "",
"class": "",
"type": "date",
"weight": 4,
"pick_object": "",
"pick_val": "",
"sister_id": "",
"required": "0",
"date_type": "format",
"date_format": "dmy_dot",
"date_allow_empty": "1",
"date_html5": "0",
"pick_post_status": ["publish"],
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": ["administrator"],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"date_repeatable": "0",
"date_format_custom": "",
"date_format_custom_js": ""
},
"project_end": {
"id": 1123,
"name": "project_end",
"label": "Projektende",
"description": "",
"help": "",
"class": "",
"type": "date",
"weight": 5,
"pick_object": "",
"pick_val": "",
"sister_id": "",
"required": "0",
"date_type": "format",
"date_format": "dmy_dot",
"date_allow_empty": "1",
"date_html5": "0",
"pick_post_status": ["publish"],
"admin_only": "0",
"restrict_role": "0",
"restrict_capability": "0",
"hidden": "0",
"read_only": "0",
"roles_allowed": ["administrator"],
"rest_read": "0",
"rest_write": "0",
"rest_pick_response": "array",
"rest_pick_depth": "2",
"unique": "0",
"date_repeatable": "0",
"date_format_custom": "",
"date_format_custom_js": ""
}
},
"show_in_menu": "1",
"label_singular": "Projekt",
"public": "0",
"show_ui": "1",
"supports_title": "1",
"supports_editor": "0",
"publicly_queryable": "1",
"exclude_from_search": "0",
"capability_type": "post",
"capability_type_custom": "projekt",
"capability_type_extra": "1",
"has_archive": "0",
"hierarchical": "0",
"rewrite": "1",
"rewrite_with_front": "1",
"rewrite_feeds": "0",
"rewrite_pages": "1",
"query_var": "1",
"can_export": "1",
"default_status": "draft",
"supports_author": "0",
"supports_thumbnail": "0",
"supports_excerpt": "1",
"supports_trackbacks": "0",
"supports_custom_fields": "0",
"supports_comments": "0",
"supports_revisions": "0",
"supports_page_attributes": "0",
"supports_post_formats": "0",
"built_in_taxonomies_category": "0",
"built_in_taxonomies_link_category": "0",
"built_in_taxonomies_post_tag": "1",
"show_in_nav_menus": "1",
"show_in_admin_bar": "1",
"pfat_enable": "1",
"pfat_run_outside_loop": "0",
"pfat_single": "Seiten",
"pfat_append_single": "append",
"pfat_filter_single": "the_content",
"pfat_append_archive": "append",
"pfat_filter_archive": "the_content",
"rest_enable": "0",
"read_all": "0",
"write_all": "0"
}
},
"templates": {
"Projekt Details": {
"id": 424,
"name": "Projekt Details",
"code": "<div class=\"project-details\">\r\n\t<ul>\r\n\t\t<li>Kunde: {@customer.post_title}<\/li>\r\n\t\t<li>Projekt: {@post_title}<\/li>\r\n\t\t[if project_start]<li>Start: {@project_start}<\/li>[\/if]\r\n\t\t[if project_end]<li>Ende: {@project_end}<\/li>[\/if]\r\n\t<\/ul>\r\n<\/div>\r\n\r\n<div class=\"customer-logo\">\r\n\t{@customer.logo._img.large}\r\n<\/div>\r\n\r\n[if project_content]\r\n<div class=\"project-content\">\r\n\t{@project_content}\r\n<\/div>\r\n[\/if]\r\n\r\n[if post_tag]<ul class=\"post-tags\">[each post_tag]\r\n\t<li class=\"tag\">#{@name}<\/li>\r\n[\/each]<\/ul>[\/if]\r\n\r\n[if skills]<ul class=\"skills-list\">[each skills]\r\n\t<li class=\"skill\">#{@post_title}<\/li>\r\n[\/each]<\/ul>[\/if]\r\n\r\n<p><a href=\"\/referenzen\/{@customer.post_name}\/\">Zum Kunden<\/a><\/p>",
"type": "template",
"slug": "projekt-details",
"options": {
"_edit_lock": "1554467907:1",
"_edit_last": "1",
"admin_only": "",
"restrict_capability": "",
"capability_allowed": "",
"pod_reference": "a:1:{s:3:\"pod\";s:7:\"project\";}"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment