So first I added a new attribute on Woocommerce called “brand”.
Then, I created an ACF Taxonomy field and set it to be displayed on all of my products.
It works fine, and my taxonomy can be chosen in the back end without an issue.
So, how would I get the “brand” value from this field? I’m getting all of the taxonomy objects by using get_fields(‘group_id’), and I can get the taxonomy field label by doing:
$fields = get_fields('group_12345');
foreach ($fields as $field) {
echo '<p>', $field['label'], '</p>';
// However, I cannot get the value, as it comes out empty. Here I'd like to get "Nike", for example
echo '<p>', $field['value'], '</p>';
}
What I’m trying to achieve is that I can output in my HTML:
Brand: Nike.
In my product back end, I have already set up the brand term, and it’s showing up normally. I can even modify it, but I just cannot get to show it in the front end, the ‘value’ is coming out empty.
I have logic in my site that says, if you are on a Category page and that page has repeater rows entered, then show those repeater rows and if not then show the repeater rows from the homepage. The problem is if I add Articles (my repeater rows allow for entering multiple Articles info) to the Category page, and then later delete them, I want the homepage repeater rows to display, but what happens is it just shows a blank space on my Category page, seemingly still seeing that there is data there but not showing anything. Trying to figure out how I can do the conditional logic on this. This is what I currently have — first if statement is for when there are Article repeaters on the Category page and the elseif statement is for when there are no ARticle repeaters on that page, so it should use the repeaters from the homepage instead. I tried adding a 3rd condition in that first IF statement but that didnt work ( if ( isset($page_category_id) && have_rows(‘articles’,’product-categories_’ . $page_category_id) && have_rows(‘article’,’product-categories_’ . $page_category_id))
Any ideas?
<?php
if ( isset($page_category_id) && have_rows('articles','product-categories_' . $page_category_id)) :
while( have_rows('articles','product-categories_' . $page_category_id)):
the_row();
if ( have_rows('article')) : ?>
<div class="gallery gallery--news featured-articles taxonomy">
<?php while( have_rows('article')): the_row();
include( 'content/content-articles-grid.php' );
endwhile; ?>
</div>
<?php endif;
endwhile;
elseif ( have_rows('articles',$front_page_id)) :
while( have_rows('articles',$front_page_id)): the_row();
if ( have_rows('article')) : ?>
<div class="gallery gallery--news featured-articles homepage">
<?php while( have_rows('article')): the_row();
include( 'content/content-articles-grid.php' );
endwhile; ?>
</div>
<?php endif;
endwhile;
endif; ?>
I have loop that displays all terms from custom taxonomy. I also have image field, attached to custom taxonomy. Now, I want to display image in my page template:
<section id="sluzby" class="section--padding" style="background: #eff1f5;">
<div class="container">
<div class="row">
<?php
$terms = get_terms( array( 'taxonomy' => 'sluzba', 'hide_empty' => false ) );
$term_image = get_field( 'tax_image' );
foreach ( $terms as $term ) : ?>
<div class="col-lg-4 col-md-6">
<div class="product product-zoom product--card">
<div class="product__thumbnail">
<?php //if ( $term_image ) : ?>
<img src="<?php echo $term_image['url']; ?>" alt="Služba <?php echo $term->name; ?>">
<?php //endif; ?>
</div>
<div class="product-desc">
<h4 class="text-center mb-2"><?php echo $term->name; ?></h4>
</div>
</div>
</div>
<?php
endforeach
?>
</div>
</div>
</section>
Hello,
how can I display taxonomy term image field in page template?
This is code I use and it’s not working:
<section>
<div class="container">
<div class="row">
<?php
$queried_object = get_queried_object();
$taxonomy = $queried_object->taxonomy;
$term_id = $queried_object->term_id;
$terms = get_categories( array( 'taxonomy' => 'service', 'hide_empty' => false ) );
$term_image = get_field( 'tax_image', $taxonomy . '_' . $term_id );
foreach ( $terms as $term ) : ?>
<div class="col-lg-4 col-md-6">
<div class="product product-zoom product--card">
<div class="product__thumbnail">
<?php //if ( $term_image ) : ?>
<img src="<?php echo $term_image['url']; ?>" alt="<?php echo $term->name; ?>">
<?php //endif; ?>
</div>
<div class="product-desc">
<h4 class="text-center mb-2"><?php echo $term->name; ?></h4>
</div>
</div>
</div>
<?php
endforeach
?>
</div>
</div>
</section>
Thanks for help.
Hello,
I have a custom taxonomy called Speakers and have custom fields assigned to that such as Speaker Bio, Speaker Photo, etc..
I have another set of custom fields that are assigned to my posts and one of the fields selects a speaker name from the Speaker taxonomy. I’d like to dynamically pull the custom fields (Speaker Bio, Speaker Photo, etc.) that are assigned to that taxonomy but can’t figure out how to do that.
I’m pulling the speaker name using the following code…
<? $speakername= get_sub_field('speaker_name'); ?>
<?php echo $speakername->name; ?>
If I try the following code I can also pull the speaker name and description but I’m unable to pull any of the custom fields assigned to that taxonomy.
<? $speakername= get_sub_field('speaker_name');
$speakerbio= get_sub_field('speaker_bio');
$speakerphoto= get_sub_field('speaker_photo');
?>
<?php echo $speakername->name; ?>
<?php echo $speakername->description; ?>
<?php echo $speakername->speaker_bio; ?>
<?php echo $speakername->speaker_description; ?>
Any idea how I can get this to work? If I’m not explaining this properly please let me know. Thanks in advance!
Hello
I would like to manage the selection of categories associated with posts through an ACF taxonomy field.
To do this, however, I have to manage the “uncategorized” category, removing it from the options available in the custom field and, if the user does not select any category, this is automatically associated with the post and disassociated if a category is selected instead.
To do this I inserted two filters:
add_filter('acf/fields/taxonomy/wp_list_categories/key=field_60871d724a420', 'tp_exclude_uncategorized_category', 999, 2);
function tp_exclude_uncategorized_category( $args, $field ){
if( ! is_admin() ) return $args;
$args['exclude'] = array(1);
return $args;
}
add_filter('acf/update_value/key=field_60871d724a420', 'tp_set_uncategorized_category', 999, 4);
function tp_set_uncategorized_category($value, $post_id, $field, $original){
if( !is_array($value) || !count($value) ) return array(1); // 1 = Uncategorized
return $value;
}
The first hides the “uncategorized” category from the available options, the second SHOULD handle the update, but unfortunately it doesn’t seem to work. Every time I update, without selecting the available categories, the post is not associated with any category. It seems that the filter ‘acf/update_value’ does nothing and it is ignored even if I add a “die();” function.
Hello, I am using Oxygen Builder. Unfortunately, Oxygen’s ACF integration doesn’t allow you to retrieve fields from taxonomies. However, there is a workaround. By installing the Code Snippets plugin on your site and creating a snippet with the following code:
function my_get_acf_taxonomy_field($acf_field) { global $wp_query; $cat_obj = $wp_query->get_queried_object(); $data = get_field($acf_field, $cat_obj->taxonomy.'_'.$cat_obj->term_id); return $data; }
You can then edit your template in Oxygen and retrieve the custom fields using Insert Data > PHP Function Return Value (right at the bottom). You need to enter the function name my_get_acf_taxonomy_field and in the arguments box, enter the name of the ACF field that you want to retrieve. The ACF field is set to return the Image URL.
HOWEVER…. I want to have control over the image sizes.
I believe from another thread that the answer is perhaps touse the image id and use the WP function wp_get_attachment_image_src()
or wp_get_attachment_image()
I am a designer not a developer…. does anyone have the code snippet that would allow me to have control over the image sizes too? As I mentioned at the start I am using Oxygen Builder. Thank you in advance for any replies!
Hello,
I encountered a fairly blocking bug with ACF on my WordPress site.
I am using the latest pro version of ACF and the latest version of wordpress (5.7.1).
When I edit one of my posts, I use a repeater which itself offers different fields as well as flexible content which is a clone of another flexible content.
Parent flexible content is not displayed according to a condition on the tab preceding it.
But the clone shows up well in my repeater.
When editing one of the templates of my clone, different fields are divided between several tabs.
The problem is that when you change tabs, the edit page automatically reloads.
A call is made in network when changing tabs:
http://tomlocal:8888/wp-admin/post.php?post=2416&action=edit
I had this problem several times but I managed to bypass it by changing the structure of my fields.
But in this case, I cannot change.
I also encountered a problem while creating my clone. I was never able to select a field to clone, because the search indicated to me that it was impossible to load.
So I had to go directly through a JSON edition of my group of controls to add my clone.
I also have the impression that my group of fields is too heavy. I have encountered this problem several times: When I edited it, at times, after a backup, my modifications were not taken into account or even half.
Here is the json of my field group and some screenshots.
[
{
"key": "group_607ea806213f8",
"title": "Webactivity",
"fields": [
{
"key": "field_607d8f1845526",
"label": "Options",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607da708dbb29",
"label": "Home personnalisée",
"name": "with_home",
"type": "radio",
"instructions": "Si activé, alors la webactivity utilisera un template \"Home\" comme point d'entré. \r\nCe template permettre d'accéder à des sous-webactivities. \r\nVous pourrez configurer vos sous-webactivities comme si vous configuriez les différents écrans d'une webactivity classique.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"true": "Avec",
"false": "Sans"
},
"allow_null": 0,
"other_choice": 0,
"default_value": "false",
"layout": "horizontal",
"return_format": "value",
"save_other_choice": 0
},
{
"key": "field_607d8f1845535",
"label": "Modèle",
"name": "model",
"type": "relationship",
"instructions": "Choisissez un modèle d'application.",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"post_type": [
"modeles"
],
"taxonomy": "",
"filters": [
"search"
],
"elements": "",
"min": 1,
"max": 1,
"return_format": "id",
"acfe_bidirectional": {
"acfe_bidirectional_enabled": "0"
}
},
{
"key": "field_607d8f18454ec",
"label": "Ecrans",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607da708dbb29",
"operator": "==",
"value": "false"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1845544",
"label": "Ecrans",
"name": "steps",
"type": "flexible_content",
"instructions": "Configurez les différents écrans de la webactivity en choisissant parmi la liste des différents templates pour chaque nouvel écran.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_flexible_advanced": 1,
"acfe_flexible_stylised_button": 1,
"acfe_flexible_layouts_templates": 0,
"acfe_flexible_layouts_placeholder": 1,
"acfe_flexible_layouts_thumbnails": 1,
"acfe_flexible_layouts_settings": 0,
"acfe_flexible_disable_ajax_title": 0,
"acfe_flexible_layouts_ajax": 1,
"acfe_flexible_add_actions": [],
"acfe_flexible_remove_button": [],
"acfe_flexible_modal_edit": {
"acfe_flexible_modal_edit_enabled": "1",
"acfe_flexible_modal_edit_size": "large"
},
"acfe_flexible_modal": {
"acfe_flexible_modal_enabled": "1",
"acfe_flexible_modal_title": "Choisir un template",
"acfe_flexible_modal_size": "small",
"acfe_flexible_modal_col": "4",
"acfe_flexible_modal_categories": "1"
},
"layouts": {
"layout_607d83e225c7e": {
"key": "layout_607d83e225c7e",
"name": "carrousel",
"label": "Carrousel",
"display": "block",
"sub_fields": [
{
"key": "field_607d8f184959f",
"label": "Carroussel",
"name": "data",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f186fa78",
"label": "Description :",
"name": "",
"type": "message",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "100",
"class": "",
"id": ""
},
"message": "Template permettant de créer un slider de une ou plusieurs slides. Ces écrans sont découpés en deux parties : \r\n- Affichage d'une image illustrant la slide.\r\n- Contenu varié (titres, texte, tableaux, boutons...).",
"new_lines": "wpautop",
"esc_html": 0
},
{
"key": "field_607da20887399",
"label": "Options",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f186fa86",
"label": "Avec navigation",
"name": "with_nav",
"type": "true_false",
"instructions": "Si activé, alors le template affiche une navigation permettant de naviguer entre les différentes slides.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "",
"default_value": 0,
"ui": 1,
"ui_on_text": "",
"ui_off_text": ""
},
{
"key": "field_607d8f186fa8d",
"label": "Type d'animation",
"name": "animation",
"type": "radio",
"instructions": "Sélectionnez le type d'animation entre les différentes slides.",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607d8f186fa86",
"operator": "!=",
"value": "1"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"fade": "Fade",
"slide": "Slide"
},
"allow_null": 0,
"other_choice": 0,
"default_value": "slide",
"layout": "horizontal",
"return_format": "value",
"save_other_choice": 0
},
{
"key": "field_607d8f186fa93",
"label": "Slides",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f186fa99",
"label": "Slides",
"name": "slides",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 1,
"max": 0,
"layout": "block",
"button_label": "Ajouter une slide",
"sub_fields": [
{
"key": "field_607d8f18784c0",
"label": "Slide",
"name": "",
"type": "accordion",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"open": 0,
"multi_expand": 0,
"endpoint": 0
},
{
"key": "field_607d8f18784d4",
"label": "Médias",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f18784e3",
"label": "Navigation média",
"name": "nav",
"type": "image",
"instructions": "Image affichée dans la navigation.",
"required": 1,
"conditional_logic": [
[
{
"field": "field_607d8f186fa86",
"operator": "==",
"value": "1"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "png, svg"
},
{
"key": "field_607d8f18784eb",
"label": "Média",
"name": "media",
"type": "image",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "medium",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "jpg",
"acfe_settings": "",
"acfe_validate": ""
},
{
"key": "field_607d8f18784f4",
"label": "Contenu",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f1878508",
"label": "Thumbnail",
"name": "thumb",
"type": "image",
"instructions": "Miniature affichée dans le contenu.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": ""
},
{
"key": "field_607d8f1878511",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"acfe_settings": "",
"acfe_validate": ""
},
{
"key": "field_607d8f1878519",
"label": "Contenu",
"name": "content",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"maxlength": "",
"rows": "",
"new_lines": "",
"acfe_textarea_code": 0,
"acfe_settings": "",
"acfe_validate": ""
},
{
"key": "field_607d8f1878522",
"label": "Tableau",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f187852b",
"label": "Tableau",
"name": "array",
"type": "repeater",
"instructions": "Afficher un tableau à 2 colonnes dans le contenu.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 0,
"max": 0,
"layout": "table",
"button_label": "Ajouter une ligne",
"sub_fields": [
{
"key": "field_607d8f1888d7b",
"label": "Label",
"name": "label",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"acfe_settings": "",
"acfe_validate": ""
},
{
"key": "field_607d8f1888d96",
"label": "Contenu",
"name": "content",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"acfe_settings": "",
"acfe_validate": ""
}
]
},
{
"key": "field_607d8f1878534",
"label": "Features",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f187853c",
"label": "Features",
"name": "features",
"type": "repeater",
"instructions": "Ajouter un tableau permettant d'opposer 2 éléments entre eux.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 0,
"max": 0,
"layout": "block",
"button_label": "Ajouter une feature",
"sub_fields": [
{
"key": "field_607d8f1890b25",
"label": "Titre de la feature",
"name": "title",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"acfe_settings": "",
"acfe_validate": ""
},
{
"key": "field_607d8f1890b38",
"label": "Pictogramme colonne n°1",
"name": "col1media",
"type": "image",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "png, svg",
"acfe_settings": "",
"acfe_validate": ""
},
{
"key": "field_607d8f1890b4e",
"label": "Pictogramme colonne n°2",
"name": "col2media",
"type": "image",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "png, svg",
"acfe_settings": "",
"acfe_validate": ""
},
{
"key": "field_607d8f1890b57",
"label": "Tableau",
"name": "array",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 1,
"max": 0,
"layout": "table",
"button_label": "Ajouter une ligne",
"acfe_settings": "",
"sub_fields": [
{
"key": "field_607d8f189691d",
"label": "Label",
"name": "label",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"acfe_settings": "",
"acfe_validate": ""
},
{
"key": "field_607d8f1896927",
"label": "Valeur col n°1",
"name": "col1",
"type": "true_false",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"acfe_permissions": "",
"message": "",
"default_value": 0,
"ui": 0,
"acfe_settings": "",
"acfe_validate": "",
"ui_on_text": "",
"ui_off_text": ""
},
{
"key": "field_607d8f189692d",
"label": "Valeur col n°2",
"name": "col2",
"type": "true_false",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"acfe_permissions": "",
"message": "",
"default_value": 0,
"ui": 0,
"acfe_settings": "",
"acfe_validate": "",
"ui_on_text": "",
"ui_off_text": ""
}
]
}
]
},
{
"key": "field_607d8f1878545",
"label": "Boutons",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f187854e",
"label": "Boutons",
"name": "ctas",
"type": "repeater",
"instructions": "Si pas de substep définie, alors le bouton ouvrira l'écran suivant.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 0,
"max": 0,
"layout": "table",
"button_label": "Ajouter un bouton",
"acfe_settings": "",
"sub_fields": [
{
"key": "field_607d8f18a10f3",
"label": "Label",
"name": "label",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"acfe_settings": "",
"acfe_validate": ""
},
{
"key": "field_607d8f18a1100",
"label": "Substep",
"name": "subStep",
"type": "acfe_slug",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"acfe_settings": "",
"acfe_validate": ""
}
]
},
{
"key": "field_607d8f1878556",
"label": "Options",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f187855f",
"label": "Label dans la navigation",
"name": "notNavLabel",
"type": "true_false",
"instructions": "Afficher ou non le titre de la slide dans la navigation.",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607d8f186fa86",
"operator": "==",
"value": "1"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "",
"default_value": 0,
"ui": 1,
"ui_on_text": "Cacher",
"ui_off_text": "Visible"
},
{
"key": "field_607d8f1878567",
"label": "Alignement du média",
"name": "mediaposition",
"type": "radio",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"choices": {
"top": "Haut",
"center": "Centre",
"bottom": "Bas"
},
"allow_null": 0,
"other_choice": 0,
"default_value": "center",
"layout": "horizontal",
"return_format": "value",
"acfe_settings": "",
"acfe_validate": "",
"save_other_choice": 0
},
{
"key": "field_607d8f1878571",
"label": "Alignement du contenu",
"name": "contentposition",
"type": "radio",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"choices": {
"left": "Left",
"center": "Center",
"right": "Right"
},
"allow_null": 0,
"other_choice": 0,
"default_value": "center",
"layout": "horizontal",
"return_format": "value",
"acfe_settings": "",
"acfe_validate": "",
"save_other_choice": 0
},
{
"key": "field_607d8f187857a",
"label": "Forme sur le média",
"name": "shape",
"type": "true_false",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"message": "",
"default_value": 0,
"ui": 1,
"ui_on_text": "Avec",
"ui_off_text": "Sans",
"acfe_settings": "",
"acfe_validate": ""
}
]
}
]
}
],
"min": "",
"max": "",
"acfe_flexible_category": [
"basique"
],
"acfe_flexible_modal_edit_size": "",
"acfe_flexible_thumbnail": "755",
"acfe_flexible_render_template": false,
"acfe_flexible_render_style": false,
"acfe_flexible_render_script": false,
"acfe_flexible_settings": false,
"acfe_flexible_settings_size": "medium"
},
"layout_607d90409e0f2": {
"key": "layout_607d90409e0f2",
"name": "simple",
"label": "Simple",
"display": "block",
"sub_fields": [
{
"key": "field_607d8f18495ba",
"label": "Simple",
"name": "data",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f18b402c",
"label": "Description :",
"name": "",
"type": "message",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "Template classique permettant d'introduire une webactivity ou un sujet.\r\nUne image plein écran est affichée en arrière plan. \r\nDu contenu est affiché dans la partie supérieure. \r\nDes boutons sont affichés dans la partie inférieure.",
"new_lines": "wpautop",
"esc_html": 0
},
{
"key": "field_607d8f18b4048",
"label": "Contenu",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f18b4052",
"label": "Média",
"name": "media",
"type": "image",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "medium",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "jpg"
},
{
"key": "field_607d8f18b405a",
"label": "Sur-titre",
"name": "suptitle",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_607d8f18b4063",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_607d8f18b406b",
"label": "Contenu",
"name": "content",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"maxlength": "",
"rows": "",
"new_lines": "",
"acfe_textarea_code": 0
},
{
"key": "field_607d8f18b4074",
"label": "Boutons",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f18b407d",
"label": "Boutons",
"name": "ctas",
"type": "repeater",
"instructions": "Si pas de substep définie, alors le bouton ouvrira l'écran suivant.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 0,
"max": 0,
"layout": "table",
"button_label": "Ajouter un bouton",
"sub_fields": [
{
"key": "field_607d8f18c2067",
"label": "Label",
"name": "label",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_607d8f18c2077",
"label": "Substep",
"name": "subStep",
"type": "acfe_slug",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
}
]
},
{
"key": "field_607d8f18b4085",
"label": "Options",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f18b408f",
"label": "Alignement du média",
"name": "mediaposition",
"type": "radio",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"top": "Haut",
"center": "Centre",
"bottom": "Bas"
},
"allow_null": 0,
"other_choice": 0,
"save_other_choice": 0,
"default_value": "center",
"layout": "horizontal",
"return_format": "value"
},
{
"key": "field_607d8f18b4097",
"label": "Alignement du contenu",
"name": "contentposition",
"type": "radio",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"left": "Left",
"center": "Center",
"right": "Right"
},
"allow_null": 0,
"other_choice": 0,
"save_other_choice": 0,
"default_value": "center",
"layout": "horizontal",
"return_format": "value"
}
]
}
],
"min": "",
"max": "",
"acfe_flexible_category": [
"basique"
],
"acfe_flexible_modal_edit_size": "",
"acfe_flexible_thumbnail": "755",
"acfe_flexible_render_template": false,
"acfe_flexible_render_style": false,
"acfe_flexible_render_script": false,
"acfe_flexible_settings": false,
"acfe_flexible_settings_size": "medium"
},
"layout_607d9fea5c4e8": {
"key": "layout_607d9fea5c4e8",
"name": "introduction",
"label": "Introduction",
"display": "block",
"sub_fields": [
{
"key": "field_607d8f18495ca",
"label": "Introduction",
"name": "data",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f18cfdfc",
"label": "Description :",
"name": "",
"type": "message",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "Template permettant d'introduire un mini-jeu.\r\nLa partie haute affiche une image ou vidéo illustrant les règles du jeu.\r\nLa partie inférieure affiche du contenu textuel.\r\nUn bouton permet d'accéder au mini-jeu.",
"new_lines": "wpautop",
"esc_html": 0
},
{
"key": "field_607d8f18cfe3b",
"label": "Contenu",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f18cfe4b",
"label": "Média",
"name": "media",
"type": "file",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"return_format": "url",
"library": "all",
"min_size": "",
"max_size": "",
"mime_types": "jpg, mp4"
},
{
"key": "field_607d8f18cfe59",
"label": "Sur-titre",
"name": "suptitle",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_607d8f18cfe62",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_607d8f18cfe8c",
"label": "Contenu",
"name": "content",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"maxlength": "",
"rows": "",
"new_lines": "",
"acfe_textarea_code": 0
},
{
"key": "field_607d8f18cfe9f",
"label": "Bouton",
"name": "cta",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_607d8f18cfeaa",
"label": "Options",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f18cfebb",
"label": "Alignement du contenu",
"name": "contentposition",
"type": "radio",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"left": "Left",
"center": "Center",
"right": "Right"
},
"allow_null": 0,
"other_choice": 0,
"save_other_choice": 0,
"default_value": "center",
"layout": "horizontal",
"return_format": "value"
}
]
}
],
"min": "",
"max": "",
"acfe_flexible_category": [
"basique"
],
"acfe_flexible_modal_edit_size": "",
"acfe_flexible_thumbnail": "755",
"acfe_flexible_render_template": false,
"acfe_flexible_render_style": false,
"acfe_flexible_render_script": false,
"acfe_flexible_settings": false,
"acfe_flexible_settings_size": "medium"
},
"layout_607da0385c4f7": {
"key": "layout_607da0385c4f7",
"name": "clickable",
"label": "Clickable",
"display": "block",
"sub_fields": [
{
"key": "field_607d8f18495d1",
"label": "Clickable",
"name": "data",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f18e38d5",
"label": "Description :",
"name": "",
"type": "message",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "Template affichant une image interactive en plein écran. Des zones de clique, symbolisées par des bulles numérotées, sont affichées par dessus. L'utilisateur obtient plus d'informations au clique sur l'une d'elles.",
"new_lines": "wpautop",
"esc_html": 0
},
{
"key": "field_607da3c2b8690",
"label": "Options",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f18e38f5",
"label": "Média",
"name": "media",
"type": "image",
"instructions": "Image d'arrière plan.",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "medium",
"library": "all",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "jpg"
},
{
"key": "field_607d8f18e38ff",
"label": "Points clés",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f18e3908",
"label": "Points clés",
"name": "keys",
"type": "repeater",
"instructions": "Ajoutez des zones de cliques sur le média de fond. Lors du clique sur l'une d'elle, l'utilisateur affiche une information.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 1,
"max": 0,
"layout": "block",
"button_label": "Ajouter un point clé",
"sub_fields": [
{
"key": "field_607d8f18eab08",
"label": "Point clé",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f18eab11",
"label": "Options",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f18eab18",
"label": "Type",
"name": "type",
"type": "radio",
"instructions": "Sélectionner le type d'ouverture souhaité lors du clique sur un élément.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"popin": "Popin",
"tooltip": "Tooltip"
},
"allow_null": 0,
"other_choice": 0,
"default_value": "tooltip",
"layout": "horizontal",
"return_format": "value",
"save_other_choice": 0
},
{
"key": "field_607d8f18eab1e",
"label": "Couleur",
"name": "color",
"type": "color_picker",
"instructions": "Couleur de la zone de clique.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "#7f7f7f"
},
{
"key": "field_607d8f18eab24",
"label": "Position",
"name": "position",
"type": "group",
"instructions": "Position en pourcentage (%) de la zone de clique.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "table",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f18f2f62",
"label": "Left",
"name": "x",
"type": "range",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"min": "",
"max": "",
"step": "",
"prepend": "",
"append": ""
},
{
"key": "field_607d8f18f2f71",
"label": "Top",
"name": "y",
"type": "range",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"min": "",
"max": "",
"step": "",
"prepend": "",
"append": ""
}
]
},
{
"key": "field_607d8f18eab2a",
"label": "Alignement du média",
"name": "mediaposition",
"type": "radio",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607d8f18eab18",
"operator": "==",
"value": "popin"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"top": "Haut",
"center": "Centre",
"bottom": "Bas"
},
"allow_null": 0,
"other_choice": 0,
"default_value": "center",
"layout": "horizontal",
"return_format": "value",
"save_other_choice": 0
},
{
"key": "field_607d8f18eab30",
"label": "Alignement du contenu",
"name": "contentposition",
"type": "radio",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607d8f18eab18",
"operator": "==",
"value": "popin"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"left": "Left",
"center": "Center",
"right": "Right"
},
"allow_null": 0,
"other_choice": 0,
"default_value": "center",
"layout": "horizontal",
"return_format": "value",
"save_other_choice": 0
},
{
"key": "field_607d8f18eab36",
"label": "Médias",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f18eab3b",
"label": "Aide",
"name": "",
"type": "message",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607d8f18eab18",
"operator": "==",
"value": "popin"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "Si vous ne mettez pas de contenu (titre, contenu, thumbnail, array features ou boutons) l'image s'ouvrira en plein écran.",
"new_lines": "br",
"esc_html": 0
},
{
"key": "field_607d8f18eab43",
"label": "Média",
"name": "media",
"type": "image",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "medium",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "jpg"
},
{
"key": "field_607d8f18eab5a",
"label": "Contenu",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f18eab62",
"label": "Thumbnail",
"name": "thumb",
"type": "image",
"instructions": "Miniature affichée dans le contenu.",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607d8f18eab18",
"operator": "==",
"value": "popin"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "jpg, png, svg"
},
{
"key": "field_607d8f18eab6b",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_607d8f18eab73",
"label": "Contenu",
"name": "content",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"maxlength": "",
"rows": "",
"new_lines": "",
"acfe_textarea_code": 0
},
{
"key": "field_607d8f18eab7c",
"label": "Tableau",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607d8f18eab18",
"operator": "==",
"value": "popin"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f18eab84",
"label": "Tableau",
"name": "array",
"type": "repeater",
"instructions": "Afficher un tableau à 2 colonnes dans le contenu.",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607d8f18eab18",
"operator": "==",
"value": "popin"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 0,
"max": 0,
"layout": "table",
"button_label": "Ajouter une ligne",
"sub_fields": [
{
"key": "field_607d8f19182f1",
"label": "Label",
"name": "label",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_607d8f1918332",
"label": "Contenu",
"name": "content",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
}
]
},
{
"key": "field_607d8f18eab8c",
"label": "Features",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607d8f18eab18",
"operator": "==",
"value": "popin"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f18eab95",
"label": "Features",
"name": "features",
"type": "repeater",
"instructions": "Ajouter un tableau permettant d'opposer 2 éléments entre eux.",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607d8f18eab18",
"operator": "==",
"value": "popin"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 0,
"max": 0,
"layout": "block",
"button_label": "Ajouter une feature",
"sub_fields": [
{
"key": "field_607d8f1922382",
"label": "Titre de la feature",
"name": "title",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_607d8f192238c",
"label": "Pictogramme colonne n°1",
"name": "col1media",
"type": "image",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "png, svg"
},
{
"key": "field_607d8f1922392",
"label": "Pictogramme colonne n°2",
"name": "col2media",
"type": "image",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "png, svg"
},
{
"key": "field_607d8f1922398",
"label": "Tableau",
"name": "array",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 1,
"max": 0,
"layout": "table",
"button_label": "Ajouter une ligne",
"sub_fields": [
{
"key": "field_607d8f192a34f",
"label": "Label",
"name": "label",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_607d8f192a35d",
"label": "Valeur col n°1",
"name": "col1",
"type": "true_false",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"message": "",
"default_value": 0,
"ui": 0,
"ui_on_text": "",
"ui_off_text": ""
},
{
"key": "field_607d8f192a367",
"label": "Valeur col n°2",
"name": "col2",
"type": "true_false",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"message": "",
"default_value": 0,
"ui": 0,
"ui_on_text": "",
"ui_off_text": ""
}
]
}
]
}
]
}
]
}
],
"min": "",
"max": "",
"acfe_flexible_category": [
"basique"
],
"acfe_flexible_modal_edit_size": "",
"acfe_flexible_thumbnail": "755",
"acfe_flexible_render_template": false,
"acfe_flexible_render_style": false,
"acfe_flexible_render_script": false,
"acfe_flexible_settings": false,
"acfe_flexible_settings_size": "medium"
},
"layout_607da08bab630": {
"key": "layout_607da08bab630",
"name": "story",
"label": "Story",
"display": "block",
"sub_fields": [
{
"key": "field_607d8f18495d7",
"label": "Story",
"name": "data",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f1938f50",
"label": "Description :",
"name": "",
"type": "message",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "Template mettant un média (image ou vidéo) plein écran en avant. \r\nUne ou plusieurs slides peuvent être ajoutées.\r\nDu texte disposé dans la partie inférieure, peut illustrer chaque slide.",
"new_lines": "wpautop",
"esc_html": 0
},
{
"key": "field_607da2ac8739a",
"label": "Options",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1938f60",
"label": "Contraste du fond",
"name": "whiteBackground",
"type": "true_false",
"instructions": "Si le fond du média est clair, alors cette case doit être cochée. Le texte passera en couleur noire.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"message": "",
"default_value": 0,
"ui": 1,
"ui_on_text": "Fond clair",
"ui_off_text": "Fond foncé",
"acfe_settings": "",
"acfe_validate": ""
},
{
"key": "field_607da2c18739b",
"label": "Slides",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1938f67",
"label": "Slides",
"name": "slides",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607d8f1849572",
"operator": "==",
"value": "story"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 1,
"max": 0,
"layout": "block",
"button_label": "Ajouter une slide",
"acfe_settings": "",
"sub_fields": [
{
"key": "field_607d8f193e64b",
"label": "Slide",
"name": "",
"type": "accordion",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"open": 0,
"multi_expand": 0,
"endpoint": 0
},
{
"key": "field_607d8f193e659",
"label": "Médias",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f193e662",
"label": "Média",
"name": "media",
"type": "file",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"uploader": "wp",
"return_format": "url",
"library": "uploadedTo",
"min_size": "",
"max_size": "",
"mime_types": "jpg, mp4",
"acfe_settings": "",
"acfe_validate": ""
},
{
"key": "field_607d8f193e66b",
"label": "Contenu",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f193e674",
"label": "Key",
"name": "key",
"type": "text",
"instructions": "Entrez un chiffre ou une lettre.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 3,
"acfe_settings": "",
"acfe_validate": ""
},
{
"key": "field_607d8f193e67c",
"label": "Sur-titre",
"name": "suptitle",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"acfe_settings": "",
"acfe_validate": ""
},
{
"key": "field_607d8f193e684",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
},
{
"key": "field_607d8f193e68d",
"label": "Contenu",
"name": "content",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"default_value": "",
"placeholder": "",
"maxlength": "",
"rows": "",
"new_lines": "",
"acfe_textarea_code": 0,
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
},
{
"key": "field_607d8f193e696",
"label": "Boutons",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f193e69f",
"label": "Boutons",
"name": "ctas",
"type": "repeater",
"instructions": "Si pas de substep définie, alors le bouton ouvrira l'écran suivant.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 0,
"max": 0,
"layout": "table",
"button_label": "Ajouter un bouton",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"sub_fields": [
{
"key": "field_607d8f194efae",
"label": "Label",
"name": "label",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"acfe_permissions": "",
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
},
{
"key": "field_607d8f194efbb",
"label": "Substep",
"name": "subStep",
"type": "acfe_slug",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"acfe_permissions": "",
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
}
]
},
{
"key": "field_607d8f193e6a7",
"label": "Options",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f193e6b0",
"label": "Alignement du média",
"name": "mediaposition",
"type": "radio",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"choices": {
"top": "Haut",
"center": "Centre",
"bottom": "Bas"
},
"allow_null": 0,
"other_choice": 0,
"save_other_choice": 0,
"default_value": "center",
"layout": "horizontal",
"return_format": "value",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
},
{
"key": "field_607d8f193e6b9",
"label": "Alignement du contenu",
"name": "contentposition",
"type": "radio",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"choices": {
"left": "Left",
"center": "Center",
"right": "Right"
},
"allow_null": 0,
"other_choice": 0,
"save_other_choice": 0,
"default_value": "center",
"layout": "horizontal",
"return_format": "value",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
}
]
}
]
}
],
"min": "",
"max": "",
"acfe_flexible_category": [
"basique"
],
"acfe_flexible_modal_edit_size": "",
"acfe_flexible_thumbnail": "755",
"acfe_flexible_render_template": false,
"acfe_flexible_render_style": false,
"acfe_flexible_render_script": false,
"acfe_flexible_settings": false,
"acfe_flexible_settings_size": "medium"
},
"layout_607da0bdab653": {
"key": "layout_607da0bdab653",
"name": "dragdrop",
"label": "Drag & Drop",
"display": "block",
"sub_fields": [
{
"key": "field_607d8f18495e3",
"label": "DragDrop",
"name": "data",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f195ca0e",
"label": "Description :",
"name": "",
"type": "message",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "Template constitué de plusieurs slides. \r\nChaque slide affiche dans sa partie supérieure une image et dans sa partie inférieure du contenu varié.\r\nLa navigation entre les slides se fait en utilisant un curseur inspiré d'une timeline à plusieurs étapes.",
"new_lines": "wpautop",
"esc_html": 0
},
{
"key": "field_607d8f195ca1b",
"label": "Slides",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f195ca45",
"label": "Slides",
"name": "slides",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 2,
"max": 0,
"layout": "block",
"button_label": "Ajouter une slide",
"sub_fields": [
{
"key": "field_607d8f1961c6c",
"label": "Slide",
"name": "",
"type": "accordion",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"open": 0,
"multi_expand": 0,
"endpoint": 0
},
{
"key": "field_607d8f1961c78",
"label": "Médias",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f1961c7e",
"label": "Média",
"name": "media",
"type": "image",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "medium",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "jpg",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
},
{
"key": "field_607d8f1961c84",
"label": "Contenu",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f1961c8a",
"label": "Thumbnail",
"name": "thumb",
"type": "image",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
},
{
"key": "field_607d8f1961c8f",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
},
{
"key": "field_607d8f1961c95",
"label": "Contenu",
"name": "content",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"default_value": "",
"placeholder": "",
"maxlength": "",
"rows": "",
"new_lines": "",
"acfe_textarea_code": 0,
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
},
{
"key": "field_607d8f1961c9b",
"label": "Tableau",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f1961ca1",
"label": "Tableau",
"name": "array",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 0,
"max": 0,
"layout": "table",
"button_label": "Ajouter une ligne",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"sub_fields": [
{
"key": "field_607d8f197002f",
"label": "Label",
"name": "label",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
},
{
"key": "field_607d8f1970049",
"label": "Contenu",
"name": "content",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
}
]
},
{
"key": "field_607d8f1961ca7",
"label": "Features",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f1961cad",
"label": "Features",
"name": "features",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 0,
"max": 0,
"layout": "block",
"button_label": "Ajouter une feature",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"sub_fields": [
{
"key": "field_607d8f1977e43",
"label": "Titre de la feature",
"name": "title",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
},
{
"key": "field_607d8f1977e4b",
"label": "Pictogramme colonne n°1",
"name": "col1media",
"type": "image",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"acfe_permissions": "",
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "png, svg",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
},
{
"key": "field_607d8f1977e50",
"label": "Pictogramme colonne n°2",
"name": "col2media",
"type": "image",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"acfe_permissions": "",
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "png, svg",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
},
{
"key": "field_607d8f1977e56",
"label": "Tableau",
"name": "array",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 1,
"max": 0,
"layout": "table",
"button_label": "Ajouter une ligne",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"sub_fields": [
{
"key": "field_607d8f197e9b5",
"label": "Label",
"name": "label",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"acfe_permissions": "",
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
},
{
"key": "field_607d8f197e9d2",
"label": "Valeur col n°1",
"name": "col1",
"type": "true_false",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"acfe_permissions": "",
"message": "",
"default_value": 0,
"ui": 0,
"ui_on_text": "",
"ui_off_text": "",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
},
{
"key": "field_607d8f197e9ea",
"label": "Valeur col n°2",
"name": "col2",
"type": "true_false",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"acfe_permissions": "",
"message": "",
"default_value": 0,
"ui": 0,
"ui_on_text": "",
"ui_off_text": "",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
}
]
}
]
},
{
"key": "field_607d8f1961cb3",
"label": "Boutons",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f1961cb9",
"label": "Boutons",
"name": "ctas",
"type": "repeater",
"instructions": "Si pas de substep définie, alors le bouton ouvrira l'écran suivant.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 0,
"max": 0,
"layout": "table",
"button_label": "Ajouter un bouton",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"sub_fields": [
{
"key": "field_607d8f1989e2e",
"label": "Label",
"name": "label",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"acfe_permissions": "",
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
},
{
"key": "field_607d8f1989e36",
"label": "Substep",
"name": "subStep",
"type": "acfe_slug",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"acfe_permissions": "",
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": "",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
}
]
},
{
"key": "field_607d8f1961cbe",
"label": "Options",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f1961cc4",
"label": "Alignement du média",
"name": "mediaposition",
"type": "radio",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"choices": {
"top": "Haut",
"center": "Centre",
"bottom": "Bas"
},
"allow_null": 0,
"other_choice": 0,
"save_other_choice": 0,
"default_value": "center",
"layout": "horizontal",
"return_format": "value",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
},
{
"key": "field_607d8f1961cca",
"label": "Alignement du contenu",
"name": "contentposition",
"type": "radio",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"choices": {
"left": "Left",
"center": "Center",
"right": "Right"
},
"allow_null": 0,
"other_choice": 0,
"save_other_choice": 0,
"default_value": "center",
"layout": "horizontal",
"return_format": "value",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
},
{
"key": "field_607d8f1961cd0",
"label": "Forme sur le média",
"name": "shape",
"type": "true_false",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_permissions": "",
"message": "",
"default_value": 0,
"ui": 1,
"ui_on_text": "Avec",
"ui_off_text": "Sans",
"acfe_settings": {
"acfcloneindex": {
"acfe_settings_location": "",
"acfe_settings_settings": {
"acfcloneindex": {
"acfe_settings_setting_type": "required",
"acfe_settings_setting_name": "",
"acfe_settings_setting_operator": "true",
"acfe_settings_setting_value": ""
}
}
}
},
"acfe_validate": {
"acfcloneindex": {
"acfe_validate_location": "",
"acfe_validate_rules_and": {
"acfcloneindex": {
"acfe_validate_function": "value",
"acfe_validate_operator": "==",
"acfe_validate_match": ""
}
},
"acfe_validate_error": ""
}
}
}
]
}
]
}
],
"min": "",
"max": "",
"acfe_flexible_category": [
"basique"
],
"acfe_flexible_modal_edit_size": "",
"acfe_flexible_thumbnail": "755",
"acfe_flexible_render_template": false,
"acfe_flexible_render_style": false,
"acfe_flexible_render_script": false,
"acfe_flexible_settings": false,
"acfe_flexible_settings_size": "medium"
},
"layout_607da0dcab667": {
"key": "layout_607da0dcab667",
"name": "parallaxe",
"label": "Parallaxe",
"display": "block",
"sub_fields": [
{
"key": "field_607d8f18495ea",
"label": "Parallaxe",
"name": "data",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f1999274",
"label": "Description :",
"name": "",
"type": "message",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "Template constitué de plusieurs slides qui défilent avec un mouvement de parallaxe. \r\nChaque slide peut afficher des zones de cliques identifiables par un \"+\".\r\nChaque slide peut aussi afficher un titre et du contenu disposés en bas de l'écran.",
"new_lines": "wpautop",
"esc_html": 0
},
{
"key": "field_607d8f199927c",
"label": "Medias",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1999282",
"label": "Texte ou Image",
"name": "text_or_image",
"type": "radio",
"instructions": "Choisissez si l'élément d'arrière plan sera un texte ou une image.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "40",
"class": "",
"id": ""
},
"choices": {
"text": "Texte",
"image": "Image"
},
"allow_null": 0,
"other_choice": 0,
"default_value": "text",
"layout": "horizontal",
"return_format": "value",
"save_other_choice": 0
},
{
"key": "field_607d8f199929e",
"label": "Texte d'arrière plan",
"name": "textBack",
"type": "text",
"instructions": "Texte en arrière plan avec un effet de parallaxe",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607d8f1999282",
"operator": "==",
"value": "text"
}
]
],
"wrapper": {
"width": "60",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 25
},
{
"key": "field_607d8f19992a7",
"label": "Image d'arrière plan",
"name": "imgBack",
"type": "image",
"instructions": "Image en arrière plan avec un effet de parallaxe",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607d8f1999282",
"operator": "==",
"value": "image"
}
]
],
"wrapper": {
"width": "60",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "png"
},
{
"key": "field_607d8f19992af",
"label": "Images de second plan",
"name": "imgsBack",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 0,
"max": 0,
"layout": "block",
"button_label": "Ajouter une image",
"sub_fields": [
{
"key": "field_607d8f19a2649",
"label": "Média",
"name": "media",
"type": "image",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "png"
},
{
"key": "field_607d8f19a2652",
"label": "Vitesse",
"name": "speed",
"type": "number",
"instructions": "Vitesse de l'effet parallaxe de l'image lors d'un déplacement.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": 1,
"placeholder": "",
"prepend": "",
"append": "",
"min": "",
"max": "",
"step": ""
},
{
"key": "field_607d8f19a2657",
"label": "Décalage X",
"name": "offsetx",
"type": "text",
"instructions": "Décalage de l'image (en px ou pourcentage)",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": 0,
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
}
]
},
{
"key": "field_607d8f19992b8",
"label": "Images de premier plan",
"name": "imgsFront",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 0,
"max": 0,
"layout": "block",
"button_label": "Ajouter une image",
"sub_fields": [
{
"key": "field_607d8f19aa7e7",
"label": "Média",
"name": "media",
"type": "image",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "png"
},
{
"key": "field_607d8f19aa7f6",
"label": "Vitesse",
"name": "speed",
"type": "number",
"instructions": "Vitesse de l'effet parallaxe de l'image lors d'un déplacement.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": 1,
"placeholder": "",
"prepend": "",
"append": "",
"min": "",
"max": "",
"step": ""
},
{
"key": "field_607d8f19aa800",
"label": "Décalage X",
"name": "offsetx",
"type": "text",
"instructions": "Décalage de l'image (en px ou pourcentage)",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": 0,
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
}
]
},
{
"key": "field_607d8f19992c1",
"label": "Slides",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f19992c9",
"label": "Slides",
"name": "slides",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 1,
"max": 0,
"layout": "block",
"button_label": "Ajouter une slide",
"sub_fields": [
{
"key": "field_607d8f19b457d",
"label": "Slide",
"name": "",
"type": "accordion",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"open": 0,
"multi_expand": 0,
"endpoint": 0
},
{
"key": "field_607d8f19b4587",
"label": "Contenu",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f19b45a0",
"label": "Média",
"name": "media",
"type": "image",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "medium",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "jpg, png"
},
{
"key": "field_607d8f19b45a9",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 25
},
{
"key": "field_607d8f19b45b1",
"label": "Contenu",
"name": "content",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 80
},
{
"key": "field_607d8f19b45ba",
"label": "Popins",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f19b45c3",
"label": "Elements",
"name": "items",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 0,
"max": 0,
"layout": "block",
"button_label": "Ajouter une zone",
"sub_fields": [
{
"key": "field_607da486b8691",
"label": "Zone",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f19c0795",
"label": "Zone",
"name": "ctaPos",
"type": "group",
"instructions": "Position de la zone cliquable (en px ou pourcentage).",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f19c25ae",
"label": "X",
"name": "x",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_607d8f19c25b8",
"label": "Y",
"name": "y",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
}
]
},
{
"key": "field_607d8f19c07a4",
"label": "Popin",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f19c07ad",
"label": "Médias",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f19c07b6",
"label": "Média",
"name": "media",
"type": "image",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "medium",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "jpg"
},
{
"key": "field_607d8f19c07bf",
"label": "Contenu",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f19c07c7",
"label": "Thumbnail",
"name": "thumb",
"type": "image",
"instructions": "Miniature affichée dans le contenu.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": ""
},
{
"key": "field_607d8f19c07d0",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_607d8f19c07d8",
"label": "Contenu",
"name": "content",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"maxlength": "",
"rows": "",
"new_lines": "",
"acfe_textarea_code": 0
},
{
"key": "field_607d8f19c07e1",
"label": "Tableau",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f19c07ea",
"label": "Tableau",
"name": "array",
"type": "repeater",
"instructions": "Afficher un tableau à 2 colonnes dans le contenu.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 0,
"max": 0,
"layout": "table",
"button_label": "Ajouter une ligne",
"sub_fields": [
{
"key": "field_607d8f19d86ba",
"label": "Label",
"name": "label",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_607d8f19d86e6",
"label": "Contenu",
"name": "content",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
}
]
},
{
"key": "field_607d8f19c07f3",
"label": "Features",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f19c080a",
"label": "Features",
"name": "features",
"type": "repeater",
"instructions": "Ajouter un tableau permettant d'opposer 2 éléments entre eux.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 0,
"max": 0,
"layout": "block",
"button_label": "Ajouter une feature",
"sub_fields": [
{
"key": "field_607d8f19e0f95",
"label": "Titre de la feature",
"name": "title",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_607d8f19e0fb0",
"label": "Pictogramme colonne n°1",
"name": "col1media",
"type": "image",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "png, svg"
},
{
"key": "field_607d8f19e0fb9",
"label": "Pictogramme colonne n°2",
"name": "col2media",
"type": "image",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "png, svg"
},
{
"key": "field_607d8f19e0fc2",
"label": "Tableau",
"name": "array",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 1,
"max": 0,
"layout": "table",
"button_label": "Ajouter une ligne",
"sub_fields": [
{
"key": "field_607d8f19e88c1",
"label": "Label",
"name": "label",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_607d8f19e88d5",
"label": "Valeur col n°1",
"name": "col1",
"type": "true_false",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"message": "",
"default_value": 0,
"ui": 0,
"ui_on_text": "",
"ui_off_text": ""
},
{
"key": "field_607d8f19e88e9",
"label": "Valeur col n°2",
"name": "col2",
"type": "true_false",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "25",
"class": "",
"id": ""
},
"message": "",
"default_value": 0,
"ui": 0,
"ui_on_text": "",
"ui_off_text": ""
}
]
}
]
},
{
"key": "field_607d8f19c0820",
"label": "Options",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "left",
"endpoint": 0
},
{
"key": "field_607d8f19c0842",
"label": "Alignement du média",
"name": "mediaposition",
"type": "radio",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"top": "Haut",
"center": "Centre",
"bottom": "Bas"
},
"allow_null": 0,
"other_choice": 0,
"save_other_choice": 0,
"default_value": "center",
"layout": "horizontal",
"return_format": "value"
},
{
"key": "field_607d8f19c0863",
"label": "Alignement du contenu",
"name": "contentposition",
"type": "radio",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"left": "Left",
"center": "Center",
"right": "Right"
},
"allow_null": 0,
"other_choice": 0,
"save_other_choice": 0,
"default_value": "center",
"layout": "horizontal",
"return_format": "value"
},
{
"key": "field_607d8f19c087c",
"label": "Forme sur le média",
"name": "shape",
"type": "true_false",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "",
"default_value": 0,
"ui": 1,
"ui_on_text": "Avec",
"ui_off_text": "Sans"
}
]
}
]
}
]
}
],
"min": "",
"max": "",
"acfe_flexible_category": [
"basique"
],
"acfe_flexible_modal_edit_size": "",
"acfe_flexible_thumbnail": "755",
"acfe_flexible_render_template": false,
"acfe_flexible_render_style": false,
"acfe_flexible_render_script": false,
"acfe_flexible_settings": false,
"acfe_flexible_settings_size": "medium"
},
"layout_607da0f4ab688": {
"key": "layout_607da0f4ab688",
"name": "tinder",
"label": "Tinder",
"display": "block",
"sub_fields": [
{
"key": "field_607d8f18495f1",
"label": "Tinder",
"name": "data",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f1a0be1a",
"label": "Description :",
"name": "",
"type": "message",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "Template de jeu reprenant le fonctionnement de l'application Tinder.\r\nLe joueur doit répondre en faisant défiler différentes cartes. Il peut dire si la carte est juste (check) ou fausses (croix).",
"new_lines": "wpautop",
"esc_html": 0
},
{
"key": "field_607d8f1a0be2b",
"label": "Options",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a0be32",
"label": "Question",
"name": "content",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 120
},
{
"key": "field_607d8f1a0be38",
"label": "Vies",
"name": "count",
"type": "number",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": 3,
"placeholder": "",
"prepend": "",
"append": "",
"min": 0,
"max": "",
"step": 1
},
{
"key": "field_607d8f1a0be3f",
"label": "Messages",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a0be45",
"label": "Messages",
"name": "complete",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f1a168c3",
"label": "Victoire",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a168db",
"label": "Message de victoire",
"name": "with_win",
"type": "true_false",
"instructions": "Si décoché, le jeu n'affichera pas de message de victoire et ira directement sur l'écran suivant.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "Avec",
"default_value": 1,
"ui": 0,
"ui_on_text": "",
"ui_off_text": ""
},
{
"key": "field_607d8f1a168e9",
"label": "Message de victoire",
"name": "win",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607d8f1a168db",
"operator": "==",
"value": "1"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f1a1bab9",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 30
},
{
"key": "field_607d8f1a1bac2",
"label": "Contenu",
"name": "content",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 120
},
{
"key": "field_607d8f1a1bad3",
"label": "Bouton",
"name": "cta",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 25
}
]
},
{
"key": "field_607d8f1a168f1",
"label": "Défaite",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a168f7",
"label": "Message de défaite",
"name": "loose",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f1a267e8",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 30
},
{
"key": "field_607d8f1a267f5",
"label": "Contenu",
"name": "content",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 120
},
{
"key": "field_607d8f1a267ff",
"label": "Bouton",
"name": "cta",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 25
}
]
}
]
},
{
"key": "field_607d8f1a0be4b",
"label": "Cartes",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a0be51",
"label": "Cartes",
"name": "elements",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 1,
"max": 0,
"layout": "block",
"button_label": "Ajouter une carte",
"sub_fields": [
{
"key": "field_607d8f1a32583",
"label": "Média",
"name": "media",
"type": "image",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "medium",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "jpg"
},
{
"key": "field_607d8f1a3258c",
"label": "Label",
"name": "label",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 25
},
{
"key": "field_607d8f1a3259a",
"label": "Valeur",
"name": "good",
"type": "true_false",
"instructions": "Est-ce que la carte est juste (check) ou fausses (croix) ?",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "Juste",
"default_value": 0,
"ui": 0,
"ui_on_text": "",
"ui_off_text": ""
}
]
}
]
}
],
"min": "",
"max": "",
"acfe_flexible_category": [
"jeu"
],
"acfe_flexible_modal_edit_size": "",
"acfe_flexible_thumbnail": "755",
"acfe_flexible_render_template": false,
"acfe_flexible_render_style": false,
"acfe_flexible_render_script": false,
"acfe_flexible_settings": false,
"acfe_flexible_settings_size": "medium"
},
"layout_607da114ab6bb": {
"key": "layout_607da114ab6bb",
"name": "memory",
"label": "Memory",
"display": "block",
"sub_fields": [
{
"key": "field_607d8f18495f7",
"label": "Memory",
"name": "data",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f1a3cb77",
"label": "Description :",
"name": "",
"type": "message",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "Template de jeu de mémoire. Le joueur doit retourner plusieurs cartes associées selon une question.",
"new_lines": "wpautop",
"esc_html": 0
},
{
"key": "field_607da3398739c",
"label": "Options",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a3cb90",
"label": "Image des cartes",
"name": "card",
"type": "image",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "jpg"
},
{
"key": "field_607d8f1a3cb99",
"label": "Messages",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a3cba2",
"label": "Messages",
"name": "complete",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f1a43d6d",
"label": "Victoire",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a43d7b",
"label": "Message de victoire",
"name": "with_win",
"type": "true_false",
"instructions": "Si décoché, le jeu n'affichera pas de message de victoire et ira directement sur l'écran suivant.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "Avec",
"default_value": 1,
"ui": 0,
"ui_on_text": "",
"ui_off_text": ""
},
{
"key": "field_607d8f1a43d84",
"label": "Message de victoire",
"name": "win",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607d8f1a43d7b",
"operator": "==",
"value": "1"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f1a4947f",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 30
},
{
"key": "field_607d8f1a4948f",
"label": "Contenu",
"name": "content",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 120
},
{
"key": "field_607d8f1a49498",
"label": "Bouton",
"name": "cta",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 25
}
]
},
{
"key": "field_607d8f1a43d8d",
"label": "Défaite",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a43d96",
"label": "Message de défaite",
"name": "loose",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"acfe_group_modal_close": 0,
"acfe_group_modal_button": "",
"acfe_group_modal_size": "large",
"sub_fields": [
{
"key": "field_607d8f1a53533",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 30
},
{
"key": "field_607d8f1a5354c",
"label": "Contenu",
"name": "content",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 120
},
{
"key": "field_607d8f1a53556",
"label": "Bouton",
"name": "cta",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 25
}
]
},
{
"key": "field_607d8f1a43d9f",
"label": "Défaite (temps)",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a43da7",
"label": "Message de défaite (temps)",
"name": "looseTime",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f1a60efb",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 30
},
{
"key": "field_607d8f1a60f08",
"label": "Contenu",
"name": "content",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 120
},
{
"key": "field_607d8f1a60f27",
"label": "Bouton",
"name": "cta",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 25
}
]
}
]
},
{
"key": "field_607d8f1a3cbaa",
"label": "Etapes",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a3cbb4",
"label": "Etapes",
"name": "steps",
"type": "repeater",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 1,
"max": 0,
"layout": "block",
"button_label": "Ajouter une étape",
"sub_fields": [
{
"key": "field_607d8f1a6c605",
"label": "Options",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a6c616",
"label": "Question",
"name": "content",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 120
},
{
"key": "field_607d8f1a6c620",
"label": "Temps",
"name": "duration",
"type": "number",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": 30,
"placeholder": "",
"prepend": "",
"append": "",
"min": 10,
"max": "",
"step": 5
},
{
"key": "field_607d8f1a6c628",
"label": "Cartes",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a6c63f",
"label": "Cartes",
"name": "cards",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 9,
"max": 9,
"layout": "block",
"button_label": "Ajouter une carte",
"sub_fields": [
{
"key": "field_607d8f1a74e02",
"label": "Média",
"name": "media",
"type": "image",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "jpg"
},
{
"key": "field_607d8f1a74e1c",
"label": "Valeur",
"name": "good",
"type": "true_false",
"instructions": "Est-ce que la carte fait partie de l'association attendue ?",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "Juste",
"default_value": 0,
"ui": 0,
"ui_on_text": "",
"ui_off_text": ""
}
]
}
]
}
]
}
],
"min": "",
"max": "",
"acfe_flexible_category": [
"jeu"
],
"acfe_flexible_modal_edit_size": "",
"acfe_flexible_thumbnail": "755",
"acfe_flexible_render_template": false,
"acfe_flexible_render_style": false,
"acfe_flexible_render_script": false,
"acfe_flexible_settings": false,
"acfe_flexible_settings_size": "medium"
},
"layout_607da129ab6d3": {
"key": "layout_607da129ab6d3",
"name": "scratch",
"label": "Scratch",
"display": "block",
"sub_fields": [
{
"key": "field_607d8f18495fe",
"label": "Scratch",
"name": "data",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f1a7eaa8",
"label": "Description :",
"name": "",
"type": "message",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "Template de jeu de grattage. Le joueur doit gratter sans se tromper une ou plusieurs cartes. Les cartes ont une réponse sur leur face correspondante à une question.",
"new_lines": "wpautop",
"esc_html": 0
},
{
"key": "field_607da3568739d",
"label": "Options",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a7eac9",
"label": "Image des cartes",
"name": "card",
"type": "image",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "jpg"
},
{
"key": "field_607d8f1a7ead9",
"label": "Messages",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a7eae8",
"label": "Messages",
"name": "complete",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"acfe_group_modal_close": 0,
"acfe_group_modal_button": "",
"acfe_group_modal_size": "large",
"sub_fields": [
{
"key": "field_607d8f1a856e1",
"label": "Victoire",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a856ea",
"label": "Message de victoire",
"name": "with_win",
"type": "true_false",
"instructions": "Si décoché, le jeu n'affichera pas de message de victoire et ira directement sur l'écran suivant.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "Avec",
"default_value": 1,
"ui": 0,
"ui_on_text": "",
"ui_off_text": ""
},
{
"key": "field_607d8f1a856f0",
"label": "Message de victoire",
"name": "win",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607d8f1a856ea",
"operator": "==",
"value": "1"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f1a8ab50",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 30
},
{
"key": "field_607d8f1a8ab5e",
"label": "Contenu",
"name": "content",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 120
},
{
"key": "field_607d8f1a8ab6e",
"label": "Bouton",
"name": "cta",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 25
}
]
},
{
"key": "field_607d8f1a856f6",
"label": "Défaite",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a85728",
"label": "Message de défaite",
"name": "loose",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"acfe_group_modal_close": 0,
"acfe_group_modal_button": "",
"acfe_group_modal_size": "large",
"sub_fields": [
{
"key": "field_607d8f1a94f22",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 30
},
{
"key": "field_607d8f1a94f2e",
"label": "Contenu",
"name": "content",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 120
},
{
"key": "field_607d8f1a94f3c",
"label": "Bouton",
"name": "cta",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 25
}
]
},
{
"key": "field_607d8f1a85735",
"label": "Défaite (temps)",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a8573d",
"label": "Message de défaite (temps)",
"name": "looseTime",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"acfe_group_modal_close": 0,
"acfe_group_modal_button": "",
"acfe_group_modal_size": "large",
"sub_fields": [
{
"key": "field_607d8f1aa041b",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 30
},
{
"key": "field_607d8f1aa0429",
"label": "Contenu",
"name": "content",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 120
},
{
"key": "field_607d8f1aa0430",
"label": "Bouton",
"name": "cta",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 25
}
]
}
]
},
{
"key": "field_607d8f1a7eb05",
"label": "Etapes",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1a7eb13",
"label": "Etapes",
"name": "steps",
"type": "repeater",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 1,
"max": 0,
"layout": "block",
"button_label": "Ajouter une étape",
"sub_fields": [
{
"key": "field_607d8f1aaf65a",
"label": "Options",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1aaf675",
"label": "Question",
"name": "content",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 120
},
{
"key": "field_607d8f1aaf680",
"label": "Temps",
"name": "duration",
"type": "number",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": 30,
"placeholder": "",
"prepend": "",
"append": "",
"min": 10,
"max": "",
"step": 5
},
{
"key": "field_607d8f1aaf685",
"label": "Vies",
"name": "count",
"type": "number",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": 1,
"placeholder": "",
"prepend": "",
"append": "",
"min": 1,
"max": "",
"step": 1
},
{
"key": "field_607d8f1aaf68a",
"label": "Cartes",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1aaf68f",
"label": "Cartes",
"name": "cards",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 4,
"max": 4,
"layout": "block",
"button_label": "Ajouter une carte",
"sub_fields": [
{
"key": "field_607d8f1ab8b9c",
"label": "Réponse",
"name": "content",
"type": "text",
"instructions": "Réponse affichée sur la face visible de la carte.",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 130
},
{
"key": "field_607d8f1ab8bb1",
"label": "Valeur",
"name": "good",
"type": "true_false",
"instructions": "Est-ce que la carte fait partie de l'association attendue ?",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "Juste",
"default_value": 0,
"ui": 0,
"ui_on_text": "",
"ui_off_text": ""
}
]
}
]
}
]
}
],
"min": "",
"max": "",
"acfe_flexible_category": [
"jeu"
],
"acfe_flexible_modal_edit_size": "",
"acfe_flexible_thumbnail": "755",
"acfe_flexible_render_template": false,
"acfe_flexible_render_style": false,
"acfe_flexible_render_script": false,
"acfe_flexible_settings": false,
"acfe_flexible_settings_size": "medium"
}
},
"button_label": "Ajouter un écran",
"min": 1,
"max": "",
"acfe_flexible_hide_empty_message": false,
"acfe_flexible_empty_message": "",
"acfe_flexible_layouts_previews": false,
"acfe_flexible_layouts_state": false
},
{
"key": "field_607ec29e061bd",
"label": "Ecrans",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607da708dbb29",
"operator": "==",
"value": "true"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607e8edd98d74",
"label": "Home",
"name": "home",
"type": "flexible_content",
"instructions": "Editer les informations concernant la Home.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_flexible_advanced": 1,
"acfe_flexible_stylised_button": 1,
"acfe_flexible_layouts_templates": 0,
"acfe_flexible_layouts_placeholder": 1,
"acfe_flexible_layouts_thumbnails": 0,
"acfe_flexible_layouts_settings": 0,
"acfe_flexible_disable_ajax_title": 0,
"acfe_flexible_layouts_ajax": 1,
"acfe_flexible_add_actions": [],
"acfe_flexible_remove_button": [],
"acfe_flexible_modal_edit": {
"acfe_flexible_modal_edit_enabled": "1",
"acfe_flexible_modal_edit_size": "large"
},
"acfe_flexible_modal": {
"acfe_flexible_modal_enabled": "1",
"acfe_flexible_modal_title": "Choisir un template",
"acfe_flexible_modal_size": "small",
"acfe_flexible_modal_col": "4",
"acfe_flexible_modal_categories": "1"
},
"layouts": {
"layout_607d83e225c7e": {
"key": "layout_607d83e225c7e",
"name": "home",
"label": "Home",
"display": "block",
"sub_fields": [
{
"key": "field_607e8f758aa28",
"label": "Home",
"name": "data",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607e8f758aa29",
"label": "Description :",
"name": "",
"type": "message",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "Template permettant d'accéder à des sous webactivities.\r\nUtilise le système de progression de ToM pour débloquer les différents sous templates.\r\nUtilise un effet de parallaxe.",
"new_lines": "wpautop",
"esc_html": 0
},
{
"key": "field_607e8f758aa2a",
"label": "Medias",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607e8f758aa2b",
"label": "Texte ou Image",
"name": "text_or_image",
"type": "radio",
"instructions": "Choisissez si l'élément d'arrière plan sera un texte ou une image.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "40",
"class": "",
"id": ""
},
"choices": {
"text": "Texte",
"image": "Image"
},
"allow_null": 0,
"other_choice": 0,
"save_other_choice": 0,
"default_value": "text",
"layout": "horizontal",
"return_format": "value"
},
{
"key": "field_607e8f758aa2c",
"label": "Texte d'arrière plan",
"name": "textBack",
"type": "text",
"instructions": "Texte en arrière plan avec un effet de parallaxe",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607e8f758aa2b",
"operator": "==",
"value": "text"
}
]
],
"wrapper": {
"width": "60",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 25
},
{
"key": "field_607e8f758aa2d",
"label": "Image d'arrière plan",
"name": "imgBack",
"type": "image",
"instructions": "Image en arrière plan avec un effet de parallaxe",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607e8f758aa2b",
"operator": "==",
"value": "image"
}
]
],
"wrapper": {
"width": "60",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "png"
},
{
"key": "field_607e8f758aa2e",
"label": "Image d'illustration",
"name": "imgsBack",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "100",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 1,
"max": 1,
"layout": "block",
"button_label": "Ajouter une image",
"sub_fields": [
{
"key": "field_607e8f758aa2f",
"label": "Média",
"name": "media",
"type": "image",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "png"
},
{
"key": "field_607e8f768aa30",
"label": "Vitesse",
"name": "speed",
"type": "number",
"instructions": "Vitesse de l'effet parallaxe de l'image lors d'un déplacement.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "0.07",
"placeholder": "",
"prepend": "",
"append": "",
"min": "",
"max": "",
"step": ""
},
{
"key": "field_607e8f768aa31",
"label": "Décalage X",
"name": "offsetx",
"type": "text",
"instructions": "Décalage de l'image (en px ou pourcentage)",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": 0,
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
}
]
},
{
"key": "field_607e8f768aa32",
"label": "Contenu",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607e8f768aa33",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 25
},
{
"key": "field_607e8f768aa34",
"label": "Icone d'avancement",
"name": "ico",
"type": "image",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "svg, png, jpg"
},
{
"key": "field_607e8f768aa35",
"label": "Popin de fin",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607e8f768aa36",
"label": "Titre de la popin",
"name": "popin_title",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 25
},
{
"key": "field_607e8f768aa37",
"label": "Image de la popin",
"name": "popin_media",
"type": "image",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "jpg, png, svg"
},
{
"key": "field_607e8f768aa38",
"label": "Contenu de la popin",
"name": "popin_content",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 100
},
{
"key": "field_607e8f768aa39",
"label": "Bouton",
"name": "popin_cta",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 25
}
]
}
],
"min": "",
"max": "",
"acfe_flexible_category": "",
"acfe_flexible_modal_edit_size": "",
"acfe_flexible_render_template": false,
"acfe_flexible_render_style": false,
"acfe_flexible_render_script": false,
"acfe_flexible_thumbnail": false,
"acfe_flexible_settings": false,
"acfe_flexible_settings_size": "medium"
}
},
"button_label": "Editer la home",
"min": 1,
"max": 1,
"acfe_flexible_hide_empty_message": false,
"acfe_flexible_empty_message": "",
"acfe_flexible_layouts_previews": false,
"acfe_flexible_layouts_state": false
},
{
"key": "field_607da7fd5c567",
"label": "Sous-webactivities",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607da708dbb29",
"operator": "==",
"value": "true"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607eb53759553",
"label": "Sous-webactivities",
"name": "subwebactivities",
"type": "repeater",
"instructions": "Ajoutez des sous-webactivities avec leur propres écrans et message de conclusion.\r\nCes sous-webactivities seront accessibles via le template Home.",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607da708dbb29",
"operator": "==",
"value": "true"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 1,
"collapsed": "",
"min": 1,
"max": 0,
"layout": "block",
"button_label": "Ajouter une sous-webactivity",
"sub_fields": [
{
"key": "field_607daa030cf2b",
"label": "Sous-webactivity",
"name": "subwebactivity",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_group_modal": 1,
"acfe_group_modal_close": 0,
"acfe_group_modal_button": "",
"acfe_group_modal_size": "large",
"sub_fields": [
{
"key": "field_607d8f1ad0328",
"label": "Informations",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1ad0352",
"label": "Picto",
"name": "picto",
"type": "image",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"acfe_thumbnail": 0,
"return_format": "url",
"preview_size": "thumbnail",
"library": "uploadedTo",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "png, svg"
},
{
"key": "field_607d8f1ad036b",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 30
},
{
"key": "field_607d8f1ad03b3",
"label": "Contenu",
"name": "content",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "50",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 30
},
{
"key": "field_607d8f1ad03c8",
"label": "Ecrans",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607eb9aeb8546d",
"label": "Ecrans",
"name": "steps",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"clone": [
"field_607d8f1845544"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0
}
]
}
]
},
{
"key": "field_607d8f1ac259f",
"label": "Conclusion",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607da708dbb29",
"operator": "==",
"value": "true"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1ac25a7",
"label": "Conclusion",
"name": "complete_subactivity",
"type": "group",
"instructions": "Ecran de fin des sous-webactivities.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f1ac5f0b",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 40
},
{
"key": "field_607d8f1ac5f1a",
"label": "Bouton",
"name": "cta",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": 25
},
{
"key": "field_607d8f1ac5f23",
"label": "Media d'arrière plan",
"name": "media",
"type": "file",
"instructions": "Image ou vidéo qui sera en fullscreen en arrière plan.",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "wp",
"return_format": "url",
"library": "uploadedTo",
"min_size": "",
"max_size": "",
"mime_types": "jpg, mp4"
}
]
},
{
"key": "field_607d8f1845512",
"label": "Conclusion",
"name": "",
"type": "tab",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_607da708dbb29",
"operator": "==",
"value": "false"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"placement": "top",
"endpoint": 0
},
{
"key": "field_607d8f1845520",
"label": "Conclusion",
"name": "completed",
"type": "group",
"instructions": "Ecran de fin de la webactivity.",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"acfe_group_modal": 0,
"sub_fields": [
{
"key": "field_607d8f1b4b199",
"label": "Titre",
"name": "title",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
},
{
"key": "field_607d8f1b4b1a7",
"label": "Contenu",
"name": "description",
"type": "textarea",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"maxlength": "",
"rows": "",
"new_lines": "",
"acfe_textarea_code": 0
},
{
"key": "field_607d8f1b4b1b0",
"label": "Bouton",
"name": "cta",
"type": "text",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"placeholder": "",
"prepend": "",
"append": "",
"maxlength": ""
}
]
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "post"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "left",
"instruction_placement": "label",
"hide_on_screen": [
"permalink",
"block_editor",
"the_content",
"excerpt",
"discussion",
"comments",
"revisions",
"format",
"page_attributes",
"featured_image",
"tags",
"send-trackbacks"
],
"active": true,
"description": "",
"acfe_display_title": "",
"acfe_autosync": "",
"acfe_form": 0,
"acfe_meta": {
"acfcloneindex": {
"acfe_meta_key": "",
"acfe_meta_value": ""
}
},
"acfe_note": ""
}
]
Hello guys, I have add a custom field to taxonomy called avatar actor
[img]https://i.imgur.com/KgYXL7B.png[/img]
[img]https://i.imgur.com/nzGbH5v.png[/img]
How can I display it in my post, please help me. Thanks so much
<?php
$queried_object = get_queried_object();
$taxonomy = $queried_object->taxonomy;
$term_id = $queried_object->term_id;
$actor_avatar = get_field('actor_avatar', $taxonomy . '_' . $term_id);
$actor_eng_name = get_field('actor_english_name', $taxonomy . '_' . $term_id);
$actor_dob = get_field('actor_dob', $taxonomy . '_' . $term_id);
$actor_nation = get_field('actor_nation', $taxonomy . '_' . $term_id);
$actor_job = get_field('actor_job', $taxonomy . '_' . $term_id);
$actor_blood = get_field('actor_blood', $taxonomy . '_' . $term_id);
$actor_forte = get_field('actor_forte', $taxonomy . '_' . $term_id);
$actor_interests = get_field('actor_interests', $taxonomy . '_' . $term_id);
$actor_height = get_field('actor_height', $taxonomy . '_' . $term_id);
$actor_weight = get_field('actor_weight', $taxonomy . '_' . $term_id);
$actor_gender = get_field('actor_gender', $taxonomy . '_' . $term_id);
$actor_info = get_field('actor_info', $taxonomy . '_' . $term_id);
?>
Hi guys,
I have an ACF form with the next two rules required for display:
Post Type => “Client Details”
and
Post Taxonomy => “Premium”
Now, I want to display this form on front-end through acf_form() function, and create a new post after submit.
THE PROBLEM: because of the taxonomy rule, the form is not displayed.
acf_form( array(
'id' => 'my-form',
'post_id' => 'new_post',
'new_post' => array(
'post_type' => 'client-details',
'post_status' => 'publish'
),
'post_title' => true,
'post_content'=> true,
) );
Does anyone know how I can set the category for the form to be displayed?
Thanks!!
Hello!
I am trying to create an FAQ repeater to my archive-product.php (category pages) in WooCommerce + Storefront but unfortunately, it’s not working. It skips right over the “if” statement and just says “Come back later”. Am I missing something here since I’ve never come across an issue like this and didn’t find a solution for this from anywhere else?
Full code of the template:
<?php
/**
* The Template for displaying product archives, including the main shop page which is a post type archive
*
* This template can be overridden by copying it to yourtheme/woocommerce/archive-product.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We try to do this as little as possible, but it does
* happen. When this occurs the version of the template file will be bumped and
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @package WooCommerce\Templates
* @version 3.4.0
*/
defined( 'ABSPATH' ) || exit;
get_header( 'shop' );
/**
* Hook: woocommerce_before_main_content.
*
* @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
* @hooked woocommerce_breadcrumb - 20
* @hooked WC_Structured_Data::generate_website_data() - 30
*/
do_action( 'woocommerce_before_main_content' );
?>
<header class="woocommerce-products-header">
<?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>
<h1 class="woocommerce-products-header__title page-title"><?php woocommerce_page_title(); ?></h1>
<?php endif; ?>
<?php
/**
* Hook: woocommerce_archive_description.
*
* @hooked woocommerce_taxonomy_archive_description - 10
* @hooked woocommerce_product_archive_description - 10
*/
do_action( 'woocommerce_archive_description' );
?>
</header>
<?php
if ( woocommerce_product_loop() ) {
/**
* Hook: woocommerce_before_shop_loop.
*
* @hooked woocommerce_output_all_notices - 10
* @hooked woocommerce_result_count - 20
* @hooked woocommerce_catalog_ordering - 30
*/
do_action( 'woocommerce_before_shop_loop' );
woocommerce_product_loop_start();
if ( wc_get_loop_prop( 'total' ) ) {
while ( have_posts() ) {
the_post();
/**
* Hook: woocommerce_shop_loop.
*/
do_action( 'woocommerce_shop_loop' );
wc_get_template_part( 'content', 'product' );
}
}
woocommerce_product_loop_end();
/**
* Hook: woocommerce_after_shop_loop.
*
* @hooked woocommerce_pagination - 10
*/
do_action( 'woocommerce_after_shop_loop' );
} else {
/**
* Hook: woocommerce_no_products_found.
*
* @hooked wc_no_products_found - 10
*/
do_action( 'woocommerce_no_products_found' );
}
?>
<div class="container FAQ">
<div class="row">
<div class="col-md-12">
<?php if( have_rows('faq') ):
$i = 1; // Set the increment variable
?>
<div id="accordion">
<?
// loop through the rows of data for the tab header
while ( have_rows('faq') ) : the_row();
?>
<div class="card" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
<div class="card-header" id="heading-<?php echo $i;?>">
<button class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapse-<?php echo $i;?>" aria-expanded="true" aria-controls="collapse-<?php echo $i;?>">
<span class="accordion-title" itemprop="name"><?php the_sub_field('question'); ?></span>
</button>
</div>
<div id="collapse-<?php echo $i;?>" class="collapse" aria-labelledby="heading-<?php echo $i;?>" data-parent="#accordion">
<div class="card-body" itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
<span itemprop="text"><?php the_sub_field('answer'); ?></span>
</div>
</div>
</div>
<?php $i++; // Increment the increment variable
endwhile; //End the loop
?>
</div>
<?php
else :
// no rows found
echo 'Come back later';
endif;?>
</div>
</div>
</div>
<?php
/**
* Hook: woocommerce_after_main_content.
*
* @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
*/
do_action( 'woocommerce_after_main_content' );
/**
* Hook: woocommerce_sidebar.
*
* @hooked woocommerce_get_sidebar - 10
*/
do_action( 'woocommerce_sidebar' );
get_footer( 'shop' );
Hi, can you help me please?
I’ve got a function which hooks into the save post action.
Unfortunately it only works on creating a new post but not when updating an existing post.
What do i have to do make that happen?
I would like to have the taxonomy term “ha_p_kategorie” changed based on the true/false field “ha_p_gastspiel” and
the taxonomy term “ha_p_jahrgang” changed when the date in date picker field “ha_p_premiere” is changed.
This is my code:
function change_produktion_content($post_id) {
if ( get_post_type( $post_id ) == 'ha_produktion' ) {
// update taxonomy term based on true/false field ha_p_gastspiel
$gastspiel = get_post_meta($post_id,'ha_p_gastspiel',true);
if ($gastspiel == '1') {
wp_set_object_terms( $post_id, 'Gastspiel', 'ha_p_kategorie' );
} else {
wp_remove_object_terms( $post_id, 'Gastspiel', 'ha_p_kategorie' );
};
// update another taxonomy term based on date picker field ha_p_premiere
$premierendatum = get_post_meta($post_id,'ha_p_premiere',true);
$jahrgang = date("Y", strtotime($premierendatum));
update_field('ha_p_jahrgang', $jahrgang);
wp_set_object_terms( $post_id, $jahrgang, 'ha_p_jahrgang' );
$my_post = array();
$my_post['ID'] = $post_id;
remove_action('acf/save_post', 'change_produktion_content');
wp_update_post( $my_post );
add_action('acf/save_post', 'change_produktion_content');
}
}
add_action('acf/save_post', 'change_produktion_content');
What am i doing wrong? or missing?
Hello, I’m using this code and is working fine with almost all the fields, but i want to use a taxonomy field and i get only the id value in frontend. How I can modify this code so it shows the taxonomy value and not the id.
function my_acf_repeater($atts, $content='') {
extract(shortcode_atts(array(
"field" => null,
"sub_fields" => null,
"post_id" => null
), $atts));
if (empty($field) || empty($sub_fields)) {
// silently fail? is that the best option? idk
return "";
}
$sub_fields = explode(",", $sub_fields);
$_finalContent = '';
if( have_rows($field, $post_id) ):
while ( have_rows($field, $post_id) ) : the_row();
$_tmp = $content;
foreach ($sub_fields as $sub) {
$subValue = get_sub_field(trim($sub));
$_tmp = str_replace("%$sub%", $subValue, $_tmp);
}
$_finalContent .= do_shortcode( $_tmp );
endwhile;
else :
$_finalContent = "$field does not have any rows";
endif;
return $_finalContent;
}
add_shortcode("acf_repeater", "my_acf_repeater");
this is the code to show in frontend:
[acf_repeater field="example-row" sub_fields="example-name, example-phone, example-image"]
User: %example-name%
Phone: %example-phone%
profile pic: %example-image%
[/acf_repeater]
Hello, I’m using a script I found to add repeaters fields using shortcodes. The script works fine for almost everything, but when I want to use a taxonomy subfield I get only the number ID. What I need to add or modify in this code to make this repeater shows the text value?
<?php
/**
* ACF Pro repeater field shortcode
*
* I created this shortcode function because it didn't exist and it was being requested by others
* I originally posted it here: https://support.advancedcustomfields.com/forums/topic/repeater-field-shortcode/
*
* @attr {string} field - (Required) the name of the field that contains a repeater sub group
* @attr {string} sub_fields - (Required) a comma separated list of sub field names that are part of the field repeater group
* @attr {string} post_id - (Optional) Specific post ID where your value was entered. Defaults to current post ID (not required). This can also be options / taxonomies / users / etc
*/
function my_acf_repeater($atts, $content='') {
extract(shortcode_atts(array(
"field" => null,
"sub_fields" => null,
"post_id" => null
), $atts));
if (empty($field) || empty($sub_fields)) {
// silently fail? is that the best option? idk
return "";
}
$sub_fields = explode(",", $sub_fields);
$_finalContent = '';
if( have_rows($field, $post_id) ):
while ( have_rows($field, $post_id) ) : the_row();
$_tmp = $content;
foreach ($sub_fields as $sub) {
$subValue = get_sub_field(trim($sub));
$_tmp = str_replace("%$sub%", $subValue, $_tmp);
}
$_finalContent .= do_shortcode( $_tmp );
endwhile;
else :
$_finalContent = "$field does not have any rows";
endif;
return $_finalContent;
}
add_shortcode("acf_repeater", "my_acf_repeater");
Code to show the shortcodes:
[acf_repeater field="example-row" sub_fields="example-name, example-phone, example-image"]
User: %example-name%
Phone: %example-phone%
profile pic: %example-image%
[/acf_repeater]
On my post pages, I have created a Post Objects field that allows multiple items from a custom post type (called “Destinations”) to be associated with the post. I set the “Return Format” to be “Post ID”.
On the “Destination” custom post type single template, I wrote this query, which works well:
$destid = get_the_ID();
$postsargs = array(
'posts_per_page' => 5,
'post_type' => 'post',
'post_status' => 'publish',
'meta_query' => array(
array(
'key' => 'destinations',
'value' => $destid,
'compare' => 'LIKE',
)
)
);
$getposts = get_posts( $postsargs );
It successfully returns posts that have that particular Destination in the Post Object field.
I also want to run this query on a custom taxonomy archive page for the Destination post type. I put all of the custom post IDs with the current taxonomy term into an array called $destinations and then tried this query:
$postsargs = array(
'posts_per_page' => 5,
'post_type' => 'post',
'post_status' => 'publish',
'meta_query' => array(
array(
'key' => 'destinations',
'value' => $destinations,
'compare' => 'LIKE'
)
)
);
$getposts = get_posts( $postsargs );
But it returns all posts, not just the ones that have that Destination in the Post Object field.
How can I adjust this query on the Destination taxonomy archive so that it only gets posts where the Post Object field matches the Destinations from that term?
Hello! I have this code:
<div class="container-fluid">
<div class="row">
<div class="col-12">
<div class="wrapper light-wrapper">
<div class="container-fluid text-center">
<div id="cube-grid" class="cbp light-gallery">
<?php if( have_rows('taxonomy_gallery_lightbox_image') ): ?>
<?php while( have_rows('taxonomy_gallery_lightbox_image') ): the_row(); $row_index = get_row_index(); ?>
<div class="cbp-item">
<figure class="overlay overlay4 rounded">
<a>" data-sub-html="#caption<?php echo $row_index; ?>">
<img />" alt="" />
<div id="caption<?php echo $row_index; ?>" class="d-none">
<p><?php the_sub_field('taxonomy_gallery_image_caption_lightbox'); ?></p>
</div>
</a>
</figure>
</div>
<?php endwhile; ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
</div>
This works correctly in all the wordpress pages, but no works in category.php. When the category dont have any post, shows the repeater correctly, but if there is at least one post, the repeatar does not work.
I found this in the documentation:
https://www.advancedcustomfields.com/resources/adding-fields-taxonomy-term/
Using the variable $term, I got it to work in no repeater fields, but dont show the images inside the repeater gallery.
Hi …
Am using the following code to try and output a link to the Woocommerce category but I cannot get the term_object to output anything – any pointers where I cam going wrong?
I have a sub field which is selecting a single category from the standard ‘product_cat’ in WooC.
<?php
if (have_rows('feature_categories')) {
while (have_rows('feature_categories')) {
the_row();
$term = get_sub_field('link_category');
$taxonomy = 'product_cat';
$term_link = get_term_link($term, $taxonomy);
$image = get_sub_field('category_image');
?>
<div class="col-xs-12 col-md-4"><a href="<?php echo $term_link; ?>">
<?php echo wp_get_attachment_image( $image, 'webblock' ); ?>
<h4><?php the_sub_field('category_title'); ?></h4></a>
</div>
<?php
}
}
?>
Thanks in advance for any help!
Hi Guys,
I apologize already for this ticket since this is both feedback and an issue for me that i’m trying to resolve.
Currently i’m trying to create/modify the behavior of the taxonomy field from ACF.
The taxonomy is called “make”.
Field 1: Taxonomy depth 0 (make).
Field 2: Is children (model).
So i’m walking into a couple of issues here and some are bigger then others.
1) How do i change/remove the child prefix “- ” and “– ” from the options label.
[url=https://ibb.co/8bxmD79][img]https://i.ibb.co/FXYhbDz/acf1.png[/img][/url]
2) I have the option enabled that let users create/save new terms from the edit/post screen. The issue here is that the tooltip/modal header references to the word “make” from the “taxonomy”. In my opinion it would have been better if this is taken from the fields label. Is there a way to modify this?
2.1) It would be nice to be able to hide the parent selector on a field to field basis for cases like this where you implement parent and child fields/dropdowns (Taxonomy create/save terms option).
I have seen a lot of people struggling creating setups like mine.
Thanks,
Patrick
I have a scenario where I need to query a taxonomy with multiple values. Here is the basic idea:
$people_array = array(73227,970674,17293);
$args = array(
'taxonomy' => 'people',
'meta_query' => array(
array(
'key' => 'person_id',
'value' => $people_array,
'compare' => '='
),
)
);
$people = get_terms( $args );
However, passing an array in there does not appear to work. It apparently has to be constructed like this:
$args = array(
'taxonomy' => 'people',
'meta_query' => array(
'relation' => 'OR',
array(
'key' => 'person_id',
'value' => 73227,
'compare' => '='
),
array(
'key' => 'person_id',
'value' => 970674,
'compare' => '='
),
array(
'key' => 'person_id',
'value' => 17293,
'compare' => '='
)
)
);
$people = get_terms( $args );
That works! But how do I construct this dynamically from a list of IDs? I tried something like this, which is to build an array of arrays…
$people_array = array(73227,970674,17293);
$person_ids_array = array();
for ($x = 0; $x < count($people_array); $x++) {
$tempArray = array('key' => 'person_id', 'value' => $people_array[$x], 'compare' => '=');
array_push($person_ids_array, $tempArray);
}
$args = array(
'taxonomy' => 'people',
'meta_query' => array(
'relation' => 'OR',
$person_ids_array,
)
);
$people = get_terms( $args );
That doesn’t work either. I’m stymied. There must be some way to do this…
Thank you for any help you can provide!
Is there a way to show or “repeat” a certain field group for each taxonomy term of a post?
I my case I need to build a collection of warning signs (each sign is a post). The ‘signs’ post type has a taxonomy ‘languages’ where I can select all available languages for this sign. Here comes the tricky part: For each chosen language I want a field group to show up (one text field and one image field). As the list of languages is not static and can be extended anytime, it’s not an option to pre-generate the fields.
How would I accomplish this? Thanks for any thoughts or tips!
I have created a custom field with a Post Object on a custom post type (Whisky), so I can relate it to posts of another custom post type (Tasting Event). This works fine and I can list the related posts (Tasting Events) in the original post (Whisky). However, is it possible to query the relationship in the other direction? i.e. list the Tasting Event posts from the Whisky post? I suspect not very easily as I presume the related post data is stored as json against the original post, so would be a bit of a horrible query parsing json within the SQL behind the scenes.
Best alternative I can think of at the moment is using a custom taxonomy to link the 2 things, but it’s a bit more of a faff from an admin point of view as the admins will have to maintain a list of Tasting Events as a taxonomy as well as creating Tasting Event posts.
I created a new taxonomy “quote_category” and added 2 customs fields “category_image” and “category_color”.
trying to fetch and return these values inside my REST API but only get null.
[
{
“id”: 12,
“name”: “Fulfillment”,
“description”: “”,
“image”: null,
“color”: null
},
code:
function wl_quotecategory() {
$terms = get_terms( array(
'taxonomy' => 'quote_category',
'hide_empty' => false,
'fields' => 'all',
) );
$data = [];
$i = 0;
foreach($terms as $term) {
// get the current taxonomy term
$image = get_field('category_image', $term->term_id);
print_r($image);
$data[$i]['id'] = $term->term_id;
$data[$i]['name'] = $term->name;
$data[$i]['description'] = sanitize_text_field($term->description);
$data[$i]['image'] = the_field('category_image', $term->term_id);
$data[$i]['color'] = the_field('category_color', $term->term_id);
$i++;
}
return $data;
}
Hello I’m trying to make a filter on WordPress that will filter out values based on checked checkboxes using ACF (Advanced Custom Fields), I inspected my code and the values are passing and it’s not showing any errors on console but the result is not filtering. Sorry if it’s a trivial issue I’m new to this plugin.
if(isset($_GET['BtnSubmit'])){
global $wpdb;
$data_array = array (
'name-application' => $_GET['name-application'],
'destination-application' => $_GET['destination-application'],
'category-application' => $_GET['category-application'],
'amenities-application' => $_GET['amenities-application'],
'tags-application' => $_GET['tags-application'],
);
$_name = $data_array['name-application'];
$_destination = $data_array['destination-application'];
$_category = $data_array['category-application'];
$_amenities = $data_array['amenities-application'];
$_tags = $data_array['tags-application'];
$the_query = new WP_Query( array(
'posts_per_page'=> 10,
'post_type'=> 'accommodation',
'post_status' => 'publish',
'orderby' => 'date',
'order' => 'ASC',
'tax_query' => array(
'relation' => 'AND',
array(
'taxonomy' => 'category',
'field' => 'term_id',
'terms' => $_category,
'include_children' => true,
'operator' => 'IN'
),
array(
'taxonomy' => 'post_tag',
'field' => 'term_id',
'terms' => array($_tags),
'operator' => 'LIKE'
),
'meta_query' => array(
'relation' => 'AND',
array(
'key' => 'destinations',
'type' => 'NUMERIC',
'value' => $_destination,
'compare' => '='
),
array(
'key' => 'amenities',
'type' => 'CHAR',
'value' => serialize(array(implode(", ", $_amenities))),
'compare' => '='
)
),
),
'relation' => 'AND',
's' => $_name,
'paged' => get_query_var('paged') ? get_query_var('paged') : 1)
);
}
<h6>SEARCH BY AMENITIES</h6>
<div class="filter-amenities">
<ul class="ks-cboxtags">
<li><input name="amenities-application[]" type="checkbox" id="checkboxOne" value="AC" <?php if( in_array("AC", $_GET['amenities-application'])) { echo "checked=\"checked\""; }?>><label for="checkboxOne">AC</label></li>
<li><input name="amenities-application[]" type="checkbox" id="checkboxTwo" value="Bar" <?php if( in_array ("Bar", $_GET['amenities-application'])) { echo "checked=\"checked\""; }?>><label for="checkboxTwo">Bar</label></li>
</ul>
Hi, I try to create list of child category with images thumbs.
I add new field to taxonomy “image_category” and now I try to add this image to the list:
<?php
$args = array('parent' => 3);
$categories = get_categories( $args );
$term = get_queried_object();
$image_category = get_field('image_category', $term);
foreach($categories as $category) {
echo '<div class="col-md-3 col-sm-12 col-xs-12 lista-kraje text-center pb-3"><img src="' . $image_category . '"><h3><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a> </h3> ';
echo '<p> <strong>Number post:</strong> '. $category->count . '</p></div>';
}
?>
I see category list, name, number post. Only image dont work.
Image link dont show. I have on consol only “img src=(unknown)”. What am I doing wrong?
I added custom fields to an old site that already had many posts (magazine articles), including four taxonomies (ACF management of Categories and Tags, plus two more: Authors and Issues). We are gradually editing existing posts to give those fields values, but of course it’s a long process. How can we see a list of posts that need such work?
The attached screenshot shows the sort of mixture I’m dealing with. If I could sort the table by the Categories, Tags, Authors, or Issues columns, that would be great, but the column headers are not clickable. And the Categories pull down for filtering doesn’t have “none” as a choice, so I can’t filter by that. If I select Categories, Tags, Authors, or Issues on the left menu, I can click on a count to get a list of all posts with that taxonomy term, but I don’t see a way to get a list of the posts with no value at all for a given taxonomy. How can I hunt down such posts?