Advanced Custom Fields: Extended - Version 0.8.7.4

Version Description

  • Module: Json AutoSync - Fixed an issue where json file would not be updated when the field group was created without ACF Extended (Json Sync checkbox was unchecked)
  • Module: Dynamic Forms - Added the ability to pass an array to the acfe_form() function allowing to override settings
  • Module: Dynamic Forms - Fixed Elementor + YOAST inifinite loop when using the [acfe_form] shortcode to create a new post
  • Module: Dynamic Forms - Post/Term/User Actions load values setting is now disabled by default
  • Module: Dynamic Post Type - Updated Block Editor instructions for the show_in_rest setting
  • Module: Dynamic Taxonomy - Updated Block Editor instructions for the show_in_rest setting
  • Field: Hidden - Fixed the field render when in table element
  • Field: Columns - Enhanced Field Group UI
  • Field: Columns - Hidden in Users / Terms views to avoid display problem (Due to table render)
  • Field: Advanced Link - Fixed ACF CSS that adds a display:none on sub fields buttons
  • Field: Taxonomy Terms - Added hook filter('acfe/fields/taxonomy_terms/query', $args, $field, $post_id) to change the ajax query
Download this release

Release Info

Developer hwk-fr
Plugin Icon 128x128 Advanced Custom Fields: Extended
Version 0.8.7.4
Comparing to
See all releases

Code changes from version 0.8.7.3 to 0.8.7.4

acf-extended.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Advanced Custom Fields: Extended
4
  * Description: Enhancement Suite which improves Advanced Custom Fields administration
5
- * Version: 0.8.7.3
6
  * Author: ACF Extended
7
  * Author URI: https://www.acf-extended.com
8
  * Text Domain: acfe
@@ -16,7 +16,7 @@ if(!class_exists('ACFE')):
16
  class ACFE{
17
 
18
  // Vars
19
- var $version = '0.8.7.3';
20
  var $acf = false;
21
 
22
  /*
2
  /**
3
  * Plugin Name: Advanced Custom Fields: Extended
4
  * Description: Enhancement Suite which improves Advanced Custom Fields administration
5
+ * Version: 0.8.7.4
6
  * Author: ACF Extended
7
  * Author URI: https://www.acf-extended.com
8
  * Text Domain: acfe
16
  class ACFE{
17
 
18
  // Vars
19
+ var $version = '0.8.7.4';
20
  var $acf = false;
21
 
22
  /*
assets/acf-extended-admin.js CHANGED
@@ -94,13 +94,54 @@
94
 
95
  });
96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  /*
98
  * Field: WYSIWYG
99
  */
100
  var acfe_repeater_remove_primary_class = function(field){
101
 
102
  field.$('.acf-button').removeClass('button-primary');
103
-
104
  };
105
 
106
  acf.addAction('new_field/name=acfe_meta', acfe_repeater_remove_primary_class);
94
 
95
  });
96
 
97
+ /*
98
+ * Field Columns
99
+ */
100
+ var acfe_column_title = function($el){
101
+
102
+ var field = acf.getInstance($el);
103
+
104
+ var $columns = field.$setting('columns');
105
+ var columns = acf.getInstance($columns).getValue();
106
+
107
+ var $endpoint = field.$setting('endpoint');
108
+ var endpoint = acf.getInstance($endpoint).getValue();
109
+
110
+ if(endpoint){
111
+
112
+ field.set('label', '(Column endpoint)');
113
+
114
+ }else{
115
+
116
+ field.set('label', '(Column ' + columns + ')');
117
+
118
+ }
119
+
120
+ };
121
+
122
+ acf.addAction('change_field_label/type=acfe_column', acfe_column_title);
123
+ acf.addAction('change_field_type/type=acfe_column', acfe_column_title);
124
+
125
+ acf.addAction('render_field_settings/type=acfe_column', function($el){
126
+
127
+ var field = acf.getFieldObject($el);
128
+
129
+ var setLabel = function(){
130
+ field.set('label', true);
131
+ }
132
+
133
+ field.on('change', '.acfe-field-columns', setLabel);
134
+ field.on('change', '.acfe-field-columns-endpoint', setLabel);
135
+
136
+ });
137
+
138
  /*
139
  * Field: WYSIWYG
140
  */
141
  var acfe_repeater_remove_primary_class = function(field){
142
 
143
  field.$('.acf-button').removeClass('button-primary');
144
+
145
  };
146
 
147
  acf.addAction('new_field/name=acfe_meta', acfe_repeater_remove_primary_class);
assets/acf-extended-admin.min.js CHANGED
@@ -1 +1 @@
1
- !function(i){var e;"undefined"!=typeof acf&&(new acf.Model({actions:{new_field:"onNewField"},onNewField:function(e){var t;e.has("after")&&(t=e.get("after"),(t=e.$el.siblings('[data-name="'+t+'"]').first()).length&&t.after(e.$el))}}),new acf.Model({wait:"ready",actions:{append:"onAppend","acfe/field_group/rule_refresh":"refreshFields"},initialize:function(){this.$el=i("#acf-field-group-locations")},onAppend:function(e){(e.is(".rule-group")||e.parent().parent().parent().is(".rule-group"))&&this.refreshFields()},refreshFields:function(){var e=acf.getFields({parent:this.$("td.value")});i.each(e,function(){var e=this;"date_picker"!==e.get("type")&&"date_time_picker"!==e.get("type")&&"time_picker"!==e.get("type")||(e.$inputText().removeClass("hasDatepicker").removeAttr("id"),e.initialize())})}}),acf.addAction("ready_field_object",function(e){e.get("key").startsWith("field_acfe_layout_")&&e.delete()}),acf.addAction("new_field/name=acfe_meta",e=function(e){e.$(".acf-button").removeClass("button-primary")}),acf.addAction("new_field/name=acfe_settings",e),acf.addAction("new_field/name=acfe_validate",e),i(function(){i(".button.edit-field").each(function(e,t){var a=i(this).closest("tbody");i(a).find(".acfe_modal_open:first").insertAfter(i(this)),i(a).find(".acfe-modal:first").appendTo(i("body")),i(a).find("tr.acf-field-setting-acfe_field_data:first").remove()}),i(".acfe_modal_open").click(function(e){e.preventDefault();e=i(this).attr("data-modal-key"),e=i(".acfe-modal[data-modal-key="+e+"]");acfe.modal.open(e,{title:"Data",size:"medium"})})}))}(jQuery);
1
+ !function(n){var e;"undefined"!=typeof acf&&(new acf.Model({actions:{new_field:"onNewField"},onNewField:function(e){var t;e.has("after")&&(t=e.get("after"),(t=e.$el.siblings('[data-name="'+t+'"]').first()).length&&t.after(e.$el))}}),new acf.Model({wait:"ready",actions:{append:"onAppend","acfe/field_group/rule_refresh":"refreshFields"},initialize:function(){this.$el=n("#acf-field-group-locations")},onAppend:function(e){(e.is(".rule-group")||e.parent().parent().parent().is(".rule-group"))&&this.refreshFields()},refreshFields:function(){var e=acf.getFields({parent:this.$("td.value")});n.each(e,function(){var e=this;"date_picker"!==e.get("type")&&"date_time_picker"!==e.get("type")&&"time_picker"!==e.get("type")||(e.$inputText().removeClass("hasDatepicker").removeAttr("id"),e.initialize())})}}),acf.addAction("ready_field_object",function(e){e.get("key").startsWith("field_acfe_layout_")&&e.delete()}),e=function(e){var t=acf.getInstance(e),a=t.$setting("columns"),e=acf.getInstance(a).getValue(),a=t.$setting("endpoint");acf.getInstance(a).getValue()?t.set("label","(Column endpoint)"):t.set("label","(Column "+e+")")},acf.addAction("change_field_label/type=acfe_column",e),acf.addAction("change_field_type/type=acfe_column",e),acf.addAction("render_field_settings/type=acfe_column",function(e){var t=acf.getFieldObject(e),e=function(){t.set("label",!0)};t.on("change",".acfe-field-columns",e),t.on("change",".acfe-field-columns-endpoint",e)}),acf.addAction("new_field/name=acfe_meta",e=function(e){e.$(".acf-button").removeClass("button-primary")}),acf.addAction("new_field/name=acfe_settings",e),acf.addAction("new_field/name=acfe_validate",e),n(function(){n(".button.edit-field").each(function(e,t){var a=n(this).closest("tbody");n(a).find(".acfe_modal_open:first").insertAfter(n(this)),n(a).find(".acfe-modal:first").appendTo(n("body")),n(a).find("tr.acf-field-setting-acfe_field_data:first").remove()}),n(".acfe_modal_open").click(function(e){e.preventDefault();e=n(this).attr("data-modal-key"),e=n(".acfe-modal[data-modal-key="+e+"]");acfe.modal.open(e,{title:"Data",size:"medium"})})}))}(jQuery);
assets/acf-extended.css CHANGED
@@ -349,8 +349,8 @@ tr.acf-field.acf-field-clone[data-acfe-clone-modal="1"] > .acf-input > .acfe-mod
349
  /*
350
  * ACF Field: Advanced Link
351
  */
352
- .acf-link.-value .acfe-modal-footer .button{
353
- display:unset;
354
  }
355
 
356
  /*
349
  /*
350
  * ACF Field: Advanced Link
351
  */
352
+ .acf-link.-value .acfe-modal .button{
353
+ display:inline-block;
354
  }
355
 
