feat: Template CPT and section

This commit is contained in:
2026-03-27 11:18:06 -04:00
parent 12774b2df1
commit 967c516a70
7 changed files with 290 additions and 4 deletions

View File

@@ -93,6 +93,67 @@
"acfe_flexible_render_script": false,
"acfe_flexible_thumbnail": false,
"acfe_flexible_category": false
},
"layout_69c69985e74f4": {
"key": "layout_69c69985e74f4",
"name": "template",
"label": "Modèle",
"display": "block",
"sub_fields": [
{
"key": "field_69c6998ce74f6",
"label": "Modèle",
"name": "template",
"aria-label": "",
"type": "post_object",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"post_type": [
"template"
],
"post_status": [
"publish"
],
"taxonomy": "",
"return_format": "id",
"multiple": 0,
"save_custom": 0,
"save_post_status": "publish",
"acfe_bidirectional": {
"acfe_bidirectional_enabled": "0"
},
"allow_null": 0,
"allow_in_bindings": 0,
"bidirectional": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "template",
"graphql_connection_type": "one_to_one",
"ui": 1,
"bidirectional_target": [],
"save_post_type": ""
}
],
"min": "",
"max": "",
"acfe_flexible_modal_edit_size": "",
"acfe_flexible_settings": [
"group_layout_padding",
"group_layout_container",
"group_layout_color"
],
"acfe_flexible_settings_size": "",
"acfe_flexible_render_template": false,
"acfe_flexible_render_style": false,
"acfe_flexible_render_script": false,
"acfe_flexible_thumbnail": false,
"acfe_flexible_category": false
}
},
"min": "",
@@ -134,5 +195,5 @@
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1774617029
"modified": 1774623170
}

View File

@@ -0,0 +1,66 @@
{
"key": "group_post_template",
"title": "Post - Template",
"fields": [
{
"key": "field_690cbda0abcbb",
"label": "Constructeur de page",
"name": "builder",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "builder",
"clone": [
"group_abstract_builder"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 1,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "template"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "seamless",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": [
"the_content"
],
"active": true,
"description": "",
"show_in_rest": 0,
"display_title": "",
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"show_in_graphql": 1,
"graphql_field_name": "GroupTemplate",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1774624640
}