356
  /*
assets/acf-extended.min.css CHANGED
@@ -1 +1 @@
1
- body.-loading *{cursor:wait!important}.acf-field .acf-label label{font-weight:600!important}.acf-field p.description{word-break:break-word}.acf-fields.-left>.acf-field>.acf-label{min-height:1px}.acf-field.acfe-no-label>.acf-label{margin:0}.acf-field.acfe-no-label>.acf-label>label{display:none}.acf-field.acfe-no-label>.acf-label>p.description{margin-bottom:10px}.acfe-field-tooltip{float:right;font-size:16px;color:#999}.acf-field-acfe-hidden{display:none}.acf-field-textarea[data-acfe-textarea-code="1"]>.acf-input>textarea{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:1em}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap{height:auto}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default{border:1px solid #7e8993;border-radius:4px}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-gutters{border-right:1px solid #7e8993}body:not(.acf-admin-5-3) .acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default{border-color:#dfdfdf}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-activeline-background{background:#f9f9f9}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-selected{background:#f0f0f0!important}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-gutters{background:#f9f9f9}.acf-field-acfe-code-editor>td.acf-input{max-width:1px}.acf-accordion{z-index:initial}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input,.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input{margin-left:-12px;margin-right:-12px;margin-bottom:-15px}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-input,.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-input{margin-top:-15px}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-label>p.description,.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-label>p.description{margin-bottom:15px}.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style.acfe-no-label>.acf-input>.acf-fields{border-width:0}.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-left-width:0;border-right-width:0;border-bottom-width:0}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-fields{border-width:0}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input{margin:0}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-width:1px}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input{padding:0;padding-left:1px;margin-top:-15px;margin-bottom:-15px;margin-left:0;margin-right:0}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:0}.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-table{margin:0}.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:1px}.acf-postbox.seamless>.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input{padding:0 12px}.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acf-fields,.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acf-table{display:none}tr.acf-field.acf-field-group.acfe-seamless-style>td.acf-input>.acf-fields{border:0;margin-left:-10px;margin-right:-10px;margin-top:-15px;margin-bottom:-15px}tr.acf-field.acf-field-group.acfe-seamless-style.acfe-field-group-layout-table>td.acf-input{padding:0;margin-top:-15px;margin-bottom:-15px;margin-left:0;margin-right:0}tr.acf-field.acf-field-group.acfe-seamless-style.acfe-field-group-layout-table>td.acf-input>.acf-table{border-width:0}tr.acf-field.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,tr.acf-field.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input,.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input{margin-left:-12px;margin-right:-12px;margin-bottom:-15px}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-no-label.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input,.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-no-label.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input{margin-top:-15px}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style.acfe-no-label:not([data-acfe-clone-modal="1"])>.acf-label>p.description,.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style.acfe-no-label:not([data-acfe-clone-modal="1"])>.acf-label>p.description{margin-bottom:15px}.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-no-label.acfe-seamless-style>.acf-input>.acf-fields{border-width:0}.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-left-width:0;border-right-width:0;border-bottom-width:0}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input>.acf-fields{border-width:0}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input{margin:0}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-width:1px}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input,.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input{padding:0;padding-left:1px;margin-top:-15px;margin-bottom:-15px;margin-left:0;margin-right:0}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:0}.acf-fields>.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,.acf-fields>.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-table{margin:0}.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:1px}.acf-postbox.seamless>.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-input{padding:0 12px}tr.acf-field.acf-field-clone.acfe-seamless-style>td.acf-input>.acf-fields{border:0;margin-left:-10px;margin-right:-10px;margin-top:-15px;margin-bottom:-15px}tr.acf-field.acf-field-clone.acfe-seamless-style.acfe-field-clone-layout-table>td.acf-input{padding:0;margin-top:-15px;margin-bottom:-15px;margin-left:0;margin-right:0}tr.acf-field.acf-field-clone.acfe-seamless-style.acfe-field-clone-layout-table>td.acf-input>.acf-table{border-width:0}tr.acf-field.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,tr.acf-field.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acfe-modal-content .acf-color-picker .wp-picker-holder{position:relative}.acf-field-checkbox .acf-input .acf-checkbox-list.acf-bl li+li>strong{margin-top:15px;display:inline-block}.acf-field-radio[data-acfe-labels] .acf-input .acf-radio-list.acf-hl li>strong{display:block}.acf-field-radio .acf-input .acf-radio-list.acf-bl li>strong{display:block}.acf-field-radio .acf-input .acf-radio-list.acf-bl li+li>strong{margin-top:15px}.acf-range-wrap input[type=number]{min-width:3.5em}.acf-link.-value .acfe-modal-footer .button{display:unset}.acf-editor-wrap iframe{min-height:60px}.acf-editor-wrap .mce-top-part::before{box-shadow:none}.acf-editor-wrap div.mce-statusbar{border:0}.acf-editor-wrap .mce-divider,.acf-editor-wrap .mce-path-item{color:#aaa}form.acfe-form.is-invalid[data-hide-error="1"]>.acf-error-message.-dismiss{display:none}form.acfe-form.is-valid[data-hide-revalidation="1"]>.acf-notice.-success{display:none}form.acfe-form.is-invalid[data-errors-position=below] .acf-field .acf-notice{margin:15px 0 0}.acf-fields>.acf-field.acf-field-acfe-column{float:left;clear:none;box-sizing:border-box;padding:0;border-top-width:0}.acf-fields.-left>.acf-field.acf-field-acfe-column{border-right:1px solid #eee}.acf-fields.-left>.acf-field.acf-field-acfe-column:before{content:"";display:block;position:initial;background:0 0;border:0;width:auto}.acf-fields.-left>.acf-field.acf-field-acfe-column>.acf-input{float:none;width:auto;margin:0;padding:0}.acf-fields>.acf-field.acf-field-acfe-column>.acf-input>.acf-fields>.acf-field{border-top-width:0}.acf-fields>.acf-field.acf-field-acfe-column[data-endpoint="1"]{clear:both;border-top:1px solid #eee;width:100%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="1/12"]{width:8.333333%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="2/12"]{width:16.66666%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="3/12"]{width:25%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="4/12"]{width:33.33333%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="5/12"]{width:41.66667%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="6/12"]{width:50%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="7/12"]{width:58.33333%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="8/12"]{width:66.66666%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:75%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="10/12"]{width:83.33333%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="11/12"]{width:91.66667%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="12/12"]{width:100%;border-right:0}@media only screen and (max-width:1024px){.acf-fields>.acf-field.acf-field-acfe-column[data-columns="1/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="10/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="11/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="2/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="3/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="4/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="5/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="7/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="8/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:50%}}@media only screen and (max-width:640px){.acf-fields>.acf-field.acf-field-acfe-column[data-columns="1/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="10/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="11/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="12/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="2/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="3/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="4/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="5/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="6/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="7/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="8/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:100%}}.acf-media-modal .screen-reader-text,.acf-media-modal .screen-reader-text span,.acf-media-modal .ui-helper-hidden-accessible{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.acf-ui-datepicker .ui-datepicker{padding:0;border-color:#7e8993!important;border-radius:4px;box-sizing:border-box;background:#fff}.acf-ui-datepicker select{font-size:14px;cursor:pointer;vertical-align:middle;line-height:2;color:#32373c;border-color:#7e8993;box-shadow:none;border-radius:3px;padding:0 24px 0 8px;min-height:30px;max-width:25rem;-webkit-appearance:none;background:#fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;background-size:16px 16px}.acf-ui-datepicker .ui-datepicker table{font-size:13px;margin:0;margin-bottom:7px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-header{border:none;background:#f9f9f9;color:#222;font-weight:400;border-radius:4px 4px 0}.acf-ui-datepicker .ui-datepicker .ui-datepicker-header .ui-state-hover{background:#f9f9f9;cursor:pointer;border-radius:0;border:0}.acf-ui-datepicker .ui-datepicker thead{background:#f9f9f9;color:#222}.acf-ui-datepicker .ui-datepicker .ui-datepicker-title{margin-top:.4em;margin-bottom:.3em;color:#222;font-size:14px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next,.acf-ui-datepicker .ui-datepicker .ui-datepicker-next-hover,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev-hover{height:20px;width:20px;border:none;overflow:hidden;margin-top:15px;top:0}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next-hover,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev-hover{background:0 0!important;color:#007cba!important}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next{right:7px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev{left:7px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next span,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev span{height:20px;width:20px;background:0 0;position:relative;margin:0;left:unset;top:unset;font-size:1px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next span:before,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev span:before{display:block;font-family:dashicons;line-height:1;font-weight:400;text-indent:0;font-style:normal;speak:none;text-decoration:inherit;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:20px;height:20px;font-size:16px;vertical-align:top;text-align:center}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next span:before{content:"\f345"}.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev span:before{content:"\f341"}.acf-ui-datepicker .ui-datepicker .ui-datepicker-title select{margin:0 3px}.acf-ui-datepicker .ui-datepicker th{padding:.75em 0;color:#222;font-weight:400;border:none;border-bottom:1px solid #e1e1e1;background:#f9f9f9}.acf-ui-datepicker .ui-datepicker td{background:#fff;border:none;padding:0}.acf-ui-datepicker .ui-datepicker td .ui-state-default{background:0 0;border:none;text-align:center;padding:.5em;margin:0;font-weight:400;color:#333}.acf-ui-datepicker .ui-datepicker td .ui-state-active,.acf-ui-datepicker .ui-datepicker td .ui-state-hover{background:#007cba;color:#fff;box-shadow:none}.acf-ui-datepicker .ui-datepicker td.ui-state-disabled,.acf-ui-datepicker .ui-datepicker td.ui-state-disabled .ui-state-default{opacity:1;color:#999}.acf-ui-datepicker .ui-datepicker-today .ui-state-highlight{border:none!important;background:#eee!important;font-weight:400!important;color:#222!important}.acf-ui-datepicker .ui-state-highlight.ui-state-active,.acf-ui-datepicker .ui-state-highlight.ui-state-hover{border:none!important;background:#007cba!important;font-weight:400!important;color:#fff!important}.acf-ui-datepicker .ui-state-highlight.ui-state-hover.ui-state-active{background:#007cba!important}.acf-ui-datepicker .ui-timepicker-div{padding:10px 7px!important}.acf-ui-datepicker .ui-timepicker-div .ui-widget-header{background:0 0!important;border:0!important;display:none!important}.acf-ui-datepicker .ui-timepicker-div .ui-widget-header .ui-datepicker-title{font-size:13px!important;font-weight:600!important}.acf-ui-datepicker .ui-timepicker-div dl{margin:0;text-align:center!important}.acf-ui-datepicker .ui-timepicker-div .ui_tpicker_time_label{display:none!important}.acf-ui-datepicker .ui-timepicker-div select{background:#fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%!important;background-size:16px 16px!important;color:#32373c!important;border-color:#7e8993!important}.acf-ui-datepicker .ui-datepicker-buttonpane{border:0!important;padding:7px!important;margin:0!important;background:#f9f9f9!important;border-top:1px solid #e1e1e1!important;border-radius:0 0 4px 4px!important}.acf-ui-datepicker .ui-datepicker-buttonpane:after{content:'';display:block;clear:both}.acf-ui-datepicker .ui-datepicker-buttonpane button{display:inline-block;text-decoration:none;font-size:13px!important;line-height:2.15384615;min-height:30px;margin:0!important;padding:0 10px!important;cursor:pointer!important;border-width:1px!important;border-style:solid!important;-webkit-appearance:none;border-radius:3px;font-weight:400!important;white-space:nowrap;box-sizing:border-box;color:#0071a1!important;border-color:#0071a1!important;background:#f3f5f6!important;vertical-align:top;box-shadow:none!important;outline:0!important;opacity:unset!important;filter:unset!important}.acf-ui-datepicker .ui-datepicker-buttonpane button:hover{background:#f1f1f1!important;border-color:#016087!important;color:#016087!important}body .medium-editor-toolbar{z-index:999999!important}.acf-flexible-content>.values>.ui-sortable-placeholder{border-width:2px;border-color:#ccc}.acf-flexible-content .layout .acf-fc-layout-handle{color:#444;font-weight:600}.layout.acfe-flexible-modal-edit-error>.acf-fc-layout-handle{color:#f33b28}.layout.acfe-flexible-modal-edit-error>.acf-fc-layout-handle>.acf-fc-layout-order{background:#f33b28;color:#fff}.acf-field-flexible-content[data-acfe-flexible-modal-edition="1"]:not([data-acfe-flexible-placeholder="1"]):not([data-acfe-flexible-preview="1"])>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle{border-bottom-width:0}.acf-field-flexible-content[data-acfe-flexible-placeholder="1"]>.acf-input>.acf-flexible-content>.values>.layout.-collapsed>.acf-fc-layout-handle,.acf-field-flexible-content[data-acfe-flexible-preview="1"]>.acf-input>.acf-flexible-content>.values>.layout.-collapsed>.acf-fc-layout-handle{border-bottom-width:1px}.acf-field-flexible-content[data-acfe-flexible-lock="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle{cursor:initial}.acf-field-flexible-content[data-acfe-flexible-remove-collapse="1"]:not([data-acfe-flexible-lock="1"])>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle{cursor:initial}.acf-fc-popup.top.acfe-fc-popup-grey:before{border-top-color:#e1e1e1}.acf-tooltip.bottom.acfe-fc-popup-grey:before{border-bottom-color:#e1e1e1}.acf-fc-popup.acfe-fc-popup-grey{background:#fcfcfc;border-radius:3px;color:#444;border:1px solid #e1e1e1;font-size:13px}.acf-tooltip.top.acfe-fc-popup-grey{margin-top:-16px}.acf-tooltip.bottom.acfe-fc-popup-grey{margin-bottom:-16px}.acf-fc-popup.acfe-fc-popup-grey a{color:#444}.acf-fc-popup.acfe-fc-popup-grey a:hover{color:#fff}.layout>.acfe-fc-placeholder{text-align:center;background:#f9f9f9;display:block;text-decoration:none;position:relative;cursor:pointer}.layout>.acfe-fc-placeholder:focus{border-color:#ccc;box-shadow:none}.layout>.acfe-fc-placeholder>.acfe-flexible-placeholder{height:110px;overflow:hidden;text-align:initial}.layout>.acfe-fc-placeholder>a{z-index:2;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-color:#ccd0d4;color:#23282d;border-radius:100px;box-shadow:none;background:#fff;width:30px;min-height:30px;height:30px;padding:0;display:block}body:not(.acf-admin-5-3) .layout>.acfe-fc-placeholder>a{border-color:#999}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-flexible-content>.acf-input>.acf-flexible-content>.values>.layout>.acfe-fc-placeholder>a{z-index:0}.layout>.acfe-fc-placeholder>a:active{transform:translate(-50%,-50%)}.layout>.acfe-fc-placeholder>a:focus{border-color:#ccc;box-shadow:none}.layout>.acfe-fc-placeholder>a span{width:29px;height:30px;vertical-align:top;line-height:28px;font-size:18px}body:not(.acf-admin-5-3) .layout>.acfe-fc-placeholder>a span{width:30px;height:30px}.layout>.acfe-fc-placeholder.acfe-fc-preview{background:0 0}.layout>.acfe-fc-placeholder.acfe-fc-preview>.acfe-flexible-placeholder{min-height:55px;height:auto}.layout>.acfe-fc-placeholder.acfe-fc-preview>a{display:none}.layout>.acfe-fc-placeholder.acfe-fc-preview:hover>a{display:block}.layout>.acfe-fc-placeholder.acfe-fc-preview.-loading{background:#f9f9f9;min-height:110px}.layout>.acfe-fc-placeholder.acfe-fc-preview.-loading>.acfe-flexible-placeholder>.spinner{visibility:visible;float:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;z-index:10000}.layout>.acfe-fc-placeholder .acfe-fc-overlay{position:absolute;width:100%;height:100%;padding:0;background-color:rgba(255,255,255,0);transition:background-color .2s linear}.layout>.acfe-fc-placeholder .acfe-fc-overlay.-hover,.layout>.acfe-fc-placeholder:hover .acfe-fc-overlay{background-color:rgba(255,255,255,.7);z-index:1}.layout>.acfe-fc-placeholder.acfe-fc-preview.-loading>a span{visibility:hidden}.layout>.acf-fields>.acfe-flexible-opened-actions,.layout>.acf-table>.acfe-flexible-opened-actions{background:#f9f9f9;border-top:1px solid #e1e1e1;padding:12px;text-align:right;clear:both}.acfe-flexible-layout-thumbnail{display:block;width:100%;height:9.8vw;background-color:#eee;background-size:cover;background-repeat:no-repeat;background-position:center;position:relative;margin-bottom:15px}.acfe-flexible-layout-thumbnail.acfe-flexible-layout-thumbnail-not-found:after{content:"\f180";font-family:dashicons;display:inline-block;line-height:1;font-weight:400;font-style:normal;speak:none;text-decoration:inherit;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;text-align:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#ccc;font-size:110px}.acfe-col-2 .acfe-flexible-layout-thumbnail{height:20.5vw}.acfe-col-3 .acfe-flexible-layout-thumbnail{height:13.3vw}.acfe-col-5 .acfe-flexible-layout-thumbnail{height:7.65vw}.acfe-col-6 .acfe-flexible-layout-thumbnail{height:6.2vw}@media only screen and (max-width:960px){.acfe-flex-container .acfe-flexible-layout-thumbnail,.acfe-flexible-layout-thumbnail{height:18.4vw}}@media only screen and (max-width:720px){.acfe-flex-container .acfe-flexible-layout-thumbnail,.acfe-flexible-layout-thumbnail{height:37.2vw}}.acfe-flexible-layout-thumbnail.acfe-flexible-layout-thumbnail-no-modal{display:block;width:230px;height:103px;background-color:#1f2329}.acfe-flexible-layout-thumbnail.acfe-flexible-layout-thumbnail-no-modal.acfe-flexible-layout-thumbnail-not-found:after{color:#2f353e}.acf-field.acf-field-flexible-content[data-acfe-flexible-stylised-button="1"]>.acf-input>.acf-flexible-content:not(.empty)>.values{margin-bottom:15px}.acf-field.acf-field-flexible-content>.acf-input>.acf-flexible-content>.acfe-flexible-stylised-button{padding:40px 20px;border:#ccc dashed 2px;text-align:center}.acf-field.acf-field-flexible-content>.acf-input>.acf-flexible-content>.acfe-flexible-stylised-button>.acf-actions{text-align:center}.acf-field.acf-field-flexible-content>.acf-input>.acf-flexible-content .acf-actions .acf-button .dashicons{width:auto;height:auto;vertical-align:text-top}.acf-field.acf-field-flexible-content[data-acfe-flexible-hide-empty-message="1"]>.acf-input>.acf-flexible-content>.no-value-message{display:none}.acf-field.acf-field-flexible-content[data-acfe-flexible-hide-empty-message="1"]>.acf-input>.acf-flexible-content.-empty>.values{margin-bottom:0}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons:before{font-family:dashicons}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons{visibility:hidden}.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.acfe-flexible-icon.dashicons{visibility:visible}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic{visibility:visible}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic:before{margin-left:1px}.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-plus,.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-plus{visibility:hidden}.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-plus,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-plus{visibility:visible}.acf-flexible-content .layout>.acf-fc-layout-controls .acf-icon.disabled{color:#ccc;cursor:initial}.acf-flexible-content .layout>.acf-fc-layout-controls .acf-icon.disabled:hover{color:#ccc;background:#f5f5f5}.acf-flexible-content[data-acfe-flexible-lock="1"] .layout .acf-fc-layout-handle{cursor:initial}.acf-field-acfe-flexible-layout-title{display:none}input.acfe-flexible-control-title{border:none;box-shadow:none!important;outline:0!important;border-radius:0;border-bottom:1px solid transparent!important;font-weight:600;width:auto!important;padding:0!important;display:none;min-height:20px;vertical-align:unset;background:0 0}.layout>.acf-fc-layout-handle .acfe-layout-title{cursor:text;position:relative}.layout:not(.acfe-flexible-title-edition)>.acf-fc-layout-handle .acfe-layout-title:hover{background:#f4f4f4}.layout.acfe-flexible-title-edition>.acf-fc-layout-handle .acfe-layout-title input.acfe-flexible-control-title{display:inline-block;border-bottom:1px solid #ddd!important}.layout.acfe-flexible-title-edition>.acf-fc-layout-handle .acfe-layout-title .acfe-layout-title-text{display:none}.layout.acfe-flexible-layout-hidden>.acf-fc-layout-controls,.layout.acfe-flexible-layout-hidden>.acf-fc-layout-handle,.layout.acfe-flexible-layout-hidden>.acf-fields,.layout.acfe-flexible-layout-hidden>.acfe-fc-placeholder{opacity:.5}.acf-field-flexible-content[data-acfe-flexible-modal-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-controls>a.-collapse{display:none}body.acfe-modal-opened{overflow:hidden}.acfe-modal-overlay{background:rgba(0,0,0,.7);position:fixed;top:0;left:0;right:0;bottom:0;height:100%;width:100%;z-index:100000}.acfe-modal{display:none;transition:all .3s ease-in-out}.acfe-modal.-open{position:fixed;z-index:100001;height:100%;width:100%;top:0;left:0;bottom:0;right:0;-webkit-font-smoothing:subpixel-antialiased;display:flex;flex-direction:column;justify-content:center;align-items:center;pointer-events:none}.acfe-modal.-open>.acfe-modal-wrapper{box-shadow:0 5px 15px rgba(0,0,0,.7);display:flex;flex-direction:column;width:calc(100vw - 60px);max-width:1100px;max-height:calc(100vh - 60px);position:relative}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-wrapper-overlay{position:absolute;z-index:10;background:rgba(0,0,0,.7);height:100%;width:100%;pointer-events:none}.acfe-modal.-open.-small>.acfe-modal-wrapper{max-width:450px}.acfe-modal.-open.-medium>.acfe-modal-wrapper{max-width:700px}.acfe-modal.-open.-large>.acfe-modal-wrapper{max-width:1100px}.acfe-modal.-open.-xlarge>.acfe-modal-wrapper{max-width:1400px}.acfe-modal.-open.-full>.acfe-modal-wrapper{max-width:100%;flex:1}.acfe-modal.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields.-left{height:100%}.acfe-modal.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields.-left:before{content:"";display:block;position:absolute;z-index:0;background:#f9f9f9;border-color:#e1e1e1;border-style:solid;border-width:0 1px 0 0;top:0;bottom:0;left:0;width:20%}.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone,.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone>.acf-input,.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone>.acf-input>.acf-clone-fields.acf-fields.-left{height:100%}.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone{padding:0}.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone>.acf-input{margin:0}.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone>.acf-input>.acf-clone-fields.acf-fields.-left:before{content:"";display:block;position:absolute;z-index:0;background:#f9f9f9;border-color:#e1e1e1;border-style:solid;border-width:0 1px 0 0;top:0;bottom:0;left:0;width:20%}.acfe-modal.-open .acfe-modal-title *,.acfe-modal.-open>.acfe-modal-title{box-sizing:border-box}.acfe-modal.-open .acfe-modal-title{display:block;height:50px;line-height:50px;font-size:22px;color:#23282d;border-bottom:1px solid #ddd;text-overflow:ellipsis;background:#fcfcfc;padding:0 0 0 16px;position:relative;text-align:left;pointer-events:auto}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-title{pointer-events:none}.acfe-modal.-open .acfe-modal-title>span.title{line-height:50px;color:#23282d;font-weight:600}.acfe-modal.-open .acfe-modal-title>span.title .acf-fc-layout-order{width:30px;height:30px;border-radius:30px;display:inline-block;text-align:center;line-height:30px;margin:0 2px 0 0;background:#f1f1f1;font-size:14px;color:#666;vertical-align:2px}.acfe-modal.-open .acfe-modal-title>button.close{height:50px;width:50px;color:#666;border:0;border-left:0;margin:0;padding:0;border-radius:0;position:absolute;top:0;right:0;transition:color .1s ease-in-out,background .1s ease-in-out;background:0 0;cursor:pointer;margin:0}.acfe-modal.-open .acfe-modal-title>button.close:hover{color:#00a0d2}.acfe-modal.-open .acfe-modal-title>button.close:before{height:50px;width:50px;line-height:50px!important;font:normal 20px/1 dashicons;content:"\f158";margin:0;padding:0}.acfe-modal.-open .acfe-modal-content{height:100%;background:#fff;display:block;position:relative;pointer-events:auto;overflow:auto}.acfe-modal.-open.-iframe .acfe-modal-content{overflow:hidden}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-content{pointer-events:none}.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper{padding:0;margin:0;border-bottom:1px solid #ddd}.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper a{margin:0;border-left:0;border-top:0;border-bottom:0;background:#fff;transition:color .1s ease-in-out,background .1s ease-in-out;padding:7px 15px;border-color:#ddd}.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper a span.dashicons-menu{line-height:27px}.acfe-modal.-open>.acfe-modal-content .nav-tab-wrapper a:hover{background:#f9f9f9;color:#23282d}.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper a.nav-tab-active,.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper a.nav-tab-active:hover{background:#fcfcfc;color:#23282d}.acfe-modal.-open .acfe-modal-content .nav-tab:focus,.acfe-modal.-open .acfe-modal-content .nav-tab:focus:active{border-bottom:0;box-shadow:none;outline:0}.acfe-modal.-open .acfe-modal-content .acfe-flex-container,.acfe-modal.-open .acfe-modal-content .acfe-flex-container *{box-sizing:border-box}.acfe-modal.-open .acfe-modal-content .acfe-flex-container{width:100%;padding:14px;margin-right:auto;margin-left:auto}.acfe-modal.-open .acfe-modal-content .acfe-flexible-categories~.acfe-flex-container{overflow:auto;height:calc(100% - 39px)}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul{margin:0;margin-right:-7px;margin-left:-7px;display:flex;flex-wrap:wrap}.acfe-modal.-open>.acfe-modal-content .acfe-flex-container ul:after{content:"";clear:both;display:table}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li{position:relative;width:100%;padding-right:7px;padding-left:7px;padding-bottom:14px;margin:0;flex:0 0 25%;max-width:25%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a{border:1px solid #ddd;background:#f9f9f9;padding:15px;color:#333;display:block;text-decoration:none}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a:hover{background:#007cba;color:#fff}body:not(.acf-admin-5-3) .acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a:hover{background:#0073aa}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a span{display:block;font-size:16px;text-align:center;font-weight:600}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a span.no-thumbnail{text-align:left}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a.disabled{pointer-events:none;opacity:.67}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a.disabled:hover{cursor:default}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a.disabled:focus{box-shadow:none;outline:0}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-1 ul li{flex:0 0 100%;max-width:100%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-2 ul li{flex:0 0 50%;max-width:50%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-3 ul li{flex:0 0 33.333333%;max-width:33.333333%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-4 ul li{flex:0 0 25%;max-width:25%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-5 ul li{flex:0 0 20%;max-width:20%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-6 ul li{flex:0 0 16.66%;max-width:16.66%}@media only screen and (max-width:960px){.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li{flex:0 0 50%!important;max-width:50%!important}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-1 ul li{flex:0 0 100%!important;max-width:100%!important}.acfe-modal.-open .acfe-modal-content ul li a{padding:7px}}@media only screen and (max-width:720px){.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li{flex:0 0 100%!important;max-width:100%!important}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-1 ul li{flex:0 0 100%!important;max-width:100%!important}}.acfe-modal.-open .acfe-modal-footer,.acfe-modal.-open .acfe-modal-footer *{box-sizing:border-box}.acfe-modal.-open .acfe-modal-footer{display:block;height:50px;line-height:50px;color:#23282d;background:#fcfcfc;padding:0 16px;position:relative;text-align:right;border-top:1px solid #ddd;pointer-events:auto}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-footer{pointer-events:none}.acfe-modal.-open .acfe-modal-footer>button{vertical-align:baseline}body.block-editor-page .edit-post-layout .acfe-modal.-open{justify-content:start;align-items:start}body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{margin-top:88px;height:100%;width:100%;max-height:calc(100vh - 88px)}body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields.-left{height:100%}body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields.-left:before{content:"";display:block;position:absolute;z-index:0;background:#f9f9f9;border-color:#e1e1e1;border-style:solid;border-width:0 1px 0 0;top:0;bottom:0;left:0;width:20%}@media only screen and (max-width:1080px){body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{margin-top:88px}}body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 160px);margin-left:160px}body.block-editor-page .edit-post-layout.is-sidebar-opened .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 440px)}body.block-editor-page.folded .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 36px);margin-left:36px}@media only screen and (max-width:960px){body.block-editor-page.auto-fold .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 36px);margin-left:36px}}@media only screen and (max-width:782px){body.block-editor-page.auto-fold .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{max-width:100vw;margin-left:0;margin-top:100px}}body.block-editor-page.folded .edit-post-layout.is-sidebar-opened .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 316px)}@media (min-width:600px){body.block-editor-page.acfe-modal-opened .edit-post-layout__content{overflow-y:hidden}}body.block-editor-page .acfe-modal-overlay{display:none}body.wp-admin.upload-php.acfe-modal-opened>div:not([style*="display: none;"])>.media-modal.wp-core-ui:not(.acf-media-modal):before{content:"";display:block;position:absolute;background:rgba(0,0,0,.7);top:0;left:0;width:100%;height:100%;z-index:10000}.acf-field-repeater[data-acfe-repeater-lock="1"]>.acf-input>.acf-repeater>.acf-table>tbody>.acf-row>.acf-row-handle{cursor:initial}.acf-repeater.-block>table,.acf-repeater.-row>table{border-collapse:separate;border-spacing:0 15px;background:0 0;border:0;margin-top:-15px;margin-bottom:-7px}.acf-repeater.-block>table>*,.acf-repeater.-row>table>*{border-collapse:collapse;border-spacing:0}.acf-repeater.-block>table>tbody>tr>td,.acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #ccd0d4!important;border-bottom:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:first-of-type,.acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:last-of-type,.acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #ccd0d4!important}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #e1e1e1;border-bottom:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:first-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:last-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #e1e1e1}.acf-repeater.-table.-empty>.acf-table{display:none}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button{padding:40px 20px;border:#ccc dashed 2px;text-align:center}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button>.acf-actions{text-align:center}.acf-field-flexible-content>.acf-input>.acf-repeater .acf-actions .acf-button .dashicons{width:auto;height:auto;vertical-align:text-top}
1
+ body.-loading *{cursor:wait!important}.acf-field .acf-label label{font-weight:600!important}.acf-field p.description{word-break:break-word}.acf-fields.-left>.acf-field>.acf-label{min-height:1px}.acf-field.acfe-no-label>.acf-label{margin:0}.acf-field.acfe-no-label>.acf-label>label{display:none}.acf-field.acfe-no-label>.acf-label>p.description{margin-bottom:10px}.acfe-field-tooltip{float:right;font-size:16px;color:#999}.acf-field-acfe-hidden{display:none}.acf-field-textarea[data-acfe-textarea-code="1"]>.acf-input>textarea{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:1em}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap{height:auto}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default{border:1px solid #7e8993;border-radius:4px}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-gutters{border-right:1px solid #7e8993}body:not(.acf-admin-5-3) .acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default{border-color:#dfdfdf}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-activeline-background{background:#f9f9f9}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-selected{background:#f0f0f0!important}.acf-field-acfe-code-editor>.acf-input>.acf-input-wrap>.CodeMirror-wrap.cm-s-default .CodeMirror-gutters{background:#f9f9f9}.acf-field-acfe-code-editor>td.acf-input{max-width:1px}.acf-accordion{z-index:initial}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input,.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input{margin-left:-12px;margin-right:-12px;margin-bottom:-15px}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-input,.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-input{margin-top:-15px}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-label>p.description,.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style.acfe-no-label:not([data-acfe-group-modal="1"])>.acf-label>p.description{margin-bottom:15px}.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style.acfe-no-label>.acf-input>.acf-fields{border-width:0}.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-left-width:0;border-right-width:0;border-bottom-width:0}.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-fields{border-width:0}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input{margin:0}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-width:1px}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style:not([data-acfe-group-modal="1"])>.acf-input{padding:0;padding-left:1px;margin-top:-15px;margin-bottom:-15px;margin-left:0;margin-right:0}.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:0}.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-table{margin:0}.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:1px}.acf-postbox.seamless>.acf-fields.-left>.acf-field-group.acfe-field-group-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-group.acfe-field-group-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-group.acfe-field-group-layout-table.acfe-seamless-style>.acf-input{padding:0 12px}.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acf-fields,.acf-fields>.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acf-table{display:none}tr.acf-field.acf-field-group.acfe-seamless-style>td.acf-input>.acf-fields{border:0;margin-left:-10px;margin-right:-10px;margin-top:-15px;margin-bottom:-15px}tr.acf-field.acf-field-group.acfe-seamless-style.acfe-field-group-layout-table>td.acf-input{padding:0;margin-top:-15px;margin-bottom:-15px;margin-left:0;margin-right:0}tr.acf-field.acf-field-group.acfe-seamless-style.acfe-field-group-layout-table>td.acf-input>.acf-table{border-width:0}tr.acf-field.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,tr.acf-field.acf-field-group[data-acfe-group-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input,.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input{margin-left:-12px;margin-right:-12px;margin-bottom:-15px}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-no-label.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input,.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-no-label.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input{margin-top:-15px}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style.acfe-no-label:not([data-acfe-clone-modal="1"])>.acf-label>p.description,.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style.acfe-no-label:not([data-acfe-clone-modal="1"])>.acf-label>p.description{margin-bottom:15px}.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-no-label.acfe-seamless-style>.acf-input>.acf-fields{border-width:0}.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-left-width:0;border-right-width:0;border-bottom-width:0}.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input>.acf-fields{border-width:0}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input{margin:0}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input>.acf-fields{border-width:1px}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input,.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style:not([data-acfe-clone-modal="1"])>.acf-input{padding:0;padding-left:1px;margin-top:-15px;margin-bottom:-15px;margin-left:0;margin-right:0}.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:0}.acf-fields>.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,.acf-fields>.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-table{margin:0}.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input>.acf-fields,.acf-postbox.seamless>.acf-fields>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-input>.acf-table{border-width:1px}.acf-postbox.seamless>.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-block.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-row.acfe-seamless-style>.acf-input,.acf-postbox.seamless>.acf-fields.-left>.acf-field-clone.acfe-field-clone-layout-table.acfe-seamless-style>.acf-input{padding:0 12px}tr.acf-field.acf-field-clone.acfe-seamless-style>td.acf-input>.acf-fields{border:0;margin-left:-10px;margin-right:-10px;margin-top:-15px;margin-bottom:-15px}tr.acf-field.acf-field-clone.acfe-seamless-style.acfe-field-clone-layout-table>td.acf-input{padding:0;margin-top:-15px;margin-bottom:-15px;margin-left:0;margin-right:0}tr.acf-field.acf-field-clone.acfe-seamless-style.acfe-field-clone-layout-table>td.acf-input>.acf-table{border-width:0}tr.acf-field.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,tr.acf-field.acf-field-clone[data-acfe-clone-modal="1"]>.acf-input>.acfe-modal>.acfe-modal-wrapper>.acfe-modal-content>.acf-table{border-width:0}.acfe-modal-content .acf-color-picker .wp-picker-holder{position:relative}.acf-field-checkbox .acf-input .acf-checkbox-list.acf-bl li+li>strong{margin-top:15px;display:inline-block}.acf-field-radio[data-acfe-labels] .acf-input .acf-radio-list.acf-hl li>strong{display:block}.acf-field-radio .acf-input .acf-radio-list.acf-bl li>strong{display:block}.acf-field-radio .acf-input .acf-radio-list.acf-bl li+li>strong{margin-top:15px}.acf-range-wrap input[type=number]{min-width:3.5em}.acf-link.-value .acfe-modal .button{display:inline-block}.acf-editor-wrap iframe{min-height:60px}.acf-editor-wrap .mce-top-part::before{box-shadow:none}.acf-editor-wrap div.mce-statusbar{border:0}.acf-editor-wrap .mce-divider,.acf-editor-wrap .mce-path-item{color:#aaa}form.acfe-form.is-invalid[data-hide-error="1"]>.acf-error-message.-dismiss{display:none}form.acfe-form.is-valid[data-hide-revalidation="1"]>.acf-notice.-success{display:none}form.acfe-form.is-invalid[data-errors-position=below] .acf-field .acf-notice{margin:15px 0 0}.acf-fields>.acf-field.acf-field-acfe-column{float:left;clear:none;box-sizing:border-box;padding:0;border-top-width:0}.acf-fields.-left>.acf-field.acf-field-acfe-column{border-right:1px solid #eee}.acf-fields.-left>.acf-field.acf-field-acfe-column:before{content:"";display:block;position:initial;background:0 0;border:0;width:auto}.acf-fields.-left>.acf-field.acf-field-acfe-column>.acf-input{float:none;width:auto;margin:0;padding:0}.acf-fields>.acf-field.acf-field-acfe-column>.acf-input>.acf-fields>.acf-field{border-top-width:0}.acf-fields>.acf-field.acf-field-acfe-column[data-endpoint="1"]{clear:both;border-top:1px solid #eee;width:100%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="1/12"]{width:8.333333%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="2/12"]{width:16.66666%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="3/12"]{width:25%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="4/12"]{width:33.33333%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="5/12"]{width:41.66667%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="6/12"]{width:50%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="7/12"]{width:58.33333%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="8/12"]{width:66.66666%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:75%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="10/12"]{width:83.33333%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="11/12"]{width:91.66667%}.acf-fields>.acf-field.acf-field-acfe-column[data-columns="12/12"]{width:100%;border-right:0}@media only screen and (max-width:1024px){.acf-fields>.acf-field.acf-field-acfe-column[data-columns="1/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="10/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="11/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="2/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="3/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="4/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="5/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="7/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="8/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:50%}}@media only screen and (max-width:640px){.acf-fields>.acf-field.acf-field-acfe-column[data-columns="1/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="10/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="11/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="12/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="2/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="3/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="4/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="5/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="6/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="7/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="8/12"],.acf-fields>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:100%}}.acf-media-modal .screen-reader-text,.acf-media-modal .screen-reader-text span,.acf-media-modal .ui-helper-hidden-accessible{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.acf-ui-datepicker .ui-datepicker{padding:0;border-color:#7e8993!important;border-radius:4px;box-sizing:border-box;background:#fff}.acf-ui-datepicker select{font-size:14px;cursor:pointer;vertical-align:middle;line-height:2;color:#32373c;border-color:#7e8993;box-shadow:none;border-radius:3px;padding:0 24px 0 8px;min-height:30px;max-width:25rem;-webkit-appearance:none;background:#fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;background-size:16px 16px}.acf-ui-datepicker .ui-datepicker table{font-size:13px;margin:0;margin-bottom:7px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-header{border:none;background:#f9f9f9;color:#222;font-weight:400;border-radius:4px 4px 0}.acf-ui-datepicker .ui-datepicker .ui-datepicker-header .ui-state-hover{background:#f9f9f9;cursor:pointer;border-radius:0;border:0}.acf-ui-datepicker .ui-datepicker thead{background:#f9f9f9;color:#222}.acf-ui-datepicker .ui-datepicker .ui-datepicker-title{margin-top:.4em;margin-bottom:.3em;color:#222;font-size:14px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next,.acf-ui-datepicker .ui-datepicker .ui-datepicker-next-hover,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev-hover{height:20px;width:20px;border:none;overflow:hidden;margin-top:15px;top:0}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next-hover,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev-hover{background:0 0!important;color:#007cba!important}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next{right:7px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev{left:7px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next span,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev span{height:20px;width:20px;background:0 0;position:relative;margin:0;left:unset;top:unset;font-size:1px}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next span:before,.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev span:before{display:block;font-family:dashicons;line-height:1;font-weight:400;text-indent:0;font-style:normal;speak:none;text-decoration:inherit;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:20px;height:20px;font-size:16px;vertical-align:top;text-align:center}.acf-ui-datepicker .ui-datepicker .ui-datepicker-next span:before{content:"\f345"}.acf-ui-datepicker .ui-datepicker .ui-datepicker-prev span:before{content:"\f341"}.acf-ui-datepicker .ui-datepicker .ui-datepicker-title select{margin:0 3px}.acf-ui-datepicker .ui-datepicker th{padding:.75em 0;color:#222;font-weight:400;border:none;border-bottom:1px solid #e1e1e1;background:#f9f9f9}.acf-ui-datepicker .ui-datepicker td{background:#fff;border:none;padding:0}.acf-ui-datepicker .ui-datepicker td .ui-state-default{background:0 0;border:none;text-align:center;padding:.5em;margin:0;font-weight:400;color:#333}.acf-ui-datepicker .ui-datepicker td .ui-state-active,.acf-ui-datepicker .ui-datepicker td .ui-state-hover{background:#007cba;color:#fff;box-shadow:none}.acf-ui-datepicker .ui-datepicker td.ui-state-disabled,.acf-ui-datepicker .ui-datepicker td.ui-state-disabled .ui-state-default{opacity:1;color:#999}.acf-ui-datepicker .ui-datepicker-today .ui-state-highlight{border:none!important;background:#eee!important;font-weight:400!important;color:#222!important}.acf-ui-datepicker .ui-state-highlight.ui-state-active,.acf-ui-datepicker .ui-state-highlight.ui-state-hover{border:none!important;background:#007cba!important;font-weight:400!important;color:#fff!important}.acf-ui-datepicker .ui-state-highlight.ui-state-hover.ui-state-active{background:#007cba!important}.acf-ui-datepicker .ui-timepicker-div{padding:10px 7px!important}.acf-ui-datepicker .ui-timepicker-div .ui-widget-header{background:0 0!important;border:0!important;display:none!important}.acf-ui-datepicker .ui-timepicker-div .ui-widget-header .ui-datepicker-title{font-size:13px!important;font-weight:600!important}.acf-ui-datepicker .ui-timepicker-div dl{margin:0;text-align:center!important}.acf-ui-datepicker .ui-timepicker-div .ui_tpicker_time_label{display:none!important}.acf-ui-datepicker .ui-timepicker-div select{background:#fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%!important;background-size:16px 16px!important;color:#32373c!important;border-color:#7e8993!important}.acf-ui-datepicker .ui-datepicker-buttonpane{border:0!important;padding:7px!important;margin:0!important;background:#f9f9f9!important;border-top:1px solid #e1e1e1!important;border-radius:0 0 4px 4px!important}.acf-ui-datepicker .ui-datepicker-buttonpane:after{content:'';display:block;clear:both}.acf-ui-datepicker .ui-datepicker-buttonpane button{display:inline-block;text-decoration:none;font-size:13px!important;line-height:2.15384615;min-height:30px;margin:0!important;padding:0 10px!important;cursor:pointer!important;border-width:1px!important;border-style:solid!important;-webkit-appearance:none;border-radius:3px;font-weight:400!important;white-space:nowrap;box-sizing:border-box;color:#0071a1!important;border-color:#0071a1!important;background:#f3f5f6!important;vertical-align:top;box-shadow:none!important;outline:0!important;opacity:unset!important;filter:unset!important}.acf-ui-datepicker .ui-datepicker-buttonpane button:hover{background:#f1f1f1!important;border-color:#016087!important;color:#016087!important}body .medium-editor-toolbar{z-index:999999!important}.acf-flexible-content>.values>.ui-sortable-placeholder{border-width:2px;border-color:#ccc}.acf-flexible-content .layout .acf-fc-layout-handle{color:#444;font-weight:600}.layout.acfe-flexible-modal-edit-error>.acf-fc-layout-handle{color:#f33b28}.layout.acfe-flexible-modal-edit-error>.acf-fc-layout-handle>.acf-fc-layout-order{background:#f33b28;color:#fff}.acf-field-flexible-content[data-acfe-flexible-modal-edition="1"]:not([data-acfe-flexible-placeholder="1"]):not([data-acfe-flexible-preview="1"])>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle{border-bottom-width:0}.acf-field-flexible-content[data-acfe-flexible-placeholder="1"]>.acf-input>.acf-flexible-content>.values>.layout.-collapsed>.acf-fc-layout-handle,.acf-field-flexible-content[data-acfe-flexible-preview="1"]>.acf-input>.acf-flexible-content>.values>.layout.-collapsed>.acf-fc-layout-handle{border-bottom-width:1px}.acf-field-flexible-content[data-acfe-flexible-lock="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle{cursor:initial}.acf-field-flexible-content[data-acfe-flexible-remove-collapse="1"]:not([data-acfe-flexible-lock="1"])>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle{cursor:initial}.acf-fc-popup.top.acfe-fc-popup-grey:before{border-top-color:#e1e1e1}.acf-tooltip.bottom.acfe-fc-popup-grey:before{border-bottom-color:#e1e1e1}.acf-fc-popup.acfe-fc-popup-grey{background:#fcfcfc;border-radius:3px;color:#444;border:1px solid #e1e1e1;font-size:13px}.acf-tooltip.top.acfe-fc-popup-grey{margin-top:-16px}.acf-tooltip.bottom.acfe-fc-popup-grey{margin-bottom:-16px}.acf-fc-popup.acfe-fc-popup-grey a{color:#444}.acf-fc-popup.acfe-fc-popup-grey a:hover{color:#fff}.layout>.acfe-fc-placeholder{text-align:center;background:#f9f9f9;display:block;text-decoration:none;position:relative;cursor:pointer}.layout>.acfe-fc-placeholder:focus{border-color:#ccc;box-shadow:none}.layout>.acfe-fc-placeholder>.acfe-flexible-placeholder{height:110px;overflow:hidden;text-align:initial}.layout>.acfe-fc-placeholder>a{z-index:2;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-color:#ccd0d4;color:#23282d;border-radius:100px;box-shadow:none;background:#fff;width:30px;min-height:30px;height:30px;padding:0;display:block}body:not(.acf-admin-5-3) .layout>.acfe-fc-placeholder>a{border-color:#999}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-flexible-content>.acf-input>.acf-flexible-content>.values>.layout>.acfe-fc-placeholder>a{z-index:0}.layout>.acfe-fc-placeholder>a:active{transform:translate(-50%,-50%)}.layout>.acfe-fc-placeholder>a:focus{border-color:#ccc;box-shadow:none}.layout>.acfe-fc-placeholder>a span{width:29px;height:30px;vertical-align:top;line-height:28px;font-size:18px}body:not(.acf-admin-5-3) .layout>.acfe-fc-placeholder>a span{width:30px;height:30px}.layout>.acfe-fc-placeholder.acfe-fc-preview{background:0 0}.layout>.acfe-fc-placeholder.acfe-fc-preview>.acfe-flexible-placeholder{min-height:55px;height:auto}.layout>.acfe-fc-placeholder.acfe-fc-preview>a{display:none}.layout>.acfe-fc-placeholder.acfe-fc-preview:hover>a{display:block}.layout>.acfe-fc-placeholder.acfe-fc-preview.-loading{background:#f9f9f9;min-height:110px}.layout>.acfe-fc-placeholder.acfe-fc-preview.-loading>.acfe-flexible-placeholder>.spinner{visibility:visible;float:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;z-index:10000}.layout>.acfe-fc-placeholder .acfe-fc-overlay{position:absolute;width:100%;height:100%;padding:0;background-color:rgba(255,255,255,0);transition:background-color .2s linear}.layout>.acfe-fc-placeholder .acfe-fc-overlay.-hover,.layout>.acfe-fc-placeholder:hover .acfe-fc-overlay{background-color:rgba(255,255,255,.7);z-index:1}.layout>.acfe-fc-placeholder.acfe-fc-preview.-loading>a span{visibility:hidden}.layout>.acf-fields>.acfe-flexible-opened-actions,.layout>.acf-table>.acfe-flexible-opened-actions{background:#f9f9f9;border-top:1px solid #e1e1e1;padding:12px;text-align:right;clear:both}.acfe-flexible-layout-thumbnail{display:block;width:100%;height:9.8vw;background-color:#eee;background-size:cover;background-repeat:no-repeat;background-position:center;position:relative;margin-bottom:15px}.acfe-flexible-layout-thumbnail.acfe-flexible-layout-thumbnail-not-found:after{content:"\f180";font-family:dashicons;display:inline-block;line-height:1;font-weight:400;font-style:normal;speak:none;text-decoration:inherit;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;text-align:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#ccc;font-size:110px}.acfe-col-2 .acfe-flexible-layout-thumbnail{height:20.5vw}.acfe-col-3 .acfe-flexible-layout-thumbnail{height:13.3vw}.acfe-col-5 .acfe-flexible-layout-thumbnail{height:7.65vw}.acfe-col-6 .acfe-flexible-layout-thumbnail{height:6.2vw}@media only screen and (max-width:960px){.acfe-flex-container .acfe-flexible-layout-thumbnail,.acfe-flexible-layout-thumbnail{height:18.4vw}}@media only screen and (max-width:720px){.acfe-flex-container .acfe-flexible-layout-thumbnail,.acfe-flexible-layout-thumbnail{height:37.2vw}}.acfe-flexible-layout-thumbnail.acfe-flexible-layout-thumbnail-no-modal{display:block;width:230px;height:103px;background-color:#1f2329}.acfe-flexible-layout-thumbnail.acfe-flexible-layout-thumbnail-no-modal.acfe-flexible-layout-thumbnail-not-found:after{color:#2f353e}.acf-field.acf-field-flexible-content[data-acfe-flexible-stylised-button="1"]>.acf-input>.acf-flexible-content:not(.empty)>.values{margin-bottom:15px}.acf-field.acf-field-flexible-content>.acf-input>.acf-flexible-content>.acfe-flexible-stylised-button{padding:40px 20px;border:#ccc dashed 2px;text-align:center}.acf-field.acf-field-flexible-content>.acf-input>.acf-flexible-content>.acfe-flexible-stylised-button>.acf-actions{text-align:center}.acf-field.acf-field-flexible-content>.acf-input>.acf-flexible-content .acf-actions .acf-button .dashicons{width:auto;height:auto;vertical-align:text-top}.acf-field.acf-field-flexible-content[data-acfe-flexible-hide-empty-message="1"]>.acf-input>.acf-flexible-content>.no-value-message{display:none}.acf-field.acf-field-flexible-content[data-acfe-flexible-hide-empty-message="1"]>.acf-input>.acf-flexible-content.-empty>.values{margin-bottom:0}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons:before{font-family:dashicons}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons{visibility:hidden}.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.acfe-flexible-icon.dashicons{visibility:visible}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic{visibility:visible}.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic:before{margin-left:1px}.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-plus,.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout:hover .acf-fc-layout-controls .acf-icon.-plus{visibility:hidden}.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout.-hover>.acf-fc-layout-controls .acf-icon.-plus,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-duplicate,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-minus,.acf-flexible-content .layout:hover>.acf-fc-layout-controls .acf-icon.-plus{visibility:visible}.acf-flexible-content .layout>.acf-fc-layout-controls .acf-icon.disabled{color:#ccc;cursor:initial}.acf-flexible-content .layout>.acf-fc-layout-controls .acf-icon.disabled:hover{color:#ccc;background:#f5f5f5}.acf-flexible-content[data-acfe-flexible-lock="1"] .layout .acf-fc-layout-handle{cursor:initial}.acf-field-acfe-flexible-layout-title{display:none}input.acfe-flexible-control-title{border:none;box-shadow:none!important;outline:0!important;border-radius:0;border-bottom:1px solid transparent!important;font-weight:600;width:auto!important;padding:0!important;display:none;min-height:20px;vertical-align:unset;background:0 0}.layout>.acf-fc-layout-handle .acfe-layout-title{cursor:text;position:relative}.layout:not(.acfe-flexible-title-edition)>.acf-fc-layout-handle .acfe-layout-title:hover{background:#f4f4f4}.layout.acfe-flexible-title-edition>.acf-fc-layout-handle .acfe-layout-title input.acfe-flexible-control-title{display:inline-block;border-bottom:1px solid #ddd!important}.layout.acfe-flexible-title-edition>.acf-fc-layout-handle .acfe-layout-title .acfe-layout-title-text{display:none}.layout.acfe-flexible-layout-hidden>.acf-fc-layout-controls,.layout.acfe-flexible-layout-hidden>.acf-fc-layout-handle,.layout.acfe-flexible-layout-hidden>.acf-fields,.layout.acfe-flexible-layout-hidden>.acfe-fc-placeholder{opacity:.5}.acf-field-flexible-content[data-acfe-flexible-modal-edition="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-controls>a.-collapse{display:none}body.acfe-modal-opened{overflow:hidden}.acfe-modal-overlay{background:rgba(0,0,0,.7);position:fixed;top:0;left:0;right:0;bottom:0;height:100%;width:100%;z-index:100000}.acfe-modal{display:none;transition:all .3s ease-in-out}.acfe-modal.-open{position:fixed;z-index:100001;height:100%;width:100%;top:0;left:0;bottom:0;right:0;-webkit-font-smoothing:subpixel-antialiased;display:flex;flex-direction:column;justify-content:center;align-items:center;pointer-events:none}.acfe-modal.-open>.acfe-modal-wrapper{box-shadow:0 5px 15px rgba(0,0,0,.7);display:flex;flex-direction:column;width:calc(100vw - 60px);max-width:1100px;max-height:calc(100vh - 60px);position:relative}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-wrapper-overlay{position:absolute;z-index:10;background:rgba(0,0,0,.7);height:100%;width:100%;pointer-events:none}.acfe-modal.-open.-small>.acfe-modal-wrapper{max-width:450px}.acfe-modal.-open.-medium>.acfe-modal-wrapper{max-width:700px}.acfe-modal.-open.-large>.acfe-modal-wrapper{max-width:1100px}.acfe-modal.-open.-xlarge>.acfe-modal-wrapper{max-width:1400px}.acfe-modal.-open.-full>.acfe-modal-wrapper{max-width:100%;flex:1}.acfe-modal.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields.-left{height:100%}.acfe-modal.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields.-left:before{content:"";display:block;position:absolute;z-index:0;background:#f9f9f9;border-color:#e1e1e1;border-style:solid;border-width:0 1px 0 0;top:0;bottom:0;left:0;width:20%}.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields,.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone,.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone>.acf-input,.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone>.acf-input>.acf-clone-fields.acf-fields.-left{height:100%}.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone{padding:0}.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone>.acf-input{margin:0}.acfe-modal.-settings.-open.-full>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields>.acf-field-clone>.acf-input>.acf-clone-fields.acf-fields.-left:before{content:"";display:block;position:absolute;z-index:0;background:#f9f9f9;border-color:#e1e1e1;border-style:solid;border-width:0 1px 0 0;top:0;bottom:0;left:0;width:20%}.acfe-modal.-open .acfe-modal-title *,.acfe-modal.-open>.acfe-modal-title{box-sizing:border-box}.acfe-modal.-open .acfe-modal-title{display:block;height:50px;line-height:50px;font-size:22px;color:#23282d;border-bottom:1px solid #ddd;text-overflow:ellipsis;background:#fcfcfc;padding:0 0 0 16px;position:relative;text-align:left;pointer-events:auto}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-title{pointer-events:none}.acfe-modal.-open .acfe-modal-title>span.title{line-height:50px;color:#23282d;font-weight:600}.acfe-modal.-open .acfe-modal-title>span.title .acf-fc-layout-order{width:30px;height:30px;border-radius:30px;display:inline-block;text-align:center;line-height:30px;margin:0 2px 0 0;background:#f1f1f1;font-size:14px;color:#666;vertical-align:2px}.acfe-modal.-open .acfe-modal-title>button.close{height:50px;width:50px;color:#666;border:0;border-left:0;margin:0;padding:0;border-radius:0;position:absolute;top:0;right:0;transition:color .1s ease-in-out,background .1s ease-in-out;background:0 0;cursor:pointer;margin:0}.acfe-modal.-open .acfe-modal-title>button.close:hover{color:#00a0d2}.acfe-modal.-open .acfe-modal-title>button.close:before{height:50px;width:50px;line-height:50px!important;font:normal 20px/1 dashicons;content:"\f158";margin:0;padding:0}.acfe-modal.-open .acfe-modal-content{height:100%;background:#fff;display:block;position:relative;pointer-events:auto;overflow:auto}.acfe-modal.-open.-iframe .acfe-modal-content{overflow:hidden}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-content{pointer-events:none}.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper{padding:0;margin:0;border-bottom:1px solid #ddd}.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper a{margin:0;border-left:0;border-top:0;border-bottom:0;background:#fff;transition:color .1s ease-in-out,background .1s ease-in-out;padding:7px 15px;border-color:#ddd}.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper a span.dashicons-menu{line-height:27px}.acfe-modal.-open>.acfe-modal-content .nav-tab-wrapper a:hover{background:#f9f9f9;color:#23282d}.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper a.nav-tab-active,.acfe-modal.-open .acfe-modal-content .nav-tab-wrapper a.nav-tab-active:hover{background:#fcfcfc;color:#23282d}.acfe-modal.-open .acfe-modal-content .nav-tab:focus,.acfe-modal.-open .acfe-modal-content .nav-tab:focus:active{border-bottom:0;box-shadow:none;outline:0}.acfe-modal.-open .acfe-modal-content .acfe-flex-container,.acfe-modal.-open .acfe-modal-content .acfe-flex-container *{box-sizing:border-box}.acfe-modal.-open .acfe-modal-content .acfe-flex-container{width:100%;padding:14px;margin-right:auto;margin-left:auto}.acfe-modal.-open .acfe-modal-content .acfe-flexible-categories~.acfe-flex-container{overflow:auto;height:calc(100% - 39px)}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul{margin:0;margin-right:-7px;margin-left:-7px;display:flex;flex-wrap:wrap}.acfe-modal.-open>.acfe-modal-content .acfe-flex-container ul:after{content:"";clear:both;display:table}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li{position:relative;width:100%;padding-right:7px;padding-left:7px;padding-bottom:14px;margin:0;flex:0 0 25%;max-width:25%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a{border:1px solid #ddd;background:#f9f9f9;padding:15px;color:#333;display:block;text-decoration:none}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a:hover{background:#007cba;color:#fff}body:not(.acf-admin-5-3) .acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a:hover{background:#0073aa}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a span{display:block;font-size:16px;text-align:center;font-weight:600}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a span.no-thumbnail{text-align:left}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a.disabled{pointer-events:none;opacity:.67}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a.disabled:hover{cursor:default}.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li a.disabled:focus{box-shadow:none;outline:0}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-1 ul li{flex:0 0 100%;max-width:100%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-2 ul li{flex:0 0 50%;max-width:50%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-3 ul li{flex:0 0 33.333333%;max-width:33.333333%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-4 ul li{flex:0 0 25%;max-width:25%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-5 ul li{flex:0 0 20%;max-width:20%}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-6 ul li{flex:0 0 16.66%;max-width:16.66%}@media only screen and (max-width:960px){.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li{flex:0 0 50%!important;max-width:50%!important}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-1 ul li{flex:0 0 100%!important;max-width:100%!important}.acfe-modal.-open .acfe-modal-content ul li a{padding:7px}}@media only screen and (max-width:720px){.acfe-modal.-open .acfe-modal-content .acfe-flex-container ul li{flex:0 0 100%!important;max-width:100%!important}.acfe-modal.-open .acfe-modal-content .acfe-flex-container.acfe-col-1 ul li{flex:0 0 100%!important;max-width:100%!important}}.acfe-modal.-open .acfe-modal-footer,.acfe-modal.-open .acfe-modal-footer *{box-sizing:border-box}.acfe-modal.-open .acfe-modal-footer{display:block;height:50px;line-height:50px;color:#23282d;background:#fcfcfc;padding:0 16px;position:relative;text-align:right;border-top:1px solid #ddd;pointer-events:auto}.acfe-modal.-open.acfe-modal-sub>.acfe-modal-wrapper>.acfe-modal-footer{pointer-events:none}.acfe-modal.-open .acfe-modal-footer>button{vertical-align:baseline}body.block-editor-page .edit-post-layout .acfe-modal.-open{justify-content:start;align-items:start}body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{margin-top:88px;height:100%;width:100%;max-height:calc(100vh - 88px)}body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields.-left{height:100%}body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper>.acfe-modal-content>.acf-fields.-left:before{content:"";display:block;position:absolute;z-index:0;background:#f9f9f9;border-color:#e1e1e1;border-style:solid;border-width:0 1px 0 0;top:0;bottom:0;left:0;width:20%}@media only screen and (max-width:1080px){body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{margin-top:88px}}body.block-editor-page .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 160px);margin-left:160px}body.block-editor-page .edit-post-layout.is-sidebar-opened .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 440px)}body.block-editor-page.folded .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 36px);margin-left:36px}@media only screen and (max-width:960px){body.block-editor-page.auto-fold .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 36px);margin-left:36px}}@media only screen and (max-width:782px){body.block-editor-page.auto-fold .edit-post-layout .acfe-modal.-open>.acfe-modal-wrapper{max-width:100vw;margin-left:0;margin-top:100px}}body.block-editor-page.folded .edit-post-layout.is-sidebar-opened .acfe-modal.-open>.acfe-modal-wrapper{max-width:calc(100vw - 316px)}@media (min-width:600px){body.block-editor-page.acfe-modal-opened .edit-post-layout__content{overflow-y:hidden}}body.block-editor-page .acfe-modal-overlay{display:none}body.wp-admin.upload-php.acfe-modal-opened>div:not([style*="display: none;"])>.media-modal.wp-core-ui:not(.acf-media-modal):before{content:"";display:block;position:absolute;background:rgba(0,0,0,.7);top:0;left:0;width:100%;height:100%;z-index:10000}.acf-field-repeater[data-acfe-repeater-lock="1"]>.acf-input>.acf-repeater>.acf-table>tbody>.acf-row>.acf-row-handle{cursor:initial}.acf-repeater.-block>table,.acf-repeater.-row>table{border-collapse:separate;border-spacing:0 15px;background:0 0;border:0;margin-top:-15px;margin-bottom:-7px}.acf-repeater.-block>table>*,.acf-repeater.-row>table>*{border-collapse:collapse;border-spacing:0}.acf-repeater.-block>table>tbody>tr>td,.acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #ccd0d4!important;border-bottom:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:first-of-type,.acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #ccd0d4!important}.acf-repeater.-block>table>tbody>tr>td:last-of-type,.acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #ccd0d4!important}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td{border-top:1px solid #e1e1e1;border-bottom:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:first-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:first-of-type{border-left:1px solid #e1e1e1}body:not(.acf-admin-5-3) .acf-repeater.-block>table>tbody>tr>td:last-of-type,body:not(.acf-admin-5-3) .acf-repeater.-row>table>tbody>tr>td:last-of-type{border-right:1px solid #e1e1e1}.acf-repeater.-table.-empty>.acf-table{display:none}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button{padding:40px 20px;border:#ccc dashed 2px;text-align:center}.acf-field-repeater>.acf-input>.acf-repeater>.acfe-repeater-stylised-button>.acf-actions{text-align:center}.acf-field-flexible-content>.acf-input>.acf-repeater .acf-actions .acf-button .dashicons{width:auto;height:auto;vertical-align:text-top}
includes/core/helpers.php CHANGED
@@ -964,7 +964,7 @@ function acfe_form_is_submitted($form_name = false){
964
  if(empty($form))
965
  return false;
966
 
967
- if(!empty($form_name) && acf_maybe_get($form, 'form_name') !== $form_name)
968
  return false;
969
 
970
  return true;
@@ -973,7 +973,7 @@ function acfe_form_is_submitted($form_name = false){
973
 
974
  function acfe_form_unique_action_id($form, $type){
975
 
976
- $name = $form['form_name'] . '-' . $type;
977
 
978
  global $acfe_form_uniqid;
979
 
964
  if(empty($form))
965
  return false;
966
 
967
+ if(!empty($form_name) && acf_maybe_get($form, 'name') !== $form_name)
968
  return false;
969
 
970
  return true;
973
 
974
  function acfe_form_unique_action_id($form, $type){
975
 
976
+ $name = $form['name'] . '-' . $type;
977
 
978
  global $acfe_form_uniqid;
979
 
includes/field-groups/field-group.php CHANGED
@@ -330,20 +330,46 @@ class ACFE_Field_Group{
330
  }
331
 
332
  /*
333
- * AutoSync: Prepare
334
  */
335
  acf_enable_filter('local');
336
-
337
- $disable_json = acfe_get_local_json_file($field_group) ? true : false;
338
- $disable_php = acfe_get_local_php_file($field_group) ? true : false;
339
-
340
  $data = array(
341
  'php' => acf_get_instance('ACFE_Field_Groups')->get_php_data($field_group),
342
  'json' => acf_get_instance('ACFE_Field_Groups')->get_json_data($field_group),
343
  );
344
-
345
  acf_disable_filter('local');
 
 
 
 
 
 
 
 
 
 
 
 
346
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
347
  $choices = array(
348
  'php' => 'PHP',
349
  'json' => 'Json',
@@ -358,13 +384,12 @@ class ACFE_Field_Group{
358
  'title' => $info['file'],
359
  );
360
 
361
- if($info['class'])
362
  $wrapper['class'] .= ' ' . $info['class'];
 
363
 
364
  if($info['message']){
365
-
366
  $wrapper['title'] = $info['message'];
367
-
368
  }
369
 
370
  $icons = array();
@@ -398,7 +423,7 @@ class ACFE_Field_Group{
398
  'type' => 'checkbox',
399
  'name' => 'acfe_autosync',
400
  'prefix' => 'acf_field_group',
401
- 'value' => acf_maybe_get($field_group, 'acfe_autosync', array()),
402
  'choices' => array(
403
  'php' => $choices['php'],
404
  'json' => $choices['json'],
@@ -436,7 +461,7 @@ class ACFE_Field_Group{
436
  var $php = $('#acf_field_group-acfe_autosync-php');
437
  var $sync_available = $('[data-name=acfe_sync_available]');
438
 
439
- <?php if($disable_json){ ?>
440
 
441
  $json.prop('readonly', true).addClass('disabled').click(function(){
442
  return false;
@@ -446,7 +471,7 @@ class ACFE_Field_Group{
446
 
447
  <?php } ?>
448
 
449
- <?php if($disable_php){ ?>
450
 
451
  $php.prop('readonly', true).addClass('disabled').click(function(){
452
  return false;
330
  }
331
 
332
  /*
333
+ * AutoSync: Get Local
334
  */
335
  acf_enable_filter('local');
336
+
337
+ $json_file = acfe_get_local_json_file($field_group);
338
+ $php_file = acfe_get_local_php_file($field_group);
339
+
340
  $data = array(
341
  'php' => acf_get_instance('ACFE_Field_Groups')->get_php_data($field_group),
342
  'json' => acf_get_instance('ACFE_Field_Groups')->get_json_data($field_group),
343
  );
344
+
345
  acf_disable_filter('local');
346
+
347
+ /*
348
+ * AutoSync: Values
349
+ */
350
+ $acfe_autosync = (array) acf_maybe_get($field_group, 'acfe_autosync');
351
+
352
+ // Json
353
+ if($json_file){
354
+
355
+ if(!in_array('json', $acfe_autosync)){
356
+ $acfe_autosync[] = 'json';
357
+ }
358
 
359
+ }
360
+
361
+ // PHP
362
+ if($php_file){
363
+
364
+ if(!in_array('php', $acfe_autosync)){
365
+ $acfe_autosync[] = 'php';
366
+ }
367
+
368
+ }
369
+
370
+ /*
371
+ * AutoSync: Choices
372
+ */
373
  $choices = array(
374
  'php' => 'PHP',
375
  'json' => 'Json',
384
  'title' => $info['file'],
385
  );
386
 
387
+ if($info['class']){
388
  $wrapper['class'] .= ' ' . $info['class'];
389
+ }
390
 
391
  if($info['message']){
 
392
  $wrapper['title'] = $info['message'];
 
393
  }
394
 
395
  $icons = array();
423
  'type' => 'checkbox',
424
  'name' => 'acfe_autosync',
425
  'prefix' => 'acf_field_group',
426
+ 'value' => $acfe_autosync,
427
  'choices' => array(
428
  'php' => $choices['php'],
429
  'json' => $choices['json'],
461
  var $php = $('#acf_field_group-acfe_autosync-php');
462
  var $sync_available = $('[data-name=acfe_sync_available]');
463
 
464
+ <?php if($json_file){ ?>
465
 
466
  $json.prop('readonly', true).addClass('disabled').click(function(){
467
  return false;
471
 
472
  <?php } ?>
473
 
474
+ <?php if($php_file){ ?>
475
 
476
  $php.prop('readonly', true).addClass('disabled').click(function(){
477
  return false;
includes/fields/field-column.php CHANGED
@@ -72,6 +72,7 @@ class acfe_field_column extends acf_field{
72
  '11/12' => '11/12',
73
  '12/12' => '12/12',
74
  ),
 
75
  'conditional_logic' => array(
76
  array(
77
  array(
@@ -90,6 +91,7 @@ class acfe_field_column extends acf_field{
90
  'name' => 'endpoint',
91
  'type' => 'true_false',
92
  'ui' => 1,
 
93
  ));
94
 
95
  }
@@ -146,6 +148,12 @@ class acfe_field_column extends acf_field{
146
  }
147
 
148
  function prepare_field($field){
 
 
 
 
 
 
149
 
150
  $field['label'] = false;
151
 
72
  '11/12' => '11/12',
73
  '12/12' => '12/12',
74
  ),
75
+ 'class' => 'acfe-field-columns',
76
  'conditional_logic' => array(
77
  array(
78
  array(
91
  'name' => 'endpoint',
92
  'type' => 'true_false',
93
  'ui' => 1,
94
+ 'class' => 'acfe-field-columns-endpoint',
95
  ));
96
 
97
  }
148
  }
149
 
150
  function prepare_field($field){
151
+
152
+ global $pagenow;
153
+
154
+ // Do not render on User/Term views (because of Table render)
155
+ if(acf_is_screen(array('profile', 'user', 'user-edit')) || $pagenow === 'edit-tags.php' || $pagenow === 'term.php')
156
+ return false;
157
 
158
  $field['label'] = false;
159
 
includes/fields/field-hidden.php CHANGED
@@ -20,6 +20,14 @@ class acfe_field_hidden extends acf_field{
20
 
21
  }
22
 
 
 
 
 
 
 
 
 
23
  function render_field($field){
24
 
25
  ?>
20
 
21
  }
22
 
23
+ function prepare_field($field){
24
+
25
+ $field['wrapper']['class'] = 'acf-hidden';
26
+
27
+ return $field;
28
+
29
+ }
30
+
31
  function render_field($field){
32
 
33
  ?>
includes/fields/field-taxonomy-terms.php CHANGED
@@ -483,6 +483,11 @@ class acfe_field_taxonomy_terms extends acf_field{
483
  $args['search'] = $s;
484
 
485
  }
 
 
 
 
 
486
 
487
  $terms = $this->get_terms($field, $args);
488
 
483
  $args['search'] = $s;
484
 
485
  }
486
+
487
+ // filters
488
+ $args = apply_filters('acfe/fields/taxonomy_terms/query', $args, $field, $options['post_id']);
489
+ $args = apply_filters('acfe/fields/taxonomy_terms/query/name=' . $field['name'], $args, $field, $options['post_id']);
490
+ $args = apply_filters('acfe/fields/taxonomy_terms/query/key=' . $field['key'], $args, $field, $options['post_id']);
491
 
492
  $terms = $this->get_terms($field, $args);
493
 
includes/modules/dynamic-post-type.php CHANGED
@@ -2660,7 +2660,7 @@ etc...',
2660
  'label' => 'Show in rest',
2661
  'name' => 'show_in_rest',
2662
  'type' => 'true_false',
2663
- 'instructions' => 'Whether to expose this post type in the REST API',
2664
  'required' => 0,
2665
  'conditional_logic' => 0,
2666
  'wrapper' => array(
2660
  'label' => 'Show in rest',
2661
  'name' => 'show_in_rest',
2662
  'type' => 'true_false',
2663
+ 'instructions' => 'Whether to expose this post type in the REST API. Set this to true for the post type to be available in the block editor',
2664
  'required' => 0,
2665
  'conditional_logic' => 0,
2666
  'wrapper' => array(
includes/modules/dynamic-taxonomy.php CHANGED
@@ -2119,7 +2119,7 @@ assign_terms : edit_posts',
2119
  'label' => 'Show in rest',
2120
  'name' => 'show_in_rest',
2121
  'type' => 'true_false',
2122
- 'instructions' => 'Whether to include the taxonomy in the REST API',
2123
  'required' => 0,
2124
  'conditional_logic' => 0,
2125
  'wrapper' => array(
2119
  'label' => 'Show in rest',
2120
  'name' => 'show_in_rest',
2121
  'type' => 'true_false',
2122
+ 'instructions' => 'Whether to include the taxonomy in the REST API. Set this to true for the taxonomy to be available in the block editor',
2123
  'required' => 0,
2124
  'conditional_logic' => 0,
2125
  'wrapper' => array(
includes/modules/form/actions/custom.php CHANGED
@@ -21,8 +21,8 @@ class acfe_form_custom{
21
  function make($form, $current_post_id, $action){
22
 
23
  // Form
24
- $form_name = acf_maybe_get($form, 'form_name');
25
- $form_id = acf_maybe_get($form, 'form_id');
26
 
27
  // Custom Action Name
28
  $action = get_sub_field('acfe_form_custom_action');
21
  function make($form, $current_post_id, $action){
22
 
23
  // Form
24
+ $form_name = acf_maybe_get($form, 'name');
25
+ $form_id = acf_maybe_get($form, 'ID');
26
 
27
  // Custom Action Name
28
  $action = get_sub_field('acfe_form_custom_action');
includes/modules/form/actions/email.php CHANGED
@@ -22,8 +22,8 @@ class acfe_form_email{
22
  function make($form, $current_post_id, $action){
23
 
24
  // Form
25
- $form_name = acf_maybe_get($form, 'form_name');
26
- $form_id = acf_maybe_get($form, 'form_id');
27
 
28
  // Prepare
29
  $prepare = true;
@@ -225,7 +225,7 @@ class acfe_form_email{
225
  function submit($args, $form, $action){
226
 
227
  // Form name
228
- $form_name = acf_maybe_get($form, 'form_name');
229
 
230
  $args = apply_filters('acfe/form/query_var/email', $args, $form, $action);
231
  $args = apply_filters('acfe/form/query_var/email/form=' . $form_name, $args, $form, $action);
22
  function make($form, $current_post_id, $action){
23
 
24
  // Form
25
+ $form_name = acf_maybe_get($form, 'name');
26
+ $form_id = acf_maybe_get($form, 'ID');
27
 
28
  // Prepare
29
  $prepare = true;
225
  function submit($args, $form, $action){
226
 
227
  // Form name
228
+ $form_name = acf_maybe_get($form, 'name');
229
 
230
  $args = apply_filters('acfe/form/query_var/email', $args, $form, $action);
231
  $args = apply_filters('acfe/form/query_var/email/form=' . $form_name, $args, $form, $action);
includes/modules/form/actions/post.php CHANGED
@@ -58,8 +58,8 @@ class acfe_form_post{
58
  function load($form, $current_post_id, $action){
59
 
60
  // Form
61
- $form_name = acf_maybe_get($form, 'form_name');
62
- $form_id = acf_maybe_get($form, 'form_id');
63
 
64
  // Action
65
  $post_action = get_sub_field('acfe_form_post_action');
@@ -242,8 +242,8 @@ class acfe_form_post{
242
  function make($form, $current_post_id, $action){
243
 
244
  // Form
245
- $form_name = acf_maybe_get($form, 'form_name');
246
- $form_id = acf_maybe_get($form, 'form_id');
247
 
248
  // Prepare
249
  $prepare = true;
@@ -308,12 +308,6 @@ class acfe_form_post{
308
  // Insert Post
309
  if($post_action === 'insert_post'){
310
 
311
- // Fix nasty Elementor + YOAST infinite loop
312
- // Elementor bug report: https://github.com/elementor/elementor/issues/10998
313
- // YOAST bug report: https://github.com/Yoast/wordpress-seo/issues/14643
314
-
315
- add_filter('wpseo_should_index_links', '__return_false');
316
-
317
  $_post_id = wp_insert_post(array(
318
  'post_title' => 'Post'
319
  ));
@@ -582,7 +576,7 @@ class acfe_form_post{
582
  function submit($_post_id, $post_action, $args, $form, $action){
583
 
584
  // Form name
585
- $form_name = acf_maybe_get($form, 'form_name');
586
 
587
  // Get post array
588
  $post_object = get_post($_post_id, 'ARRAY_A');
58
  function load($form, $current_post_id, $action){
59
 
60
  // Form
61
+ $form_name = acf_maybe_get($form, 'name');
62
+ $form_id = acf_maybe_get($form, 'ID');
63
 
64
  // Action
65
  $post_action = get_sub_field('acfe_form_post_action');
242
  function make($form, $current_post_id, $action){
243
 
244
  // Form
245
+ $form_name = acf_maybe_get($form, 'name');
246
+ $form_id = acf_maybe_get($form, 'ID');
247
 
248
  // Prepare
249
  $prepare = true;
308
  // Insert Post
309
  if($post_action === 'insert_post'){
310
 
 
 
 
 
 
 
311
  $_post_id = wp_insert_post(array(
312
  'post_title' => 'Post'
313
  ));
576
  function submit($_post_id, $post_action, $args, $form, $action){
577
 
578
  // Form name
579
+ $form_name = acf_maybe_get($form, 'name');
580
 
581
  // Get post array
582
  $post_object = get_post($_post_id, 'ARRAY_A');
includes/modules/form/actions/term.php CHANGED
@@ -50,8 +50,8 @@ class acfe_form_term{
50
  function load($form, $current_post_id, $action){
51
 
52
  // Form
53
- $form_name = acf_maybe_get($form, 'form_name');
54
- $form_id = acf_maybe_get($form, 'form_id');
55
 
56
  // Action
57
  $term_action = get_sub_field('acfe_form_term_action');
@@ -169,8 +169,8 @@ class acfe_form_term{
169
  function make($form, $current_post_id, $action){
170
 
171
  // Form
172
- $form_name = acf_maybe_get($form, 'form_name');
173
- $form_id = acf_maybe_get($form, 'form_id');
174
 
175
  // Prepare
176
  $prepare = true;
@@ -347,7 +347,7 @@ class acfe_form_term{
347
  function submit($_term_id, $term_action, $args, $form, $action){
348
 
349
  // Form name
350
- $form_name = acf_maybe_get($form, 'form_name');
351
 
352
  // Get term array
353
  $term_object = get_term($_term_id, $args['taxonomy'], 'ARRAY_A');
50
  function load($form, $current_post_id, $action){
51
 
52
  // Form
53
+ $form_name = acf_maybe_get($form, 'name');
54
+ $form_id = acf_maybe_get($form, 'ID');
55
 
56
  // Action
57
  $term_action = get_sub_field('acfe_form_term_action');
169
  function make($form, $current_post_id, $action){
170
 
171
  // Form
172
+ $form_name = acf_maybe_get($form, 'name');
173
+ $form_id = acf_maybe_get($form, 'ID');
174
 
175
  // Prepare
176
  $prepare = true;
347
  function submit($_term_id, $term_action, $args, $form, $action){
348
 
349
  // Form name
350
+ $form_name = acf_maybe_get($form, 'name');
351
 
352
  // Get term array
353
  $term_object = get_term($_term_id, $args['taxonomy'], 'ARRAY_A');
includes/modules/form/actions/user.php CHANGED
@@ -64,8 +64,8 @@ class acfe_form_user{
64
  function load($form, $current_post_id, $action){
65
 
66
  // Form
67
- $form_name = acf_maybe_get($form, 'form_name');
68
- $form_id = acf_maybe_get($form, 'form_id');
69
 
70
  // Action
71
  $user_action = get_sub_field('acfe_form_user_action');
@@ -270,8 +270,8 @@ class acfe_form_user{
270
  return;
271
 
272
  // Form
273
- $form_name = acf_maybe_get($form, 'form_name');
274
- $form_id = acf_maybe_get($form, 'form_id');
275
 
276
  // Fields
277
  $data = array(
@@ -391,8 +391,8 @@ class acfe_form_user{
391
  function make($form, $current_post_id, $action){
392
 
393
  // Form
394
- $form_name = acf_maybe_get($form, 'form_name');
395
- $form_id = acf_maybe_get($form, 'form_id');
396
 
397
  // Prepare
398
  $prepare = true;
@@ -793,7 +793,7 @@ class acfe_form_user{
793
  function submit($_user_id, $user_action, $args, $form, $action){
794
 
795
  // Form name
796
- $form_name = acf_maybe_get($form, 'form_name');
797
 
798
  // Get user array
799
  $user_object = get_user_by('ID', $_user_id);
64
  function load($form, $current_post_id, $action){
65
 
66
  // Form
67
+ $form_name = acf_maybe_get($form, 'name');
68
+ $form_id = acf_maybe_get($form, 'ID');
69
 
70
  // Action
71
  $user_action = get_sub_field('acfe_form_user_action');
270
  return;
271
 
272
  // Form
273
+ $form_name = acf_maybe_get($form, 'name');
274
+ $form_id = acf_maybe_get($form, 'ID');
275
 
276
  // Fields
277
  $data = array(
391
  function make($form, $current_post_id, $action){
392
 
393
  // Form
394
+ $form_name = acf_maybe_get($form, 'name');
395
+ $form_id = acf_maybe_get($form, 'ID');
396
 
397
  // Prepare
398
  $prepare = true;
793
  function submit($_user_id, $user_action, $args, $form, $action){
794
 
795
  // Form name
796
+ $form_name = acf_maybe_get($form, 'name');
797
 
798
  // Get user array
799
  $user_object = get_user_by('ID', $_user_id);
includes/modules/form/admin.php CHANGED
@@ -245,7 +245,7 @@ class acfe_form{
245
 
246
  if(empty($alias)){
247
 
248
- $alias = acfe_form_unique_action_id(array('form_name' => get_field('acfe_form_name', $form_id)), $action);
249
 
250
  }
251
 
@@ -842,26 +842,26 @@ class acfe_form{
842
  }
843
 
844
  // Templates Tags Examples
845
- $field['choices']["Current: Post"]['{current:post:ID}'] = 'Post ID {current:post:ID}';
846
- $field['choices']["Current: Post"]['{current:post:post_title}'] = 'Title {current:post:post_title}';
847
- $field['choices']["Current: Post"]['{current:post:permalink}'] = 'Permalink {current:post:permalink}';
848
- $field['choices']["Current: Post"]['{current:post:post_author}'] = 'Author {current:post:post_author}';
849
 
850
- $field['choices']["Current: Term"]['{current:term:ID}'] = 'Term ID {current:term:ID}';
851
- $field['choices']["Current: Term"]['{current:term:name}'] = 'Name {current:term:name}';
852
- $field['choices']["Current: Term"]['{current:term:permalink}'] = 'Permalink {current:term:permalink}';
853
 
854
- $field['choices']["Current: User"]['{current:user:ID}'] = 'User ID {current:user:ID}';
855
- $field['choices']["Current: User"]['{current:user:user_email}'] = 'E-mail {current:user:user_email}';
856
- $field['choices']["Current: User"]['{current:user:permalink}'] = 'Permalink {current:user:permalink}';
857
 
858
- $field['choices']["Current: Author"]['{current:author:ID}'] = 'Author ID {current:author:ID}';
859
- $field['choices']["Current: Author"]['{current:author:user_email}'] = 'E-mail {current:author:user_email}';
860
- $field['choices']["Current: Author"]['{current:author:permalink}'] = 'Permalink {current:author:permalink}';
861
 
862
- $field['choices']["Current: Form"]['{current:form:ID}'] = 'Form ID {current:form:ID}';
863
- $field['choices']["Current: Form"]['{current:form:title}'] = 'Title {current:form:title}';
864
- $field['choices']["Current: Form"]['{current:form:name}'] = 'Name {current:form:name}';
865
 
866
  }
867
 
@@ -1036,8 +1036,8 @@ class acfe_form{
1036
  function render_fields($content, $post_id, $args){
1037
 
1038
  // Mapping
1039
- $form_id = $args['form_id'];
1040
- $form_name = $args['form_name'];
1041
 
1042
  $mapped_field_groups = $this->get_fields_groups($form_id);
1043
  $mapped_field_groups_keys = wp_list_pluck($mapped_field_groups, 'key');
@@ -1966,11 +1966,11 @@ acf.addAction('acfe/form/submit/success/name=<?php echo $form_name; ?>');</pre>
1966
  <table class="acf-table">
1967
  <tbody>
1968
  <tr class="acf-row">
1969
- <td width="35%"><code>{query_var:name}</code></td>
1970
  <td>value</td>
1971
  </tr>
1972
  <tr class="acf-row">
1973
- <td width="35%"><code>{query_var:name:key}</code></td>
1974
  <td>Array value</td>
1975
  </tr>
1976
  </tbody>
@@ -1981,217 +1981,217 @@ acf.addAction('acfe/form/submit/success/name=<?php echo $form_name; ?>');</pre>
1981
  <table class="acf-table">
1982
  <tbody>
1983
  <tr class="acf-row">
1984
- <td width="35%"><code>{query_var:post:ID}</code></td>
1985
  <td>128</td>
1986
  </tr>
1987
  <tr class="acf-row">
1988
- <td width="35%"><code>{query_var:post:post_author}</code></td>
1989
  <td>1</td>
1990
  </tr>
1991
 
1992
  <tr class="acf-row">
1993
- <td width="35%"><code>{query_var:post:post_author_data:ID}</code></td>
1994
  <td>1</td>
1995
  </tr>
1996
  <tr class="acf-row">
1997
- <td width="35%"><code>{query_var:post:post_author_data:user_login}</code></td>
1998
  <td>login</td>
1999
  </tr>
2000
  <tr class="acf-row">
2001
- <td width="35%"><code>{query_var:post:post_author_data:user_pass}</code></td>
2002
  <td>password_hash</td>
2003
  </tr>
2004
  <tr class="acf-row">
2005
- <td width="35%"><code>{query_var:post:post_author_data:user_nicename}</code></td>
2006
  <td>nicename</td>
2007
  </tr>
2008
  <tr class="acf-row">
2009
- <td width="35%"><code>{query_var:post:post_author_data:user_email}</code></td>
2010
  <td>user@domain.com</td>
2011
  </tr>
2012
  <tr class="acf-row">
2013
- <td width="35%"><code>{query_var:post:post_author_data:user_url}</code></td>
2014
  <td>https://www.website.com</td>
2015
  </tr>
2016
  <tr class="acf-row">
2017
- <td width="35%"><code>{query_var:post:post_author_data:permalink}</code></td>
2018
  <td><?php echo home_url('author/johndoe'); ?></td>
2019
  </tr>
2020
  <tr class="acf-row">
2021
- <td width="35%"><code>{query_var:post:post_author_data:admin_url}</code></td>
2022
  <td><?php echo admin_url('user-edit.php?user_id=1'); ?></td>
2023
  </tr>
2024
  <tr class="acf-row">
2025
- <td width="35%"><code>{query_var:post:post_author_data:user_registered}</code></td>
2026
  <td>2020-02-22 22:10:02</td>
2027
  </tr>
2028
  <tr class="acf-row">
2029
- <td width="35%"><code>{query_var:post:post_author_data:user_activation_key}</code></td>
2030
  <td></td>
2031
  </tr>
2032
  <tr class="acf-row">
2033
- <td width="35%"><code>{query_var:post:post_author_data:user_status}</code></td>
2034
  <td>0</td>
2035
  </tr>
2036
  <tr class="acf-row">
2037
- <td width="35%"><code>{query_var:post:post_author_data:display_name}</code></td>
2038
  <td>John Doe</td>
2039
  </tr>
2040
  <tr class="acf-row">
2041
- <td width="35%"><code>{query_var:post:post_author_data:nickname}</code></td>
2042
  <td>JohnDoe</td>
2043
  </tr>
2044
  <tr class="acf-row">
2045
- <td width="35%"><code>{query_var:post:post_author_data:first_name}</code></td>
2046
  <td>John</td>
2047
  </tr>
2048
  <tr class="acf-row">
2049
- <td width="35%"><code>{query_var:post:post_author_data:last_name}</code></td>
2050
  <td>Doe</td>
2051
  </tr>
2052
  <tr class="acf-row">
2053
- <td width="35%"><code>{query_var:post:post_author_data:description}</code></td>
2054
  <td>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</td>
2055
  </tr>
2056
  <tr class="acf-row">
2057
- <td width="35%"><code>{query_var:post:post_author_data:rich_editing}</code></td>
2058
  <td>true</td>
2059
  </tr>
2060
  <tr class="acf-row">
2061
- <td width="35%"><code>{query_var:post:post_author_data:syntax_highlighting}</code></td>
2062
  <td>true</td>
2063
  </tr>
2064
  <tr class="acf-row">
2065
- <td width="35%"><code>{query_var:post:post_author_data:comment_shortcuts}</code></td>
2066
  <td>false</td>
2067
  </tr>
2068
  <tr class="acf-row">
2069
- <td width="35%"><code>{query_var:post:post_author_data:admin_color}</code></td>
2070
  <td>fresh</td>
2071
  </tr>
2072
  <tr class="acf-row">
2073
- <td width="35%"><code>{query_var:post:post_author_data:use_ssl}</code></td>
2074
  <td>1</td>
2075
  </tr>
2076
  <tr class="acf-row">
2077
- <td width="35%"><code>{query_var:post:post_author_data:show_admin_bar_front}</code></td>
2078
  <td>true</td>
2079
  </tr>
2080
  <tr class="acf-row">
2081
- <td width="35%"><code>{query_var:post:post_author_data:locale}</code></td>
2082
  <td></td>
2083
  </tr>
2084
  <tr class="acf-row">
2085
- <td width="35%"><code>{query_var:post:post_author_data:wp_capabilities}</code></td>
2086
  <td>a:1:{s:13:"administrator";b:1;}</td>
2087
  </tr>
2088
  <tr class="acf-row">
2089
- <td width="35%"><code>{query_var:post:post_author_data:wp_user_level}</code></td>
2090
  <td>10</td>
2091
  </tr>
2092
  <tr class="acf-row">
2093
- <td width="35%"><code>{query_var:post:post_author_data:dismissed_wp_pointers}</code></td>
2094
  <td></td>
2095
  </tr>
2096
  <tr class="acf-row">
2097
- <td width="35%"><code>{query_var:post:post_author_data:show_welcome_panel}</code></td>
2098
  <td>1</td>
2099
  </tr>
2100
 
2101
  <tr class="acf-row">
2102
- <td width="35%"><code>{query_var:post:post_date}</code></td>
2103
  <td>2020-03-01 20:07:48</td>
2104
  </tr>
2105
  <tr class="acf-row">
2106
- <td width="35%"><code>{query_var:post:post_date_gmt}</code></td>
2107
  <td>2020-03-01 19:07:48</td>
2108
  </tr>
2109
  <tr class="acf-row">
2110
- <td width="35%"><code>{query_var:post:post_content}</code></td>
2111
  <td>Content</td>
2112
  </tr>
2113
  <tr class="acf-row">
2114
- <td width="35%"><code>{query_var:post:post_title}</code></td>
2115
  <td>Title</td>
2116
  </tr>
2117
  <tr class="acf-row">
2118
- <td width="35%"><code>{query_var:post:post_excerpt}</code></td>
2119
  <td>Excerpt</td>
2120
  </tr>
2121
  <tr class="acf-row">
2122
- <td width="35%"><code>{query_var:post:permalink}</code></td>
2123
  <td><?php echo home_url('my-post'); ?></td>
2124
  </tr>
2125
  <tr class="acf-row">
2126
- <td width="35%"><code>{query_var:post:admin_url}</code></td>
2127
  <td><?php echo admin_url('post.php?post=128&action=edit'); ?></td>
2128
  </tr>
2129
  <tr class="acf-row">
2130
- <td width="35%"><code>{query_var:post:post_status}</code></td>
2131
  <td>publish</td>
2132
  </tr>
2133
  <tr class="acf-row">
2134
- <td width="35%"><code>{query_var:post:comment_status}</code></td>
2135
  <td>closed</td>
2136
  </tr>
2137
  <tr class="acf-row">
2138
- <td width="35%"><code>{query_var:post:ping_status}</code></td>
2139
  <td>closed</td>
2140
  </tr>
2141
  <tr class="acf-row">
2142
- <td width="35%"><code>{query_var:post:post_password}</code></td>
2143
  <td>password</td>
2144
  </tr>
2145
  <tr class="acf-row">
2146
- <td width="35%"><code>{query_var:post:post_name}</code></td>
2147
  <td>name</td>
2148
  </tr>
2149
  <tr class="acf-row">
2150
- <td width="35%"><code>{query_var:post:to_ping}</code></td>
2151
  <td></td>
2152
  </tr>
2153
  <tr class="acf-row">
2154
- <td width="35%"><code>{query_var:post:pinged}</code></td>
2155
  <td></td>
2156
  </tr>
2157
  <tr class="acf-row">
2158
- <td width="35%"><code>{query_var:post:post_modified}</code></td>
2159
  <td>2020-03-01 20:07:48</td>
2160
  </tr>
2161
  <tr class="acf-row">
2162
- <td width="35%"><code>{query_var:post:post_modified_gmt}</code></td>
2163
  <td>2020-03-01 19:07:48</td>
2164
  </tr>
2165
  <tr class="acf-row">
2166
- <td width="35%"><code>{query_var:post:post_content_filtered}</code></td>
2167
  <td></td>
2168
  </tr>
2169
  <tr class="acf-row">
2170
- <td width="35%"><code>{query_var:post:post_parent}</code></td>
2171
  <td>0</td>
2172
  </tr>
2173
  <tr class="acf-row">
2174
- <td width="35%"><code>{query_var:post:guid}</code></td>
2175
  <td><?php echo home_url('?page_id=128'); ?></td>
2176
  </tr>
2177
  <tr class="acf-row">
2178
- <td width="35%"><code>{query_var:post:menu_order}</code></td>
2179
  <td>0</td>
2180
  </tr>
2181
  <tr class="acf-row">
2182
- <td width="35%"><code>{query_var:post:post_type}</code></td>
2183
  <td>page</td>
2184
  </tr>
2185
  <tr class="acf-row">
2186
- <td width="35%"><code>{query_var:post:post_mime_type}</code></td>
2187
  <td></td>
2188
  </tr>
2189
  <tr class="acf-row">
2190
- <td width="35%"><code>{query_var:post:comment_count}</code></td>
2191
  <td>0</td>
2192
  </tr>
2193
  <tr class="acf-row">
2194
- <td width="35%"><code>{query_var:post:filter}</code></td>
2195
  <td>raw</td>
2196
  </tr>
2197
  </tbody>
@@ -2202,55 +2202,55 @@ acf.addAction('acfe/form/submit/success/name=<?php echo $form_name; ?>');</pre>
2202
  <table class="acf-table">
2203
  <tbody>
2204
  <tr class="acf-row">
2205
- <td width="35%"><code>{query_var:term:ID}</code></td>
2206
  <td>23</td>
2207
  </tr>
2208
  <tr class="acf-row">
2209
- <td width="35%"><code>{query_var:term:term_id}</code></td>
2210
  <td>23</td>
2211
  </tr>
2212
  <tr class="acf-row">
2213
- <td width="35%"><code>{query_var:term:name}</code></td>
2214
  <td>Term</td>
2215
  </tr>
2216
  <tr class="acf-row">
2217
- <td width="35%"><code>{query_var:term:slug}</code></td>
2218
  <td>term</td>
2219
  </tr>
2220
  <tr class="acf-row">
2221
- <td width="35%"><code>{query_var:term:permalink}</code></td>
2222
  <td><?php echo home_url('taxonomy/term'); ?></td>
2223
  </tr>
2224
  <tr class="acf-row">
2225
- <td width="35%"><code>{query_var:term:admin_url}</code></td>
2226
  <td><?php echo admin_url('term.php?tag_ID=23'); ?></td>
2227
  </tr>
2228
  <tr class="acf-row">
2229
- <td width="35%"><code>{query_var:term:term_group}</code></td>
2230
  <td>0</td>
2231
  </tr>
2232
  <tr class="acf-row">
2233
- <td width="35%"><code>{query_var:term:term_taxonomy_id}</code></td>
2234
  <td>23</td>
2235
  </tr>
2236
  <tr class="acf-row">
2237
- <td width="35%"><code>{query_var:term:taxonomy}</code></td>
2238
  <td>taxonomy</td>
2239
  </tr>
2240
  <tr class="acf-row">
2241
- <td width="35%"><code>{query_var:term:description}</code></td>
2242
  <td>Content</td>
2243
  </tr>
2244
  <tr class="acf-row">
2245
- <td width="35%"><code>{query_var:term:parent}</code></td>
2246
  <td>0</td>
2247
  </tr>
2248
  <tr class="acf-row">
2249
- <td width="35%"><code>{query_var:term:count}</code></td>
2250
  <td>0</td>
2251
  </tr>
2252
  <tr class="acf-row">
2253
- <td width="35%"><code>{query_var:term:filter}</code></td>
2254
  <td>raw</td>
2255
  </tr>
2256
  </tbody>
@@ -2261,111 +2261,111 @@ acf.addAction('acfe/form/submit/success/name=<?php echo $form_name; ?>');</pre>
2261
  <table class="acf-table">
2262
  <tbody>
2263
  <tr class="acf-row">
2264
- <td width="35%"><code>{query_var:user:ID}</code></td>
2265
  <td>1</td>
2266
  </tr>
2267
  <tr class="acf-row">
2268
- <td width="35%"><code>{query_var:user:user_login}</code></td>
2269
  <td>login</td>
2270
  </tr>
2271
  <tr class="acf-row">
2272
- <td width="35%"><code>{query_var:user:user_pass}</code></td>
2273
  <td>password_hash</td>
2274
  </tr>
2275
  <tr class="acf-row">
2276
- <td width="35%"><code>{query_var:user:user_nicename}</code></td>
2277
  <td>nicename</td>
2278
  </tr>
2279
  <tr class="acf-row">
2280
- <td width="35%"><code>{query_var:user:user_email}</code></td>
2281
  <td>user@domain.com</td>
2282
  </tr>
2283
  <tr class="acf-row">
2284
- <td width="35%"><code>{query_var:user:user_url}</code></td>
2285
  <td>https://www.website.com</td>
2286
  </tr>
2287
  <tr class="acf-row">
2288
- <td width="35%"><code>{query_var:user:permalink}</code></td>
2289
  <td><?php echo home_url('author/johndoe'); ?></td>
2290
  </tr>
2291
  <tr class="acf-row">
2292
- <td width="35%"><code>{query_var:user:admin_url}</code></td>
2293
  <td><?php echo admin_url('user-edit.php?user_id=1'); ?></td>
2294
  </tr>
2295
  <tr class="acf-row">
2296
- <td width="35%"><code>{query_var:user:user_registered}</code></td>
2297
  <td>2020-02-22 22:10:02</td>
2298
  </tr>
2299
  <tr class="acf-row">
2300
- <td width="35%"><code>{query_var:user:user_activation_key}</code></td>
2301
  <td></td>
2302
  </tr>
2303
  <tr class="acf-row">
2304
- <td width="35%"><code>{query_var:user:user_status}</code></td>
2305
  <td>0</td>
2306
  </tr>
2307
  <tr class="acf-row">
2308
- <td width="35%"><code>{query_var:user:display_name}</code></td>
2309
  <td>John Doe</td>
2310
  </tr>
2311
  <tr class="acf-row">
2312
- <td width="35%"><code>{query_var:user:nickname}</code></td>
2313
  <td>JohnDoe</td>
2314
  </tr>
2315
  <tr class="acf-row">
2316
- <td width="35%"><code>{query_var:user:first_name}</code></td>
2317
  <td>John</td>
2318
  </tr>
2319
  <tr class="acf-row">
2320
- <td width="35%"><code>{query_var:user:last_name}</code></td>
2321
  <td>Doe</td>
2322
  </tr>
2323
  <tr class="acf-row">
2324
- <td width="35%"><code>{query_var:user:description}</code></td>
2325
  <td>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</td>
2326
  </tr>
2327
  <tr class="acf-row">
2328
- <td width="35%"><code>{query_var:user:rich_editing}</code></td>
2329
  <td>true</td>
2330
  </tr>
2331
  <tr class="acf-row">
2332
- <td width="35%"><code>{query_var:user:syntax_highlighting}</code></td>
2333
  <td>true</td>
2334
  </tr>
2335
  <tr class="acf-row">
2336
- <td width="35%"><code>{query_var:user:comment_shortcuts}</code></td>
2337
  <td>false</td>
2338
  </tr>
2339
  <tr class="acf-row">
2340
- <td width="35%"><code>{query_var:user:admin_color}</code></td>
2341
  <td>fresh</td>
2342
  </tr>
2343
  <tr class="acf-row">
2344
- <td width="35%"><code>{query_var:user:use_ssl}</code></td>
2345
  <td>1</td>
2346
  </tr>
2347
  <tr class="acf-row">
2348
- <td width="35%"><code>{query_var:user:show_admin_bar_front}</code></td>
2349
  <td>true</td>
2350
  </tr>
2351
  <tr class="acf-row">
2352
- <td width="35%"><code>{query_var:user:locale}</code></td>
2353
  <td></td>
2354
  </tr>
2355
  <tr class="acf-row">
2356
- <td width="35%"><code>{query_var:user:wp_capabilities}</code></td>
2357
  <td>a:1:{s:13:"administrator";b:1;}</td>
2358
  </tr>
2359
  <tr class="acf-row">
2360
- <td width="35%"><code>{query_var:user:wp_user_level}</code></td>
2361
  <td>10</td>
2362
  </tr>
2363
  <tr class="acf-row">
2364
- <td width="35%"><code>{query_var:user:dismissed_wp_pointers}</code></td>
2365
  <td></td>
2366
  </tr>
2367
  <tr class="acf-row">
2368
- <td width="35%"><code>{query_var:user:show_welcome_panel}</code></td>
2369
  <td>1</td>
2370
  </tr>
2371
  </tbody>
@@ -2376,39 +2376,39 @@ acf.addAction('acfe/form/submit/success/name=<?php echo $form_name; ?>');</pre>
2376
  <table class="acf-table">
2377
  <tbody>
2378
  <tr class="acf-row">
2379
- <td width="35%"><code>{query_var:email:from}</code></td>
2380
  <td>Website <email@domain.com></td>
2381
  </tr>
2382
  <tr class="acf-row">
2383
- <td width="35%"><code>{query_var:email:to}</code></td>
2384
  <td>email@domain.com</td>
2385
  </tr>
2386
  <tr class="acf-row">
2387
- <td width="35%"><code>{query_var:email:reply_to}</code></td>
2388
  <td>email@domain.com</td>
2389
  </tr>
2390
  <tr class="acf-row">
2391
- <td width="35%"><code>{query_var:email:cc}</code></td>
2392
  <td>email@domain.com</td>
2393
  </tr>
2394
  <tr class="acf-row">
2395
- <td width="35%"><code>{query_var:email:bcc}</code></td>
2396
  <td>email@domain.com</td>
2397
  </tr>
2398
  <tr class="acf-row">
2399
- <td width="35%"><code>{query_var:email:subject}</code></td>
2400
  <td>Subject</td>
2401
  </tr>
2402
  <tr class="acf-row">
2403
- <td width="35%"><code>{query_var:email:content}</code></td>
2404
  <td>Content</td>
2405
  </tr>
2406
  <tr class="acf-row">
2407
- <td width="35%"><code>{query_var:email:headers}</code></td>
2408
  <td>Array</td>
2409
  </tr>
2410
  <tr class="acf-row">
2411
- <td width="35%"><code>{query_var:email:attachments}</code></td>
2412
  <td>Array</td>
2413
  </tr>
2414
  </tbody>
@@ -2988,6 +2988,10 @@ acf.addAction('acfe/form/submit/success/name=<?php echo $form_name; ?>');</pre>
2988
  <td width="35%"><code>{current:form:name}</code></td>
2989
  <td>form<br/></td>
2990
  </tr>
 
 
 
 
2991
  </tbody>
2992
  </table>
2993
  <?php
@@ -3400,22 +3404,19 @@ function acfe_form_map_current($content, $post_id = 0, $form = array()){
3400
 
3401
  if(strtolower($field) === 'id' || strtolower($field) === 'form_id'){
3402
 
3403
- $value = acf_maybe_get($form, 'form_id');
3404
 
3405
  }
3406
 
3407
  elseif(strtolower($field) === 'name' || strtolower($field) === 'form_name'){
3408
 
3409
- $value = acf_maybe_get($form, 'form_name');
3410
 
3411
  }
3412
 
3413
  elseif(strtolower($field) === 'title' || strtolower($field) === 'form_title'){
3414
 
3415
- $form_id = acf_maybe_get($form, 'form_id');
3416
-
3417
- if($form_id)
3418
- $value = get_the_title($form_id);
3419
 
3420
  }else{
3421
 
@@ -3458,7 +3459,7 @@ function acfe_form_map_current($content, $post_id = 0, $form = array()){
3458
  // {current:form}
3459
  elseif($name === 'form'){
3460
 
3461
- $value = acf_maybe_get($form, 'form_id');
3462
 
3463
  }
3464
 
245
 
246
  if(empty($alias)){
247
 
248
+ $alias = acfe_form_unique_action_id(array('name' => get_field('acfe_form_name', $form_id)), $action);
249
 
250
  }
251
 
842
  }
843
 
844
  // Templates Tags Examples
845
+ $field['choices']["Current Post"]['{current:post:ID}'] = 'Post ID {current:post:ID}';
846
+ $field['choices']["Current Post"]['{current:post:post_title}'] = 'Title {current:post:post_title}';
847
+ $field['choices']["Current Post"]['{current:post:permalink}'] = 'Permalink {current:post:permalink}';
848
+ $field['choices']["Current Post"]['{current:post:post_author}'] = 'Author {current:post:post_author}';
849
 
850
+ $field['choices']["Current Term"]['{current:term:ID}'] = 'Term ID {current:term:ID}';
851
+ $field['choices']["Current Term"]['{current:term:name}'] = 'Name {current:term:name}';
852
+ $field['choices']["Current Term"]['{current:term:permalink}'] = 'Permalink {current:term:permalink}';
853
 
854
+ $field['choices']["Current User"]['{current:user:ID}'] = 'User ID {current:user:ID}';
855
+ $field['choices']["Current User"]['{current:user:user_email}'] = 'E-mail {current:user:user_email}';
856
+ $field['choices']["Current User"]['{current:user:permalink}'] = 'Permalink {current:user:permalink}';
857
 
858
+ $field['choices']["Current Author"]['{current:author:ID}'] = 'Author ID {current:author:ID}';
859
+ $field['choices']["Current Author"]['{current:author:user_email}'] = 'E-mail {current:author:user_email}';
860
+ $field['choices']["Current Author"]['{current:author:permalink}'] = 'Permalink {current:author:permalink}';
861
 
862
+ $field['choices']["Current Form"]['{current:form:ID}'] = 'ID {current:form:ID}';
863
+ $field['choices']["Current Form"]['{current:form:name}'] = 'Name {current:form:name}';
864
+ $field['choices']["Current Form"]['{current:form:title}'] = 'Title {current:form:title}';
865
 
866
  }
867
 
1036
  function render_fields($content, $post_id, $args){
1037
 
1038
  // Mapping
1039
+ $form_id = $args['ID'];
1040
+ $form_name = $args['name'];
1041
 
1042
  $mapped_field_groups = $this->get_fields_groups($form_id);
1043
  $mapped_field_groups_keys = wp_list_pluck($mapped_field_groups, 'key');
1966
  <table class="acf-table">
1967
  <tbody>
1968
  <tr class="acf-row">
1969
+ <td width="50%"><code>{query_var:name}</code></td>
1970
  <td>value</td>
1971
  </tr>
1972
  <tr class="acf-row">
1973
+ <td width="50%"><code>{query_var:name:key}</code></td>
1974
  <td>Array value</td>
1975
  </tr>
1976
  </tbody>
1981
  <table class="acf-table">
1982
  <tbody>
1983
  <tr class="acf-row">
1984
+ <td width="50%"><code>{query_var:my-post-action:ID}</code></td>
1985
  <td>128</td>
1986
  </tr>
1987
  <tr class="acf-row">
1988
+ <td width="50%"><code>{query_var:my-post-action:post_author}</code></td>
1989
  <td>1</td>
1990
  </tr>
1991
 
1992
  <tr class="acf-row">
1993
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:ID}</code></td>
1994
  <td>1</td>
1995
  </tr>
1996
  <tr class="acf-row">
1997
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:user_login}</code></td>
1998
  <td>login</td>
1999
  </tr>
2000
  <tr class="acf-row">
2001
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:user_pass}</code></td>
2002
  <td>password_hash</td>
2003
  </tr>
2004
  <tr class="acf-row">
2005
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:user_nicename}</code></td>
2006
  <td>nicename</td>
2007
  </tr>
2008
  <tr class="acf-row">
2009
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:user_email}</code></td>
2010
  <td>user@domain.com</td>
2011
  </tr>
2012
  <tr class="acf-row">
2013
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:user_url}</code></td>
2014
  <td>https://www.website.com</td>
2015
  </tr>
2016
  <tr class="acf-row">
2017
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:permalink}</code></td>
2018
  <td><?php echo home_url('author/johndoe'); ?></td>
2019
  </tr>
2020
  <tr class="acf-row">
2021
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:admin_url}</code></td>
2022
  <td><?php echo admin_url('user-edit.php?user_id=1'); ?></td>
2023
  </tr>
2024
  <tr class="acf-row">
2025
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:user_registered}</code></td>
2026
  <td>2020-02-22 22:10:02</td>
2027
  </tr>
2028
  <tr class="acf-row">
2029
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:user_activation_key}</code></td>
2030
  <td></td>
2031
  </tr>
2032
  <tr class="acf-row">
2033
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:user_status}</code></td>
2034
  <td>0</td>
2035
  </tr>
2036
  <tr class="acf-row">
2037
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:display_name}</code></td>
2038
  <td>John Doe</td>
2039
  </tr>
2040
  <tr class="acf-row">
2041
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:nickname}</code></td>
2042
  <td>JohnDoe</td>
2043
  </tr>
2044
  <tr class="acf-row">
2045
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:first_name}</code></td>
2046
  <td>John</td>
2047
  </tr>
2048
  <tr class="acf-row">
2049
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:last_name}</code></td>
2050
  <td>Doe</td>
2051
  </tr>
2052
  <tr class="acf-row">
2053
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:description}</code></td>
2054
  <td>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</td>
2055
  </tr>
2056
  <tr class="acf-row">
2057
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:rich_editing}</code></td>
2058
  <td>true</td>
2059
  </tr>
2060
  <tr class="acf-row">
2061
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:syntax_highlighting}</code></td>
2062
  <td>true</td>
2063
  </tr>
2064
  <tr class="acf-row">
2065
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:comment_shortcuts}</code></td>
2066
  <td>false</td>
2067
  </tr>
2068
  <tr class="acf-row">
2069
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:admin_color}</code></td>
2070
  <td>fresh</td>
2071
  </tr>
2072
  <tr class="acf-row">
2073
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:use_ssl}</code></td>
2074
  <td>1</td>
2075
  </tr>
2076
  <tr class="acf-row">
2077
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:show_admin_bar_front}</code></td>
2078
  <td>true</td>
2079
  </tr>
2080
  <tr class="acf-row">
2081
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:locale}</code></td>
2082
  <td></td>
2083
  </tr>
2084
  <tr class="acf-row">
2085
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:wp_capabilities}</code></td>
2086
  <td>a:1:{s:13:"administrator";b:1;}</td>
2087
  </tr>
2088
  <tr class="acf-row">
2089
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:wp_user_level}</code></td>
2090
  <td>10</td>
2091
  </tr>
2092
  <tr class="acf-row">
2093
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:dismissed_wp_pointers}</code></td>
2094
  <td></td>
2095
  </tr>
2096
  <tr class="acf-row">
2097
+ <td width="50%"><code>{query_var:my-post-action:post_author_data:show_welcome_panel}</code></td>
2098
  <td>1</td>
2099
  </tr>
2100
 
2101
  <tr class="acf-row">
2102
+ <td width="50%"><code>{query_var:my-post-action:post_date}</code></td>
2103
  <td>2020-03-01 20:07:48</td>
2104
  </tr>
2105
  <tr class="acf-row">
2106
+ <td width="50%"><code>{query_var:my-post-action:post_date_gmt}</code></td>
2107
  <td>2020-03-01 19:07:48</td>
2108
  </tr>
2109
  <tr class="acf-row">
2110
+ <td width="50%"><code>{query_var:my-post-action:post_content}</code></td>
2111
  <td>Content</td>
2112
  </tr>
2113
  <tr class="acf-row">
2114
+ <td width="50%"><code>{query_var:my-post-action:post_title}</code></td>
2115
  <td>Title</td>
2116
  </tr>
2117
  <tr class="acf-row">
2118
+ <td width="50%"><code>{query_var:my-post-action:post_excerpt}</code></td>
2119
  <td>Excerpt</td>
2120
  </tr>
2121
  <tr class="acf-row">
2122
+ <td width="50%"><code>{query_var:my-post-action:permalink}</code></td>
2123
  <td><?php echo home_url('my-post'); ?></td>
2124
  </tr>
2125
  <tr class="acf-row">
2126
+ <td width="50%"><code>{query_var:my-post-action:admin_url}</code></td>
2127
  <td><?php echo admin_url('post.php?post=128&action=edit'); ?></td>
2128
  </tr>
2129
  <tr class="acf-row">
2130
+ <td width="50%"><code>{query_var:my-post-action:post_status}</code></td>
2131
  <td>publish</td>
2132
  </tr>
2133
  <tr class="acf-row">
2134
+ <td width="50%"><code>{query_var:my-post-action:comment_status}</code></td>
2135
  <td>closed</td>
2136
  </tr>
2137
  <tr class="acf-row">
2138
+ <td width="50%"><code>{query_var:my-post-action:ping_status}</code></td>
2139
  <td>closed</td>
2140
  </tr>
2141
  <tr class="acf-row">
2142
+ <td width="50%"><code>{query_var:my-post-action:post_password}</code></td>
2143
  <td>password</td>
2144
  </tr>
2145
  <tr class="acf-row">
2146
+ <td width="50%"><code>{query_var:my-post-action:post_name}</code></td>
2147
  <td>name</td>
2148
  </tr>
2149
  <tr class="acf-row">
2150
+ <td width="50%"><code>{query_var:my-post-action:to_ping}</code></td>
2151
  <td></td>
2152
  </tr>
2153
  <tr class="acf-row">
2154
+ <td width="50%"><code>{query_var:my-post-action:pinged}</code></td>
2155
  <td></td>
2156
  </tr>
2157
  <tr class="acf-row">
2158
+ <td width="50%"><code>{query_var:my-post-action:post_modified}</code></td>
2159
  <td>2020-03-01 20:07:48</td>
2160
  </tr>
2161
  <tr class="acf-row">
2162
+ <td width="50%"><code>{query_var:my-post-action:post_modified_gmt}</code></td>
2163
  <td>2020-03-01 19:07:48</td>
2164
  </tr>
2165
  <tr class="acf-row">
2166
+ <td width="50%"><code>{query_var:my-post-action:post_content_filtered}</code></td>
2167
  <td></td>
2168
  </tr>
2169
  <tr class="acf-row">
2170
+ <td width="50%"><code>{query_var:my-post-action:post_parent}</code></td>
2171
  <td>0</td>
2172
  </tr>
2173
  <tr class="acf-row">
2174
+ <td width="50%"><code>{query_var:my-post-action:guid}</code></td>
2175
  <td><?php echo home_url('?page_id=128'); ?></td>
2176
  </tr>
2177
  <tr class="acf-row">
2178
+ <td width="50%"><code>{query_var:my-post-action:menu_order}</code></td>
2179
  <td>0</td>
2180
  </tr>
2181
  <tr class="acf-row">
2182
+ <td width="50%"><code>{query_var:my-post-action:post_type}</code></td>
2183
  <td>page</td>
2184
  </tr>
2185
  <tr class="acf-row">
2186
+ <td width="50%"><code>{query_var:my-post-action:post_mime_type}</code></td>
2187
  <td></td>
2188
  </tr>
2189
  <tr class="acf-row">
2190
+ <td width="50%"><code>{query_var:my-post-action:comment_count}</code></td>
2191
  <td>0</td>
2192
  </tr>
2193
  <tr class="acf-row">
2194
+ <td width="50%"><code>{query_var:my-post-action:filter}</code></td>
2195
  <td>raw</td>
2196
  </tr>
2197
  </tbody>
2202
  <table class="acf-table">
2203
  <tbody>
2204
  <tr class="acf-row">
2205
+ <td width="50%"><code>{query_var:my-term-action:ID}</code></td>
2206
  <td>23</td>
2207
  </tr>
2208
  <tr class="acf-row">
2209
+ <td width="50%"><code>{query_var:my-term-action:term_id}</code></td>
2210
  <td>23</td>
2211
  </tr>
2212
  <tr class="acf-row">
2213
+ <td width="50%"><code>{query_var:my-term-action:name}</code></td>
2214
  <td>Term</td>
2215
  </tr>
2216
  <tr class="acf-row">
2217
+ <td width="50%"><code>{query_var:my-term-action:slug}</code></td>
2218
  <td>term</td>
2219
  </tr>
2220
  <tr class="acf-row">
2221
+ <td width="50%"><code>{query_var:my-term-action:permalink}</code></td>
2222
  <td><?php echo home_url('taxonomy/term'); ?></td>
2223
  </tr>
2224
  <tr class="acf-row">
2225
+ <td width="50%"><code>{query_var:my-term-action:admin_url}</code></td>
2226
  <td><?php echo admin_url('term.php?tag_ID=23'); ?></td>
2227
  </tr>
2228
  <tr class="acf-row">
2229
+ <td width="50%"><code>{query_var:my-term-action:term_group}</code></td>
2230
  <td>0</td>
2231
  </tr>
2232
  <tr class="acf-row">
2233
+ <td width="50%"><code>{query_var:my-term-action:term_taxonomy_id}</code></td>
2234
  <td>23</td>
2235
  </tr>
2236
  <tr class="acf-row">
2237
+ <td width="50%"><code>{query_var:my-term-action:taxonomy}</code></td>
2238
  <td>taxonomy</td>
2239
  </tr>
2240
  <tr class="acf-row">
2241
+ <td width="50%"><code>{query_var:my-term-action:description}</code></td>
2242
  <td>Content</td>
2243
  </tr>
2244
  <tr class="acf-row">
2245
+ <td width="50%"><code>{query_var:my-term-action:parent}</code></td>
2246
  <td>0</td>
2247
  </tr>
2248
  <tr class="acf-row">
2249
+ <td width="50%"><code>{query_var:my-term-action:count}</code></td>
2250
  <td>0</td>
2251
  </tr>
2252
  <tr class="acf-row">
2253
+ <td width="50%"><code>{query_var:my-term-action:filter}</code></td>
2254
  <td>raw</td>
2255
  </tr>
2256
  </tbody>
2261
  <table class="acf-table">
2262
  <tbody>
2263
  <tr class="acf-row">
2264
+ <td width="50%"><code>{query_var:my-user-action:ID}</code></td>
2265
  <td>1</td>
2266
  </tr>
2267
  <tr class="acf-row">
2268
+ <td width="50%"><code>{query_var:my-user-action:user_login}</code></td>
2269
  <td>login</td>
2270
  </tr>
2271
  <tr class="acf-row">
2272
+ <td width="50%"><code>{query_var:my-user-action:user_pass}</code></td>
2273
  <td>password_hash</td>
2274
  </tr>
2275
  <tr class="acf-row">
2276
+ <td width="50%"><code>{query_var:my-user-action:user_nicename}</code></td>
2277
  <td>nicename</td>
2278
  </tr>
2279
  <tr class="acf-row">
2280
+ <td width="50%"><code>{query_var:my-user-action:user_email}</code></td>
2281
  <td>user@domain.com</td>
2282
  </tr>
2283
  <tr class="acf-row">
2284
+ <td width="50%"><code>{query_var:my-user-action:user_url}</code></td>
2285
  <td>https://www.website.com</td>
2286
  </tr>
2287
  <tr class="acf-row">
2288
+ <td width="50%"><code>{query_var:my-user-action:permalink}</code></td>
2289
  <td><?php echo home_url('author/johndoe'); ?></td>
2290
  </tr>
2291
  <tr class="acf-row">
2292
+ <td width="50%"><code>{query_var:my-user-action:admin_url}</code></td>
2293
  <td><?php echo admin_url('user-edit.php?user_id=1'); ?></td>
2294
  </tr>
2295
  <tr class="acf-row">
2296
+ <td width="50%"><code>{query_var:my-user-action:user_registered}</code></td>
2297
  <td>2020-02-22 22:10:02</td>
2298
  </tr>
2299
  <tr class="acf-row">
2300
+ <td width="50%"><code>{query_var:my-user-action:user_activation_key}</code></td>
2301
  <td></td>
2302
  </tr>
2303
  <tr class="acf-row">
2304
+ <td width="50%"><code>{query_var:my-user-action:user_status}</code></td>
2305
  <td>0</td>
2306
  </tr>
2307
  <tr class="acf-row">
2308
+ <td width="50%"><code>{query_var:my-user-action:display_name}</code></td>
2309
  <td>John Doe</td>
2310
  </tr>
2311
  <tr class="acf-row">
2312
+ <td width="50%"><code>{query_var:my-user-action:nickname}</code></td>
2313
  <td>JohnDoe</td>
2314
  </tr>
2315
  <tr class="acf-row">
2316
+ <td width="50%"><code>{query_var:my-user-action:first_name}</code></td>
2317
  <td>John</td>
2318
  </tr>
2319
  <tr class="acf-row">
2320
+ <td width="50%"><code>{query_var:my-user-action:last_name}</code></td>
2321
  <td>Doe</td>
2322
  </tr>
2323
  <tr class="acf-row">
2324
+ <td width="50%"><code>{query_var:my-user-action:description}</code></td>
2325
  <td>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</td>
2326
  </tr>
2327
  <tr class="acf-row">
2328
+ <td width="50%"><code>{query_var:my-user-action:rich_editing}</code></td>
2329
  <td>true</td>
2330
  </tr>
2331
  <tr class="acf-row">
2332
+ <td width="50%"><code>{query_var:my-user-action:syntax_highlighting}</code></td>
2333
  <td>true</td>
2334
  </tr>
2335
  <tr class="acf-row">
2336
+ <td width="50%"><code>{query_var:my-user-action:comment_shortcuts}</code></td>
2337
  <td>false</td>
2338
  </tr>
2339
  <tr class="acf-row">
2340
+ <td width="50%"><code>{query_var:my-user-action:admin_color}</code></td>
2341
  <td>fresh</td>
2342
  </tr>
2343
  <tr class="acf-row">
2344
+ <td width="50%"><code>{query_var:my-user-action:use_ssl}</code></td>
2345
  <td>1</td>
2346
  </tr>
2347
  <tr class="acf-row">
2348
+ <td width="50%"><code>{query_var:my-user-action:show_admin_bar_front}</code></td>
2349
  <td>true</td>
2350
  </tr>
2351
  <tr class="acf-row">
2352
+ <td width="50%"><code>{query_var:my-user-action:locale}</code></td>
2353
  <td></td>
2354
  </tr>
2355
  <tr class="acf-row">
2356
+ <td width="50%"><code>{query_var:my-user-action:wp_capabilities}</code></td>
2357
  <td>a:1:{s:13:"administrator";b:1;}</td>
2358
  </tr>
2359
  <tr class="acf-row">
2360
+ <td width="50%"><code>{query_var:my-user-action:wp_user_level}</code></td>
2361
  <td>10</td>
2362
  </tr>
2363
  <tr class="acf-row">
2364
+ <td width="50%"><code>{query_var:my-user-action:dismissed_wp_pointers}</code></td>
2365
  <td></td>
2366
  </tr>
2367
  <tr class="acf-row">
2368
+ <td width="50%"><code>{query_var:my-user-action:show_welcome_panel}</code></td>
2369
  <td>1</td>
2370
  </tr>
2371
  </tbody>
2376
  <table class="acf-table">
2377
  <tbody>
2378
  <tr class="acf-row">
2379
+ <td width="50%"><code>{query_var:my-email-action:from}</code></td>
2380
  <td>Website <email@domain.com></td>
2381
  </tr>
2382
  <tr class="acf-row">
2383
+ <td width="50%"><code>{query_var:my-email-action:to}</code></td>
2384
  <td>email@domain.com</td>
2385
  </tr>
2386
  <tr class="acf-row">
2387
+ <td width="50%"><code>{query_var:my-email-action:reply_to}</code></td>
2388
  <td>email@domain.com</td>
2389
  </tr>
2390
  <tr class="acf-row">
2391
+ <td width="50%"><code>{query_var:my-email-action:cc}</code></td>
2392
  <td>email@domain.com</td>
2393
  </tr>
2394
  <tr class="acf-row">
2395
+ <td width="50%"><code>{query_var:my-email-action:bcc}</code></td>
2396
  <td>email@domain.com</td>
2397
  </tr>
2398
  <tr class="acf-row">
2399
+ <td width="50%"><code>{query_var:my-email-action:subject}</code></td>
2400
  <td>Subject</td>
2401
  </tr>
2402
  <tr class="acf-row">
2403
+ <td width="50%"><code>{query_var:my-email-action:content}</code></td>
2404
  <td>Content</td>
2405
  </tr>
2406
  <tr class="acf-row">
2407
+ <td width="50%"><code>{query_var:my-email-action:headers}</code></td>
2408
  <td>Array</td>
2409
  </tr>
2410
  <tr class="acf-row">
2411
+ <td width="50%"><code>{query_var:my-email-action:attachments}</code></td>
2412
  <td>Array</td>
2413
  </tr>
2414
  </tbody>
2988
  <td width="35%"><code>{current:form:name}</code></td>
2989
  <td>form<br/></td>
2990
  </tr>
2991
+ <tr class="acf-row">
2992
+ <td width="35%"><code>{current:form:custom_key}</code></td>
2993
+ <td>Custom key value<br/></td>
2994
+ </tr>
2995
  </tbody>
2996
  </table>
2997
  <?php
3404
 
3405
  if(strtolower($field) === 'id' || strtolower($field) === 'form_id'){
3406
 
3407
+ $value = acf_maybe_get($form, 'ID');
3408
 
3409
  }
3410
 
3411
  elseif(strtolower($field) === 'name' || strtolower($field) === 'form_name'){
3412
 
3413
+ $value = acf_maybe_get($form, 'name');
3414
 
3415
  }
3416
 
3417
  elseif(strtolower($field) === 'title' || strtolower($field) === 'form_title'){
3418
 
3419
+ $value = acf_maybe_get($form, 'title');
 
 
 
3420
 
3421
  }else{
3422
 
3459
  // {current:form}
3460
  elseif($name === 'form'){
3461
 
3462
+ $value = acf_maybe_get($form, 'ID');
3463
 
3464
  }
3465
 
includes/modules/form/field-group.php CHANGED
@@ -263,7 +263,7 @@ acf_add_local_field_group(array(
263
  'label' => 'Action name',
264
  'name' => 'acfe_form_custom_alias',
265
  'type' => 'acfe_slug',
266
- 'instructions' => '(Optional) Target this action using hooks & allow custom <code>{query_var:my-action}</code> name.',
267
  'required' => 0,
268
  'conditional_logic' => 0,
269
  'wrapper' => array(
@@ -680,7 +680,7 @@ acf_add_local_field_group(array(
680
  'label' => 'Action name',
681
  'name' => 'acfe_form_custom_alias',
682
  'type' => 'acfe_slug',
683
- 'instructions' => '(Optional) Target this action using hooks & allow custom <code>{query_var:my-action}</code> name.',
684
  'required' => 0,
685
  'conditional_logic' => 0,
686
  'wrapper' => array(
@@ -1321,7 +1321,7 @@ acf_add_local_field_group(array(
1321
  ),
1322
  'acfe_permissions' => '',
1323
  'message' => '',
1324
- 'default_value' => 1,
1325
  'ui' => 1,
1326
  'ui_on_text' => '',
1327
  'ui_off_text' => '',
@@ -1802,7 +1802,7 @@ acf_add_local_field_group(array(
1802
  'label' => 'Action name',
1803
  'name' => 'acfe_form_custom_alias',
1804
  'type' => 'acfe_slug',
1805
- 'instructions' => '(Optional) Target this action using hooks & allow custom <code>{query_var:my-action}</code> name.',
1806
  'required' => 0,
1807
  'conditional_logic' => 0,
1808
  'wrapper' => array(
@@ -2262,7 +2262,7 @@ acf_add_local_field_group(array(
2262
  ),
2263
  'acfe_permissions' => '',
2264
  'message' => '',
2265
- 'default_value' => 1,
2266
  'ui' => 1,
2267
  'ui_on_text' => '',
2268
  'ui_off_text' => '',
@@ -2638,7 +2638,7 @@ acf_add_local_field_group(array(
2638
  'label' => 'Action name',
2639
  'name' => 'acfe_form_custom_alias',
2640
  'type' => 'acfe_slug',
2641
- 'instructions' => '(Optional) Target this action using hooks & allow custom <code>{query_var:my-action}</code> name.',
2642
  'required' => 0,
2643
  'conditional_logic' => 0,
2644
  'wrapper' => array(
@@ -3661,7 +3661,7 @@ acf_add_local_field_group(array(
3661
  ),
3662
  'acfe_permissions' => '',
3663
  'message' => '',
3664
- 'default_value' => 1,
3665
  'ui' => 1,
3666
  'ui_on_text' => '',
3667
  'ui_off_text' => '',
@@ -4977,6 +4977,7 @@ acf_add_local_field_group(array(
4977
  'append' => '',
4978
  'maxlength' => '',
4979
  ),
 
4980
  array(
4981
  'key' => 'field_acfe_form_validation_advanced_field_validation',
4982
  'label' => 'PHP Field Validation',
@@ -5009,6 +5010,7 @@ acf_add_local_field_group(array(
5009
  ),
5010
  'acfe_permissions' => '',
5011
  ),
 
5012
 
5013
  /*
5014
  * Actions
@@ -5133,6 +5135,7 @@ If used, you have to include the following code <code>%s</code> to print the act
5133
  'maxlength' => '',
5134
  'rows' => 2,
5135
  ),
 
5136
  array(
5137
  'key' => 'field_acfe_form_submission_advanced_submission_php',
5138
  'label' => 'PHP Form Submit: Custom Action',
@@ -5165,6 +5168,7 @@ If used, you have to include the following code <code>%s</code> to print the act
5165
  ),
5166
  'acfe_permissions' => '',
5167
  ),
 
5168
 
5169
  /*
5170
  * Cheatsheet
263
  'label' => 'Action name',
264
  'name' => 'acfe_form_custom_alias',
265
  'type' => 'acfe_slug',
266
+ 'instructions' => '(Optional) Target this action using hooks.',
267
  'required' => 0,
268
  'conditional_logic' => 0,
269
  'wrapper' => array(
680
  'label' => 'Action name',
681
  'name' => 'acfe_form_custom_alias',
682
  'type' => 'acfe_slug',
683
+ 'instructions' => '(Optional) Target this action using hooks.',
684
  'required' => 0,
685
  'conditional_logic' => 0,
686
  'wrapper' => array(
1321
  ),
1322
  'acfe_permissions' => '',
1323
  'message' => '',
1324
+ 'default_value' => 0,
1325
  'ui' => 1,
1326
  'ui_on_text' => '',
1327
  'ui_off_text' => '',
1802
  'label' => 'Action name',
1803
  'name' => 'acfe_form_custom_alias',
1804
  'type' => 'acfe_slug',
1805
+ 'instructions' => '(Optional) Target this action using hooks.',
1806
  'required' => 0,
1807
  'conditional_logic' => 0,
1808
  'wrapper' => array(
2262
  ),
2263
  'acfe_permissions' => '',
2264
  'message' => '',
2265
+ 'default_value' => 0,
2266
  'ui' => 1,
2267
  'ui_on_text' => '',
2268
  'ui_off_text' => '',
2638
  'label' => 'Action name',
2639
  'name' => 'acfe_form_custom_alias',
2640
  'type' => 'acfe_slug',
2641
+ 'instructions' => '(Optional) Target this action using hooks.',
2642
  'required' => 0,
2643
  'conditional_logic' => 0,
2644
  'wrapper' => array(
3661
  ),
3662
  'acfe_permissions' => '',
3663
  'message' => '',
3664
+ 'default_value' => 0,
3665
  'ui' => 1,
3666
  'ui_on_text' => '',
3667
  'ui_off_text' => '',
4977
  'append' => '',
4978
  'maxlength' => '',
4979
  ),
4980
+ /*
4981
  array(
4982
  'key' => 'field_acfe_form_validation_advanced_field_validation',
4983
  'label' => 'PHP Field Validation',
5010
  ),
5011
  'acfe_permissions' => '',
5012
  ),
5013
+ */
5014
 
5015
  /*
5016
  * Actions
5135
  'maxlength' => '',
5136
  'rows' => 2,
5137
  ),
5138
+ /*
5139
  array(
5140
  'key' => 'field_acfe_form_submission_advanced_submission_php',
5141
  'label' => 'PHP Form Submit: Custom Action',
5168
  ),
5169
  'acfe_permissions' => '',
5170
  ),
5171
+ */
5172
 
5173
  /*
5174
  * Cheatsheet
includes/modules/form/form-front.php CHANGED
@@ -11,7 +11,6 @@ class acfe_form_front{
11
 
12
  // vars
13
  $this->fields = array(
14
-
15
  '_validate_email' => array(
16
  'prefix' => 'acf',
17
  'name' => '_validate_email',
@@ -21,16 +20,16 @@ class acfe_form_front{
21
  'value' => '',
22
  'wrapper' => array('style' => 'display:none !important;')
23
  )
24
-
25
  );
26
 
27
- // Validation
28
- add_action('acf/validate_save_post', array($this, 'validate_save_post'), 1);
29
-
30
  // Submit
31
  add_action('wp', array($this, 'check_submit_form'));
32
 
33
- add_shortcode('acfe_form', array($this, 'add_shortcode'));
 
 
 
 
34
 
35
  }
36
 
@@ -48,8 +47,8 @@ class acfe_form_front{
48
  return;
49
 
50
  $post_id = acf_maybe_get($form, 'post_id', false);
51
- $form_name = acf_maybe_get($form, 'form_name');
52
- $form_id = acf_maybe_get($form, 'form_id');
53
 
54
  if(!$form_name || !$form_id)
55
  return;
@@ -141,12 +140,23 @@ class acfe_form_front{
141
 
142
  // vars
143
  $post_id = acf_maybe_get($form, 'post_id', false);
144
- $form_name = acf_maybe_get($form, 'form_name');
145
- $form_id = acf_maybe_get($form, 'form_id');
146
 
 
147
  acf_save_post(false);
148
 
149
- unset($_FILES);
 
 
 
 
 
 
 
 
 
 
150
 
151
  acf_setup_meta($_POST['acf'], 'acfe_form_submit', true);
152
 
@@ -168,6 +178,8 @@ class acfe_form_front{
168
  do_action('acfe/form/submit/form=' . $form_name, $form, $post_id);
169
 
170
  acf_reset_meta('acfe_form_submit');
 
 
171
 
172
  // vars
173
  $return = acf_maybe_get($form, 'return', '');
@@ -186,178 +198,156 @@ class acfe_form_front{
186
  }
187
 
188
  function validate_form($param){
189
-
190
- $form_name = false;
191
  $form_id = false;
192
-
193
- // Name
194
- if(!is_numeric($param)){
 
195
 
196
- $form = get_page_by_path($param, OBJECT, 'acfe-form');
197
- if(!$form)
198
- return false;
 
 
199
 
200
- // Form
201
- $form_id = $form->ID;
202
- $form_name = get_field('acfe_form_name', $form_id);
 
 
 
 
203
 
 
 
 
 
 
 
204
  }
205
 
206
  // ID
207
- else{
208
-
209
  if(get_post_type($param) !== 'acfe-form')
210
  return false;
211
-
212
  // Form
213
  $form_id = $param;
214
  $form_name = get_field('acfe_form_name', $form_id);
215
 
216
  }
217
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
218
  if(!$form_name || !$form_id)
219
  return false;
220
 
 
 
 
 
 
 
 
 
 
221
  // Defaults
222
  $defaults = array(
223
 
224
  // General
225
- 'form_name' => $form_name,
226
- 'form_id' => $form_id,
227
- 'post_id' => acf_get_valid_post_id(),
228
- 'field_groups' => false,
229
- 'field_groups_rules' => false,
230
- 'post_field_groups' => false,
231
- 'form' => true,
232
- 'form_attributes' => array(),
233
- 'fields_attributes' => array(),
234
- 'html_before_fields' => '',
235
- 'custom_html_enabled' => '',
236
- 'custom_html' => '',
237
- 'html_after_fields' => '',
238
- 'form_submit' => true,
239
- 'submit_value' => __('Update', 'acf'),
240
- 'html_submit_button' => '<input type="submit" class="acf-button button button-primary button-large" value="%s" />',
241
- 'html_submit_spinner' => '<span class="acf-spinner"></span>',
 
242
 
243
  // Submission
244
- 'hide_error' => '',
245
- 'hide_unload' => '',
246
- 'hide_revalidation' => '',
247
- 'errors_position' => 'above',
248
- 'errors_class' => '',
249
- 'updated_message' => __('Post updated', 'acf'),
250
- 'html_updated_message' => '<div id="message" class="updated">%s</div>',
251
- 'updated_hide_form' => false,
252
- 'return' => '',
253
 
 
 
 
 
 
 
 
 
254
  // Mapping
255
  'map' => array(),
256
 
257
- // Advanced
258
- 'honeypot' => true,
259
- 'kses' => true,
260
- 'uploader' => 'basic',
261
- 'field_el' => 'div',
262
- 'label_placement' => 'top',
263
- 'instruction_placement' => 'label'
264
-
265
- );
266
-
267
- $defaults['form_attributes'] = wp_parse_args($defaults['form_attributes'], array(
268
- 'id' => '',
269
- 'class' => 'acfe-form',
270
- 'action' => '',
271
- 'method' => 'post',
272
- 'data-fields-class' => '',
273
- 'data-hide-unload' => '',
274
- 'data-hide-error' => '',
275
- 'data-hide-revalidation'=> '',
276
- 'data-errors-position' => '',
277
- 'data-errors-class' => '',
278
- ));
279
-
280
- $defaults['fields_attributes'] = wp_parse_args($defaults['fields_attributes'], array(
281
- 'wrapper_class' => '',
282
- 'class' => '',
283
- ));
284
-
285
- // Field Groups
286
- $defaults['field_groups'] = get_field('acfe_form_field_groups', $form_id);
287
- $defaults['field_groups_rules'] = get_field('acfe_form_field_groups_rules', $form_id);
288
- $defaults['post_field_groups'] = get_field('acfe_form_post_field_groups', $form_id);
289
-
290
- // General
291
- $defaults['form'] = get_field('acfe_form_form_element', $form_id);
292
-
293
- $form_attributes = get_field('acfe_form_attributes', $form_id);
294
-
295
- if(!empty($form_attributes['acfe_form_attributes_class']))
296
- $defaults['form_attributes']['class'] .= ' ' . $form_attributes['acfe_form_attributes_class'];
297
-
298
- if(!empty($form_attributes['acfe_form_attributes_id']))
299
- $defaults['form_attributes']['id'] = $form_attributes['acfe_form_attributes_id'];
300
-
301
- $acfe_form_fields_attributes = get_field('acfe_form_fields_attributes', $form_id);
302
-
303
- if(isset($acfe_form_fields_attributes['acfe_form_fields_wrapper_class']))
304
- $defaults['fields_attributes']['wrapper_class'] = $acfe_form_fields_attributes['acfe_form_fields_wrapper_class'];
305
-
306
- if(isset($acfe_form_fields_attributes['acfe_form_fields_class']))
307
- $defaults['fields_attributes']['class'] = $acfe_form_fields_attributes['acfe_form_fields_class'];
308
-
309
- $defaults['html_before_fields'] = get_field('acfe_form_html_before_fields', $form_id);
310
- $defaults['custom_html_enabled'] = get_field('acfe_form_custom_html_enable', $form_id);
311
- $defaults['custom_html'] = get_field('acfe_form_custom_html', $form_id);
312
- $defaults['html_after_fields'] = get_field('acfe_form_html_after_fields', $form_id);
313
- $defaults['form_submit'] = get_field('acfe_form_form_submit', $form_id);
314
- $defaults['submit_value'] = get_field('acfe_form_submit_value', $form_id);
315
- $defaults['html_submit_button'] = get_field('acfe_form_html_submit_button', $form_id);
316
- $defaults['html_submit_spinner'] = get_field('acfe_form_html_submit_spinner', $form_id);
317
-
318
- // Validation
319
- $defaults['errors_position'] = get_field('acfe_form_errors_position', $form_id);
320
- $defaults['errors_class'] = get_field('acfe_form_errors_class', $form_id);
321
- $defaults['hide_error'] = get_field('acfe_form_hide_error', $form_id);
322
- $defaults['hide_unload'] = get_field('acfe_form_hide_unload', $form_id);
323
- $defaults['hide_revalidation'] = get_field('acfe_form_hide_revalidation', $form_id);
324
-
325
- // Submission
326
- $defaults['updated_message'] = get_field('acfe_form_updated_message', $form_id);
327
- $defaults['html_updated_message'] = get_field('acfe_form_html_updated_message', $form_id);
328
- $defaults['updated_hide_form'] = get_field('acfe_form_updated_hide_form', $form_id);
329
- $defaults['return'] = get_field('acfe_form_return', $form_id);
330
-
331
- // Advanced
332
- $defaults['honeypot'] = get_field('acfe_form_honeypot', $form_id);
333
- $defaults['kses'] = get_field('acfe_form_kses', $form_id);
334
- $defaults['uploader'] = get_field('acfe_form_uploader', $form_id);
335
- $defaults['form_field_el'] = get_field('acfe_form_form_field_el', $form_id);
336
- $defaults['label_placement'] = get_field('acfe_form_label_placement', $form_id);
337
- $defaults['field_el'] = get_field('acf-field_acfe_form_form_field_el', $form_id);
338
- $defaults['instruction_placement'] = get_field('acfe_form_instruction_placement', $form_id);
339
-
340
- //$args = wp_parse_args($param, $defaults);
341
- $args = $defaults;
342
 
343
  // Override
344
- if(!empty($args['fields_attributes']['class']))
345
- $args['form_attributes']['data-fields-class'] = $args['fields_attributes']['class'];
346
-
347
- if(!empty($args['hide_error']))
348
- $args['form_attributes']['data-hide-error'] = $args['hide_error'];
349
 
350
- if(!empty($args['hide_unload']))
351
- $args['form_attributes']['data-hide-unload'] = $args['hide_unload'];
352
 
353
- if(!empty($args['hide_revalidation']))
354
- $args['form_attributes']['data-hide-revalidation'] = $args['hide_revalidation'];
355
 
356
- if(!empty($args['errors_position']))
357
- $args['form_attributes']['data-errors-position'] = $args['errors_position'];
358
-
359
- if(!empty($args['errors_class']))
360
- $args['form_attributes']['data-errors-class'] = $args['errors_class'];
 
 
361
 
362
  if(acf_maybe_get_POST('acf')){
363
 
@@ -389,7 +379,7 @@ class acfe_form_front{
389
  $args = apply_filters('acfe/form/load/' . $action . '/form=' . $form_name, $args, $args['post_id'], $alias);
390
 
391
  if(!empty($alias))
392
- $args = apply_filters('acfe/form/load/' . $action . '/action=' . $alias, $args, $args['post_id']);
393
 
394
  endwhile;
395
  endif;
@@ -434,10 +424,10 @@ class acfe_form_front{
434
  }
435
 
436
  // Updated message
437
- if(acfe_form_is_submitted($args['form_name'])){
438
 
439
  // Trigger Success JS
440
- echo '<div class="acfe-form-success" data-form-name="' . $args['form_name'] . '" data-form-id="' . $args['form_id'] . '"></div>';
441
 
442
  if(!empty($args['updated_message'])){
443
 
@@ -463,9 +453,9 @@ class acfe_form_front{
463
 
464
  // Hide form
465
  if($args['updated_hide_form']){
466
-
467
  return false;
468
-
469
  }
470
 
471
  }
@@ -523,10 +513,7 @@ class acfe_form_front{
523
 
524
  }
525
 
526
- $wrapper = 'div';
527
-
528
- if($args['form'])
529
- $wrapper = 'form';
530
 
531
  ?>
532
 
@@ -535,7 +522,7 @@ class acfe_form_front{
535
  <?php
536
 
537
  // render post data
538
- acf_form_data(array(
539
  'screen' => 'acfe_form',
540
  'post_id' => $args['post_id'],
541
  'form' => acf_encrypt(json_encode($args))
@@ -676,20 +663,23 @@ class acfe_form_front{
676
 
677
  </<?php echo $wrapper; ?>>
678
 
679
- <?php
 
 
680
 
681
  }
682
 
683
  function add_shortcode($atts){
 
 
 
684
 
685
  $atts = shortcode_atts(array(
686
  'name' => false,
687
- 'id' => false
 
688
  ), $atts, 'acfe_form');
689
 
690
- if(is_admin())
691
- return;
692
-
693
  if(!empty($atts['name'])){
694
 
695
  ob_start();
@@ -710,6 +700,18 @@ class acfe_form_front{
710
 
711
  }
712
 
 
 
 
 
 
 
 
 
 
 
 
 
713
  }
714
 
715
  }
11
 
12
  // vars
13
  $this->fields = array(
 
14
  '_validate_email' => array(
15
  'prefix' => 'acf',
16
  'name' => '_validate_email',
20
  'value' => '',
21
  'wrapper' => array('style' => 'display:none !important;')
22
  )
 
23
  );
24
 
 
 
 
25
  // Submit
26
  add_action('wp', array($this, 'check_submit_form'));
27
 
28
+ // Shortcode
29
+ add_shortcode('acfe_form', array($this, 'add_shortcode'));
30
+
31
+ // Validation
32
+ add_action('acf/validate_save_post', array($this, 'validate_save_post'), 1);
33
 
34
  }
35
 
47
  return;
48
 
49
  $post_id = acf_maybe_get($form, 'post_id', false);
50
+ $form_name = acf_maybe_get($form, 'name');
51
+ $form_id = acf_maybe_get($form, 'ID');
52
 
53
  if(!$form_name || !$form_id)
54
  return;
140
 
141
  // vars
142
  $post_id = acf_maybe_get($form, 'post_id', false);
143
+ $form_name = acf_maybe_get($form, 'name');
144
+ $form_id = acf_maybe_get($form, 'ID');
145
 
146
+ // Upload
147
  acf_save_post(false);
148
 
149
+ // Unset Files
150
+ if(isset($_FILES))
151
+ unset($_FILES);
152
+
153
+ /*
154
+ * Fix Elementor + YOAST infinite loop
155
+ *
156
+ * https://github.com/elementor/elementor/issues/10998
157
+ * https://github.com/Yoast/wordpress-seo/issues/14643
158
+ */
159
+ remove_shortcode('acfe_form');
160
 
161
  acf_setup_meta($_POST['acf'], 'acfe_form_submit', true);
162
 
178
  do_action('acfe/form/submit/form=' . $form_name, $form, $post_id);
179
 
180
  acf_reset_meta('acfe_form_submit');
181
+
182
+ add_shortcode('acfe_form', array($this, 'add_shortcode'));
183
 
184
  // vars
185
  $return = acf_maybe_get($form, 'return', '');
198
  }
199
 
200
  function validate_form($param){
201
+
 
202
  $form_id = false;
203
+ $form_name = false;
204
+ $param_array = array();
205
+
206
+ if(is_array($param)){
207
 
208
+ $param_array = $param;
209
+
210
+ if(acf_maybe_get($param, 'id')){
211
+
212
+ $param = acf_maybe_get($param, 'id');
213
 
214
+ }elseif(acf_maybe_get($param, 'ID')){
215
+
216
+ $param = acf_maybe_get($param, 'ID');
217
+
218
+ }elseif(acf_maybe_get($param, 'name')){
219
+
220
+ $param = acf_maybe_get($param, 'name');
221
 
222
+ }else{
223
+
224
+ return false;
225
+
226
+ }
227
+
228
  }
229
 
230
  // ID
231
+ if(is_numeric($param)){
232
+
233
  if(get_post_type($param) !== 'acfe-form')
234
  return false;
235
+
236
  // Form
237
  $form_id = $param;
238
  $form_name = get_field('acfe_form_name', $form_id);
239
 
240
  }
241
 
242
+ // Name
243
+ elseif(is_string($param)){
244
+
245
+ $form = get_page_by_path($param, OBJECT, 'acfe-form');
246
+ if(!$form)
247
+ return false;
248
+
249
+ // Form
250
+ $form_id = $form->ID;
251
+ $form_name = get_field('acfe_form_name', $form_id);
252
+
253
+ }
254
+
255
+ // Bail early
256
  if(!$form_name || !$form_id)
257
  return false;
258
 
259
+ // Unset
260
+ acfe_unset($param_array, 'id');
261
+ acfe_unset($param_array, 'ID');
262
+ acfe_unset($param_array, 'name');
263
+
264
+ // Form Attributes
265
+ $form_attributes = get_field('acfe_form_attributes', $form_id);
266
+ $fields_attributes = get_field('acfe_form_fields_attributes', $form_id);
267
+
268
  // Defaults
269
  $defaults = array(
270
 
271
  // General
272
+ 'ID' => $form_id,
273
+ 'name' => $form_name,
274
+ 'title' => get_the_title($form_id),
275
+
276
+ // Settings
277
+ 'post_id' => acf_get_valid_post_id(),
278
+ 'field_groups' => get_field('acfe_form_field_groups', $form_id),
279
+ 'field_groups_rules' => get_field('acfe_form_field_groups_rules', $form_id),
280
+ 'post_field_groups' => get_field('acfe_form_post_field_groups', $form_id),
281
+ 'form' => get_field('acfe_form_form_element', $form_id),
282
+ 'html_before_fields' => get_field('acfe_form_html_before_fields', $form_id),
283
+ 'custom_html_enabled' => get_field('acfe_form_custom_html_enable', $form_id),
284
+ 'custom_html' => get_field('acfe_form_custom_html', $form_id),
285
+ 'html_after_fields' => get_field('acfe_form_html_after_fields', $form_id),
286
+ 'form_submit' => get_field('acfe_form_form_submit', $form_id),
287
+ 'submit_value' => get_field('acfe_form_submit_value', $form_id),
288
+ 'html_submit_button' => get_field('acfe_form_html_submit_button', $form_id),
289
+ 'html_submit_spinner' => get_field('acfe_form_html_submit_spinner', $form_id),
290
 
291
  // Submission
292
+ 'hide_error' => get_field('acfe_form_hide_error', $form_id),
293
+ 'hide_unload' => get_field('acfe_form_hide_unload', $form_id),
294
+ 'hide_revalidation' => get_field('acfe_form_hide_revalidation', $form_id),
295
+ 'errors_position' => get_field('acfe_form_errors_position', $form_id),
296
+ 'errors_class' => get_field('acfe_form_errors_class', $form_id),
297
+ 'updated_message' => get_field('acfe_form_updated_message', $form_id),
298
+ 'html_updated_message' => get_field('acfe_form_html_updated_message', $form_id),
299
+ 'updated_hide_form' => get_field('acfe_form_updated_hide_form', $form_id),
300
+ 'return' => get_field('acfe_form_return', $form_id),
301
 
302
+ // Advanced
303
+ 'honeypot' => get_field('acfe_form_honeypot', $form_id),
304
+ 'kses' => get_field('acfe_form_kses', $form_id),
305
+ 'uploader' => get_field('acfe_form_uploader', $form_id),
306
+ 'field_el' => get_field('acfe_form_form_field_el', $form_id),
307
+ 'label_placement' => get_field('acfe_form_label_placement', $form_id),
308
+ 'instruction_placement' => get_field('acfe_form_instruction_placement', $form_id),
309
+
310
  // Mapping
311
  'map' => array(),
312
 
313
+ // Form Attributes
314
+ 'form_attributes' => array(
315
+ 'id' => acf_maybe_get($form_attributes, 'acfe_form_attributes_id'),
316
+ 'class' => 'acfe-form ' . acf_maybe_get($form_attributes, 'acfe_form_attributes_class'),
317
+ 'action' => '',
318
+ 'method' => 'post',
319
+ 'data-fields-class' => '',
320
+ 'data-hide-error' => '',
321
+ 'data-hide-unload' => '',
322
+ 'data-hide-revalidation'=> '',
323
+ 'data-errors-position' => '',
324
+ 'data-errors-class' => '',
325
+ ),
326
+
327
+ // Fields Attributes
328
+ 'fields_attributes' => array(
329
+ 'wrapper_class' => acf_maybe_get($fields_attributes, 'acfe_form_fields_wrapper_class'),
330
+ 'class' => acf_maybe_get($fields_attributes, 'acfe_form_fields_class'),
331
+ ),
332
+
333
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
334
 
335
  // Override
336
+ $args = wp_parse_args($param_array, $defaults);
 
 
 
 
337
 
338
+ if(acf_maybe_get($param_array, 'form_attributes'))
339
+ $args['form_attributes'] = wp_parse_args($param_array['form_attributes'], $defaults['form_attributes']);
340
 
341
+ if(acf_maybe_get($param_array, 'fields_attributes'))
342
+ $args['fields_attributes'] = wp_parse_args($param_array['fields_attributes'], $defaults['fields_attributes']);
343
 
344
+ // Advanced Override
345
+ $args['form_attributes']['data-fields-class'] = $args['fields_attributes']['class'];
346
+ $args['form_attributes']['data-hide-error'] = $args['hide_error'];
347
+ $args['form_attributes']['data-hide-unload'] = $args['hide_unload'];
348
+ $args['form_attributes']['data-hide-revalidation'] = $args['hide_revalidation'];
349
+ $args['form_attributes']['data-errors-position'] = $args['errors_position'];
350
+ $args['form_attributes']['data-errors-class'] = $args['errors_class'];
351
 
352
  if(acf_maybe_get_POST('acf')){
353
 
379
  $args = apply_filters('acfe/form/load/' . $action . '/form=' . $form_name, $args, $args['post_id'], $alias);
380
 
381
  if(!empty($alias))
382
+ $args = apply_filters('acfe/form/load/' . $action . '/action=' . $alias, $args, $args['post_id'], $alias);
383
 
384
  endwhile;
385
  endif;
424
  }
425
 
426
  // Updated message
427
+ if(acfe_form_is_submitted($args['name'])){
428
 
429
  // Trigger Success JS
430
+ echo '<div class="acfe-form-success" data-form-name="' . $args['name'] . '" data-form-id="' . $args['ID'] . '"></div>';
431
 
432
  if(!empty($args['updated_message'])){
433
 
453
 
454
  // Hide form
455
  if($args['updated_hide_form']){
456
+
457
  return false;
458
+
459
  }
460
 
461
  }
513
 
514
  }
515
 
516
+ $wrapper = $args['form'] ? 'form' : 'div';
 
 
 
517
 
518
  ?>
519
 
522
  <?php
523
 
524
  // render post data
525
+ acf_form_data(array(
526
  'screen' => 'acfe_form',
527
  'post_id' => $args['post_id'],
528
  'form' => acf_encrypt(json_encode($args))
663
 
664
  </<?php echo $wrapper; ?>>
665
 
666
+ <?php
667
+
668
+ return false;
669
 
670
  }
671
 
672
  function add_shortcode($atts){
673
+
674
+ if(is_admin())
675
+ return false;
676
 
677
  $atts = shortcode_atts(array(
678
  'name' => false,
679
+ 'id' => false,
680
+ 'ID' => false,
681
  ), $atts, 'acfe_form');
682
 
 
 
 
683
  if(!empty($atts['name'])){
684
 
685
  ob_start();
700
 
701
  }
702
 
703
+ if(!empty($atts['ID'])){
704
+
705
+ ob_start();
706
+
707
+ acfe_form($atts['ID']);
708
+
709
+ return ob_get_clean();
710
+
711
+ }
712
+
713
+ return false;
714
+
715
  }
716
 
717
  }
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: acf, custom fields, meta, admin, fields, form, repeater, content
5
  Requires at least: 4.9
6
  Tested up to: 5.5
7
  Requires PHP: 5.6
8
- Stable tag: 0.8.7.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -670,6 +670,19 @@ function my_acfe_modules(){
670
 
671
  == Changelog ==
672
 
 
 
 
 
 
 
 
 
 
 
 
 
 
673
  = 0.8.7.3 =
674
  * Field: Flexible Content - Fixed "Copy/Paste" function which wasn't working correctly with WYSIWYG & Code Editor fields since the latest ACF 5.9 update
675
  * Field: Column - Columns sizes are now based on a grid of 12 (1/12, 2/12, 3/12, 4/12 ...)
5
  Requires at least: 4.9
6
  Tested up to: 5.5
7
  Requires PHP: 5.6
8
+ Stable tag: 0.8.7.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
670
 
671
  == Changelog ==
672
 
673
+ = 0.8.7.4 =
674
+ * Module: Json AutoSync - Fixed an issue where json file would not be updated when the field group was created without ACF Extended (Json Sync checkbox was unchecked)
675
+ * Module: Dynamic Forms - Added the ability to pass an array to the `acfe_form()` function allowing to override settings
676
+ * Module: Dynamic Forms - Fixed Elementor + YOAST inifinite loop when using the `[acfe_form]` shortcode to create a new post
677
+ * Module: Dynamic Forms - Post/Term/User Actions load values setting is now disabled by default
678
+ * Module: Dynamic Post Type - Updated Block Editor instructions for the `show_in_rest` setting
679
+ * Module: Dynamic Taxonomy - Updated Block Editor instructions for the `show_in_rest` setting
680
+ * Field: Hidden - Fixed the field render when in table element
681
+ * Field: Columns - Enhanced Field Group UI
682
+ * Field: Columns - Hidden in Users / Terms views to avoid display problem (Due to table render)
683
+ * Field: Advanced Link - Fixed ACF CSS that adds a `display:none` on sub fields buttons
684
+ * Field: Taxonomy Terms - Added hook `filter('acfe/fields/taxonomy_terms/query', $args, $field, $post_id)` to change the ajax query
685
+
686
  = 0.8.7.3 =
687
  * Field: Flexible Content - Fixed "Copy/Paste" function which wasn't working correctly with WYSIWYG & Code Editor fields since the latest ACF 5.9 update
688
  * Field: Column - Columns sizes are now based on a grid of 12 (1/12, 2/12, 3/12, 4/12 ...)