Version Description
ACF Extended Pro 0.8.8.4:
- Field: Flexible Content - Added "Layouts Locations Rules" setting
- Field: Flexible Content Grid System - Fixed undefined index in
get_flexible_grid()
when using "Container Size" setting - Field: Flexible Content Grid System - Added
has_flexible_grid()
helper - Field: Flexible Content Grid System -
has_flexible_grid()
,get_flexible_grid()
&get_flexible_grid_class()
now accept a post id as 2nd parameter - Field: Checkbox/Radio - Added Dynamic Render Choice hooks
- Field: Added Phone Number field
- Field: Added Countries Selector field
- Field: Added Languages Selector field
- Field: Added Currencies Selector field
- Field: Added Post Formats Selector field
- Field: Color Picker - Added selected palette border color compatibility for gradients
- Field: Columns - Added "Fill" size and swapped the setting with "Auto" size. The "Auto" size will now fit the field size
- Field: Select - Added "Prepend" & "Append" settings
- Field: Image Selector - Choices are now compatible with
value : image
logic, allowing developers to save a custom value instead of Image ID/URL - Field: Image Selector - Removed gallery setting selector due to unecessary complexity. Choices are now all merged into one single setting
- Field: Relationship - Enhanced Gutenberg post update detection for the Inline Add/Edit Post settings
- Field: Color Picker - Fixed RGBA library not being correctly initialized in the Gutenberg Editor
- Field: Date Range Picker - Fixed the JS not being correctly initialized in the Gutenberg Editor
- Field: Date Range Picker - Enhanced CSS Style of invalid dates to match the ACF Date Picker style
- Field: WYSIWYG - Fixed potential PHP warning when using an inexisting toolbar
- Module: Force Sync - Fixed json file timestamp update during the sync
- Field Settings: Required message - It is now recommended to use
{label}
to display the field label instead of the previous%s
, for consistency (%s
will still work)
ACF Extended Basic 0.8.8.4:
- Field: Advanced Link - Fixed typo in the field settings
- Field: Columns - Fixed Field Group Seamless Style columns render
- Field: Enhanced UI - Fixed "Add New Term" button on Taxonomy List when using Tabs
- Field: Flexible Content - Fixed "Inline Title Edit" setting generating a duplicated layout title when using "Modal Edit" setting
- Field: Flexible Content - Enhanced "Disable Legacy Ajax Title" & "Async Layouts" settings UI
- Field: Flexible Content - Added missing "Hide Collapse" action setting
- Field: Flexible Content - Fixed "Locked" layout handle cursor CSS
- Field: Forms - Added missing "Search placeholder" setting when using "Select" Field Type
- Field: ReCaptcha - Value are now updated silently to avoid triggering the
acf_changed
popup logic - Field: Select2 - Enhanced various CSS Style
- Field: Taxonomy Terms - Added missing "Search placeholder" setting when using "Select" Field Type
- Field: Text - Fixed input wrap overflow CSS (while waiting for ACF to fix it)
- Fields: Fixed "Placeholder" & "Search placeholder" conditional logic when using "Select" field type
- Module: Forms - Removed reCaptcha field type from
{fields}
Template Tag render - Module: Forms - Enhanced field mapping hook with the form context
- Module: Options Pages - Fixed PHP notice when using a Sub Options Page with the latest ACF Pro 5.9.6 update
- Module: Settings UI - Fixed "Modification in code" not being correctly rendered
- Field Groups: Hide On Screen - Fixed Classic Content Editor appearing when should be hidden, while using a second Field Group Hide on Screen and selecting a category
- Compatibility: GraphQL: Fixed typo in Taxonomy Terms field registration
- Compatibility: GraphQL: Added basic field values resolvers (while waiting for official third party implementation documentation)
- General: Added
acfe_is_gutenberg()
helper - General: Enhanced Readme
Download this release
Release Info
Developer | hwk-fr |
Plugin | Advanced Custom Fields: Extended |
Version | 0.8.8.4 |
Comparing to | |
See all releases |
Code changes from version 0.8.8.3 to 0.8.8.4
- acf-extended.php +2 -2
- assets/css/acfe-admin.css +33 -7
- assets/css/acfe-admin.min.css +1 -1
- assets/css/acfe-field-group.css +8 -4
- assets/css/acfe-field-group.min.css +1 -1
- assets/css/acfe-input.css +15 -10
- assets/css/acfe-input.min.css +1 -1
- assets/css/acfe-ui.css +48 -1
- assets/css/acfe-ui.min.css +1 -1
- assets/js/acfe-field-group.js +7 -5
- assets/js/acfe-field-group.min.js +1 -1
- assets/js/acfe-input.js +50 -52
- assets/js/acfe-input.min.js +1 -1
- assets/js/acfe-ui.js +3 -3
- assets/js/acfe-ui.min.js +1 -1
- includes/admin/settings.php +6 -1
- includes/core/compatibility.php +62 -4
- includes/core/helpers.php +25 -0
- includes/core/multilang.php +37 -63
- includes/field-groups/field-group-hide-on-screen.php +50 -0
- includes/field-groups/field-groups.php +3 -6
- includes/fields/field-advanced-link.php +1 -1
- includes/fields/field-checkbox.php +34 -34
- includes/fields/field-column.php +5 -5
- includes/fields/field-flexible-content-actions.php +1 -1
- includes/fields/field-flexible-content-async.php +54 -40
- includes/fields/field-flexible-content-hide.php +3 -0
- includes/fields/field-flexible-content-preview.php +3 -3
- includes/fields/field-flexible-content-settings.php +2 -2
- includes/fields/field-flexible-content-thumbnail.php +1 -1
- includes/fields/field-flexible-content.php +0 -10
- includes/fields/field-forms.php +81 -22
- includes/fields/field-hidden.php +1 -1
- includes/fields/field-post-statuses.php +47 -15
- includes/fields/field-post-types.php +47 -15
- includes/fields/field-recaptcha.php +10 -29
- includes/fields/field-select.php +25 -10
- includes/fields/field-slug.php +0 -4
- includes/fields/field-taxonomies.php +47 -15
- includes/fields/field-taxonomy-terms.php +88 -29
- includes/fields/field-user-roles.php +47 -15
- includes/modules/forms-helpers.php +7 -3
- includes/modules/options-pages.php +10 -1
- readme.txt +241 -411
acf-extended.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Advanced Custom Fields: Extended
|
4 |
* Description: All-in-one enhancement suite that improves WordPress & Advanced Custom Fields.
|
5 |
-
* Version: 0.8.8.
|
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.8.
|
20 |
var $acf = false;
|
21 |
|
22 |
/*
|
2 |
/**
|
3 |
* Plugin Name: Advanced Custom Fields: Extended
|
4 |
* Description: All-in-one enhancement suite that improves WordPress & Advanced Custom Fields.
|
5 |
+
* Version: 0.8.8.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.8.4';
|
20 |
var $acf = false;
|
21 |
|
22 |
/*
|
assets/css/acfe-admin.css
CHANGED
@@ -713,6 +713,10 @@ body:not(.acf-admin-5-3) .acf-field .select2-container .select2-search--inline .
|
|
713 |
.acf-field .select2-container .select2-search--inline .select2-search__field {
|
714 |
margin-top: 4px !important;
|
715 |
font-size: 14px !important;
|
|
|
|
|
|
|
|
|
716 |
padding-left: 2px !important
|
717 |
}
|
718 |
|
@@ -735,8 +739,12 @@ body:not(.acf-admin-5-3) .acf-field .select2-container .select2-search--inline .
|
|
735 |
}
|
736 |
|
737 |
.acf-field .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
|
738 |
-
|
739 |
-
|
|
|
|
|
|
|
|
|
740 |
}
|
741 |
|
742 |
.acf-field .select2-container--default.select2-container--focus .select2-selection--multiple {
|
@@ -757,7 +765,20 @@ body:not(.acf-admin-5-3) .acf-field .select2-container .select2-search--inline .
|
|
757 |
min-height: 30px !important;
|
758 |
border: 0 !important;
|
759 |
-webkit-box-shadow: none !important;
|
760 |
-
box-shadow: none !important
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
761 |
}
|
762 |
|
763 |
.acf-tab-group li a .acfe-tab-badge {
|
@@ -779,6 +800,15 @@ body:not(.acf-admin-5-3) .acf-field .select2-container .select2-search--inline .
|
|
779 |
background: #f1f1f1
|
780 |
}
|
781 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
782 |
.menu-item-settings {
|
783 |
position: initial
|
784 |
}
|
@@ -890,8 +920,4 @@ body.is-dragging-metaboxes #acf_after_title-sortables {
|
|
890 |
display: flow-root;
|
891 |
min-height: 60px;
|
892 |
margin-bottom: 3px !important
|
893 |
-
}
|
894 |
-
|
895 |
-
.acf-input-wrap .acf-is-prepended+.select2>.selection>.select2-selection {
|
896 |
-
border-radius: 0 3px 3px 0 !important
|
897 |
}
|
713 |
.acf-field .select2-container .select2-search--inline .select2-search__field {
|
714 |
margin-top: 4px !important;
|
715 |
font-size: 14px !important;
|
716 |
+
padding-left: 6px !important
|
717 |
+
}
|
718 |
+
|
719 |
+
.acf-field .select2-container .select2-selection__choice+.select2-search--inline .select2-search__field {
|
720 |
padding-left: 2px !important
|
721 |
}
|
722 |
|
739 |
}
|
740 |
|
741 |
.acf-field .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
|
742 |
+
float: right;
|
743 |
+
margin-left: 3px;
|
744 |
+
margin-right: 0;
|
745 |
+
line-height: 23px;
|
746 |
+
font-size: 15px;
|
747 |
+
vertical-align: text-top
|
748 |
}
|
749 |
|
750 |
.acf-field .select2-container--default.select2-container--focus .select2-selection--multiple {
|
765 |
min-height: 30px !important;
|
766 |
border: 0 !important;
|
767 |
-webkit-box-shadow: none !important;
|
768 |
+
box-shadow: none !important;
|
769 |
+
padding: 0 2px
|
770 |
+
}
|
771 |
+
|
772 |
+
.acf-input-wrap .acf-is-prepended+.select2>.selection>.select2-selection {
|
773 |
+
border-radius: 0 3px 3px 0 !important
|
774 |
+
}
|
775 |
+
|
776 |
+
.acf-input-wrap .acf-is-appended+.select2>.selection>.select2-selection {
|
777 |
+
border-radius: 3px 0 0 3px !important
|
778 |
+
}
|
779 |
+
|
780 |
+
.acf-input-wrap .acf-is-prepended.acf-is-appended+.select2>.selection>.select2-selection {
|
781 |
+
border-radius: 0 !important
|
782 |
}
|
783 |
|
784 |
.acf-tab-group li a .acfe-tab-badge {
|
800 |
background: #f1f1f1
|
801 |
}
|
802 |
|
803 |
+
.acf-field>.acf-input>.acf-input-wrap {
|
804 |
+
overflow: initial
|
805 |
+
}
|
806 |
+
|
807 |
+
.acf-field>.acf-input>.acf-input-append+.acf-input-wrap,
|
808 |
+
.acf-field>.acf-input>.acf-input-prepend+.acf-input-wrap {
|
809 |
+
overflow: hidden
|
810 |
+
}
|
811 |
+
|
812 |
.menu-item-settings {
|
813 |
position: initial
|
814 |
}
|
920 |
display: flow-root;
|
921 |
min-height: 60px;
|
922 |
margin-bottom: 3px !important
|
|
|
|
|
|
|
|
|
923 |
}
|
assets/css/acfe-admin.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:1em}pre{display:block;padding:9.5px;margin:0;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f9f9f9;border:1px solid #ccc;border-radius:1px;white-space:pre-wrap;overflow:auto}code{-webkit-user-select:all;-moz-user-select:all;user-select:all}pre>code{-webkit-user-select:inherit;-moz-user-select:inherit;-ms-user-select:inherit;user-select:inherit;padding:0;margin:0;background:0 0;font-size:1em;display:block}.code-codemirror>.CodeMirror,.pre-codemirror>.CodeMirror{border:1px solid #ccc;height:auto;width:auto;background:#f9f9f9;padding:9px 6px}.code-codemirror{display:inline;vertical-align:middle}.code-codemirror>.CodeMirror{display:inline-block;padding:0}.code-codemirror>.CodeMirror .CodeMirror-selected,.pre-codemirror>.CodeMirror .CodeMirror-selected{background:#ddd!important}.code-codemirror>.CodeMirror .CodeMirror-lines,.pre-codemirror>.CodeMirror .CodeMirror-lines{padding:0}.widget.open{z-index:inherit!important}.acfe-pre-highlight{display:block;padding:9.5px;margin:0;line-height:1.42857143;color:#333;background-color:#f9f9f9;border:1px solid #ccc;border-radius:1px;overflow:auto;font-family:Menlo,Monaco,Consolas,Courier New,monospace;font-size:1em;white-space:nowrap}.acf-postbox.seamless>.inside>.acf-field{padding:15px 12px}.acf-flexible-content .layout.ui-sortable-helper:first-child+.layout.ui-sortable-placeholder{margin-top:0}.acfe-postbox.acfe-postbox-no-handle h2.hndle{cursor:initial}.acfe-postbox.acfe-postbox-no-handle .handlediv{display:none}.acfe-postbox-top>.inside{position:relative}.acfe-postbox-top>.inside.-border{border:1px solid #ccd0d4;background:#fff}.acfe-postbox-top>.inside>.acf-field{position:relative;margin:0;padding:15px 12px;border-top:1px solid #eee}.acfe-postbox-top>.inside>.acf-field:first-child{border-top:none;margin-top:0}.acfe-postbox-left>.inside{position:relative}.acfe-postbox-left>.inside:after{display:block;clear:both;content:""}.acfe-postbox-left>.inside.-border{border:1px solid #ccd0d4;background:#fff}.acfe-postbox-left>.inside>.acf-field{position:relative;margin:0;border-top:1px solid #eee;padding:15px 0}.acfe-postbox-left>.inside>.acf-field:first-child{border-top:none;margin-top:0}.acfe-postbox-left>.inside.-clear>.acf-field{border:none;padding:0;margin:15px 0}.acfe-postbox-left>.inside>.acf-field:after{display:block;clear:both;content:""}.acfe-postbox-left>.inside>.acf-field: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-postbox-left>.inside>.acf-field[data-width]{float:none;width:auto!important;border-left-width:0!important;border-right-width:0!important}.acfe-postbox-left>.inside>.acf-field>.acf-label{float:left;width:20%;margin:0;padding:0 12px}.acfe-postbox-left>.inside>.acf-field>.acf-input{float:left;width:80%;margin:0;padding:0 12px}html[dir=rtl] .acfe-postbox-left>.inside>.acf-field:before{border-width:0 0 0 1px;left:auto;right:0}html[dir=rtl] .acfe-postbox-left>.inside>.acf-field>.acf-input,html[dir=rtl] .acfe-postbox-left>.inside>.acf-field>.acf-label{float:right}#side-sortables .acfe-postbox-left>.inside>.acf-field:before{display:none}#side-sortables .acfe-postbox-left>.inside>.acf-field>.acf-label{width:100%;margin-bottom:10px}#side-sortables .acfe-postbox-left>.inside>.acf-field>.acf-input{width:100%}@media screen and (max-width:640px){.acfe-postbox-left>.inside>.acf-field:before{display:none}.acfe-postbox-left>.inside>.acf-field>.acf-label{width:100%;margin-bottom:10px}.acfe-postbox-left>.inside>.acf-field>.acf-input{width:100%}}.wrap .acfe-dop-admin-config,.wrap .acfe-dpt-admin-config,.wrap .acfe-dt-admin-config{display:inline-block;padding-left:4px;padding-right:4px}.wrap .acfe-dop-admin-config:active,.wrap .acfe-dpt-admin-config:active,.wrap .acfe-dt-admin-config:active{padding-left:4px;padding-right:4px}.wrap .acfe-dop-admin-config span,.wrap .acfe-dpt-admin-config span,.wrap .acfe-dt-admin-config span{font-size:16px;vertical-align:text-top;height:15px;width:19px;line-height:19px}body.post-type-acfe-dbt #minor-publishing-actions,body.post-type-acfe-dbt #misc-publishing-actions #visibility,body.post-type-acfe-dbt #misc-publishing-actions .edit-post-status,body.post-type-acfe-dbt #misc-publishing-actions .edit-timestamp,body.post-type-acfe-dop #minor-publishing-actions,body.post-type-acfe-dop #misc-publishing-actions #visibility,body.post-type-acfe-dop #misc-publishing-actions .edit-post-status,body.post-type-acfe-dop #misc-publishing-actions .edit-timestamp,body.post-type-acfe-dpt #minor-publishing-actions,body.post-type-acfe-dpt #misc-publishing-actions #visibility,body.post-type-acfe-dpt #misc-publishing-actions .edit-post-status,body.post-type-acfe-dpt #misc-publishing-actions .edit-timestamp,body.post-type-acfe-dt #minor-publishing-actions,body.post-type-acfe-dt #misc-publishing-actions #visibility,body.post-type-acfe-dt #misc-publishing-actions .edit-post-status,body.post-type-acfe-dt #misc-publishing-actions .edit-timestamp,body.post-type-acfe-form #minor-publishing-actions,body.post-type-acfe-form #misc-publishing-actions #visibility,body.post-type-acfe-form #misc-publishing-actions .edit-post-status,body.post-type-acfe-form #misc-publishing-actions .edit-timestamp,body.post-type-acfe-template #minor-publishing-actions,body.post-type-acfe-template #misc-publishing-actions #visibility,body.post-type-acfe-template #misc-publishing-actions .edit-post-status,body.post-type-acfe-template #misc-publishing-actions .edit-timestamp{display:none!important}body.post-type-acfe-dbt .acfe-misc-export,body.post-type-acfe-dop .acfe-misc-export,body.post-type-acfe-dpt .acfe-misc-export,body.post-type-acfe-dt .acfe-misc-export,body.post-type-acfe-form .acfe-misc-export,body.post-type-acfe-template .acfe-misc-export{padding-top:2px}body.post-type-acfe-dbt .acfe-misc-export span.dashicons,body.post-type-acfe-dop .acfe-misc-export span.dashicons,body.post-type-acfe-dpt .acfe-misc-export span.dashicons,body.post-type-acfe-dt .acfe-misc-export span.dashicons,body.post-type-acfe-form .acfe-misc-export span.dashicons,body.post-type-acfe-template .acfe-misc-export span.dashicons{font-size:18px;color:#82878c;line-height:1.2;width:18px;margin-right:4px}body.post-type-acfe-dbt.post-new-php .acfe-misc-export,body.post-type-acfe-dop.post-new-php .acfe-misc-export,body.post-type-acfe-dpt.post-new-php .acfe-misc-export,body.post-type-acfe-dt.post-new-php .acfe-misc-export,body.post-type-acfe-form.post-new-php .acfe-misc-export,body.post-type-acfe-template.post-new-php .acfe-misc-export{display:none}body.post-type-acfe-dbt .status-acf-disabled .column-title a,body.post-type-acfe-dbt .status-acf-disabled .column-title code,body.post-type-acfe-dop .status-acf-disabled .column-title a,body.post-type-acfe-dop .status-acf-disabled .column-title code,body.post-type-acfe-dpt .status-acf-disabled .column-title a,body.post-type-acfe-dpt .status-acf-disabled .column-title code,body.post-type-acfe-dt .status-acf-disabled .column-title a,body.post-type-acfe-dt .status-acf-disabled .column-title code,body.post-type-acfe-form .status-acf-disabled .column-title a,body.post-type-acfe-form .status-acf-disabled .column-title code,body.post-type-acfe-template .status-acf-disabled .column-title a,body.post-type-acfe-template .status-acf-disabled .column-title code{color:#555!important}body.post-type-acfe-dbt .status-acf-disabled .column-title strong,body.post-type-acfe-dop .status-acf-disabled .column-title strong,body.post-type-acfe-dpt .status-acf-disabled .column-title strong,body.post-type-acfe-dt .status-acf-disabled .column-title strong,body.post-type-acfe-form .status-acf-disabled .column-title strong,body.post-type-acfe-template .status-acf-disabled .column-title strong{color:#a0a5aa}body.post-type-acfe-dbt .column-acfe-posts,body.post-type-acfe-dbt .column-acfe-terms,body.post-type-acfe-dop .column-acfe-posts,body.post-type-acfe-dop .column-acfe-terms,body.post-type-acfe-dpt .column-acfe-posts,body.post-type-acfe-dpt .column-acfe-terms,body.post-type-acfe-dt .column-acfe-posts,body.post-type-acfe-dt .column-acfe-terms,body.post-type-acfe-form .column-acfe-posts,body.post-type-acfe-form .column-acfe-terms,body.post-type-acfe-template .column-acfe-posts,body.post-type-acfe-template .column-acfe-terms{width:120px}.acf-field.acf-field-acfe-author>.acf-label{display:none}.edit-post-layout__metaboxes:not(:empty){background:#f3f4f5;padding:10px 10px 0!important}.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox{margin-bottom:10px;border:1px solid #e1e1e1}.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox>.inside{border-bottom:0}#acf-admin-tool-acfe_dynamic_block_types_export ul,#acf-admin-tool-acfe_dynamic_forms_export ul,#acf-admin-tool-acfe_dynamic_options_pages_export ul,#acf-admin-tool-acfe_dynamic_post_types_export ul,#acf-admin-tool-acfe_dynamic_taxonomies_export ul,#acf-admin-tool-acfe_dynamic_templates_export ul{-webkit-column-width:200px;-moz-column-width:200px;column-width:200px}#acf-admin-tool-acfe_dynamic_block_types_export .acf-postbox-columns,#acf-admin-tool-acfe_dynamic_forms_export .acf-postbox-columns,#acf-admin-tool-acfe_dynamic_options_pages_export .acf-postbox-columns,#acf-admin-tool-acfe_dynamic_post_types_export .acf-postbox-columns,#acf-admin-tool-acfe_dynamic_taxonomies_export .acf-postbox-columns,#acf-admin-tool-acfe_dynamic_templates_export .acf-postbox-columns{margin-right:0}.acf-meta-box-wrap.-grid #acf-admin-tool-acfe-fg-local{display:none}#acfe-admin-settings .inside>.acf-field{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0}#acfe-admin-settings .inside>.acf-field>.acf-label{padding-top:15px;padding-bottom:15px;float:none}#acfe-admin-settings .inside>.acf-field>.acf-label label span.acf-js-tooltip{float:right;font-size:14px;color:#ccc}#acfe-admin-settings .inside>.acf-field>.acf-input{display:-webkit-box;display:-ms-flexbox;display:flex;float:none;padding:0}#acfe-admin-settings .inside>.acf-field>.acf-input>div{-webkit-box-flex:1;-ms-flex:1 1 50%;flex:1 1 50%;max-width:50%;padding:8px;min-width:0}#acfe-admin-settings .inside>.acf-field>.acf-input>div:nth-child(2){border-left:1px solid #eee}#acfe-admin-settings .inside>.acf-field>.acf-input .acfe-settings-text{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:inline-block}#acfe-admin-settings .inside>.acf-field>.acf-input .acfe-settings-text>code{font-size:12px}#acfe-admin-settings .inside>.acf-field>.acf-input .dashicons-saved{font-size:21px}#acfe-admin-settings .inside>.acf-field>.acf-input .dashicons-no-alt{color:#ccc;font-size:21px}#acfe-admin-settings .inside>.acf-field.acfe-settings-thead>.acf-input{padding:0;border-bottom:1px solid #eee}#acfe-admin-settings .inside>.acf-field.acfe-settings-thead+.acf-field{border-top:0}.settings_page_acfe-options .column-option_id{width:65px}.settings_page_acfe-options .column-option_name{width:435px}.settings_page_acfe-options .column-autoload{width:100px;text-align:center}.acf-field[data-name=acfe_form_post_save_post_content_custom],.acf-field[data-name=acfe_form_post_save_post_name_custom],.acf-field[data-name=acfe_form_post_save_post_title_custom],.acf-field[data-name=acfe_form_term_save_description_custom],.acf-field[data-name=acfe_form_term_save_name_custom],.acf-field[data-name=acfe_form_term_save_slug_custom],.acf-field[data-name=acfe_form_user_save_description_custom],.acf-field[data-name=acfe_form_user_save_display_name_custom],.acf-field[data-name=acfe_form_user_save_email_custom],.acf-field[data-name=acfe_form_user_save_first_name_custom],.acf-field[data-name=acfe_form_user_save_last_name_custom],.acf-field[data-name=acfe_form_user_save_nickname_custom],.acf-field[data-name=acfe_form_user_save_password_custom],.acf-field[data-name=acfe_form_user_save_username_custom],.acf-field[data-name=acfe_form_user_save_website_custom]{border-top:0;padding-top:0}.acf-field.acf-field-acfe-form-attributes>.acf-input>.acf-fields>.acf-field,.acf-field.acf-field-acfe-form-fields-attributes>.acf-input>.acf-fields>.acf-field{border-left-width:0}.acf-field-repeater.acf-field-acfe-form-email-files-static>.acf-input>.acf-repeater>.acf-actions,.acf-field-repeater.acf-field-acfe-form-email-files>.acf-input>.acf-repeater>.acf-actions{text-align:left}.postbox#acfe-acf-custom-fields>.inside,.postbox#acfe-wp-custom-fields>.inside,.postbox#acfe-wp-object>.inside{padding:0;margin:0}.postbox#acfe-acf-custom-fields+.acfe_dev_bulk_actions,.postbox#acfe-wp-custom-fields+.acfe_dev_bulk_actions,.postbox#acfe-wp-object+.acfe_dev_bulk_actions{padding-top:0;margin-top:-8px;margin-bottom:20px}.postbox#acfe-acf-custom-fields+.acfe_dev_bulk_actions:last-child,.postbox#acfe-wp-custom-fields+.acfe_dev_bulk_actions:last-child,.postbox#acfe-wp-object+.acfe_dev_bulk_actions:last-child{margin-bottom:0}.postbox#acfe-acf-custom-fields em,.postbox#acfe-wp-custom-fields em,.postbox#acfe-wp-object em{color:#aaa}.postbox#acfe-acf-custom-fields .acfe_dev_meta_count,.postbox#acfe-wp-custom-fields .acfe_dev_meta_count,.postbox#acfe-wp-object .acfe_dev_meta_count{background:#72777c;padding:1px 5px;border-radius:4px;color:#fff;margin-left:7px;font-size:12px;margin-right:auto}@media only screen and (max-width:1100px){.postbox#acfe-acf-custom-fields thead,.postbox#acfe-wp-custom-fields thead,.postbox#acfe-wp-object thead{display:none}.postbox#acfe-acf-custom-fields tbody tr,.postbox#acfe-wp-custom-fields tbody tr,.postbox#acfe-wp-object tbody tr{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.postbox#acfe-acf-custom-fields tbody td,.postbox#acfe-acf-custom-fields tbody th,.postbox#acfe-wp-custom-fields tbody td,.postbox#acfe-wp-custom-fields tbody th,.postbox#acfe-wp-object tbody td,.postbox#acfe-wp-object tbody th{display:block}.postbox#acfe-acf-custom-fields tbody td:first-of-type,.postbox#acfe-wp-custom-fields tbody td:first-of-type,.postbox#acfe-wp-object tbody td:first-of-type{-webkit-box-flex:1;-ms-flex:1;flex:1}.postbox#acfe-acf-custom-fields tbody td:first-of-type strong,.postbox#acfe-wp-custom-fields tbody td:first-of-type strong,.postbox#acfe-wp-object tbody td:first-of-type strong{display:inline-block;word-break:break-all}.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions,.postbox#acfe-wp-object tbody td:first-of-type .row-actions{display:inline-block;padding:0;float:right}@media only screen and (max-width:850px){.postbox#acfe-acf-custom-fields tbody td:first-of-type,.postbox#acfe-wp-custom-fields tbody td:first-of-type,.postbox#acfe-wp-object tbody td:first-of-type{line-height:2.2}.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions,.postbox#acfe-wp-object tbody td:first-of-type .row-actions{left:auto}}.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions .delete,.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions a,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions .delete,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions a,.postbox#acfe-wp-object tbody td:first-of-type .row-actions .delete,.postbox#acfe-wp-object tbody td:first-of-type .row-actions a{padding:0}.postbox#acfe-acf-custom-fields tbody td:nth-child(3),.postbox#acfe-wp-custom-fields tbody td:nth-child(3),.postbox#acfe-wp-object tbody td:nth-child(3){-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%}}body:not(.acf-admin-5-3) .acf-field .select2-container .select2-selection,body:not(.acf-admin-5-3) .acf-field .select2-container .select2-selection__choice,body:not(.acf-admin-5-3) .acf-field .select2-dropdown{border-color:#dfdfdf!important;border-radius:0!important}body:not(.acf-admin-5-3) .acf-field .select2-container .select2-search--inline .select2-search__field{margin-top:0!important}.acf-field .select2-container .select2-selection--single{border-radius:3px!important;height:30px!important;outline:0}.acf-field .select2-container.select2-container--open .select2-selection--single,.acf-field .select2-container:focus .select2-selection--single{border-color:#007cba!important;color:#016087!important;-webkit-box-shadow:0 0 0 1px #007cba!important;box-shadow:0 0 0 1px #007cba!important}.acf-field .select2-container .select2-selection--single .select2-selection__rendered{font-size:14px;height:28px;line-height:27px!important;padding-right:23px!important}.acf-field .select2-container .select2-selection--single .select2-selection__clear{line-height:26px;height:28px;font-size:16px}.acf-field .select2-container--default .select2-selection--single .select2-selection__arrow{height:28px!important}.acf-field .select2-container--default .select2-selection--single .select2-selection__arrow b{background: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') 0 0/16px 16px no-repeat;border:0!important;width:16px!important;height:16px!important;margin-left:-11px!important;margin-top:-7px!important}.acf-field .select2-container .select2-search--inline .select2-search__field{margin-top:4px!important;font-size:14px!important;padding-left:2px!important}.acf-field .select2-container .select2-selection--multiple{min-height:30px!important;line-height:1;border-radius:3px!important}.acf-field .select2-container--default .select2-selection--multiple .select2-selection__rendered{padding:0 2px!important}.acf-field .select2-container--default .select2-selection--multiple .select2-selection__choice{margin-right:2px!important;margin-top:2px!important;line-height:1.6;border-radius:3px!important;font-size:14px}.acf-field .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{line-height:15px;font-size:15px}.acf-field .select2-container--default.select2-container--focus .select2-selection--multiple{border-color:#7e8993!important}.acf-field .select2-container--default .select2-selection--multiple .select2-selection__clear{margin-top:5px!important;margin-right:5px!important;font-size:16px}.acf-field>.acf-input>.select2 .select2-search{width:auto}.select2-container .select2-dropdown .select2-search__field{min-height:30px!important;border:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}.acf-tab-group li a .acfe-tab-badge{border-radius:100px;background:#ddd;width:18px;height:18px;font-size:12px;display:inline-block;vertical-align:text-bottom;padding:0;text-align:center;margin-left:5px;line-height:18px}.acf-tab-group li a:hover .acfe-tab-badge,.acf-tab-group li.active a .acfe-tab-badge{background:#f1f1f1}.menu-item-settings{position:initial}@media screen and (min-width:783px){.postbox .handle-order-higher,.postbox .handle-order-lower{visibility:hidden}.postbox:hover .handle-order-higher,.postbox:hover .handle-order-lower{visibility:visible}}.postbox .handle-order-higher,.postbox .handle-order-lower{vertical-align:bottom;width:1.42rem}.postbox .handle-order-higher .order-higher-indicator::before,.postbox .handle-order-lower .order-lower-indicator::before{font-size:15px;top:.23rem}.postbox .handlediv{width:1.62rem}.postbox .handlediv .toggle-indicator::before{text-indent:-7px;top:.1rem}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{line-height:1.48}.acf-settings-wrap .acf-box{margin:16px 0}.acf-box .title{padding:8px 15px}.acf-box .title h3{line-height:1.4}.acf-columns-2{margin-right:300px;clear:both}.acf-columns-2:after{display:block;clear:both;content:""}html[dir=rtl] .acf-columns-2{margin-right:0;margin-left:300px}.acf-columns-2 .acf-column-1{float:left;width:100%}html[dir=rtl] .acf-columns-2 .acf-column-1{float:right}.acf-columns-2 .acf-column-2{float:right;margin-right:-300px;width:280px}html[dir=rtl] .acf-columns-2 .acf-column-2{float:left;margin-right:0;margin-left:-300px}@media only screen and (max-width:850px){.acf-columns-2{margin-right:0}.acf-columns-2 .acf-column-1,.acf-columns-2 .acf-column-2{float:none;width:auto;margin:0}}body.is-dragging-metaboxes #acf_after_title-sortables{outline:#646970 dashed 3px;display:flow-root;min-height:60px;margin-bottom:3px!important}.acf-input-wrap .acf-is-prepended+.select2>.selection>.select2-selection{border-radius:0 3px 3px 0!important}
|
1 |
+
code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:1em}pre{display:block;padding:9.5px;margin:0;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f9f9f9;border:1px solid #ccc;border-radius:1px;white-space:pre-wrap;overflow:auto}code{-webkit-user-select:all;-moz-user-select:all;user-select:all}pre>code{-webkit-user-select:inherit;-moz-user-select:inherit;-ms-user-select:inherit;user-select:inherit;padding:0;margin:0;background:0 0;font-size:1em;display:block}.code-codemirror>.CodeMirror,.pre-codemirror>.CodeMirror{border:1px solid #ccc;height:auto;width:auto;background:#f9f9f9;padding:9px 6px}.code-codemirror{display:inline;vertical-align:middle}.code-codemirror>.CodeMirror{display:inline-block;padding:0}.code-codemirror>.CodeMirror .CodeMirror-selected,.pre-codemirror>.CodeMirror .CodeMirror-selected{background:#ddd!important}.code-codemirror>.CodeMirror .CodeMirror-lines,.pre-codemirror>.CodeMirror .CodeMirror-lines{padding:0}.widget.open{z-index:inherit!important}.acfe-pre-highlight{display:block;padding:9.5px;margin:0;line-height:1.42857143;color:#333;background-color:#f9f9f9;border:1px solid #ccc;border-radius:1px;overflow:auto;font-family:Menlo,Monaco,Consolas,Courier New,monospace;font-size:1em;white-space:nowrap}.acf-postbox.seamless>.inside>.acf-field{padding:15px 12px}.acf-flexible-content .layout.ui-sortable-helper:first-child+.layout.ui-sortable-placeholder{margin-top:0}.acfe-postbox.acfe-postbox-no-handle h2.hndle{cursor:initial}.acfe-postbox.acfe-postbox-no-handle .handlediv{display:none}.acfe-postbox-top>.inside{position:relative}.acfe-postbox-top>.inside.-border{border:1px solid #ccd0d4;background:#fff}.acfe-postbox-top>.inside>.acf-field{position:relative;margin:0;padding:15px 12px;border-top:1px solid #eee}.acfe-postbox-top>.inside>.acf-field:first-child{border-top:none;margin-top:0}.acfe-postbox-left>.inside{position:relative}.acfe-postbox-left>.inside:after{display:block;clear:both;content:""}.acfe-postbox-left>.inside.-border{border:1px solid #ccd0d4;background:#fff}.acfe-postbox-left>.inside>.acf-field{position:relative;margin:0;border-top:1px solid #eee;padding:15px 0}.acfe-postbox-left>.inside>.acf-field:first-child{border-top:none;margin-top:0}.acfe-postbox-left>.inside.-clear>.acf-field{border:none;padding:0;margin:15px 0}.acfe-postbox-left>.inside>.acf-field:after{display:block;clear:both;content:""}.acfe-postbox-left>.inside>.acf-field: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-postbox-left>.inside>.acf-field[data-width]{float:none;width:auto!important;border-left-width:0!important;border-right-width:0!important}.acfe-postbox-left>.inside>.acf-field>.acf-label{float:left;width:20%;margin:0;padding:0 12px}.acfe-postbox-left>.inside>.acf-field>.acf-input{float:left;width:80%;margin:0;padding:0 12px}html[dir=rtl] .acfe-postbox-left>.inside>.acf-field:before{border-width:0 0 0 1px;left:auto;right:0}html[dir=rtl] .acfe-postbox-left>.inside>.acf-field>.acf-input,html[dir=rtl] .acfe-postbox-left>.inside>.acf-field>.acf-label{float:right}#side-sortables .acfe-postbox-left>.inside>.acf-field:before{display:none}#side-sortables .acfe-postbox-left>.inside>.acf-field>.acf-label{width:100%;margin-bottom:10px}#side-sortables .acfe-postbox-left>.inside>.acf-field>.acf-input{width:100%}@media screen and (max-width:640px){.acfe-postbox-left>.inside>.acf-field:before{display:none}.acfe-postbox-left>.inside>.acf-field>.acf-label{width:100%;margin-bottom:10px}.acfe-postbox-left>.inside>.acf-field>.acf-input{width:100%}}.wrap .acfe-dop-admin-config,.wrap .acfe-dpt-admin-config,.wrap .acfe-dt-admin-config{display:inline-block;padding-left:4px;padding-right:4px}.wrap .acfe-dop-admin-config:active,.wrap .acfe-dpt-admin-config:active,.wrap .acfe-dt-admin-config:active{padding-left:4px;padding-right:4px}.wrap .acfe-dop-admin-config span,.wrap .acfe-dpt-admin-config span,.wrap .acfe-dt-admin-config span{font-size:16px;vertical-align:text-top;height:15px;width:19px;line-height:19px}body.post-type-acfe-dbt #minor-publishing-actions,body.post-type-acfe-dbt #misc-publishing-actions #visibility,body.post-type-acfe-dbt #misc-publishing-actions .edit-post-status,body.post-type-acfe-dbt #misc-publishing-actions .edit-timestamp,body.post-type-acfe-dop #minor-publishing-actions,body.post-type-acfe-dop #misc-publishing-actions #visibility,body.post-type-acfe-dop #misc-publishing-actions .edit-post-status,body.post-type-acfe-dop #misc-publishing-actions .edit-timestamp,body.post-type-acfe-dpt #minor-publishing-actions,body.post-type-acfe-dpt #misc-publishing-actions #visibility,body.post-type-acfe-dpt #misc-publishing-actions .edit-post-status,body.post-type-acfe-dpt #misc-publishing-actions .edit-timestamp,body.post-type-acfe-dt #minor-publishing-actions,body.post-type-acfe-dt #misc-publishing-actions #visibility,body.post-type-acfe-dt #misc-publishing-actions .edit-post-status,body.post-type-acfe-dt #misc-publishing-actions .edit-timestamp,body.post-type-acfe-form #minor-publishing-actions,body.post-type-acfe-form #misc-publishing-actions #visibility,body.post-type-acfe-form #misc-publishing-actions .edit-post-status,body.post-type-acfe-form #misc-publishing-actions .edit-timestamp,body.post-type-acfe-template #minor-publishing-actions,body.post-type-acfe-template #misc-publishing-actions #visibility,body.post-type-acfe-template #misc-publishing-actions .edit-post-status,body.post-type-acfe-template #misc-publishing-actions .edit-timestamp{display:none!important}body.post-type-acfe-dbt .acfe-misc-export,body.post-type-acfe-dop .acfe-misc-export,body.post-type-acfe-dpt .acfe-misc-export,body.post-type-acfe-dt .acfe-misc-export,body.post-type-acfe-form .acfe-misc-export,body.post-type-acfe-template .acfe-misc-export{padding-top:2px}body.post-type-acfe-dbt .acfe-misc-export span.dashicons,body.post-type-acfe-dop .acfe-misc-export span.dashicons,body.post-type-acfe-dpt .acfe-misc-export span.dashicons,body.post-type-acfe-dt .acfe-misc-export span.dashicons,body.post-type-acfe-form .acfe-misc-export span.dashicons,body.post-type-acfe-template .acfe-misc-export span.dashicons{font-size:18px;color:#82878c;line-height:1.2;width:18px;margin-right:4px}body.post-type-acfe-dbt.post-new-php .acfe-misc-export,body.post-type-acfe-dop.post-new-php .acfe-misc-export,body.post-type-acfe-dpt.post-new-php .acfe-misc-export,body.post-type-acfe-dt.post-new-php .acfe-misc-export,body.post-type-acfe-form.post-new-php .acfe-misc-export,body.post-type-acfe-template.post-new-php .acfe-misc-export{display:none}body.post-type-acfe-dbt .status-acf-disabled .column-title a,body.post-type-acfe-dbt .status-acf-disabled .column-title code,body.post-type-acfe-dop .status-acf-disabled .column-title a,body.post-type-acfe-dop .status-acf-disabled .column-title code,body.post-type-acfe-dpt .status-acf-disabled .column-title a,body.post-type-acfe-dpt .status-acf-disabled .column-title code,body.post-type-acfe-dt .status-acf-disabled .column-title a,body.post-type-acfe-dt .status-acf-disabled .column-title code,body.post-type-acfe-form .status-acf-disabled .column-title a,body.post-type-acfe-form .status-acf-disabled .column-title code,body.post-type-acfe-template .status-acf-disabled .column-title a,body.post-type-acfe-template .status-acf-disabled .column-title code{color:#555!important}body.post-type-acfe-dbt .status-acf-disabled .column-title strong,body.post-type-acfe-dop .status-acf-disabled .column-title strong,body.post-type-acfe-dpt .status-acf-disabled .column-title strong,body.post-type-acfe-dt .status-acf-disabled .column-title strong,body.post-type-acfe-form .status-acf-disabled .column-title strong,body.post-type-acfe-template .status-acf-disabled .column-title strong{color:#a0a5aa}body.post-type-acfe-dbt .column-acfe-posts,body.post-type-acfe-dbt .column-acfe-terms,body.post-type-acfe-dop .column-acfe-posts,body.post-type-acfe-dop .column-acfe-terms,body.post-type-acfe-dpt .column-acfe-posts,body.post-type-acfe-dpt .column-acfe-terms,body.post-type-acfe-dt .column-acfe-posts,body.post-type-acfe-dt .column-acfe-terms,body.post-type-acfe-form .column-acfe-posts,body.post-type-acfe-form .column-acfe-terms,body.post-type-acfe-template .column-acfe-posts,body.post-type-acfe-template .column-acfe-terms{width:120px}.acf-field.acf-field-acfe-author>.acf-label{display:none}.edit-post-layout__metaboxes:not(:empty){background:#f3f4f5;padding:10px 10px 0!important}.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox{margin-bottom:10px;border:1px solid #e1e1e1}.edit-post-layout__metaboxes .edit-post-meta-boxes-area .postbox>.inside{border-bottom:0}#acf-admin-tool-acfe_dynamic_block_types_export ul,#acf-admin-tool-acfe_dynamic_forms_export ul,#acf-admin-tool-acfe_dynamic_options_pages_export ul,#acf-admin-tool-acfe_dynamic_post_types_export ul,#acf-admin-tool-acfe_dynamic_taxonomies_export ul,#acf-admin-tool-acfe_dynamic_templates_export ul{-webkit-column-width:200px;-moz-column-width:200px;column-width:200px}#acf-admin-tool-acfe_dynamic_block_types_export .acf-postbox-columns,#acf-admin-tool-acfe_dynamic_forms_export .acf-postbox-columns,#acf-admin-tool-acfe_dynamic_options_pages_export .acf-postbox-columns,#acf-admin-tool-acfe_dynamic_post_types_export .acf-postbox-columns,#acf-admin-tool-acfe_dynamic_taxonomies_export .acf-postbox-columns,#acf-admin-tool-acfe_dynamic_templates_export .acf-postbox-columns{margin-right:0}.acf-meta-box-wrap.-grid #acf-admin-tool-acfe-fg-local{display:none}#acfe-admin-settings .inside>.acf-field{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0}#acfe-admin-settings .inside>.acf-field>.acf-label{padding-top:15px;padding-bottom:15px;float:none}#acfe-admin-settings .inside>.acf-field>.acf-label label span.acf-js-tooltip{float:right;font-size:14px;color:#ccc}#acfe-admin-settings .inside>.acf-field>.acf-input{display:-webkit-box;display:-ms-flexbox;display:flex;float:none;padding:0}#acfe-admin-settings .inside>.acf-field>.acf-input>div{-webkit-box-flex:1;-ms-flex:1 1 50%;flex:1 1 50%;max-width:50%;padding:8px;min-width:0}#acfe-admin-settings .inside>.acf-field>.acf-input>div:nth-child(2){border-left:1px solid #eee}#acfe-admin-settings .inside>.acf-field>.acf-input .acfe-settings-text{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:inline-block}#acfe-admin-settings .inside>.acf-field>.acf-input .acfe-settings-text>code{font-size:12px}#acfe-admin-settings .inside>.acf-field>.acf-input .dashicons-saved{font-size:21px}#acfe-admin-settings .inside>.acf-field>.acf-input .dashicons-no-alt{color:#ccc;font-size:21px}#acfe-admin-settings .inside>.acf-field.acfe-settings-thead>.acf-input{padding:0;border-bottom:1px solid #eee}#acfe-admin-settings .inside>.acf-field.acfe-settings-thead+.acf-field{border-top:0}.settings_page_acfe-options .column-option_id{width:65px}.settings_page_acfe-options .column-option_name{width:435px}.settings_page_acfe-options .column-autoload{width:100px;text-align:center}.acf-field[data-name=acfe_form_post_save_post_content_custom],.acf-field[data-name=acfe_form_post_save_post_name_custom],.acf-field[data-name=acfe_form_post_save_post_title_custom],.acf-field[data-name=acfe_form_term_save_description_custom],.acf-field[data-name=acfe_form_term_save_name_custom],.acf-field[data-name=acfe_form_term_save_slug_custom],.acf-field[data-name=acfe_form_user_save_description_custom],.acf-field[data-name=acfe_form_user_save_display_name_custom],.acf-field[data-name=acfe_form_user_save_email_custom],.acf-field[data-name=acfe_form_user_save_first_name_custom],.acf-field[data-name=acfe_form_user_save_last_name_custom],.acf-field[data-name=acfe_form_user_save_nickname_custom],.acf-field[data-name=acfe_form_user_save_password_custom],.acf-field[data-name=acfe_form_user_save_username_custom],.acf-field[data-name=acfe_form_user_save_website_custom]{border-top:0;padding-top:0}.acf-field.acf-field-acfe-form-attributes>.acf-input>.acf-fields>.acf-field,.acf-field.acf-field-acfe-form-fields-attributes>.acf-input>.acf-fields>.acf-field{border-left-width:0}.acf-field-repeater.acf-field-acfe-form-email-files-static>.acf-input>.acf-repeater>.acf-actions,.acf-field-repeater.acf-field-acfe-form-email-files>.acf-input>.acf-repeater>.acf-actions{text-align:left}.postbox#acfe-acf-custom-fields>.inside,.postbox#acfe-wp-custom-fields>.inside,.postbox#acfe-wp-object>.inside{padding:0;margin:0}.postbox#acfe-acf-custom-fields+.acfe_dev_bulk_actions,.postbox#acfe-wp-custom-fields+.acfe_dev_bulk_actions,.postbox#acfe-wp-object+.acfe_dev_bulk_actions{padding-top:0;margin-top:-8px;margin-bottom:20px}.postbox#acfe-acf-custom-fields+.acfe_dev_bulk_actions:last-child,.postbox#acfe-wp-custom-fields+.acfe_dev_bulk_actions:last-child,.postbox#acfe-wp-object+.acfe_dev_bulk_actions:last-child{margin-bottom:0}.postbox#acfe-acf-custom-fields em,.postbox#acfe-wp-custom-fields em,.postbox#acfe-wp-object em{color:#aaa}.postbox#acfe-acf-custom-fields .acfe_dev_meta_count,.postbox#acfe-wp-custom-fields .acfe_dev_meta_count,.postbox#acfe-wp-object .acfe_dev_meta_count{background:#72777c;padding:1px 5px;border-radius:4px;color:#fff;margin-left:7px;font-size:12px;margin-right:auto}@media only screen and (max-width:1100px){.postbox#acfe-acf-custom-fields thead,.postbox#acfe-wp-custom-fields thead,.postbox#acfe-wp-object thead{display:none}.postbox#acfe-acf-custom-fields tbody tr,.postbox#acfe-wp-custom-fields tbody tr,.postbox#acfe-wp-object tbody tr{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.postbox#acfe-acf-custom-fields tbody td,.postbox#acfe-acf-custom-fields tbody th,.postbox#acfe-wp-custom-fields tbody td,.postbox#acfe-wp-custom-fields tbody th,.postbox#acfe-wp-object tbody td,.postbox#acfe-wp-object tbody th{display:block}.postbox#acfe-acf-custom-fields tbody td:first-of-type,.postbox#acfe-wp-custom-fields tbody td:first-of-type,.postbox#acfe-wp-object tbody td:first-of-type{-webkit-box-flex:1;-ms-flex:1;flex:1}.postbox#acfe-acf-custom-fields tbody td:first-of-type strong,.postbox#acfe-wp-custom-fields tbody td:first-of-type strong,.postbox#acfe-wp-object tbody td:first-of-type strong{display:inline-block;word-break:break-all}.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions,.postbox#acfe-wp-object tbody td:first-of-type .row-actions{display:inline-block;padding:0;float:right}@media only screen and (max-width:850px){.postbox#acfe-acf-custom-fields tbody td:first-of-type,.postbox#acfe-wp-custom-fields tbody td:first-of-type,.postbox#acfe-wp-object tbody td:first-of-type{line-height:2.2}.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions,.postbox#acfe-wp-object tbody td:first-of-type .row-actions{left:auto}}.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions .delete,.postbox#acfe-acf-custom-fields tbody td:first-of-type .row-actions a,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions .delete,.postbox#acfe-wp-custom-fields tbody td:first-of-type .row-actions a,.postbox#acfe-wp-object tbody td:first-of-type .row-actions .delete,.postbox#acfe-wp-object tbody td:first-of-type .row-actions a{padding:0}.postbox#acfe-acf-custom-fields tbody td:nth-child(3),.postbox#acfe-wp-custom-fields tbody td:nth-child(3),.postbox#acfe-wp-object tbody td:nth-child(3){-webkit-box-flex:1;-ms-flex:1 1 100%;flex:1 1 100%}}body:not(.acf-admin-5-3) .acf-field .select2-container .select2-selection,body:not(.acf-admin-5-3) .acf-field .select2-container .select2-selection__choice,body:not(.acf-admin-5-3) .acf-field .select2-dropdown{border-color:#dfdfdf!important;border-radius:0!important}body:not(.acf-admin-5-3) .acf-field .select2-container .select2-search--inline .select2-search__field{margin-top:0!important}.acf-field .select2-container .select2-selection--single{border-radius:3px!important;height:30px!important;outline:0}.acf-field .select2-container.select2-container--open .select2-selection--single,.acf-field .select2-container:focus .select2-selection--single{border-color:#007cba!important;color:#016087!important;-webkit-box-shadow:0 0 0 1px #007cba!important;box-shadow:0 0 0 1px #007cba!important}.acf-field .select2-container .select2-selection--single .select2-selection__rendered{font-size:14px;height:28px;line-height:27px!important;padding-right:23px!important}.acf-field .select2-container .select2-selection--single .select2-selection__clear{line-height:26px;height:28px;font-size:16px}.acf-field .select2-container--default .select2-selection--single .select2-selection__arrow{height:28px!important}.acf-field .select2-container--default .select2-selection--single .select2-selection__arrow b{background: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') 0 0/16px 16px no-repeat;border:0!important;width:16px!important;height:16px!important;margin-left:-11px!important;margin-top:-7px!important}.acf-field .select2-container .select2-search--inline .select2-search__field{margin-top:4px!important;font-size:14px!important;padding-left:6px!important}.acf-field .select2-container .select2-selection__choice+.select2-search--inline .select2-search__field{padding-left:2px!important}.acf-field .select2-container .select2-selection--multiple{min-height:30px!important;line-height:1;border-radius:3px!important}.acf-field .select2-container--default .select2-selection--multiple .select2-selection__rendered{padding:0 2px!important}.acf-field .select2-container--default .select2-selection--multiple .select2-selection__choice{margin-right:2px!important;margin-top:2px!important;line-height:1.6;border-radius:3px!important;font-size:14px}.acf-field .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{float:right;margin-left:3px;margin-right:0;line-height:23px;font-size:15px;vertical-align:text-top}.acf-field .select2-container--default.select2-container--focus .select2-selection--multiple{border-color:#7e8993!important}.acf-field .select2-container--default .select2-selection--multiple .select2-selection__clear{margin-top:5px!important;margin-right:5px!important;font-size:16px}.acf-field>.acf-input>.select2 .select2-search{width:auto}.select2-container .select2-dropdown .select2-search__field{min-height:30px!important;border:0!important;-webkit-box-shadow:none!important;box-shadow:none!important;padding:0 2px}.acf-input-wrap .acf-is-prepended+.select2>.selection>.select2-selection{border-radius:0 3px 3px 0!important}.acf-input-wrap .acf-is-appended+.select2>.selection>.select2-selection{border-radius:3px 0 0 3px!important}.acf-input-wrap .acf-is-prepended.acf-is-appended+.select2>.selection>.select2-selection{border-radius:0!important}.acf-tab-group li a .acfe-tab-badge{border-radius:100px;background:#ddd;width:18px;height:18px;font-size:12px;display:inline-block;vertical-align:text-bottom;padding:0;text-align:center;margin-left:5px;line-height:18px}.acf-tab-group li a:hover .acfe-tab-badge,.acf-tab-group li.active a .acfe-tab-badge{background:#f1f1f1}.acf-field>.acf-input>.acf-input-wrap{overflow:initial}.acf-field>.acf-input>.acf-input-append+.acf-input-wrap,.acf-field>.acf-input>.acf-input-prepend+.acf-input-wrap{overflow:hidden}.menu-item-settings{position:initial}@media screen and (min-width:783px){.postbox .handle-order-higher,.postbox .handle-order-lower{visibility:hidden}.postbox:hover .handle-order-higher,.postbox:hover .handle-order-lower{visibility:visible}}.postbox .handle-order-higher,.postbox .handle-order-lower{vertical-align:bottom;width:1.42rem}.postbox .handle-order-higher .order-higher-indicator::before,.postbox .handle-order-lower .order-lower-indicator::before{font-size:15px;top:.23rem}.postbox .handlediv{width:1.62rem}.postbox .handlediv .toggle-indicator::before{text-indent:-7px;top:.1rem}#poststuff .stuffbox>h3,#poststuff h2,#poststuff h3.hndle{line-height:1.48}.acf-settings-wrap .acf-box{margin:16px 0}.acf-box .title{padding:8px 15px}.acf-box .title h3{line-height:1.4}.acf-columns-2{margin-right:300px;clear:both}.acf-columns-2:after{display:block;clear:both;content:""}html[dir=rtl] .acf-columns-2{margin-right:0;margin-left:300px}.acf-columns-2 .acf-column-1{float:left;width:100%}html[dir=rtl] .acf-columns-2 .acf-column-1{float:right}.acf-columns-2 .acf-column-2{float:right;margin-right:-300px;width:280px}html[dir=rtl] .acf-columns-2 .acf-column-2{float:left;margin-right:0;margin-left:-300px}@media only screen and (max-width:850px){.acf-columns-2{margin-right:0}.acf-columns-2 .acf-column-1,.acf-columns-2 .acf-column-2{float:none;width:auto;margin:0}}body.is-dragging-metaboxes #acf_after_title-sortables{outline:#646970 dashed 3px;display:flow-root;min-height:60px;margin-bottom:3px!important}
|
assets/css/acfe-field-group.css
CHANGED
@@ -370,6 +370,14 @@ body.acf-admin-5-3 .acf-field-setting-fc_layout .acf-input-wrap.select select {
|
|
370 |
display: none
|
371 |
}
|
372 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
373 |
.acf-field-object+.acf-field-object-acfe-column:before {
|
374 |
display: block;
|
375 |
content: "";
|
@@ -379,10 +387,6 @@ body.acf-admin-5-3 .acf-field-setting-fc_layout .acf-input-wrap.select select {
|
|
379 |
border-bottom: #f0f0f0 solid 1px
|
380 |
}
|
381 |
|
382 |
-
.acf-field-object-acfe-column .li-field-name {
|
383 |
-
visibility: hidden
|
384 |
-
}
|
385 |
-
|
386 |
.acf-field-setting-allow_terms>.acf-input>ul>li:first-of-type {
|
387 |
width: calc(100% - 125px)
|
388 |
}
|
370 |
display: none
|
371 |
}
|
372 |
|
373 |
+
.acf-field-object-acfe-column .li-field-name {
|
374 |
+
visibility: hidden
|
375 |
+
}
|
376 |
+
|
377 |
+
.acf-field-object-acfe-column.open>.handle a span {
|
378 |
+
color: #fff
|
379 |
+
}
|
380 |
+
|
381 |
.acf-field-object+.acf-field-object-acfe-column:before {
|
382 |
display: block;
|
383 |
content: "";
|
387 |
border-bottom: #f0f0f0 solid 1px
|
388 |
}
|
389 |
|
|
|
|
|
|
|
|
|
390 |
.acf-field-setting-allow_terms>.acf-input>ul>li:first-of-type {
|
391 |
width: calc(100% - 125px)
|
392 |
}
|
assets/css/acfe-field-group.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.submitbox .misc-pub-acfe-field-group-key{padding-top:2px}.submitbox .misc-pub-acfe-field-group-key span{font-size:16px;color:#82878c;width:20px;margin-right:2px}.submitbox .misc-pub-acfe-field-group-key code{font-size:12px}.submitbox .misc-pub-acfe-field-group-export{padding-top:2px}.submitbox .misc-pub-acfe-field-group-export span{font-size:17px;color:#82878c;line-height:1.3;width:20px;margin-right:2px}.acf-fields .acf-field-tab{display:block!important;height:0;overflow:hidden;padding:0!important;border:0!important}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields,.acf-field-setting-acfe_hide>.acf-input>.acf-fields,.acf-field-setting-acfe_permissions>.acf-input>.acf-fields,.acf-field-setting-acfe_settings>.acf-input>.acf-fields,.acf-field-setting-acfe_settings>.acf-input>.acf-fields>.acf-field.acf-field-acfe-settings-rules-or,.acf-field-setting-acfe_update>.acf-input>.acf-fields,.acf-field-setting-acfe_update>.acf-input>.acf-fields>.acf-field.acf-field-acfe-update-functions,.acf-field-setting-acfe_validate>.acf-input>.acf-fields,.acf-field-setting-acfe_validate>.acf-input>.acf-fields>.acf-field.acf-field-acfe-validate-rules-or{border:0}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_hide>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_permissions>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_settings>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_update>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_validate>.acf-input>.acf-fields>.acf-field{padding:0}.acf-field-setting-acfe_field_data{display:none}.acf-field-hide-front.acfe_width_auto{margin-right:30px}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field.acf-field-acfe-bidirectional-enabled>.acf-label,.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field.acf-field-acfe-bidirectional-related>.acf-label,.acf-field-setting-acfe_settings>.acf-input>.acf-fields>.acf-field.acf-field-acfe-settings-activate>.acf-label,.acf-field-setting-acfe_update>.acf-input>.acf-fields>.acf-field.acf-field-acfe-update-activate>.acf-label,.acf-field-setting-acfe_validate>.acf-input>.acf-fields>.acf-field.acf-field-acfe-validate-activate>.acf-label{display:none}.acf-field-acfe-meta>.acf-input .acf-repeater.-empty.-table>table,.acf-field-setting-acfe_settings>.acf-input .acf-repeater.-empty.-table>table,.acf-field-setting-acfe_update>.acf-input .acf-repeater.-empty.-table>table,.acf-field-setting-acfe_validate>.acf-input .acf-repeater.-empty.-table>table{border:0;display:none}.acf-field-acfe-meta>.acf-input .acf-repeater.-empty.-table>table>thead,.acf-field-setting-acfe_settings>.acf-input .acf-repeater.-empty.-table>table>thead,.acf-field-setting-acfe_update>.acf-input .acf-repeater.-empty.-table>table>thead,.acf-field-setting-acfe_validate>.acf-input .acf-repeater.-empty.-table>table>thead{display:none}.acf-field-acfe-meta>.acf-input>.acf-repeater .acf-actions,.acf-field-setting-acfe_settings>.acf-input>.acf-repeater .acf-actions,.acf-field-setting-acfe_update>.acf-input>.acf-repeater .acf-actions,.acf-field-setting-acfe_validate>.acf-input>.acf-repeater .acf-actions{text-align:left}.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-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field.acf-field-acfe-bidirectional-related{margin-left:10px}.acfe_width_auto{width:auto!important}.status-acf-disabled .column-title a,.status-acf-disabled .column-title code{color:#555!important}.status-acf-disabled .column-title strong{color:#a0a5aa}.column-acf-field-group-category{width:125px}td.acf-field-group-category a{word-wrap:break-word;padding:2px 5px;margin:0 1px;border-radius:2px;background:rgba(0,0,0,.06);color:#23282d}.column-acfe-location{width:100px}.column-acf-description,.column-acf-location{width:230px}#acf-field-group-wrap .wp-list-table .column-acf-fg-status{width:70px}#acf-field-group-wrap .wp-list-table .column-acf-fg-count,.post-type-acf-field-group .wp-list-table .column-acf-count{width:80px}.post-type-acf-field-group .wp-list-table .column-title .post-state{color:#a0a5aa}.column-title .acfe-key{color:#555;font-size:12px}.column-acfe-load{width:70px}.column-acfe-source{width:150px}.column-acfe-autosync-json,.column-acfe-autosync-php{width:90px;text-align:center!important}.column-acfe-autosync-json .secondary,.column-acfe-autosync-php .secondary{color:#ccc}.column-acfe-autosync-json .dashicons-warning,.column-acfe-autosync-php .dashicons-warning{font-size:15px;vertical-align:middle}.acf-field[data-name=acfe_autosync] .dashicons-warning{color:#ccc;font-size:15px;height:15px;vertical-align:text-bottom}.column-acfe-autosync-json .dashicons-update,.column-acfe-autosync-php .dashicons-update{font-size:18px}.column-acfe-autosync-json .dashicons+.dashicons-warning,.column-acfe-autosync-php .dashicons+.dashicons-warning{margin-left:-3px}.acf-field-image[data-name=acfe_flexible_thumbnail]>.acf-input>.acf-image-uploader.has-value>.show-if-value.image-wrap{max-width:85px!important}.acf-diff-content table.diff tbody tr td:nth-child(2){width:auto}body.acf-admin-5-3 .acf-field-setting-fc_layout .acf-input-wrap.select{border-color:#7e8993}body.acf-admin-5-3 .acf-field-setting-fc_layout .acf-input-wrap.select select{min-height:28px}.acfe-field-setting-flex>.acf-input>.acf-fields{display:-webkit-box;display:-ms-flexbox;display:flex;border:0}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child{padding:0;margin-right:10px}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child .acf-label{display:none}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field{padding-top:0;padding-bottom:0;padding-left:0;border-top:0;border-left:0!important}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field[data-type=true_false]{padding-top:2px}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_category],.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_settings_label],.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_thumbnail],.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta>.acf-fc-meta-label:first-of-type{margin:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting{margin:15px 0 0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-input,.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-input label,.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-label,.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-label label{margin:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-bottom:0;margin-top:10px}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul{margin:0;width:50%}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul:first-child+ul{border-left:0;margin-left:10px}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul>.acf-input{margin-bottom:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li>ul{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:10px 0 0;width:100%}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li>ul:first-child{margin-top:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li>ul:first-child+ul{margin-left:0}.acf-field-setting-fc_layout .select2-container--default .select2-selection--multiple li{margin-bottom:0}.acf-field-object-acfe-column .acf-field-setting-instructions,.acf-field-object-acfe-column .acf-field-setting-label,.acf-field-object-acfe-column .acf-field-setting-name,.acf-field-object-acfe-column .acf-field-setting-required,.acf-field-object-acfe-column .acf-field-setting-warning,.acf-field-object-acfe-column .acf-field-setting-wrapper{display:none}.acf-field-object+.acf-field-object-acfe-column:before{display:block;content:"";height:5px;width:100%;background:#f9f9f9;border-bottom:1px solid #f0f0f0}.acf-field-object-acfe-column .li-field-name{visibility:hidden}.acf-field-setting-allow_terms>.acf-input>ul>li:first-of-type{width:calc(100% - 125px)}.acf-field-setting-allow_terms>.acf-input>ul>li:last-of-type{width:125px}#acf-field-group-locations .rule-groups>.rule-group>table>tbody>tr>td.value>.acf-field{margin:0}.acf-hl[data-cols="5"]>li{width:20%}.acf-hl[data-cols="6"]>li{width:16.667%}
|
1 |
+
.submitbox .misc-pub-acfe-field-group-key{padding-top:2px}.submitbox .misc-pub-acfe-field-group-key span{font-size:16px;color:#82878c;width:20px;margin-right:2px}.submitbox .misc-pub-acfe-field-group-key code{font-size:12px}.submitbox .misc-pub-acfe-field-group-export{padding-top:2px}.submitbox .misc-pub-acfe-field-group-export span{font-size:17px;color:#82878c;line-height:1.3;width:20px;margin-right:2px}.acf-fields .acf-field-tab{display:block!important;height:0;overflow:hidden;padding:0!important;border:0!important}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields,.acf-field-setting-acfe_hide>.acf-input>.acf-fields,.acf-field-setting-acfe_permissions>.acf-input>.acf-fields,.acf-field-setting-acfe_settings>.acf-input>.acf-fields,.acf-field-setting-acfe_settings>.acf-input>.acf-fields>.acf-field.acf-field-acfe-settings-rules-or,.acf-field-setting-acfe_update>.acf-input>.acf-fields,.acf-field-setting-acfe_update>.acf-input>.acf-fields>.acf-field.acf-field-acfe-update-functions,.acf-field-setting-acfe_validate>.acf-input>.acf-fields,.acf-field-setting-acfe_validate>.acf-input>.acf-fields>.acf-field.acf-field-acfe-validate-rules-or{border:0}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_hide>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_permissions>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_settings>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_update>.acf-input>.acf-fields>.acf-field,.acf-field-setting-acfe_validate>.acf-input>.acf-fields>.acf-field{padding:0}.acf-field-setting-acfe_field_data{display:none}.acf-field-hide-front.acfe_width_auto{margin-right:30px}.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field.acf-field-acfe-bidirectional-enabled>.acf-label,.acf-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field.acf-field-acfe-bidirectional-related>.acf-label,.acf-field-setting-acfe_settings>.acf-input>.acf-fields>.acf-field.acf-field-acfe-settings-activate>.acf-label,.acf-field-setting-acfe_update>.acf-input>.acf-fields>.acf-field.acf-field-acfe-update-activate>.acf-label,.acf-field-setting-acfe_validate>.acf-input>.acf-fields>.acf-field.acf-field-acfe-validate-activate>.acf-label{display:none}.acf-field-acfe-meta>.acf-input .acf-repeater.-empty.-table>table,.acf-field-setting-acfe_settings>.acf-input .acf-repeater.-empty.-table>table,.acf-field-setting-acfe_update>.acf-input .acf-repeater.-empty.-table>table,.acf-field-setting-acfe_validate>.acf-input .acf-repeater.-empty.-table>table{border:0;display:none}.acf-field-acfe-meta>.acf-input .acf-repeater.-empty.-table>table>thead,.acf-field-setting-acfe_settings>.acf-input .acf-repeater.-empty.-table>table>thead,.acf-field-setting-acfe_update>.acf-input .acf-repeater.-empty.-table>table>thead,.acf-field-setting-acfe_validate>.acf-input .acf-repeater.-empty.-table>table>thead{display:none}.acf-field-acfe-meta>.acf-input>.acf-repeater .acf-actions,.acf-field-setting-acfe_settings>.acf-input>.acf-repeater .acf-actions,.acf-field-setting-acfe_update>.acf-input>.acf-repeater .acf-actions,.acf-field-setting-acfe_validate>.acf-input>.acf-repeater .acf-actions{text-align:left}.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-field-setting-acfe_bidirectional>.acf-input>.acf-fields>.acf-field.acf-field-acfe-bidirectional-related{margin-left:10px}.acfe_width_auto{width:auto!important}.status-acf-disabled .column-title a,.status-acf-disabled .column-title code{color:#555!important}.status-acf-disabled .column-title strong{color:#a0a5aa}.column-acf-field-group-category{width:125px}td.acf-field-group-category a{word-wrap:break-word;padding:2px 5px;margin:0 1px;border-radius:2px;background:rgba(0,0,0,.06);color:#23282d}.column-acfe-location{width:100px}.column-acf-description,.column-acf-location{width:230px}#acf-field-group-wrap .wp-list-table .column-acf-fg-status{width:70px}#acf-field-group-wrap .wp-list-table .column-acf-fg-count,.post-type-acf-field-group .wp-list-table .column-acf-count{width:80px}.post-type-acf-field-group .wp-list-table .column-title .post-state{color:#a0a5aa}.column-title .acfe-key{color:#555;font-size:12px}.column-acfe-load{width:70px}.column-acfe-source{width:150px}.column-acfe-autosync-json,.column-acfe-autosync-php{width:90px;text-align:center!important}.column-acfe-autosync-json .secondary,.column-acfe-autosync-php .secondary{color:#ccc}.column-acfe-autosync-json .dashicons-warning,.column-acfe-autosync-php .dashicons-warning{font-size:15px;vertical-align:middle}.acf-field[data-name=acfe_autosync] .dashicons-warning{color:#ccc;font-size:15px;height:15px;vertical-align:text-bottom}.column-acfe-autosync-json .dashicons-update,.column-acfe-autosync-php .dashicons-update{font-size:18px}.column-acfe-autosync-json .dashicons+.dashicons-warning,.column-acfe-autosync-php .dashicons+.dashicons-warning{margin-left:-3px}.acf-field-image[data-name=acfe_flexible_thumbnail]>.acf-input>.acf-image-uploader.has-value>.show-if-value.image-wrap{max-width:85px!important}.acf-diff-content table.diff tbody tr td:nth-child(2){width:auto}body.acf-admin-5-3 .acf-field-setting-fc_layout .acf-input-wrap.select{border-color:#7e8993}body.acf-admin-5-3 .acf-field-setting-fc_layout .acf-input-wrap.select select{min-height:28px}.acfe-field-setting-flex>.acf-input>.acf-fields{display:-webkit-box;display:-ms-flexbox;display:flex;border:0}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child{padding:0;margin-right:10px}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child .acf-label{display:none}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field{padding-top:0;padding-bottom:0;padding-left:0;border-top:0;border-left:0!important}.acfe-field-setting-flex>.acf-input>.acf-fields>.acf-field:first-child~.acf-field[data-type=true_false]{padding-top:2px}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_category],.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_settings_label],.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field[data-name=acfe_flexible_thumbnail],.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta>.acf-fc-meta-label:first-of-type{margin:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting{margin:15px 0 0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-input,.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-input label,.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-label,.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting>.acf-label label{margin:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-bottom:0;margin-top:10px}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul{margin:0;width:50%}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul:first-child+ul{border-left:0;margin-left:10px}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting+li>ul>.acf-input{margin-bottom:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li>ul{-webkit-box-flex:1;-ms-flex:1;flex:1;margin:10px 0 0;width:100%}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li>ul:first-child{margin-top:0}.acf-field-setting-fc_layout>.acf-input>.acf-fc-meta .acf-field.acfe-flexible-field-setting.acfe-flexible-field-setting-row+li>ul:first-child+ul{margin-left:0}.acf-field-setting-fc_layout .select2-container--default .select2-selection--multiple li{margin-bottom:0}.acf-field-object-acfe-column .acf-field-setting-instructions,.acf-field-object-acfe-column .acf-field-setting-label,.acf-field-object-acfe-column .acf-field-setting-name,.acf-field-object-acfe-column .acf-field-setting-required,.acf-field-object-acfe-column .acf-field-setting-warning,.acf-field-object-acfe-column .acf-field-setting-wrapper{display:none}.acf-field-object-acfe-column .li-field-name{visibility:hidden}.acf-field-object-acfe-column.open>.handle a span{color:#fff}.acf-field-object+.acf-field-object-acfe-column:before{display:block;content:"";height:5px;width:100%;background:#f9f9f9;border-bottom:1px solid #f0f0f0}.acf-field-setting-allow_terms>.acf-input>ul>li:first-of-type{width:calc(100% - 125px)}.acf-field-setting-allow_terms>.acf-input>ul>li:last-of-type{width:125px}#acf-field-group-locations .rule-groups>.rule-group>table>tbody>tr>td.value>.acf-field{margin:0}.acf-hl[data-cols="5"]>li{width:20%}.acf-hl[data-cols="6"]>li{width:16.667%}
|
assets/css/acfe-input.css
CHANGED
@@ -27,11 +27,7 @@
|
|
27 |
}
|
28 |
|
29 |
.acf-field-flexible-content[data-acfe-flexible-lock="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle {
|
30 |
-
cursor:
|
31 |
-
}
|
32 |
-
|
33 |
-
.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 {
|
34 |
-
cursor: initial
|
35 |
}
|
36 |
|
37 |
.acf-fc-popup.top.acfe-fc-popup-grey:before {
|
@@ -331,7 +327,8 @@ body:not(.acf-admin-5-3) .layout>.acfe-fc-placeholder>a span {
|
|
331 |
}
|
332 |
|
333 |
.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic:before {
|
334 |
-
margin-left: 1px
|
|
|
335 |
}
|
336 |
|
337 |
.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-duplicate,
|
@@ -362,10 +359,6 @@ body:not(.acf-admin-5-3) .layout>.acfe-fc-placeholder>a span {
|
|
362 |
background: #f5f5f5
|
363 |
}
|
364 |
|
365 |
-
.acf-flexible-content[data-acfe-flexible-lock="1"] .layout .acf-fc-layout-handle {
|
366 |
-
cursor: initial
|
367 |
-
}
|
368 |
-
|
369 |
.acf-field-acfe-flexible-layout-title {
|
370 |
display: none
|
371 |
}
|
@@ -912,6 +905,18 @@ form.acfe-form.is-invalid[data-errors-position=below] .acf-field .acf-notice {
|
|
912 |
padding: 0
|
913 |
}
|
914 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
915 |
.acf-media-modal .screen-reader-text,
|
916 |
.acf-media-modal .screen-reader-text span,
|
917 |
.acf-media-modal .ui-helper-hidden-accessible {
|
27 |
}
|
28 |
|
29 |
.acf-field-flexible-content[data-acfe-flexible-lock="1"]>.acf-input>.acf-flexible-content>.values>.layout>.acf-fc-layout-handle {
|
30 |
+
cursor: pointer
|
|
|
|
|
|
|
|
|
31 |
}
|
32 |
|
33 |
.acf-fc-popup.top.acfe-fc-popup-grey:before {
|
327 |
}
|
328 |
|
329 |
.acf-flexible-content .layout .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic:before {
|
330 |
+
margin-left: 1px;
|
331 |
+
line-height: .9
|
332 |
}
|
333 |
|
334 |
.acf-flexible-content .layout.-hover .acf-fc-layout-controls .acf-icon.-duplicate,
|
359 |
background: #f5f5f5
|
360 |
}
|
361 |
|
|
|
|
|
|
|
|
|
362 |
.acf-field-acfe-flexible-layout-title {
|
363 |
display: none
|
364 |
}
|
905 |
padding: 0
|
906 |
}
|
907 |
|
908 |
+
.acf-fields.acfe-column-wrapper>.acfe-flexible-opened-actions {
|
909 |
+
width: 100%
|
910 |
+
}
|
911 |
+
|
912 |
+
.acf-postbox.seamless>.inside.acfe-column-wrapper {
|
913 |
+
display: -webkit-box !important;
|
914 |
+
display: -ms-flexbox !important;
|
915 |
+
display: flex !important;
|
916 |
+
-ms-flex-wrap: wrap !important;
|
917 |
+
flex-wrap: wrap !important
|
918 |
+
}
|
919 |
+
|
920 |
.acf-media-modal .screen-reader-text,
|
921 |
.acf-media-modal .screen-reader-text span,
|
922 |
.acf-media-modal .ui-helper-hidden-accessible {
|
assets/css/acfe-input.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.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,.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;-webkit-box-shadow:none;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%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border-color:#ccd0d4;color:#23282d;border-radius:100px;-webkit-box-shadow:none;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{-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.layout>.acfe-fc-placeholder>a:focus{border-color:#ccc;-webkit-box-shadow:none;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%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-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);-webkit-transition:background-color .2s linear;-o-transition:background-color .2s linear;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%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-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:2px dashed #ccc;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 .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic,.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: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;-webkit-box-shadow:none!important;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.-loading *{cursor:wait!important}.acf-field .acf-label label{font-weight:600}.acf-field p.description{word-break:break-word}.acf-fields.-left>.acf-field>.acf-label,.acfe-postbox-left>.inside>.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[data-instruction-tooltip]:not([data-instruction-placement])>.acf-input>p.description,.acf-field[data-instruction-tooltip]:not([data-instruction-placement])>.acf-label>p.description{display:none}.acf-field .acf-input>p.description:first-child{margin-top:0;margin-bottom:5px}.acf-field p.description>.more,.acf-field-acfe-hidden,.acf-field[data-instruction-above-field]:not([data-instruction-placement])>.acf-label>p.description{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}body .CodeMirror-wrap pre{word-break:break-all}.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 0 0 1px;margin:-15px 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,.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:-15px -10px}tr.acf-field.acf-field-group.acfe-seamless-style.acfe-field-group-layout-table>td.acf-input{padding:0;margin:-15px 0}tr.acf-field.acf-field-group.acfe-seamless-style.acfe-field-group-layout-table>td.acf-input>.acf-table,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 0 0 1px;margin:-15px 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,.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:-15px -10px}tr.acf-field.acf-field-clone.acfe-seamless-style.acfe-field-clone-layout-table>td.acf-input{padding:0;margin:-15px 0}tr.acf-field.acf-field-clone.acfe-seamless-style.acfe-field-clone-layout-table>td.acf-input>.acf-table,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 .acf-input .acf-radio-list.acf-bl li>strong,.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+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{-webkit-box-shadow:none;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,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.acfe-column-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.acf-fields.acfe-column-wrapper>.acf-field{width:100%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0;border-top-width:0}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-endpoint="1"]{width:100%;border-top:1px solid #eee}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-endpoint="1"]+.acf-field:not(.acf-field-acfe-column),.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-endpoint="1"]:last-child{border-top:none}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="1/12"]{width:8.333333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="2/12"]{width:16.66666%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"]{width:25%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="4/12"]{width:33.33333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="5/12"]{width:41.66667%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="6/12"]{width:50%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="7/12"]{width:58.33333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="8/12"]{width:66.66666%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:75%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="10/12"]{width:83.33333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="11/12"]{width:91.66667%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="12/12"]{width:100%;border-right:0}@media only screen and (max-width:1024px){.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="1/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="10/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="11/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="2/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="4/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="5/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="7/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="8/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:50%}}@media only screen and (max-width:640px){.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="1/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="10/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="11/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="12/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="2/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="4/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="5/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="6/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="7/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="8/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:100%}}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column>.acf-input>.acf-fields>.acf-field{border-top-width:0}.acf-fields.acfe-column-wrapper.-left>.acf-field.acf-field-acfe-column>.acf-input{float:none;width:auto;margin:0;padding:0}.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;-webkit-box-sizing:border-box;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;-webkit-box-shadow:none;box-shadow:none;border-radius:3px;padding:0 24px 0 8px;min-height:30px;max-width:25rem;-webkit-appearance:none;background: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') right 5px top 55%/16px 16px no-repeat #fff}.acf-ui-datepicker .ui-datepicker table{font-size:13px;margin:0 0 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;-webkit-box-shadow:none;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: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') right 5px top 55%/16px 16px no-repeat #fff!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;-webkit-appearance:none;border-radius:3px;font-weight:400!important;white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;color:#0071a1!important;background:#f3f5f6!important;vertical-align:top;-webkit-box-shadow:none!important;box-shadow:none!important;outline:0!important;opacity:unset!important;-webkit-filter:unset!important;filter:unset!important;border:1px solid #0071a1!important}.acf-ui-datepicker .ui-datepicker-buttonpane button:hover{background:#f1f1f1!important;border-color:#016087!important;color:#016087!important}.mce-toolbar .mce-btn-group:not(:first-child){margin-left:6px;padding-left:6px}body .medium-editor-toolbar{z-index:999999!important}.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:2px dashed #ccc;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 |
+
.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:pointer}.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;-webkit-box-shadow:none;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%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border-color:#ccd0d4;color:#23282d;border-radius:100px;-webkit-box-shadow:none;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{-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.layout>.acfe-fc-placeholder>a:focus{border-color:#ccc;-webkit-box-shadow:none;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%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-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);-webkit-transition:background-color .2s linear;-o-transition:background-color .2s linear;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%;-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-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:2px dashed #ccc;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 .acf-icon.acfe-flexible-icon.dashicons.dashicons-admin-generic,.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:before{margin-left:1px;line-height:.9}.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-field-acfe-flexible-layout-title{display:none}input.acfe-flexible-control-title{border:none;-webkit-box-shadow:none!important;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.-loading *{cursor:wait!important}.acf-field .acf-label label{font-weight:600}.acf-field p.description{word-break:break-word}.acf-fields.-left>.acf-field>.acf-label,.acfe-postbox-left>.inside>.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[data-instruction-tooltip]:not([data-instruction-placement])>.acf-input>p.description,.acf-field[data-instruction-tooltip]:not([data-instruction-placement])>.acf-label>p.description{display:none}.acf-field .acf-input>p.description:first-child{margin-top:0;margin-bottom:5px}.acf-field p.description>.more,.acf-field-acfe-hidden,.acf-field[data-instruction-above-field]:not([data-instruction-placement])>.acf-label>p.description{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}body .CodeMirror-wrap pre{word-break:break-all}.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 0 0 1px;margin:-15px 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,.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:-15px -10px}tr.acf-field.acf-field-group.acfe-seamless-style.acfe-field-group-layout-table>td.acf-input{padding:0;margin:-15px 0}tr.acf-field.acf-field-group.acfe-seamless-style.acfe-field-group-layout-table>td.acf-input>.acf-table,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 0 0 1px;margin:-15px 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,.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:-15px -10px}tr.acf-field.acf-field-clone.acfe-seamless-style.acfe-field-clone-layout-table>td.acf-input{padding:0;margin:-15px 0}tr.acf-field.acf-field-clone.acfe-seamless-style.acfe-field-clone-layout-table>td.acf-input>.acf-table,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 .acf-input .acf-radio-list.acf-bl li>strong,.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+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{-webkit-box-shadow:none;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,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.acfe-column-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.acf-fields.acfe-column-wrapper>.acf-field{width:100%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0;border-top-width:0}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-endpoint="1"]{width:100%;border-top:1px solid #eee}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-endpoint="1"]+.acf-field:not(.acf-field-acfe-column),.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-endpoint="1"]:last-child{border-top:none}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="1/12"]{width:8.333333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="2/12"]{width:16.66666%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"]{width:25%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="4/12"]{width:33.33333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="5/12"]{width:41.66667%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="6/12"]{width:50%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="7/12"]{width:58.33333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="8/12"]{width:66.66666%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:75%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="10/12"]{width:83.33333%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="11/12"]{width:91.66667%}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="12/12"]{width:100%;border-right:0}@media only screen and (max-width:1024px){.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="1/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="10/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="11/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="2/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="4/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="5/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="7/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="8/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:50%}}@media only screen and (max-width:640px){.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="1/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="10/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="11/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="12/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="2/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="3/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="4/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="5/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="6/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="7/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="8/12"],.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column[data-columns="9/12"]{width:100%}}.acf-fields.acfe-column-wrapper>.acf-field.acf-field-acfe-column>.acf-input>.acf-fields>.acf-field{border-top-width:0}.acf-fields.acfe-column-wrapper.-left>.acf-field.acf-field-acfe-column>.acf-input{float:none;width:auto;margin:0;padding:0}.acf-fields.acfe-column-wrapper>.acfe-flexible-opened-actions{width:100%}.acf-postbox.seamless>.inside.acfe-column-wrapper{display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.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;-webkit-box-sizing:border-box;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;-webkit-box-shadow:none;box-shadow:none;border-radius:3px;padding:0 24px 0 8px;min-height:30px;max-width:25rem;-webkit-appearance:none;background: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') right 5px top 55%/16px 16px no-repeat #fff}.acf-ui-datepicker .ui-datepicker table{font-size:13px;margin:0 0 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;-webkit-box-shadow:none;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: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') right 5px top 55%/16px 16px no-repeat #fff!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;-webkit-appearance:none;border-radius:3px;font-weight:400!important;white-space:nowrap;-webkit-box-sizing:border-box;box-sizing:border-box;color:#0071a1!important;background:#f3f5f6!important;vertical-align:top;-webkit-box-shadow:none!important;box-shadow:none!important;outline:0!important;opacity:unset!important;-webkit-filter:unset!important;filter:unset!important;border:1px solid #0071a1!important}.acf-ui-datepicker .ui-datepicker-buttonpane button:hover{background:#f1f1f1!important;border-color:#016087!important;color:#016087!important}.mce-toolbar .mce-btn-group:not(:first-child){margin-left:6px;padding-left:6px}body .medium-editor-toolbar{z-index:999999!important}.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:2px dashed #ccc;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}
|
assets/css/acfe-ui.css
CHANGED
@@ -692,7 +692,54 @@ body:not(.taxonomy-product_cat):not(.woocommerce-page) .wrap {
|
|
692 |
|
693 |
.edit-tags-php #col-left .col-wrap #poststuff #addtag .submit {
|
694 |
display: block;
|
695 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
696 |
}
|
697 |
|
698 |
.edit-tags-php #col-container #col-right {
|
692 |
|
693 |
.edit-tags-php #col-left .col-wrap #poststuff #addtag .submit {
|
694 |
display: block;
|
695 |
+
position: relative;
|
696 |
+
margin: 0;
|
697 |
+
padding: 15px 12px;
|
698 |
+
border-top: #eee solid 1px;
|
699 |
+
padding-left: 20%
|
700 |
+
}
|
701 |
+
|
702 |
+
.edit-tags-php #col-left .col-wrap #poststuff #addtag .submit::before {
|
703 |
+
content: "";
|
704 |
+
display: block;
|
705 |
+
position: absolute;
|
706 |
+
z-index: 0;
|
707 |
+
background: #f9f9f9;
|
708 |
+
border-color: #e1e1e1;
|
709 |
+
border-style: solid;
|
710 |
+
border-width: 0 1px 0 0;
|
711 |
+
top: 0;
|
712 |
+
bottom: 0;
|
713 |
+
left: 0;
|
714 |
+
width: 20%
|
715 |
+
}
|
716 |
+
|
717 |
+
.edit-tags-php #col-left .col-wrap #poststuff #addtag .submit::after {
|
718 |
+
content: "";
|
719 |
+
display: block;
|
720 |
+
clear: both
|
721 |
+
}
|
722 |
+
|
723 |
+
.edit-tags-php #col-left .col-wrap #poststuff #addtag .submit>.acf-input {
|
724 |
+
vertical-align: top;
|
725 |
+
float: left;
|
726 |
+
width: 80%;
|
727 |
+
margin: 0;
|
728 |
+
padding: 0 12px
|
729 |
+
}
|
730 |
+
|
731 |
+
@media screen and (max-width:640px) {
|
732 |
+
.edit-tags-php #col-left .col-wrap #poststuff #addtag .submit {
|
733 |
+
padding: 15px 0
|
734 |
+
}
|
735 |
+
|
736 |
+
.edit-tags-php #col-left .col-wrap #poststuff #addtag .submit::before {
|
737 |
+
display: none
|
738 |
+
}
|
739 |
+
|
740 |
+
.edit-tags-php #col-left .col-wrap #poststuff #addtag .submit>.acf-input {
|
741 |
+
width: 100%
|
742 |
+
}
|
743 |
}
|
744 |
|
745 |
.edit-tags-php #col-container #col-right {
|
assets/css/acfe-ui.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
body:not(.taxonomy-product_cat):not(.woocommerce-page) .wrap{padding-top:0!important}.wrap{min-width:auto!important}@media only screen and (min-width:782px){.wrap:not(#poststuff) form#createuser,.wrap:not(#poststuff) form#edittag,.wrap:not(#poststuff) form#your-profile,.wrap:not(#poststuff) form[action="options-permalink.php"],.wrap:not(#poststuff) form[action="options.php"]{max-width:calc(100% - 300px)!important;position:relative}.wrap:not(#poststuff) form#createuser .edit-tag-actions,.wrap:not(#poststuff) form#createuser p.submit,.wrap:not(#poststuff) form#edittag .edit-tag-actions,.wrap:not(#poststuff) form#edittag p.submit,.wrap:not(#poststuff) form#your-profile .edit-tag-actions,.wrap:not(#poststuff) form#your-profile p.submit,.wrap:not(#poststuff) form[action="options-permalink.php"] .edit-tag-actions,.wrap:not(#poststuff) form[action="options-permalink.php"] p.submit,.wrap:not(#poststuff) form[action="options.php"] .edit-tag-actions,.wrap:not(#poststuff) form[action="options.php"] p.submit{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;top:37px;width:280px;right:-300px;padding:10px;margin:0;background:#f5f5f5;text-align:right;border:1px solid #ccd0d4;border-radius:0;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.wrap:not(#poststuff) form#createuser .edit-tag-actions::before,.wrap:not(#poststuff) form#createuser p.submit::before,.wrap:not(#poststuff) form#edittag .edit-tag-actions::before,.wrap:not(#poststuff) form#edittag p.submit::before,.wrap:not(#poststuff) form#your-profile .edit-tag-actions::before,.wrap:not(#poststuff) form#your-profile p.submit::before,.wrap:not(#poststuff) form[action="options-permalink.php"] .edit-tag-actions::before,.wrap:not(#poststuff) form[action="options-permalink.php"] p.submit::before,.wrap:not(#poststuff) form[action="options.php"] .edit-tag-actions::before,.wrap:not(#poststuff) form[action="options.php"] p.submit::before{-webkit-box-sizing:border-box;box-sizing:border-box;content:"";background:#fff;border:1px solid #ccd0d4;border-bottom:0;position:absolute;width:280px;top:-38px;height:37px;left:-1px}.wrap:not(#poststuff) form#createuser .edit-tag-actions .button,.wrap:not(#poststuff) form#createuser p.submit .button,.wrap:not(#poststuff) form#edittag .edit-tag-actions .button,.wrap:not(#poststuff) form#edittag p.submit .button,.wrap:not(#poststuff) form#your-profile .edit-tag-actions .button,.wrap:not(#poststuff) form#your-profile p.submit .button,.wrap:not(#poststuff) form[action="options-permalink.php"] .edit-tag-actions .button,.wrap:not(#poststuff) form[action="options-permalink.php"] p.submit .button,.wrap:not(#poststuff) form[action="options.php"] .edit-tag-actions .button,.wrap:not(#poststuff) form[action="options.php"] p.submit .button{min-height:32px;line-height:2.30769231;padding:0 12px}.wrap:not(#poststuff) form#createuser .edit-tag-actions #delete-link,.wrap:not(#poststuff) form#createuser p.submit #delete-link,.wrap:not(#poststuff) form#edittag .edit-tag-actions #delete-link,.wrap:not(#poststuff) form#edittag p.submit #delete-link,.wrap:not(#poststuff) form#your-profile .edit-tag-actions #delete-link,.wrap:not(#poststuff) form#your-profile p.submit #delete-link,.wrap:not(#poststuff) form[action="options-permalink.php"] .edit-tag-actions #delete-link,.wrap:not(#poststuff) form[action="options-permalink.php"] p.submit #delete-link,.wrap:not(#poststuff) form[action="options.php"] .edit-tag-actions #delete-link,.wrap:not(#poststuff) form[action="options.php"] p.submit #delete-link{float:left;margin:0;text-decoration:underline}}.wrap>form:not(.search-form){margin-top:13px;max-width:100%!important}.wrap>form>div>div>h2,.wrap>form>div>div>h3,.wrap>form>h2,.wrap>form>h3{background:#fff;border:1px solid #ccd0d4;border-bottom:0;margin:0;color:#23282d;font-size:14px;padding:8px 12px;line-height:1.4}.wrap>form>div>div>h2+p,.wrap>form>div>div>h3+p,.wrap>form>h2+p,.wrap>form>h3+p{margin:0;border:1px solid #ccd0d4;border-bottom:0;padding:15px 12px}.wrap>form>div>div>h2+.form-table,.wrap>form>div>div>h2+p+.form-table,.wrap>form>div>div>h3+.form-table,.wrap>form>div>div>h3+p+.form-table,.wrap>form>h2+.form-table,.wrap>form>h2+p+.form-table,.wrap>form>h3+.form-table,.wrap>form>h3+p+.form-table{margin-top:0}.wrap>form .form-table{background:#fff;width:100%;border:1px solid #ccd0d4;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);margin-bottom:20px}.wrap>form .form-table>tbody>tr.acf-field{position:initial}.wrap>form .form-table>tbody>tr.acf-tab-wrap>td{background:#f9f9f9;padding:15px 0 0}.wrap>form .form-table>tbody>tr.acf-tab-wrap>td ul.acf-tab-group{border-bottom:0;padding:0 0 0 20%}.wrap>form .form-table>tbody>tr.acf-tab-wrap>td ul.acf-tab-group>li.active a{background:#fff}.wrap>form .form-table>tbody>tr>td{background:#fff;border-top:1px solid #eee;position:initial;padding:15px 12px}.wrap>form .form-table>tbody>tr>td.td-full{padding:15px 12px}.wrap>form .form-table>tbody>tr>td p{font-size:13px}.wrap>form .form-table>tbody>tr>td.acf-label,.wrap>form .form-table>tbody>tr>th{border-top:1px solid #eee;border-right:1px solid #e1e1e1;background:#f9f9f9;padding:15px 12px;width:20%;font-size:13px;position:initial;color:#444}.wrap>form .form-table>tbody>tr>td.acf-label label,.wrap>form .form-table>tbody>tr>th label{vertical-align:top}.wrap>form .form-table>tbody>tr:first-of-type td,.wrap>form .form-table>tbody>tr:first-of-type th{border-top:1px solid #ccd0d4}.wrap>form .form-table textarea{width:100%}.wrap>form .form-table .regular-text{width:100%;max-width:25em}@media only screen and (max-width:782px){.wrap>form>div>div>h2,.wrap>form>div>div>h3,.wrap>form>h2,.wrap>form>h3{padding:12px}.wrap>form table.form-table>tbody>tr{display:block;padding:15px 12px;border-top:1px solid #eee}.wrap>form table.form-table>tbody>tr>td.acf-label,.wrap>form table.form-table>tbody>tr>th{margin-bottom:10px}.wrap>form table.form-table>tbody>tr>td,.wrap>form table.form-table>tbody>tr>td.acf-label,.wrap>form table.form-table>tbody>tr>th{padding:0;display:block;width:auto;background:0 0;border:0!important}.wrap>form table.form-table>tbody>tr:first-child{border-top:0}}.wrap #titlediv{margin-bottom:10px}.wrap #titlediv input{padding:3px 8px;font-size:1.7em;line-height:100%;height:1.7em;width:100%;outline:0;margin:0 0 3px;background-color:#fff}.wrap .postbox .hndle{cursor:auto;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.wrap .postbox .handle-actions button,.wrap .postbox .handle-actions span{display:none}.wrap .postbox .handle-actions .acf-hndle-cog{width:2.2rem}.wrap #submitdiv #major-publishing-actions{border-top:0}.wrap #submitdiv #major-publishing-actions #publishing-action{float:none;margin:0}.wrap #submitdiv #major-publishing-actions #publishing-action .button{float:right}.wrap #submitdiv #major-publishing-actions #publishing-action .spinner{margin:5px 10px 0}.wrap #submitdiv #major-publishing-actions #publishing-action #delete-link{float:left;margin-left:0}.wrap #submitdiv #major-publishing-actions #publishing-action #delete-link a{text-decoration:underline}.wrap form#createuser .acf-field input[type=email],.wrap form#createuser .acf-field input[type=number],.wrap form#createuser .acf-field input[type=password],.wrap form#createuser .acf-field input[type=search],.wrap form#createuser .acf-field input[type=text],.wrap form#createuser .acf-field input[type=url],.wrap form#createuser .acf-field select,.wrap form#your-profile .acf-field input[type=email],.wrap form#your-profile .acf-field input[type=number],.wrap form#your-profile .acf-field input[type=password],.wrap form#your-profile .acf-field input[type=search],.wrap form#your-profile .acf-field input[type=text],.wrap form#your-profile .acf-field input[type=url],.wrap form#your-profile .acf-field select{max-width:100%}.wrap form#createuser .acf-field textarea,.wrap form#your-profile .acf-field textarea{width:100%;max-width:none}.wrap form#createuser .acf-tab-wrap,.wrap form#your-profile .acf-tab-wrap{position:relative}.wrap form#createuser select#ure_select_other_roles,.wrap form#createuser select#ure_select_other_roles+.ms-parent,.wrap form#your-profile select#ure_select_other_roles,.wrap form#your-profile select#ure_select_other_roles+.ms-parent{width:100%!important;max-width:500px!important}.wrap form#createuser select#ure_select_other_roles+.ms-parent .ms-choice,.wrap form#your-profile select#ure_select_other_roles+.ms-parent .ms-choice{-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;border-radius:3px;border:1px solid #7e8993;color:#32373c;padding:4px 8px;margin:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;line-height:2.1;min-height:30px;background: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') right 5px top 55%/16px 16px no-repeat #fff;cursor:pointer}.wrap form#createuser select#ure_select_other_roles+.ms-parent .ms-choice>span.placeholder,.wrap form#your-profile select#ure_select_other_roles+.ms-parent .ms-choice>span.placeholder{color:#32373c}.wrap form#createuser select#ure_select_other_roles+.ms-parent .ms-choice>div,.wrap form#your-profile select#ure_select_other_roles+.ms-parent .ms-choice>div{display:none}.wrap form#createuser .yoast-settings,.wrap form#your-profile .yoast-settings{padding:0;margin-bottom:20px;font-size:13px}.wrap form#createuser .yoast-settings h2,.wrap form#your-profile .yoast-settings h2{margin:0}.wrap form#createuser .yoast-settings label,.wrap form#your-profile .yoast-settings label{margin:0;padding:0;width:auto;font-size:13px;color:#444;line-height:1.7}.wrap form#createuser .yoast-settings .description,.wrap form#your-profile .yoast-settings .description{font-size:13px;margin:0 0 5px;color:#666}.wrap form#createuser .yoast-settings input,.wrap form#createuser .yoast-settings textarea,.wrap form#your-profile .yoast-settings input,.wrap form#your-profile .yoast-settings textarea{margin:0}.wrap form#createuser .yoast-settings textarea,.wrap form#your-profile .yoast-settings textarea{margin-bottom:10px}.wrap form#createuser .yoast-settings input[type=checkbox],.wrap form#your-profile .yoast-settings input[type=checkbox]{margin-right:5px;vertical-align:-6px}.wrap form#createuser .form-table[role=presentation] tr.user-language-wrap th[colspan="2"],.wrap form#your-profile .form-table[role=presentation] tr.user-language-wrap th[colspan="2"]{display:none}.wrap form#addtag .acf-fields.-left>.acf-field,.wrap form#edittag .acf-fields.-left>.acf-field{padding-left:0}.wrap form#addtag .acf-fields.-left>.acf-field.acfe-bt-no-label,.wrap form#edittag .acf-fields.-left>.acf-field.acfe-bt-no-label{padding-left:20%}@media only screen and (max-width:640px){.wrap form#addtag .acf-fields.-left>.acf-field.acfe-bt-no-label,.wrap form#edittag .acf-fields.-left>.acf-field.acfe-bt-no-label{padding-left:0}}.wrap form#addtag .acf-fields.-left>.acf-field::before,.wrap form#edittag .acf-fields.-left>.acf-field::before{width:20%}.wrap form#addtag .acf-fields.-left>.acf-field>.acf-label,.wrap form#edittag .acf-fields.-left>.acf-field>.acf-label{width:20%;margin-left:0;padding:0 12px}.wrap form#addtag .acf-fields.-left>.acf-field>.acf-label label,.wrap form#edittag .acf-fields.-left>.acf-field>.acf-label label{color:#444}.wrap form#addtag .acf-fields.-left>.acf-field>.acf-input,.wrap form#edittag .acf-fields.-left>.acf-field>.acf-input{padding:0 12px}.wrap form#addtag .form-field p,.wrap form#addtag .form-field select,.wrap form#edittag .form-field p,.wrap form#edittag .form-field select{max-width:100%}.wrap form#addtag .form-field input[type=email],.wrap form#addtag .form-field input[type=number],.wrap form#addtag .form-field input[type=password],.wrap form#addtag .form-field input[type=search],.wrap form#addtag .form-field input[type=tel],.wrap form#addtag .form-field input[type=text],.wrap form#addtag .form-field input[type=url],.wrap form#addtag .form-field select,.wrap form#addtag .form-field textarea,.wrap form#edittag .form-field input[type=email],.wrap form#edittag .form-field input[type=number],.wrap form#edittag .form-field input[type=password],.wrap form#edittag .form-field input[type=search],.wrap form#edittag .form-field input[type=tel],.wrap form#edittag .form-field input[type=text],.wrap form#edittag .form-field input[type=url],.wrap form#edittag .form-field select,.wrap form#edittag .form-field textarea{width:100%}.wrap form#edittag .acf-column-1>#wp-description-wrap{display:none}.wrap form#edittag .postbox.wpseo-taxonomy-metabox-postbox>h2{border-bottom:1px solid #ccd0d4}.wrap form#edittag tr.wpml-term-languages-wrap{display:none}.wrap form#edittag #icl-tax-postbox .inside{margin:0;padding:15px 12px}.wrap form#edittag #icl-tax-postbox .inside table.icl_translations_table{width:100%}.wrap .rank-math-metabox-frame{max-width:100%}.wrap .rankmath>.acf-fields>.acf-field>.acf-input{padding:0 0 0 1px!important}.wrap .rankmath>.acf-fields>.acf-field>.acf-input>.rank-math-metabox-frame{margin:-15px 0;border:0}.wrap #add-term-translations,.wrap #edit-term-translations{border:none;width:100%}.wrap #select-add-term-language select,.wrap #select-edit-term-language select{width:auto!important;padding-right:25px}.wrap #select-add-term-language p.description,.wrap #select-add-term-language+p,.wrap #select-edit-term-language p.description,.wrap #select-edit-term-language+p{display:none}.wrap #term-translations>p{position:relative;width:20%;padding:0 12px;float:left;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;font-size:13px;font-weight:600;color:#444}.wrap #term-translations>.icl_subsubsub{position:relative;width:20%;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 12px;float:left}.wrap #term-translations #add-term-translations{width:80%;position:relative;float:left;clear:none;background:0 0;padding:0 12px}.wrap #term-translations #add-term-translations td.pll-translation-column{padding-left:0;padding-right:0}.wrap #term-translations #add-term-translations td,.wrap #term-translations #add-term-translations th{padding-top:4px;padding-bottom:4px}.wrap #term-translations #add-term-translations tr:first-of-type td,.wrap #term-translations #add-term-translations tr:first-of-type th{padding-top:0}.wrap #term-translations #add-term-translations tr:last-of-type td,.wrap #term-translations #add-term-translations tr:last-of-type th{padding-bottom:0}.wrap #term-translations #edit-term-translations td,.wrap #term-translations #edit-term-translations th{padding-top:2px;padding-bottom:2px}.wrap #term-translations #edit-term-translations tr:first-of-type td,.wrap #term-translations #edit-term-translations tr:first-of-type th{padding-top:0}.wrap #term-translations #edit-term-translations tr:last-of-type td,.wrap #term-translations #edit-term-translations tr:last-of-type th{padding-bottom:0}.wrap #acf-group_term>.acf-fields>.rank-math-metabox-frame.acf-field,.wrap #acf-group_term>.acf-fields>.yoast-settings-table.acf-field,.wrap #acf-group_term>.acf-fields>table.acf-field,.wrap #acf-group_user>.acf-fields>.rank-math-metabox-frame.acf-field,.wrap #acf-group_user>.acf-fields>.yoast-settings-table.acf-field,.wrap #acf-group_user>.acf-fields>table.acf-field,.wrap #acf-group_user_customer>.acf-fields>.rank-math-metabox-frame.acf-field,.wrap #acf-group_user_customer>.acf-fields>.yoast-settings-table.acf-field,.wrap #acf-group_user_customer>.acf-fields>table.acf-field{border:none;margin-bottom:0}.wrap #acf-group_term>.acf-fields>.rank-math-metabox-frame.acf-field::before,.wrap #acf-group_term>.acf-fields>.yoast-settings-table.acf-field::before,.wrap #acf-group_term>.acf-fields>table.acf-field::before,.wrap #acf-group_user>.acf-fields>.rank-math-metabox-frame.acf-field::before,.wrap #acf-group_user>.acf-fields>.yoast-settings-table.acf-field::before,.wrap #acf-group_user>.acf-fields>table.acf-field::before,.wrap #acf-group_user_customer>.acf-fields>.rank-math-metabox-frame.acf-field::before,.wrap #acf-group_user_customer>.acf-fields>.yoast-settings-table.acf-field::before,.wrap #acf-group_user_customer>.acf-fields>table.acf-field::before{content:unset}.wrap #acf-group_term>.acf-fields>.rank-math-metabox-frame.acf-field>tbody>tr:first-of-type>td,.wrap #acf-group_term>.acf-fields>.rank-math-metabox-frame.acf-field>tbody>tr:first-of-type>th,.wrap #acf-group_term>.acf-fields>.yoast-settings-table.acf-field>tbody>tr:first-of-type>td,.wrap #acf-group_term>.acf-fields>.yoast-settings-table.acf-field>tbody>tr:first-of-type>th,.wrap #acf-group_term>.acf-fields>table.acf-field>tbody>tr:first-of-type>td,.wrap #acf-group_term>.acf-fields>table.acf-field>tbody>tr:first-of-type>th,.wrap #acf-group_user>.acf-fields>.rank-math-metabox-frame.acf-field>tbody>tr:first-of-type>td,.wrap #acf-group_user>.acf-fields>.rank-math-metabox-frame.acf-field>tbody>tr:first-of-type>th,.wrap #acf-group_user>.acf-fields>.yoast-settings-table.acf-field>tbody>tr:first-of-type>td,.wrap #acf-group_user>.acf-fields>.yoast-settings-table.acf-field>tbody>tr:first-of-type>th,.wrap #acf-group_user>.acf-fields>table.acf-field>tbody>tr:first-of-type>td,.wrap #acf-group_user>.acf-fields>table.acf-field>tbody>tr:first-of-type>th,.wrap #acf-group_user_customer>.acf-fields>.rank-math-metabox-frame.acf-field>tbody>tr:first-of-type>td,.wrap #acf-group_user_customer>.acf-fields>.rank-math-metabox-frame.acf-field>tbody>tr:first-of-type>th,.wrap #acf-group_user_customer>.acf-fields>.yoast-settings-table.acf-field>tbody>tr:first-of-type>td,.wrap #acf-group_user_customer>.acf-fields>.yoast-settings-table.acf-field>tbody>tr:first-of-type>th,.wrap #acf-group_user_customer>.acf-fields>table.acf-field>tbody>tr:first-of-type>td,.wrap #acf-group_user_customer>.acf-fields>table.acf-field>tbody>tr:first-of-type>th{border-top:0}.wrap #acf-group_term>.acf-fields>.rank-math-metabox-frame.acf-field,.wrap #acf-group_user>.acf-fields>.rank-math-metabox-frame.acf-field,.wrap #acf-group_user_customer>.acf-fields>.rank-math-metabox-frame.acf-field{padding:0}.edit-tags-php #col-left{display:none;float:none;width:100%}.edit-tags-php #col-left .col-wrap{padding:0}.edit-tags-php #col-left .col-wrap #poststuff{min-width:100%}.edit-tags-php #col-left .col-wrap #poststuff #addtag h2.hndle{border-bottom:1px solid #ccd0d4}.edit-tags-php #col-left .col-wrap #poststuff #addtag .inside .term-name-wrap{border-top:none}.edit-tags-php #col-left .col-wrap #poststuff #addtag .submit{display:block;margin:0}.edit-tags-php #col-container #col-right{float:none;width:auto}.edit-tags-php #col-container #col-right .col-wrap{padding:0}
|
1 |
+
body:not(.taxonomy-product_cat):not(.woocommerce-page) .wrap{padding-top:0!important}.wrap{min-width:auto!important}@media only screen and (min-width:782px){.wrap:not(#poststuff) form#createuser,.wrap:not(#poststuff) form#edittag,.wrap:not(#poststuff) form#your-profile,.wrap:not(#poststuff) form[action="options-permalink.php"],.wrap:not(#poststuff) form[action="options.php"]{max-width:calc(100% - 300px)!important;position:relative}.wrap:not(#poststuff) form#createuser .edit-tag-actions,.wrap:not(#poststuff) form#createuser p.submit,.wrap:not(#poststuff) form#edittag .edit-tag-actions,.wrap:not(#poststuff) form#edittag p.submit,.wrap:not(#poststuff) form#your-profile .edit-tag-actions,.wrap:not(#poststuff) form#your-profile p.submit,.wrap:not(#poststuff) form[action="options-permalink.php"] .edit-tag-actions,.wrap:not(#poststuff) form[action="options-permalink.php"] p.submit,.wrap:not(#poststuff) form[action="options.php"] .edit-tag-actions,.wrap:not(#poststuff) form[action="options.php"] p.submit{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;top:37px;width:280px;right:-300px;padding:10px;margin:0;background:#f5f5f5;text-align:right;border:1px solid #ccd0d4;border-radius:0;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.wrap:not(#poststuff) form#createuser .edit-tag-actions::before,.wrap:not(#poststuff) form#createuser p.submit::before,.wrap:not(#poststuff) form#edittag .edit-tag-actions::before,.wrap:not(#poststuff) form#edittag p.submit::before,.wrap:not(#poststuff) form#your-profile .edit-tag-actions::before,.wrap:not(#poststuff) form#your-profile p.submit::before,.wrap:not(#poststuff) form[action="options-permalink.php"] .edit-tag-actions::before,.wrap:not(#poststuff) form[action="options-permalink.php"] p.submit::before,.wrap:not(#poststuff) form[action="options.php"] .edit-tag-actions::before,.wrap:not(#poststuff) form[action="options.php"] p.submit::before{-webkit-box-sizing:border-box;box-sizing:border-box;content:"";background:#fff;border:1px solid #ccd0d4;border-bottom:0;position:absolute;width:280px;top:-38px;height:37px;left:-1px}.wrap:not(#poststuff) form#createuser .edit-tag-actions .button,.wrap:not(#poststuff) form#createuser p.submit .button,.wrap:not(#poststuff) form#edittag .edit-tag-actions .button,.wrap:not(#poststuff) form#edittag p.submit .button,.wrap:not(#poststuff) form#your-profile .edit-tag-actions .button,.wrap:not(#poststuff) form#your-profile p.submit .button,.wrap:not(#poststuff) form[action="options-permalink.php"] .edit-tag-actions .button,.wrap:not(#poststuff) form[action="options-permalink.php"] p.submit .button,.wrap:not(#poststuff) form[action="options.php"] .edit-tag-actions .button,.wrap:not(#poststuff) form[action="options.php"] p.submit .button{min-height:32px;line-height:2.30769231;padding:0 12px}.wrap:not(#poststuff) form#createuser .edit-tag-actions #delete-link,.wrap:not(#poststuff) form#createuser p.submit #delete-link,.wrap:not(#poststuff) form#edittag .edit-tag-actions #delete-link,.wrap:not(#poststuff) form#edittag p.submit #delete-link,.wrap:not(#poststuff) form#your-profile .edit-tag-actions #delete-link,.wrap:not(#poststuff) form#your-profile p.submit #delete-link,.wrap:not(#poststuff) form[action="options-permalink.php"] .edit-tag-actions #delete-link,.wrap:not(#poststuff) form[action="options-permalink.php"] p.submit #delete-link,.wrap:not(#poststuff) form[action="options.php"] .edit-tag-actions #delete-link,.wrap:not(#poststuff) form[action="options.php"] p.submit #delete-link{float:left;margin:0;text-decoration:underline}}.wrap>form:not(.search-form){margin-top:13px;max-width:100%!important}.wrap>form>div>div>h2,.wrap>form>div>div>h3,.wrap>form>h2,.wrap>form>h3{background:#fff;border:1px solid #ccd0d4;border-bottom:0;margin:0;color:#23282d;font-size:14px;padding:8px 12px;line-height:1.4}.wrap>form>div>div>h2+p,.wrap>form>div>div>h3+p,.wrap>form>h2+p,.wrap>form>h3+p{margin:0;border:1px solid #ccd0d4;border-bottom:0;padding:15px 12px}.wrap>form>div>div>h2+.form-table,.wrap>form>div>div>h2+p+.form-table,.wrap>form>div>div>h3+.form-table,.wrap>form>div>div>h3+p+.form-table,.wrap>form>h2+.form-table,.wrap>form>h2+p+.form-table,.wrap>form>h3+.form-table,.wrap>form>h3+p+.form-table{margin-top:0}.wrap>form .form-table{background:#fff;width:100%;border:1px solid #ccd0d4;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);margin-bottom:20px}.wrap>form .form-table>tbody>tr.acf-field{position:initial}.wrap>form .form-table>tbody>tr.acf-tab-wrap>td{background:#f9f9f9;padding:15px 0 0}.wrap>form .form-table>tbody>tr.acf-tab-wrap>td ul.acf-tab-group{border-bottom:0;padding:0 0 0 20%}.wrap>form .form-table>tbody>tr.acf-tab-wrap>td ul.acf-tab-group>li.active a{background:#fff}.wrap>form .form-table>tbody>tr>td{background:#fff;border-top:1px solid #eee;position:initial;padding:15px 12px}.wrap>form .form-table>tbody>tr>td.td-full{padding:15px 12px}.wrap>form .form-table>tbody>tr>td p{font-size:13px}.wrap>form .form-table>tbody>tr>td.acf-label,.wrap>form .form-table>tbody>tr>th{border-top:1px solid #eee;border-right:1px solid #e1e1e1;background:#f9f9f9;padding:15px 12px;width:20%;font-size:13px;position:initial;color:#444}.wrap>form .form-table>tbody>tr>td.acf-label label,.wrap>form .form-table>tbody>tr>th label{vertical-align:top}.wrap>form .form-table>tbody>tr:first-of-type td,.wrap>form .form-table>tbody>tr:first-of-type th{border-top:1px solid #ccd0d4}.wrap>form .form-table textarea{width:100%}.wrap>form .form-table .regular-text{width:100%;max-width:25em}@media only screen and (max-width:782px){.wrap>form>div>div>h2,.wrap>form>div>div>h3,.wrap>form>h2,.wrap>form>h3{padding:12px}.wrap>form table.form-table>tbody>tr{display:block;padding:15px 12px;border-top:1px solid #eee}.wrap>form table.form-table>tbody>tr>td.acf-label,.wrap>form table.form-table>tbody>tr>th{margin-bottom:10px}.wrap>form table.form-table>tbody>tr>td,.wrap>form table.form-table>tbody>tr>td.acf-label,.wrap>form table.form-table>tbody>tr>th{padding:0;display:block;width:auto;background:0 0;border:0!important}.wrap>form table.form-table>tbody>tr:first-child{border-top:0}}.wrap #titlediv{margin-bottom:10px}.wrap #titlediv input{padding:3px 8px;font-size:1.7em;line-height:100%;height:1.7em;width:100%;outline:0;margin:0 0 3px;background-color:#fff}.wrap .postbox .hndle{cursor:auto;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.wrap .postbox .handle-actions button,.wrap .postbox .handle-actions span{display:none}.wrap .postbox .handle-actions .acf-hndle-cog{width:2.2rem}.wrap #submitdiv #major-publishing-actions{border-top:0}.wrap #submitdiv #major-publishing-actions #publishing-action{float:none;margin:0}.wrap #submitdiv #major-publishing-actions #publishing-action .button{float:right}.wrap #submitdiv #major-publishing-actions #publishing-action .spinner{margin:5px 10px 0}.wrap #submitdiv #major-publishing-actions #publishing-action #delete-link{float:left;margin-left:0}.wrap #submitdiv #major-publishing-actions #publishing-action #delete-link a{text-decoration:underline}.wrap form#createuser .acf-field input[type=email],.wrap form#createuser .acf-field input[type=number],.wrap form#createuser .acf-field input[type=password],.wrap form#createuser .acf-field input[type=search],.wrap form#createuser .acf-field input[type=text],.wrap form#createuser .acf-field input[type=url],.wrap form#createuser .acf-field select,.wrap form#your-profile .acf-field input[type=email],.wrap form#your-profile .acf-field input[type=number],.wrap form#your-profile .acf-field input[type=password],.wrap form#your-profile .acf-field input[type=search],.wrap form#your-profile .acf-field input[type=text],.wrap form#your-profile .acf-field input[type=url],.wrap form#your-profile .acf-field select{max-width:100%}.wrap form#createuser .acf-field textarea,.wrap form#your-profile .acf-field textarea{width:100%;max-width:none}.wrap form#createuser .acf-tab-wrap,.wrap form#your-profile .acf-tab-wrap{position:relative}.wrap form#createuser select#ure_select_other_roles,.wrap form#createuser select#ure_select_other_roles+.ms-parent,.wrap form#your-profile select#ure_select_other_roles,.wrap form#your-profile select#ure_select_other_roles+.ms-parent{width:100%!important;max-width:500px!important}.wrap form#createuser select#ure_select_other_roles+.ms-parent .ms-choice,.wrap form#your-profile select#ure_select_other_roles+.ms-parent .ms-choice{-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;border-radius:3px;border:1px solid #7e8993;color:#32373c;padding:4px 8px;margin:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;line-height:2.1;min-height:30px;background: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') right 5px top 55%/16px 16px no-repeat #fff;cursor:pointer}.wrap form#createuser select#ure_select_other_roles+.ms-parent .ms-choice>span.placeholder,.wrap form#your-profile select#ure_select_other_roles+.ms-parent .ms-choice>span.placeholder{color:#32373c}.wrap form#createuser select#ure_select_other_roles+.ms-parent .ms-choice>div,.wrap form#your-profile select#ure_select_other_roles+.ms-parent .ms-choice>div{display:none}.wrap form#createuser .yoast-settings,.wrap form#your-profile .yoast-settings{padding:0;margin-bottom:20px;font-size:13px}.wrap form#createuser .yoast-settings h2,.wrap form#your-profile .yoast-settings h2{margin:0}.wrap form#createuser .yoast-settings label,.wrap form#your-profile .yoast-settings label{margin:0;padding:0;width:auto;font-size:13px;color:#444;line-height:1.7}.wrap form#createuser .yoast-settings .description,.wrap form#your-profile .yoast-settings .description{font-size:13px;margin:0 0 5px;color:#666}.wrap form#createuser .yoast-settings input,.wrap form#createuser .yoast-settings textarea,.wrap form#your-profile .yoast-settings input,.wrap form#your-profile .yoast-settings textarea{margin:0}.wrap form#createuser .yoast-settings textarea,.wrap form#your-profile .yoast-settings textarea{margin-bottom:10px}.wrap form#createuser .yoast-settings input[type=checkbox],.wrap form#your-profile .yoast-settings input[type=checkbox]{margin-right:5px;vertical-align:-6px}.wrap form#createuser .form-table[role=presentation] tr.user-language-wrap th[colspan="2"],.wrap form#your-profile .form-table[role=presentation] tr.user-language-wrap th[colspan="2"]{display:none}.wrap form#addtag .acf-fields.-left>.acf-field,.wrap form#edittag .acf-fields.-left>.acf-field{padding-left:0}.wrap form#addtag .acf-fields.-left>.acf-field.acfe-bt-no-label,.wrap form#edittag .acf-fields.-left>.acf-field.acfe-bt-no-label{padding-left:20%}@media only screen and (max-width:640px){.wrap form#addtag .acf-fields.-left>.acf-field.acfe-bt-no-label,.wrap form#edittag .acf-fields.-left>.acf-field.acfe-bt-no-label{padding-left:0}}.wrap form#addtag .acf-fields.-left>.acf-field::before,.wrap form#edittag .acf-fields.-left>.acf-field::before{width:20%}.wrap form#addtag .acf-fields.-left>.acf-field>.acf-label,.wrap form#edittag .acf-fields.-left>.acf-field>.acf-label{width:20%;margin-left:0;padding:0 12px}.wrap form#addtag .acf-fields.-left>.acf-field>.acf-label label,.wrap form#edittag .acf-fields.-left>.acf-field>.acf-label label{color:#444}.wrap form#addtag .acf-fields.-left>.acf-field>.acf-input,.wrap form#edittag .acf-fields.-left>.acf-field>.acf-input{padding:0 12px}.wrap form#addtag .form-field p,.wrap form#addtag .form-field select,.wrap form#edittag .form-field p,.wrap form#edittag .form-field select{max-width:100%}.wrap form#addtag .form-field input[type=email],.wrap form#addtag .form-field input[type=number],.wrap form#addtag .form-field input[type=password],.wrap form#addtag .form-field input[type=search],.wrap form#addtag .form-field input[type=tel],.wrap form#addtag .form-field input[type=text],.wrap form#addtag .form-field input[type=url],.wrap form#addtag .form-field select,.wrap form#addtag .form-field textarea,.wrap form#edittag .form-field input[type=email],.wrap form#edittag .form-field input[type=number],.wrap form#edittag .form-field input[type=password],.wrap form#edittag .form-field input[type=search],.wrap form#edittag .form-field input[type=tel],.wrap form#edittag .form-field input[type=text],.wrap form#edittag .form-field input[type=url],.wrap form#edittag .form-field select,.wrap form#edittag .form-field textarea{width:100%}.wrap form#edittag .acf-column-1>#wp-description-wrap{display:none}.wrap form#edittag .postbox.wpseo-taxonomy-metabox-postbox>h2{border-bottom:1px solid #ccd0d4}.wrap form#edittag tr.wpml-term-languages-wrap{display:none}.wrap form#edittag #icl-tax-postbox .inside{margin:0;padding:15px 12px}.wrap form#edittag #icl-tax-postbox .inside table.icl_translations_table{width:100%}.wrap .rank-math-metabox-frame{max-width:100%}.wrap .rankmath>.acf-fields>.acf-field>.acf-input{padding:0 0 0 1px!important}.wrap .rankmath>.acf-fields>.acf-field>.acf-input>.rank-math-metabox-frame{margin:-15px 0;border:0}.wrap #add-term-translations,.wrap #edit-term-translations{border:none;width:100%}.wrap #select-add-term-language select,.wrap #select-edit-term-language select{width:auto!important;padding-right:25px}.wrap #select-add-term-language p.description,.wrap #select-add-term-language+p,.wrap #select-edit-term-language p.description,.wrap #select-edit-term-language+p{display:none}.wrap #term-translations>p{position:relative;width:20%;padding:0 12px;float:left;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;font-size:13px;font-weight:600;color:#444}.wrap #term-translations>.icl_subsubsub{position:relative;width:20%;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 12px;float:left}.wrap #term-translations #add-term-translations{width:80%;position:relative;float:left;clear:none;background:0 0;padding:0 12px}.wrap #term-translations #add-term-translations td.pll-translation-column{padding-left:0;padding-right:0}.wrap #term-translations #add-term-translations td,.wrap #term-translations #add-term-translations th{padding-top:4px;padding-bottom:4px}.wrap #term-translations #add-term-translations tr:first-of-type td,.wrap #term-translations #add-term-translations tr:first-of-type th{padding-top:0}.wrap #term-translations #add-term-translations tr:last-of-type td,.wrap #term-translations #add-term-translations tr:last-of-type th{padding-bottom:0}.wrap #term-translations #edit-term-translations td,.wrap #term-translations #edit-term-translations th{padding-top:2px;padding-bottom:2px}.wrap #term-translations #edit-term-translations tr:first-of-type td,.wrap #term-translations #edit-term-translations tr:first-of-type th{padding-top:0}.wrap #term-translations #edit-term-translations tr:last-of-type td,.wrap #term-translations #edit-term-translations tr:last-of-type th{padding-bottom:0}.wrap #acf-group_term>.acf-fields>.rank-math-metabox-frame.acf-field,.wrap #acf-group_term>.acf-fields>.yoast-settings-table.acf-field,.wrap #acf-group_term>.acf-fields>table.acf-field,.wrap #acf-group_user>.acf-fields>.rank-math-metabox-frame.acf-field,.wrap #acf-group_user>.acf-fields>.yoast-settings-table.acf-field,.wrap #acf-group_user>.acf-fields>table.acf-field,.wrap #acf-group_user_customer>.acf-fields>.rank-math-metabox-frame.acf-field,.wrap #acf-group_user_customer>.acf-fields>.yoast-settings-table.acf-field,.wrap #acf-group_user_customer>.acf-fields>table.acf-field{border:none;margin-bottom:0}.wrap #acf-group_term>.acf-fields>.rank-math-metabox-frame.acf-field::before,.wrap #acf-group_term>.acf-fields>.yoast-settings-table.acf-field::before,.wrap #acf-group_term>.acf-fields>table.acf-field::before,.wrap #acf-group_user>.acf-fields>.rank-math-metabox-frame.acf-field::before,.wrap #acf-group_user>.acf-fields>.yoast-settings-table.acf-field::before,.wrap #acf-group_user>.acf-fields>table.acf-field::before,.wrap #acf-group_user_customer>.acf-fields>.rank-math-metabox-frame.acf-field::before,.wrap #acf-group_user_customer>.acf-fields>.yoast-settings-table.acf-field::before,.wrap #acf-group_user_customer>.acf-fields>table.acf-field::before{content:unset}.wrap #acf-group_term>.acf-fields>.rank-math-metabox-frame.acf-field>tbody>tr:first-of-type>td,.wrap #acf-group_term>.acf-fields>.rank-math-metabox-frame.acf-field>tbody>tr:first-of-type>th,.wrap #acf-group_term>.acf-fields>.yoast-settings-table.acf-field>tbody>tr:first-of-type>td,.wrap #acf-group_term>.acf-fields>.yoast-settings-table.acf-field>tbody>tr:first-of-type>th,.wrap #acf-group_term>.acf-fields>table.acf-field>tbody>tr:first-of-type>td,.wrap #acf-group_term>.acf-fields>table.acf-field>tbody>tr:first-of-type>th,.wrap #acf-group_user>.acf-fields>.rank-math-metabox-frame.acf-field>tbody>tr:first-of-type>td,.wrap #acf-group_user>.acf-fields>.rank-math-metabox-frame.acf-field>tbody>tr:first-of-type>th,.wrap #acf-group_user>.acf-fields>.yoast-settings-table.acf-field>tbody>tr:first-of-type>td,.wrap #acf-group_user>.acf-fields>.yoast-settings-table.acf-field>tbody>tr:first-of-type>th,.wrap #acf-group_user>.acf-fields>table.acf-field>tbody>tr:first-of-type>td,.wrap #acf-group_user>.acf-fields>table.acf-field>tbody>tr:first-of-type>th,.wrap #acf-group_user_customer>.acf-fields>.rank-math-metabox-frame.acf-field>tbody>tr:first-of-type>td,.wrap #acf-group_user_customer>.acf-fields>.rank-math-metabox-frame.acf-field>tbody>tr:first-of-type>th,.wrap #acf-group_user_customer>.acf-fields>.yoast-settings-table.acf-field>tbody>tr:first-of-type>td,.wrap #acf-group_user_customer>.acf-fields>.yoast-settings-table.acf-field>tbody>tr:first-of-type>th,.wrap #acf-group_user_customer>.acf-fields>table.acf-field>tbody>tr:first-of-type>td,.wrap #acf-group_user_customer>.acf-fields>table.acf-field>tbody>tr:first-of-type>th{border-top:0}.wrap #acf-group_term>.acf-fields>.rank-math-metabox-frame.acf-field,.wrap #acf-group_user>.acf-fields>.rank-math-metabox-frame.acf-field,.wrap #acf-group_user_customer>.acf-fields>.rank-math-metabox-frame.acf-field{padding:0}.edit-tags-php #col-left{display:none;float:none;width:100%}.edit-tags-php #col-left .col-wrap{padding:0}.edit-tags-php #col-left .col-wrap #poststuff{min-width:100%}.edit-tags-php #col-left .col-wrap #poststuff #addtag h2.hndle{border-bottom:1px solid #ccd0d4}.edit-tags-php #col-left .col-wrap #poststuff #addtag .inside .term-name-wrap{border-top:none}.edit-tags-php #col-left .col-wrap #poststuff #addtag .submit{display:block;position:relative;margin:0;padding:15px 12px 15px 20%;border-top:1px solid #eee}.edit-tags-php #col-left .col-wrap #poststuff #addtag .submit::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%}.edit-tags-php #col-left .col-wrap #poststuff #addtag .submit::after{content:"";display:block;clear:both}.edit-tags-php #col-left .col-wrap #poststuff #addtag .submit>.acf-input{vertical-align:top;float:left;width:80%;margin:0;padding:0 12px}@media screen and (max-width:640px){.edit-tags-php #col-left .col-wrap #poststuff #addtag .submit{padding:15px 0}.edit-tags-php #col-left .col-wrap #poststuff #addtag .submit::before{display:none}.edit-tags-php #col-left .col-wrap #poststuff #addtag .submit>.acf-input{width:100%}}.edit-tags-php #col-container #col-right{float:none;width:auto}.edit-tags-php #col-container #col-right .col-wrap{padding:0}
|
assets/js/acfe-field-group.js
CHANGED
@@ -36,6 +36,10 @@
|
|
36 |
'render_field_settings/type=acfe_column': 'renderField',
|
37 |
},
|
38 |
|
|
|
|
|
|
|
|
|
39 |
renderTitle: function($el) {
|
40 |
|
41 |
var field = acf.getInstance($el);
|
@@ -48,14 +52,12 @@
|
|
48 |
|
49 |
if (endpoint) {
|
50 |
|
51 |
-
|
52 |
-
|
53 |
-
} else {
|
54 |
-
|
55 |
-
field.set('label', '(Column ' + columns + ')');
|
56 |
|
57 |
}
|
58 |
|
|
|
|
|
59 |
},
|
60 |
|
61 |
renderField: function($el) {
|
36 |
'render_field_settings/type=acfe_column': 'renderField',
|
37 |
},
|
38 |
|
39 |
+
ucFirst: function(string) {
|
40 |
+
return string.charAt(0).toUpperCase() + string.slice(1);
|
41 |
+
},
|
42 |
+
|
43 |
renderTitle: function($el) {
|
44 |
|
45 |
var field = acf.getInstance($el);
|
52 |
|
53 |
if (endpoint) {
|
54 |
|
55 |
+
columns = 'Endpoint';
|
|
|
|
|
|
|
|
|
56 |
|
57 |
}
|
58 |
|
59 |
+
field.set('label', '(Column ' + this.ucFirst(columns) + ')');
|
60 |
+
|
61 |
},
|
62 |
|
63 |
renderField: function($el) {
|
assets/js/acfe-field-group.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(f){var e;"undefined"!=typeof acf&&(new acf.Model({actions:{append_field_object:"appendCodeEditor"},appendCodeEditor:function(e){"acfe_code_editor"===e.get("type")&&(e.$setting("default_value").find("> .acf-input > .acf-input-wrap > .CodeMirror:last").remove(),e.$setting("placeholder").find("> .acf-input > .acf-input-wrap > .CodeMirror:last").remove())}}),new acf.Model({actions:{"change_field_label/type=acfe_column":"renderTitle","change_field_type/type=acfe_column":"renderTitle","render_field_settings/type=acfe_column":"renderField"},renderTitle:function(e){var t=acf.getInstance(e),n=t.$setting("columns"),e=acf.getInstance(n).getValue(),n=t.$setting("endpoint");acf.getInstance(n).getValue()
|
1 |
+
!function(f){var e;"undefined"!=typeof acf&&(new acf.Model({actions:{append_field_object:"appendCodeEditor"},appendCodeEditor:function(e){"acfe_code_editor"===e.get("type")&&(e.$setting("default_value").find("> .acf-input > .acf-input-wrap > .CodeMirror:last").remove(),e.$setting("placeholder").find("> .acf-input > .acf-input-wrap > .CodeMirror:last").remove())}}),new acf.Model({actions:{"change_field_label/type=acfe_column":"renderTitle","change_field_type/type=acfe_column":"renderTitle","render_field_settings/type=acfe_column":"renderField"},ucFirst:function(e){return e.charAt(0).toUpperCase()+e.slice(1)},renderTitle:function(e){var t=acf.getInstance(e),n=t.$setting("columns"),e=acf.getInstance(n).getValue(),n=t.$setting("endpoint");acf.getInstance(n).getValue()&&(e="Endpoint"),t.set("label","(Column "+this.ucFirst(e)+")")},renderField: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)}}),new acf.Model({filters:{"select2_ajax_data/action=acfe/fields/taxonomy_terms/allow_query":"taxonomyTermsAjax"},taxonomyTermsAjax:function(e,t,n,i,a){var l=n.closest(".acf-field-settings").find("> .acf-field-setting-taxonomy > .acf-input > select > option:selected"),o=[];l.each(function(){o.push(f(this).val())}),e.taxonomies=o;n=n.closest(".acf-field-settings").find('> .acf-field-setting-allow_terms > .acf-input input[type="number"]');return e.level=n.val(),e}}),new acf.Model({wait:"prepare",events:{"click .acfe_modal_open":"onClickOpen"},onClickOpen:function(e,t){new acfe.Popup(f(".acfe-modal[data-modal-key="+t.attr("data-modal-key")+"]"),{title:"Data",size:"medium",footer:acf.__("Close")})},initialize:function(){f(".button.edit-field").each(function(){var e=f(this).closest("tbody");f(e).find(".acfe_modal_open:first").insertAfter(f(this)),f(e).find(".acfe-modal:first").appendTo(f("body")),f(e).find("tr.acf-field-setting-acfe_field_data:first").remove()})}}),new acf.Model({actions:{new_field:"onNewField"},onNewField:function(e){var t;"tab"!==e.get("type")&&(e.has("before")?(t=e.$el.siblings('[data-name="'+e.get("before")+'"]').first()).length&&t.before(e.$el):e.has("after")&&(t=e.$el.siblings('[data-name="'+e.get("after")+'"]').first()).length&&t.after(e.$el))}}),e=acf.models.TabField,acf.models.TabField=e.extend({initialize:function(){this.has("before")?($sibling=this.$el.siblings('[data-name="'+this.get("before")+'"]').first(),$sibling.length&&$sibling.before(this.$el)):this.has("after")&&($sibling=this.$el.siblings('[data-name="'+this.get("after")+'"]').first(),$sibling.length&&$sibling.after(this.$el)),e.prototype.initialize.apply(this,arguments)}}),new acf.Model({wait:"ready",actions:{append:"onAppend","acfe/field_group/rule_refresh":"refreshFields"},initialize:function(){this.$el=f("#acf-field-group-locations")},onAppend:function(e){(e.is(".rule-group")||e.parent().parent().parent().is(".rule-group"))&&this.refreshFields()},refreshFields:function(){acf.getFields({parent:this.$("td.value")}).map(function(e){acfe.inArray(e.get("type"),["date_picker","date_time_picker","time_picker"])&&(e.$inputText().removeClass("hasDatepicker").removeAttr("id"),e.initialize())})}}),new acf.Model({actions:{"new_field/name=acfe_meta":"renderClass","new_field/name=acfe_settings":"renderClass","new_field/name=acfe_validate":"renderClass"},renderClass:function(e){e.$(".acf-button").removeClass("button-primary")}}),new acf.Model({events:{"keyup #post_name":"onInput"},onInput:function(e,t){var n=t.val();n.startsWith("group_")||(n="group_"+n,t.val(n)),f('[name="acf_field_group[key]"]').val(n),f(".misc-pub-acfe-field-group-key code").html(n)}}),new acf.Model({actions:{ready_field_object:"flexibleContent"},flexibleContent:function(e){e.get("key").startsWith("field_acfe_layout_")&&e.delete()}}))}(jQuery);
|
assets/js/acfe-input.js
CHANGED
@@ -1672,23 +1672,6 @@
|
|
1672 |
/*
|
1673 |
* Field: reCaptcha Callback
|
1674 |
*/
|
1675 |
-
function acfe_recaptcha() {
|
1676 |
-
|
1677 |
-
(function($) {
|
1678 |
-
|
1679 |
-
if (typeof acf === 'undefined')
|
1680 |
-
return;
|
1681 |
-
|
1682 |
-
$.each(acf.getFields({
|
1683 |
-
type: 'acfe_recaptcha'
|
1684 |
-
}), function() {
|
1685 |
-
this.render();
|
1686 |
-
});
|
1687 |
-
|
1688 |
-
})(jQuery);
|
1689 |
-
|
1690 |
-
}
|
1691 |
-
|
1692 |
(function($) {
|
1693 |
|
1694 |
if (typeof acf === 'undefined')
|
@@ -1701,6 +1684,8 @@ function acfe_recaptcha() {
|
|
1701 |
|
1702 |
type: 'acfe_recaptcha',
|
1703 |
|
|
|
|
|
1704 |
actions: {
|
1705 |
'validation_failure': 'validationFailure'
|
1706 |
},
|
@@ -1721,65 +1706,78 @@ function acfe_recaptcha() {
|
|
1721 |
return this.$selector()[0];
|
1722 |
},
|
1723 |
|
1724 |
-
|
1725 |
-
return this.get('version');
|
1726 |
-
},
|
1727 |
-
|
1728 |
-
render: function() {
|
1729 |
|
1730 |
-
|
1731 |
|
1732 |
-
|
1733 |
|
1734 |
-
|
1735 |
-
'sitekey': field.$control().data('site-key'),
|
1736 |
-
'theme': field.$control().data('theme'),
|
1737 |
-
'size': field.$control().data('size'),
|
1738 |
|
|
|
1739 |
|
1740 |
-
|
1741 |
|
1742 |
-
|
1743 |
-
field.$input().closest('.acf-input').find('> .acf-notice.-error').hide();
|
1744 |
|
1745 |
-
|
1746 |
|
1747 |
-
|
|
|
|
|
1748 |
|
1749 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1750 |
|
1751 |
-
|
|
|
|
|
|
|
1752 |
|
1753 |
-
|
|
|
|
|
|
|
|
|
1754 |
|
1755 |
-
|
1756 |
|
1757 |
-
|
1758 |
-
});
|
1759 |
|
1760 |
-
|
|
|
|
|
1761 |
|
1762 |
-
|
1763 |
-
|
1764 |
-
|
1765 |
-
|
|
|
1766 |
|
1767 |
-
|
1768 |
-
field.$input().closest('.acf-input').find('> .acf-notice.-error').hide();
|
1769 |
|
1770 |
-
});
|
1771 |
});
|
1772 |
-
|
1773 |
-
}
|
1774 |
|
1775 |
},
|
1776 |
|
1777 |
validationFailure: function($form) {
|
1778 |
|
1779 |
-
if (this.version
|
1780 |
-
|
1781 |
grecaptcha.reset(this.recaptcha);
|
1782 |
-
|
1783 |
}
|
1784 |
|
1785 |
}
|
1672 |
/*
|
1673 |
* Field: reCaptcha Callback
|
1674 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1675 |
(function($) {
|
1676 |
|
1677 |
if (typeof acf === 'undefined')
|
1684 |
|
1685 |
type: 'acfe_recaptcha',
|
1686 |
|
1687 |
+
wait: 'load',
|
1688 |
+
|
1689 |
actions: {
|
1690 |
'validation_failure': 'validationFailure'
|
1691 |
},
|
1706 |
return this.$selector()[0];
|
1707 |
},
|
1708 |
|
1709 |
+
initialize: function() {
|
|
|
|
|
|
|
|
|
1710 |
|
1711 |
+
if (this.get('version') === 'v2') {
|
1712 |
|
1713 |
+
this.renderV2(this);
|
1714 |
|
1715 |
+
} else if (this.get('version') === 'v3') {
|
|
|
|
|
|
|
1716 |
|
1717 |
+
this.renderV3();
|
1718 |
|
1719 |
+
}
|
1720 |
|
1721 |
+
},
|
|
|
1722 |
|
1723 |
+
renderV2: function(self) {
|
1724 |
|
1725 |
+
// selectors
|
1726 |
+
var selector = this.selector();
|
1727 |
+
var $input = this.$input();
|
1728 |
|
1729 |
+
// vars
|
1730 |
+
var sitekey = this.get('siteKey');
|
1731 |
+
var theme = this.get('theme');
|
1732 |
+
var size = this.get('size');
|
1733 |
+
|
1734 |
+
// request
|
1735 |
+
this.recaptcha = grecaptcha.render(selector, {
|
1736 |
+
'sitekey': sitekey,
|
1737 |
+
'theme': theme,
|
1738 |
+
'size': size,
|
1739 |
+
|
1740 |
+
'callback': function(response) {
|
1741 |
+
acf.val($input, response, true);
|
1742 |
+
self.removeError();
|
1743 |
+
},
|
1744 |
|
1745 |
+
'error-callback': function() {
|
1746 |
+
acf.val($input, '', true);
|
1747 |
+
self.showError('An error has occured');
|
1748 |
+
},
|
1749 |
|
1750 |
+
'expired-callback': function() {
|
1751 |
+
acf.val($input, '', true);
|
1752 |
+
self.showError('reCaptcha has expired');
|
1753 |
+
}
|
1754 |
+
});
|
1755 |
|
1756 |
+
},
|
1757 |
|
1758 |
+
renderV3: function() {
|
|
|
1759 |
|
1760 |
+
// vars
|
1761 |
+
var $input = this.$input();
|
1762 |
+
var sitekey = this.get('siteKey');
|
1763 |
|
1764 |
+
// request
|
1765 |
+
grecaptcha.ready(function() {
|
1766 |
+
grecaptcha.execute(sitekey, {
|
1767 |
+
action: 'homepage'
|
1768 |
+
}).then(function(response) {
|
1769 |
|
1770 |
+
acf.val($input, response, true);
|
|
|
1771 |
|
|
|
1772 |
});
|
1773 |
+
});
|
|
|
1774 |
|
1775 |
},
|
1776 |
|
1777 |
validationFailure: function($form) {
|
1778 |
|
1779 |
+
if (this.get('version') === 'v2') {
|
|
|
1780 |
grecaptcha.reset(this.recaptcha);
|
|
|
1781 |
}
|
1782 |
|
1783 |
}
|
assets/js/acfe-input.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function acfe_recaptcha(){var e;e=jQuery,"undefined"!=typeof acf&&e.each(acf.getFields({type:"acfe_recaptcha"}),function(){this.render()})}!function(c){var e;"undefined"!=typeof acf&&((e=acf.getFieldType("flexible_content").prototype).addSortable=function(a){1!=this.get("max")&&this.$layoutsWrap().sortable({items:" > .layout",handle:"> .acf-fc-layout-handle",forceHelperSize:!1,forcePlaceholderSize:!0,revert:50,tolerance:"pointer",scroll:!0,stop:function(e,t){a.render()},update:function(e,t){a.$input().trigger("change")}})},e.acfeOneClick=function(e,t){var a=this.$clones(),i=c(a[0]).data("layout"),a=null;t.hasClass("acf-icon")&&(a=t.closest(".layout"));this.add({layout:i,before:a});a=c(".acf-fc-popup");a.length&&a.hide()},e.acfeLayoutInit=function(t){var e,a,i=this,n=(t.find("> .acf-fc-layout-controls"),t.find("> .acf-fc-layout-handle"),t.find("> .acfe-fc-placeholder"));n.removeClass("acf-hidden"),i.has("acfeFlexibleModalEdition")||i.isLayoutClosed(t)||n.addClass("acf-hidden"),i.isLayoutClosed(t)&&i.has("acfeFlexiblePreview")&&!n.hasClass("-loading")&&(n.addClass("acfe-fc-preview -loading").find("> .acfe-flexible-placeholder").prepend('<span class="spinner"></span>'),n.find("> .acfe-fc-overlay").addClass("-hover"),e=t.children("input").attr("name").replace("[acf_fc_layout]",""),a={action:"acfe/flexible/layout_preview",field_key:i.get("key"),i:t.index(),layout:t.data("layout"),value:acf.serialize(t,e)},acf.doAction("acfe/fields/flexible_content/before_preview",i.$el,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/name="+i.get("name"),i.$el,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/key="+i.get("key"),i.$el,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/name="+i.get("name")+"&layout="+t.data("layout"),i.$el,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/key="+i.get("key")+"&layout="+t.data("layout"),i.$el,t,a),c.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),dataType:"html",type:"post",success:function(e){e?n.find("> .acfe-flexible-placeholder").html(e):n.removeClass("acfe-fc-preview"),acf.doAction("acfe/fields/flexible_content/preview",e,i.$el,t,a),acf.doAction("acfe/fields/flexible_content/preview/name="+i.get("name"),e,i.$el,t,a),acf.doAction("acfe/fields/flexible_content/preview/key="+i.get("key"),e,i.$el,t,a),acf.doAction("acfe/fields/flexible_content/preview/name="+i.get("name")+"&layout="+t.data("layout"),e,i.$el,t,a),acf.doAction("acfe/fields/flexible_content/preview/key="+i.get("key")+"&layout="+t.data("layout"),e,i.$el,t,a)},complete:function(){n.find("> .acfe-fc-overlay").removeClass("-hover"),n.removeClass("-loading").find("> .acfe-flexible-placeholder > .spinner").remove()}}))},acf.getFieldType("wysiwyg").prototype.initialize=function(){this.has("id")||this.$control().hasClass("delay")||this.initializeEditor()},acf.addAction("show_field/type=wysiwyg",e=function(e){var t;e.has("id")||!e.$el.is(":visible")||acfe.isFilterEnabled("acfeForceOpen")||(t=e.$control()).hasClass("delay")&&(t.removeClass("delay"),t.find(".acf-editor-toolbar").remove(),e.initializeEditor())}),acf.addAction("ready_field/type=wysiwyg",e),acf.addAction("new_field/type=flexible_content",function(a){var e=a.$clones(),t=a.$layouts();c.merge(t,e);t.each(function(){var e=c(this),t=e.data("layout");acf.doAction("acfe/flexible/layouts",e,a),acf.doAction("acfe/flexible/layout/name="+t,e,a)}),1===e.length&&(a.removeEvents({'click [data-name="add-layout"]':"onClickAdd"}),a.addEvents({'click [data-name="add-layout"]':"acfeOneClick"})),a.addEvents({"click .acfe-fc-placeholder":"onClickCollapse"}),a.addEvents({"click .acfe-flexible-opened-actions > a":"onClickCollapse"}),a.has("acfeFlexibleAjax")&&(a.add=function(n){var o=this;if(n=acf.parseArgs(n,{layout:"",before:!1}),!this.allowAdd())return!1;c.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax({action:"acfe/flexible/models",field_key:this.get("key"),layout:n.layout}),dataType:"html",type:"post",beforeSend:function(){c("body").addClass("-loading")},success:function(e){if(e){var t=c(e),a=acf.uniqid(),i="acf["+o.get("key")+"][acfcloneindex]",e=o.$control().find("> input[type=hidden]").attr("name")+"["+a+"]",e=acf.duplicate({target:t,search:i,replace:e,append:o.proxy(function(e,t){n.before?n.before.before(t):o.$layoutsWrap().append(t),acf.enable(t,o.cid),o.render()})});return e.attr("data-id",a),o.$input().trigger("change"),e}},complete:function(){c("body").removeClass("-loading")}})})}),acf.addAction("acfe/flexible/layouts",function(e,t){t.isLayoutClosed(e)&&(e.find("> .acfe-fc-placeholder").removeClass("acf-hidden"),t.has("acfeFlexibleOpen")&&(acfe.enableFilter("acfeForceOpen"),t.openLayout(e),acfe.disableFilter("acfeForceOpen")))}),acf.addAction("show",function(e,t){"collapse"===t&&e.is(".layout")&&(acf.getInstance(e.closest(".acf-field-flexible-content")).has("acfeFlexibleModalEdition")||e.find("> .acfe-fc-placeholder").addClass("acf-hidden"))}),acf.addAction("hide",function(e,t){"collapse"===t&&e.is(".layout")&&!e.is(".acf-clone")&&((t=acf.getInstance(e.closest(".acf-field-flexible-content"))).has("acfeFlexibleRemoveAjaxTitle")&&(t.renderLayout=function(e){}),t.acfeLayoutInit(e))}),acf.addAction("append",function(e){var t;e.is(".layout")&&(t=acf.getInstance(e.closest(".acf-field-flexible-content")),e.is(".acfe-layout-duplicated")||(t.has("acfeFlexibleModalEdition")?e.find('> [data-action="acfe-flexible-modal-edit"]:first').trigger("click"):t.openLayout(e)),t.acfeLayoutInit(e),(t=t.$el.closest(".acfe-modal.-open")).length?t.find("> .acfe-modal-wrapper > .acfe-modal-content").animate({scrollTop:parseInt(e.offset().top)-200},200):!(parseFloat(acf.get("acf_version"))<5.9)&&e.hasClass("-focused")||c("html, body").animate({scrollTop:parseInt(e.offset().top)-200},200))}),acf.addAction("invalid_field",function(e){e.$el.parents(".layout").addClass("acfe-flexible-modal-edit-error")}),acf.addAction("valid_field",function(e){e.$el.parents(".layout").each(function(){var e=c(this);e.find(".acf-error").length||e.removeClass("acfe-flexible-modal-edit-error")})}))}(jQuery),function(r){var n;"undefined"!=typeof acf&&((n=acf.getFieldType("flexible_content").prototype).events["click .acf-fc-layout-handle"]="acfeEditLayoutTitleToggleHandle",n.acfeEditLayoutTitleToggleHandle=function(e,t){!this.has("acfeFlexibleTitleEdition")||(t=t.closest(".layout")).hasClass("acfe-flexible-title-edition")&&t.find("> .acf-fc-layout-handle > .acfe-layout-title > input.acfe-flexible-control-title").trigger("blur")},n.events["click .acfe-layout-title-text"]="acfeEditLayoutTitle",n.acfeEditLayoutTitle=function(e,t){this.has("acfeFlexibleTitleEdition")&&(e.stopPropagation(),this.acfeEditLayoutTitleToggle(e,t))},n.events["blur input.acfe-flexible-control-title"]="acfeEditLayoutTitleToggle",n.acfeEditLayoutTitleToggle=function(e,t){var a,i=t.closest(".layout"),n=i.find("> .acf-fc-layout-handle"),t=n.find(".acfe-layout-title");i.hasClass("acfe-flexible-title-edition")?(""===(a=t.find("> input[data-acfe-flexible-control-title-input]")).val()&&a.val(a.attr("placeholder")).trigger("input"),i.removeClass("acfe-flexible-title-edition"),a.insertAfter(n)):(a=(a=i.find("> input[data-acfe-flexible-control-title-input]")).appendTo(t),i.addClass("acfe-flexible-title-edition"),a.focus().attr("size",a.val().length))},n.events["click input.acfe-flexible-control-title"]="acfeEditLayoutTitlePropagation",n.acfeEditLayoutTitlePropagation=function(e,t){e.stopPropagation()},n.events["input [data-acfe-flexible-control-title-input]"]="acfeEditLayoutTitleInput",n.acfeEditLayoutTitleInput=function(e,t){var a=t.closest(".layout").find("> .acf-fc-layout-handle .acfe-layout-title .acfe-layout-title-text"),i=t.val();t.attr("size",i.length),a.html(i)},n.events["keypress [data-acfe-flexible-control-title-input]"]="acfeEditLayoutTitleInputEnter",n.acfeEditLayoutTitleInputEnter=function(e,t){13===e.keyCode&&(e.preventDefault(),t.blur())},n.events["click [data-acfe-flexible-settings]"]="acfeLayoutSettings",n.acfeLayoutSettings=function(e,t){var a=this,i=t.closest(".layout"),n=i.find("> .acfe-modal.-settings"),o=i.find("> .acf-fc-layout-handle"),t=o.find("> .acf-fc-layout-order").outerHTML(),o=o.find(".acfe-layout-title-text").text();new acfe.Popup(n,{title:t+" "+o,footer:acf.__("Close"),onClose:function(){a.has("acfeFlexiblePreview")&&a.closeLayout(i)}})},n.events["click [data-acfe-flexible-control-toggle]"]="acfeLayoutToggle",n.acfeLayoutToggle=function(e,t){var a=t.closest(".layout"),t=a.find("> .acfe-flexible-layout-toggle");t.length&&("1"===t.val()?(a.removeClass("acfe-flexible-layout-hidden"),t.val("")):(a.addClass("acfe-flexible-layout-hidden"),t.val("1")))},acf.addAction("acfe/flexible/layouts",function(e,t){!t.has("acfeFlexibleToggle")||(t=e.find("> .acfe-flexible-layout-toggle")).length&&("1"===t.val()?e.addClass("acfe-flexible-layout-hidden"):e.removeClass("acfe-flexible-layout-hidden"))}),n.events["click [data-acfe-flexible-control-clone]"]="acfeCloneLayout",n.acfeCloneLayout=function(e,t){var a,i=this,n=t.closest(".layout"),o=n.data("layout"),c=r(i.$popup().html()),l=i.$layouts(),c=c.find('[data-layout="'+o+'"]'),c=(c.data("min"),c.data("max")||0),o=(a=o,l.filter(function(){return r(this).data("layout")===a}).length);if(c&&c<=o)return t.addClass("disabled"),!1;t.removeClass("disabled"),i.acfeFixInputs(n);o=n.clone();i.acfeCleanLayouts(o);t=t.closest(".acf-flexible-content").find("> input[type=hidden]").attr("name"),i.acfeDuplicate({layout:o,before:n,parent:t})},n.events["click [data-acfe-flexible-control-copy]"]="acfeCopyLayout",n.acfeCopyLayout=function(e,t){var a=t.closest(".layout").clone(),t=this.$control().find("> input[type=hidden]").attr("name");this.acfeFixInputs(a),this.acfeCleanLayouts(a);t=JSON.stringify({source:t,layouts:a[0].outerHTML}),a=r('<input type="text" style="clip:rect(0,0,0,0);clip-path:rect(0,0,0,0);position:absolute;" value="" />').appendTo(r("body"));a.attr("value",t).select(),document.execCommand("copy")?alert("Layout has been transferred to your clipboard"):prompt("Copy the following layout data to your clipboard",t),a.remove()},n.acfeCopyLayouts=function(){var e=this,t=e.$layoutsWrap().clone(),a=e.$control().find("> input[type=hidden]").attr("name");e.acfeFixInputs(t),e.acfeCleanLayouts(t);t=JSON.stringify({source:a,layouts:t.html()}),e=r('<input type="text" style="clip:rect(0,0,0,0);clip-path:rect(0,0,0,0);position:absolute;" value="" />').appendTo(e.$el);e.attr("value",t).select(),document.execCommand("copy")?alert("Layouts have been transferred to your clipboard"):prompt("Copy the following layouts data to your clipboard",t),e.remove()},n.acfePasteLayouts=function(){var n=this,e=prompt("Paste layouts data in the following field");if(null!=e&&""!==e)try{var t=JSON.parse(e),i=t.source,t=r(t.layouts).closest("[data-layout]");if(!t.length)return alert("No layouts data available");var o=r(n.$popup().html()),c=n.$layouts(),l=[];if(t.each(function(){var e,t=r(this),a=t.data("layout"),i=o.find('[data-layout="'+a+'"]'),i=(i.data("min"),i.data("max")||0),a=(e=a,c.filter(function(){return r(this).data("layout")===e}).length);i&&i<=a||n.$clone(t.attr("data-layout")).length&&l.push(t)}),!l.length)return alert("No layouts could be pasted");r.each(l,function(){var e=r(this),t=i+"["+e.attr("data-id")+"]",a=n.$control().find("> input[type=hidden]").attr("name");n.acfeDuplicate({layout:e,before:!1,search:t,parent:a})})}catch(e){console.log(e),alert("Invalid data")}},n.events['click [data-name="acfe-flexible-control-button"]']="acfeControl",n.acfeControl=function(e,t){var a=this,i=t.next(".tmpl-acfe-flexible-control-popup").html();new(acf.models.TooltipConfirm.extend({render:function(){this.html(this.get("text")),this.$el.addClass("acf-fc-popup")}}))({target:t,targetConfirm:!1,text:i,context:a,confirm:function(e,t){"paste"===t.attr("data-acfe-flexible-control-action")?a.acfePasteLayouts():"copy"===t.attr("data-acfe-flexible-control-action")&&a.acfeCopyLayouts()}}).on("click","a","onConfirm")},n.acfeDuplicate=function(a){if(a=acf.parseArgs(a,{layout:"",before:!1,parent:!1,search:"",replace:""}),!this.allowAdd())return!1;var i=acf.uniqid();a.parent&&(a.search||(a.search=a.parent+"["+a.layout.attr("data-id")+"]"),a.replace=a.parent+"["+i+"]");var e,t={target:a.layout,search:a.search,replace:a.replace,append:this.proxy(function(e,t){t.addClass("acfe-layout-duplicated"),t.attr("data-id",i),a.before?a.before.after(t):this.$layoutsWrap().append(t),acf.enable(t,this.cid),this.render()})};e=parseFloat(acf.get("acf_version"))<5.9?acf.duplicate(t):n.acfeNewAcfDuplicate(t),this.$input().trigger("change");t=acf.getFields({type:"tab",parent:e});return t.length&&r.each(t,function(){this.$el.hasClass("acf-hidden")&&this.tab.$el.addClass("acf-hidden")}),e},n.acfeNewAcfDuplicate=function(e){e instanceof jQuery&&(e={target:e}),(e=acf.parseArgs(e,{target:!1,search:"",replace:"",rename:!0,before:function(e){},after:function(e,t){},append:function(e,t){e.after(t)}})).target=e.target||e.$el;var t=e.target;e.search=e.search||t.attr("data-id"),e.replace=e.replace||acf.uniqid(),e.before(t),acf.doAction("before_duplicate",t);var a=t.clone();return e.rename&&acf.rename({target:a,search:e.search,replace:e.replace,replacer:"function"==typeof e.rename?e.rename:null}),a.removeClass("acf-clone"),a.find(".ui-sortable").removeClass("ui-sortable"),e.after(t,a),acf.doAction("after_duplicate",t,a),e.append(t,a),acf.doAction("append",a),a},n.acfeFixInputs=function(e){e.find("input").each(function(){r(this).attr("value",this.value)}),e.find("textarea").each(function(){r(this).html(this.value)}),e.find("input:radio,input:checkbox").each(function(){this.checked?r(this).attr("checked","checked"):r(this).attr("checked",!1)}),e.find("option").each(function(){this.selected?r(this).attr("selected","selected"):r(this).attr("selected",!1)})},n.acfeCleanLayouts=function(e){e.find(".acf-editor-wrap").each(function(){var e=r(this);e.find(".wp-editor-container div").remove(),e.find(".wp-editor-container textarea").css("display","")}),e.find(".acf-date-picker").each(function(){r(this).find("input.input").removeClass("hasDatepicker").removeAttr("id")}),e.find(".acf-time-picker").each(function(){r(this).find("input.input").removeClass("hasDatepicker").removeAttr("id")}),e.find(".acf-date-time-picker").each(function(){r(this).find("input.input").removeClass("hasDatepicker").removeAttr("id")}),e.find(".acfe-field-code-editor").each(function(){r(this).find(".CodeMirror").remove()}),e.find(".acf-color-picker").each(function(){var e=r(this),t=e.find("> input"),a=e.find(".wp-picker-container input.wp-color-picker").clone();t.after(a),e.find(".wp-picker-container").remove()}),e.find(".acf-field-post-object").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden").removeClass()}),e.find(".acf-field-page-link").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden").removeClass()}),e.find(".acf-field-select").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden").removeClass()}),e.find(".acf-field-font-awesome").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden")}),e.find(".acf-tab-wrap").each(function(){var e=r(this),t=e.closest(".acf-fields"),a=[];r.each(e.find("li a"),function(){a.push(r(this))}),t.find("> .acf-field-tab").each(function(){$current_tab=r(this),r.each(a,function(){var e=r(this);e.attr("data-key")===$current_tab.attr("data-key")&&$current_tab.find("> .acf-input").append(e)})}),e.remove()}),e.find(".acf-field-accordion").each(function(){var e=r(this);e.find("> .acf-accordion-title > .acf-accordion-icon").remove(),e.after('<div class="acf-field acf-field-accordion" data-type="accordion"><div class="acf-input"><div class="acf-fields" data-endpoint="1"></div></div></div>')})},acf.addAction("new_field/type=flexible_content",function(e){e.has("acfeFlexibleLock")&&e.removeEvents({mouseover:"onHover"})}))}(jQuery),function(l){"undefined"!=typeof acf&&(acf.getFieldType("flexible_content").prototype.acfeModalSelect=function(e,t){var a=this;if(!a.validateAdd())return!1;var i=null;t.hasClass("acf-icon")&&(i=t.closest(".layout"));var n=a.getPopupHTML(),o={array:[],html:""};l(n).find("li a span[data-acfe-flexible-category]").each(function(){var e=l(this).data("acfe-flexible-category");l.each(e,function(){-1===function(e,t){for(var a=t.length,i=e.toString().toLowerCase(),n=0;n<a;n++)if(t[n].toLowerCase()===i)return n;return-1}(this,o.array)&&o.array.push(this)})}),o.array.length&&(o.array.sort(),o.html+='<h2 class="acfe-flexible-categories nav-tab-wrapper">',o.html+='<a href="#" data-acfe-flexible-category="acfe-all" class="nav-tab nav-tab-active"><span class="dashicons dashicons-menu"></span></a>',l(o.array).each(function(e,t){o.html+='<a href="#" data-acfe-flexible-category="'+t+'" class="nav-tab">'+t+"</a>"}),o.html+="</h2>");t=acf.__("Add Row");a.has("acfeFlexibleModalTitle")&&(t=a.get("acfeFlexibleModalTitle"));var c=l('<div class="acfe-modal acfe-modal-select-'+a.get("name")+" acfe-modal-select-"+a.get("key")+'">'+o.html+'<div class="acfe-flex-container">'+n+"</div></div>").appendTo("body");new acfe.Popup(c,{title:t,size:"full",destroy:!0}),a.has("acfeFlexibleModalCol")&&c.find(".acfe-modal-content .acfe-flex-container").addClass("acfe-col-"+a.get("acfeFlexibleModalCol")),a.has("acfeFlexibleThumbnails")&&c.find(".acfe-modal-content .acfe-flex-container").addClass("acfe-flex-thumbnails"),c.find("li:first-of-type a").blur(),c.find("li a span.badge").each(function(){l(this).addClass("acf-js-tooltip dashicons dashicons-info")}),c.find(".acfe-flexible-categories a").click(function(e){e.preventDefault();e=l(this);e.closest(".acfe-flexible-categories").find("a").removeClass("nav-tab-active"),e.addClass("nav-tab-active");var i=e.data("acfe-flexible-category");c.find("a[data-layout] span[data-acfe-flexible-category]").each(function(){var a=l(this);a.closest("li").show();var e=a.data("acfe-flexible-category");"acfe-all"!==i&&(a.closest("li").hide(),l.each(e,function(e,t){if(i.toLowerCase()===t.toLowerCase())return a.closest("li").show(),!1}))})}),c.on("click","a[data-layout]",function(e){e.preventDefault(),acfe.closePopup(),a.add({layout:l(this).data("layout"),before:i})})},acf.addAction("new_field/type=flexible_content",function(e){e.has("acfeFlexibleModal")&&(e.$clones().length<=1||(e.removeEvents({'click [data-name="add-layout"]':"onClickAdd"}),e.addEvents({'click [data-name="add-layout"]':"acfeModalSelect"})))}))}(jQuery),function(){var e;"undefined"!=typeof acf&&((e=acf.getFieldType("flexible_content").prototype).events['click [data-action="acfe-flexible-modal-edit"]']="acfeModalEdit",e.acfeModalEdit=function(e,t){var a=this,i=t.closest(".layout"),n=i.find("> .acfe-modal.-fields").addClass("acfe-modal-edit-"+a.get("name")+" acfe-modal-edit-"+a.get("key")).addClass("acfe-modal-edit-"+i.data("layout")),o=i.find("> .acf-fc-layout-handle"),c=o.find("> .acf-fc-layout-order").outerHTML(),t=o.find(".acfe-layout-title-text").text(),o=!1;a.has("acfeFlexibleCloseButton")&&(o=acf.__("Close")),new acfe.Popup(n,{title:c+" "+t,footer:o,onOpen:function(){a.openLayout(i)},onClose:function(){a.closeLayout(i)}})},acf.addAction("new_field/type=flexible_content",function(e){e.has("acfeFlexibleModalEdition")&&(e.has("acfeFlexiblePlaceholder")||e.has("acfeFlexiblePreview"))&&(e.removeEvents({'click [data-name="collapse-layout"]':"onClickCollapse"}),e.removeEvents({"click .acfe-fc-placeholder":"onClickCollapse"}))}))}(jQuery),function(c){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({type:"acfe_recaptcha",actions:{validation_failure:"validationFailure"},$control:function(){return this.$(".acfe-field-recaptcha")},$input:function(){return this.$('input[type="hidden"]')},$selector:function(){return this.$control().find("> div")},selector:function(){return this.$selector()[0]},version:function(){return this.get("version")},render:function(){var t=this;"v2"===this.version()?this.recaptcha=grecaptcha.render(t.selector(),{sitekey:t.$control().data("site-key"),theme:t.$control().data("theme"),size:t.$control().data("size"),callback:function(e){t.$input().val(e).change(),t.$input().closest(".acf-input").find("> .acf-notice.-error").hide()},"error-callback":function(){t.$input().val("error").change()},"expired-callback":function(){t.$input().val("expired").change()}}):"v3"===this.version()&&grecaptcha.ready(function(){grecaptcha.execute(t.$control().data("site-key"),{action:"homepage"}).then(function(e){t.$input().val(e).change(),t.$input().closest(".acf-input").find("> .acf-notice.-error").hide()})})},validationFailure:function(e){"v2"===this.version()&&grecaptcha.reset(this.recaptcha)}}),acf.registerFieldType(e),e=acf.Field.extend({wait:"ready",type:"acfe_code_editor",events:{showField:"onShow"},$control:function(){return this.$el.find("> .acf-input > .acf-input-wrap")},$input:function(){return this.$el.find("> .acf-input > .acf-input-wrap > textarea")},input:function(){return this.$input()[0]},rows:function(){return this.$input().attr("rows")},initialize:function(){this.rows=this.$control().data("rows"),this.max_rows=this.$control().data("max-rows"),this.mode=this.$control().data("mode"),this.lines=this.$control().data("lines"),this.indentUnit=this.$control().data("indent-unit");var e=[],t=wp.codeEditor.defaultSettings.codemirror,a={lineNumbers:this.lines,lineWrapping:!0,styleActiveLine:!1,continueComments:!0,indentUnit:this.indentUnit,tabSize:1,indentWithTabs:!0,mode:this.mode,extraKeys:{Tab:function(e){e.execCommand("indentMore")},"Shift-Tab":function(e){e.execCommand("indentLess")}}},a=jQuery.extend(t,a);e.codemirror=a,this.editor=wp.codeEditor.initialize(this.input(),e),(this.rows||this.max_rows)&&(this.rows&&(this.editor.codemirror.getScrollerElement().style.minHeight=18.5*this.rows+"px"),this.max_rows&&(this.editor.codemirror.getScrollerElement().style.maxHeight=18.5*this.max_rows+"px"),this.editor.codemirror.refresh()),(field=this).editor.codemirror.on("change",function(){field.editor.codemirror.save(),field.$input().change()})},onShow:function(){this.editor.codemirror&&this.editor.codemirror.refresh()}}),acf.registerFieldType(e),e=acf.Field.extend({type:"textarea",events:{"keydown textarea":"onInput"},onInput:function(e,t){var a,i;this.has("acfeTextareaCode")&&9===e.keyCode&&(e.preventDefault(),a=this.$el.find("textarea")[0],i=a.selectionStart,this.$el.find("textarea").val(function(e,t){return t.substring(0,i)+" "+t.substring(a.selectionEnd)}),a.selectionEnd=i+4)}}),acf.registerFieldType(e),e=acf.Field.extend({type:"acfe_slug",events:{"input input":"onInput","focusout input":"onFocusOut"},onInput:function(e,t){t.val(t.val().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/\_\_+/g,"_").replace(/^-+/,""))},onFocusOut:function(e,t){t.val(t.val().toLowerCase().replace(/-+$/,"").replace(/_+$/,""))}}),acf.registerFieldType(e),e=acf.Field.extend({type:"acfe_button",events:{"click input":"onClick","click button":"onClick"},$input:function(){return this.$("input").length?this.$("input"):this.$("button").length?this.$("button"):void 0},initialize:function(){var e=this.$input();this.inherit(e)},onClick:function(e,t){var a;this.get("ajax")&&(e.preventDefault(),a={action:"acfe/fields/button",field_name:this.get("name"),field_key:this.get("key")},acf.doAction("acfe/fields/button/before_ajax",this.$el,a),acf.doAction("acfe/fields/button/before",this.$el,a),acf.doAction("acfe/fields/button/before/key="+this.get("key"),this.$el,a),acf.doAction("acfe/fields/button/before/name="+this.get("name"),this.$el,a),c.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),type:"post",dataType:"json",context:this,success:function(e){acf.doAction("acfe/fields/button/ajax_success",e,this.$el,a),acf.doAction("acfe/fields/button/success",e,this.$el,a),acf.doAction("acfe/fields/button/success/key="+this.get("key"),e,this.$el,a),acf.doAction("acfe/fields/button/success/name="+this.get("name"),e,this.$el,a)},complete:function(e){e=e.responseText;acf.doAction("acfe/fields/button/complete",e,this.$el,a),acf.doAction("acfe/fields/button/complete/key="+this.get("key"),e,this.$el,a),acf.doAction("acfe/fields/button/complete/name="+this.get("name"),e,this.$el,a)}}))}}),acf.registerFieldType(e),e=acf.Field.extend({type:"acfe_advanced_link",events:{'click a[data-name="add"]':"onClickEdit",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove"},$control:function(){return this.$(".acf-link")},initialize:function(){},getValue:function(){var e={type:this.$(".input-type :checked").val(),title:this.$(".input-title").val(),url:this.$(".input-url").val(),post:this.$(".input-post :selected").text(),term:this.$(".input-term :selected").text(),target:this.$(".input-target").is(":checked")};return"post"===e.type?e.url=e.post:"term"===e.type&&(e.url=e.term),e},setValue:function(e){e=acf.parseArgs(e,{remove:!1,title:"",url:"",target:!1});var t=this.$control();t.removeClass("-value -external"),e.url&&t.addClass("-value"),e.target&&t.addClass("-external"),this.$(".link-title").html(e.title),this.$(".link-url").attr("href",e.url).html(e.url),e.remove&&(this.$(".input-type :checked").prop("checked",!1),this.$('.input-type [value="url"]').prop("checked",!0).trigger("change"),this.$(".input-title").val(""),this.$(".input-target").prop("checked",!1),this.$(".input-url").val("").trigger("change"),this.$(".input-post").val("").trigger("change"),this.$(".input-term").val("").trigger("change"))},onClickEdit:function(e,t){var a=t.closest(".acf-input").find(".acfe-modal"),t=a.attr("data-modal-title"),i=this;new acfe.Popup(a,{title:t,size:"medium",footer:acf.__("Close"),onClose:function(){i.onChange()}})},onClickRemove:function(e,t){this.setValue({remove:!0})},onChange:function(e,t){var a=this.getValue();this.setValue(a)}}),acf.registerFieldType(e),new acf.Model({actions:{invalid_field:"invalidField"},filters:{"select2_ajax_data/type=post_object":"ajaxField"},invalidField:function(e){var t=e.$el.closest(".acf-field-acfe-advanced-link").not(".acf-error");t.length&&acf.getInstance(t).showError(e.notice.get("text"))},ajaxField:function(e,t,a,i,n){if("post"!==i.get("key"))return e;a=acf.getInstance(a.closest(".acf-field-acfe-advanced-link"));return a&&(e.field_key=a.get("key")),e}}),e=acf.Field.extend({wait:!1,type:"group",events:{'click [data-name="edit"]':"onClick",duplicateField:"onDuplicate"},initialize:function(){var e;this.has("acfeGroupModal")&&(e=this.get("acfeGroupModalButton"),this.$el.find("> .acf-input > .acf-fields, > .acf-input > .acf-table").wrapAll('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>'),this.$el.find("> .acf-input").append('<a data-name="edit" class="acf-button button" href="#">'+e+"</a>"))},onClick:function(e,t){var a=this.$labelWrap().find("label").text().trim(),i=this.$el.find("> .acf-input > .acfe-modal").addClass("acfe-modal-edit-"+this.get("name")+" acfe-modal-edit-"+this.get("key"));a.length||(a=this.get("acfeGroupModalButton"));var n=!1;this.has("acfeGroupModalClose")&&(n=acf.__("Close"));var o="large";this.has("acfeGroupModalSize")&&(o=this.get("acfeGroupModalSize")),new acfe.Popup(i,{title:a,size:o,footer:n})},onDuplicate:function(e,t,a){a.find('a[data-name="edit"]').remove()}}),acf.registerFieldType(e),e=acf.Field.extend({wait:!1,type:"clone",events:{'click [data-name="edit"]':"onClick",duplicateField:"onDuplicate"},initialize:function(){var e;this.has("acfeCloneModal")&&(e=this.get("acfeCloneModalButton"),this.$el.find("> .acf-input > .acf-fields, > .acf-input > .acf-table").wrapAll('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>'),this.$el.find("> .acf-input").append('<a data-name="edit" class="acf-button button" href="#">'+e+"</a>"))},onClick:function(e,t){var a=this.$labelWrap().find("label").text().trim(),i=this.$el.find("> .acf-input > .acfe-modal").addClass("acfe-modal-edit-"+this.get("name")+" acfe-modal-edit-"+this.get("key"));a.length||(a=this.get("acfeCloneModalButton"));var n=!1;this.has("acfeCloneModalClose")&&(n=acf.__("Close"));var o="large";this.has("acfeCloneModalSize")&&(o=this.get("acfeCloneModalSize")),new acfe.Popup(i,{title:a,size:o,footer:n})},onDuplicate:function(e,t,a){a.find('a[data-name="edit"]').remove()}}),acf.registerFieldType(e),e=acf.Field.extend({wait:"new_field",type:"acfe_column",$control:function(){return this.$(".acf-fields:first")},initialize:function(){if(this.$el.is("td")&&(this.$el.closest(".acf-table").find('th[data-type="acfe_column"]').remove(),this.remove()),this.get("endpoint"))return this.$el.find("> .acf-label").remove(),void this.$el.find("> .acf-input").remove();var e=this.$el,t=this.$el.find("> .acf-label"),a=(this.$inputWrap(),this.$control());t.remove();t=e.parent();t.addClass("acfe-column-wrapper"),a.addClass(t.hasClass("-left")?"-left":""),a.addClass(t.hasClass("-clear")?"-clear":""),a.append(e.nextUntil(".acf-field-acfe-column",".acf-field"))}}),acf.registerFieldType(e),new acf.Model({actions:{"new_field/type=select":"newField"},newField:function(e){e.inherit(e.$input()),!e.get("ui")&&e.get("allow_null")&&e.$input().find("option").each(function(e,t){t.value||t.text.startsWith("- ")&&t.text.endsWith(" -")&&(t.text=t.text.substring(2),t.text=t.text.substring(0,t.text.length-2))}),(e.has("acfePrepend")||e.has("acfeAppend"))&&(e.$input().parent(".acf-input-wrap").length||(e.$input().wrapAll('<div class="acf-input-wrap"></div>'),e.get("ui")&&e.$(".acf-input-wrap:first").append(e.$(".select2")),e.has("acfePrepend")&&(e.$(".acf-input-wrap:first").before('<div class="acf-input-prepend">'+e.get("acfePrepend")+"</div>"),e.$input().addClass("acf-is-prepended")),e.has("acfeAppend")&&(e.$(".acf-input-wrap:first").before('<div class="acf-input-append">'+e.get("acfeAppend")+"</div>"),e.$input().addClass("acf-is-appended"))))}}),new acf.Model({actions:{select2_init:"select2Init"},filters:{select2_args:"select2Args",select2_ajax_data:"select2Ajax"},select2Init:function(t,e,a,i,n){var o;i.get("acfeSearchPlaceholder")&&(o=i.get("acfeSearchPlaceholder"),t.on("select2:open",function(e){i.get("multiple")?t.val()||i.$(".select2-search__field").attr("placeholder",o):c(".select2-search.select2-search--dropdown > .select2-search__field").attr("placeholder",o)}),i.get("multiple")&&t.on("select2:close",function(e){t.val()||i.$(".select2-search__field").attr("placeholder",i.get("placeholder"))})),t.data("select2")&&t.data("select2").$dropdown.addClass("select2-dropdown-acf-field-"+i.get("name")).addClass("select2-dropdown-acf-field-"+i.get("key")),acf.doAction("select2_init/type="+i.get("type"),t,e,a,i,n),acf.doAction("select2_init/name="+i.get("name"),t,e,a,i,n),acf.doAction("select2_init/key="+i.get("key"),t,e,a,i,n)},select2Args:function(e,t,a,i,n){return i.get("acfeAllowCustom")&&(e.tags=!0,e.createTag=function(e){var t=c.trim(e.term);if(""===t)return null;var a=!1;return this.$element.find("option").each(function(){if(this.value.toLowerCase()===t.toLowerCase())return!(a=!0)}),a?null:{id:t,text:t}},e.insertTag=function(e,t){var a=!1;c.each(e,function(){if(c.trim(t.text).toUpperCase()===c.trim(this.text).toUpperCase())return!(a=!0)}),a||e.unshift(t)}),e=acf.applyFilters("select2_args/type="+i.get("type"),e,t,a,i,n),e=acf.applyFilters("select2_args/name="+i.get("name"),e,t,a,i,n),e=acf.applyFilters("select2_args/key="+i.get("key"),e,t,a,i,n)},select2Ajax:function(e,t,a,i,n){return e=acf.applyFilters("select2_ajax_data/type="+i.get("type"),e,t,a,i,n),e=acf.applyFilters("select2_ajax_data/name="+i.get("name"),e,t,a,i,n),e=(e=acf.applyFilters("select2_ajax_data/key="+i.get("key"),e,t,a,i,n)).action?acf.applyFilters("select2_ajax_data/action="+e.action,e,t,a,i,n):e}}),new acf.Model({actions:{"prepare_field/type=tab":"prepareField"},prepareField:function(e){var t,i,n;e.has("noPreference")&&(t=e.findTabs(),t=acf.getInstances(t),i=e.get("key"),!t.length||(n=acf.getPreference("this.tabs"))&&(c.each(t,function(e,t){var a=t.get("index");t.data.key===i&&(n[a]=0)}),acf.setPreference("this.tabs",n)))}}),new acf.Model({actions:{"new_field/type=checkbox":"newField"},newField:function(a){a.has("acfeLabels")&&c.each(a.get("acfeLabels"),function(e,t){a.$control().find('input[type=checkbox][value="'+t+'"]').closest("ul").before("<strong>"+e+"</strong>")})}}),new acf.Model({actions:{"new_field/type=radio":"newField"},newField:function(a){a.has("acfeLabels")&&(c.each(a.get("acfeLabels"),function(e,t){a.$control().find('input[type=radio][value="'+t+'"]').closest("li").addClass("parent").prepend("<strong>"+e+"</strong>")}),a.$control().hasClass("acf-hl")&&a.$control().find("li.parent").each(function(){c(this).nextUntil("li.parent").addBack().wrapAll("<li><ul></ul></li>")}))}}),new acf.Model({field:!1,placement:!1,actions:{new_field:"newField"},newField:function(e){(this.field=e).has("instructionTooltip")&&this.setTooltip(),e.has("instructionAboveField")&&this.setAboveField(),e.has("instructionPlacement")&&this.overridePlacement(e.get("instructionPlacement"))},setTooltip:function(){this.field.$labelWrap().prepend('<span class="acfe-field-tooltip acf-js-tooltip dashicons dashicons-info" title="'+_.escape(this.field.get("instructionTooltip"))+'"></span>'),this.field.$labelWrap().find(".description").remove()},setAboveField:function(){this.field.$inputWrap().prepend('<p class="description">'+this.field.get("instructionAboveField")+"</p>"),this.field.$labelWrap().find(".description").remove()},overridePlacement:function(e){var t=this.getPlacement();t&&t!==e&&this.setPlacement(e)},getPlacement:function(){var e=!1;return this.field.$labelWrap().find(">.description").length?e="label":this.field.$inputWrap().find(">.description:first-child").length?e="above_field":this.field.$inputWrap().find(">.description:last-child").length?e="field":this.field.$labelWrap().find(">.acfe-field-tooltip").length&&(e="tooltip"),this.placement=e,this.placement},$getInstruction:function(){var e=this.getPlacement();return"label"===e?this.field.$labelWrap().find(">.description"):"above_field"===e?this.field.$inputWrap().find(">.description:first-child"):"field"===e?this.field.$inputWrap().find(">.description:last-child"):"tooltip"===e&&this.field.$labelWrap().find(">.acfe-field-tooltip")},setPlacement:function(e){var t,a=this.$getInstruction();"tooltip"===this.placement&&(t=a.attr("title"),a.remove(),a=c('<p class="description">'+t+"</p>")),"label"===e?this.field.$labelWrap().append(a):"above_field"===e?this.field.$inputWrap().prepend(a):"field"===e?this.field.$inputWrap().append(a):"tooltip"===e&&(this.field.$labelWrap().prepend(c('<span class="acfe-field-tooltip acf-js-tooltip dashicons dashicons-info" title="'+_.escape(a.html())+'"></span>')),a.remove())}}))}(jQuery),jQuery,"undefined"!=typeof acf&&(acf.registerConditionForFieldType("contains","checkbox"),acf.registerConditionForFieldType("contains","radio"),acf.registerConditionForFieldType("equalTo","acfe_code_editor"),acf.registerConditionForFieldType("notEqualTo","acfe_code_editor"),acf.registerConditionForFieldType("patternMatch","acfe_code_editor"),acf.registerConditionForFieldType("contains","acfe_code_editor"),acf.registerConditionForFieldType("hasValue","acfe_code_editor"),acf.registerConditionForFieldType("hasNoValue","acfe_code_editor"),acf.registerConditionForFieldType("equalTo","date_picker"),acf.registerConditionForFieldType("notEqualTo","date_picker"),acf.registerConditionForFieldType("patternMatch","date_picker"),acf.registerConditionForFieldType("contains","date_picker"),acf.registerConditionForFieldType("greaterThan","date_picker"),acf.registerConditionForFieldType("lessThan","date_picker"),acf.registerConditionForFieldType("equalTo","date_time_picker"),acf.registerConditionForFieldType("notEqualTo","date_time_picker"),acf.registerConditionForFieldType("patternMatch","date_time_picker"),acf.registerConditionForFieldType("contains","date_time_picker"),acf.registerConditionForFieldType("equalTo","acfe_forms"),acf.registerConditionForFieldType("notEqualTo","acfe_forms"),acf.registerConditionForFieldType("patternMatch","acfe_forms"),acf.registerConditionForFieldType("contains","acfe_forms"),acf.registerConditionForFieldType("hasValue","acfe_forms"),acf.registerConditionForFieldType("hasNoValue","acfe_forms"),acf.registerConditionForFieldType("equalTo","acfe_hidden"),acf.registerConditionForFieldType("notEqualTo","acfe_hidden"),acf.registerConditionForFieldType("patternMatch","acfe_hidden"),acf.registerConditionForFieldType("contains","acfe_hidden"),acf.registerConditionForFieldType("hasValue","acfe_hidden"),acf.registerConditionForFieldType("hasNoValue","acfe_hidden"),acf.registerConditionForFieldType("equalTo","acfe_post_statuses"),acf.registerConditionForFieldType("notEqualTo","acfe_post_statuses"),acf.registerConditionForFieldType("patternMatch","acfe_post_statuses"),acf.registerConditionForFieldType("contains","acfe_post_statuses"),acf.registerConditionForFieldType("hasValue","acfe_post_statuses"),acf.registerConditionForFieldType("hasNoValue","acfe_post_statuses"),acf.registerConditionForFieldType("equalTo","acfe_post_types"),acf.registerConditionForFieldType("notEqualTo","acfe_post_types"),acf.registerConditionForFieldType("patternMatch","acfe_post_types"),acf.registerConditionForFieldType("contains","acfe_post_types"),acf.registerConditionForFieldType("hasValue","acfe_post_types"),acf.registerConditionForFieldType("hasNoValue","acfe_post_types"),acf.registerConditionForFieldType("equalTo","acfe_slug"),acf.registerConditionForFieldType("notEqualTo","acfe_slug"),acf.registerConditionForFieldType("patternMatch","acfe_slug"),acf.registerConditionForFieldType("contains","acfe_slug"),acf.registerConditionForFieldType("hasValue","acfe_slug"),acf.registerConditionForFieldType("hasNoValue","acfe_slug"),acf.registerConditionForFieldType("equalTo","acfe_taxonomies"),acf.registerConditionForFieldType("notEqualTo","acfe_taxonomies"),acf.registerConditionForFieldType("patternMatch","acfe_taxonomies"),acf.registerConditionForFieldType("contains","acfe_taxonomies"),acf.registerConditionForFieldType("hasValue","acfe_taxonomies"),acf.registerConditionForFieldType("hasNoValue","acfe_taxonomies"),acf.registerConditionForFieldType("equalTo","taxonomy"),acf.registerConditionForFieldType("notEqualTo","taxonomy"),acf.registerConditionForFieldType("patternMatch","taxonomy"),acf.registerConditionForFieldType("contains","taxonomy"),acf.registerConditionForFieldType("hasValue","taxonomy"),acf.registerConditionForFieldType("hasNoValue","taxonomy"),acf.registerConditionForFieldType("equalTo","acfe_taxonomy_terms"),acf.registerConditionForFieldType("notEqualTo","acfe_taxonomy_terms"),acf.registerConditionForFieldType("patternMatch","acfe_taxonomy_terms"),acf.registerConditionForFieldType("contains","acfe_taxonomy_terms"),acf.registerConditionForFieldType("hasValue","acfe_taxonomy_terms"),acf.registerConditionForFieldType("hasNoValue","acfe_taxonomy_terms"),acf.registerConditionForFieldType("equalTo","time_picker"),acf.registerConditionForFieldType("notEqualTo","time_picker"),acf.registerConditionForFieldType("patternMatch","time_picker"),acf.registerConditionForFieldType("contains","time_picker"),acf.registerConditionForFieldType("equalTo","acfe_user_roles"),acf.registerConditionForFieldType("notEqualTo","acfe_user_roles"),acf.registerConditionForFieldType("patternMatch","acfe_user_roles"),acf.registerConditionForFieldType("contains","acfe_user_roles"),acf.registerConditionForFieldType("hasValue","acfe_user_roles"),acf.registerConditionForFieldType("hasNoValue","acfe_user_roles")),function(c){"undefined"!=typeof acf&&(new acf.Model({actions:{prepare:"prepare","new_field/type=date_picker":"datePicker","new_field/type=date_time_picker":"datePicker","new_field/type=time_picker":"datePicker","new_field/type=google_map":"googleMap",invalid_field:"invalidField",validation_begin:"validationBegin"},prepare:function(){var e;acfe.get("is_admin")||(acf.isset(window,"wp","media","view","settings","post")&&(wp.media.view.settings.post=!1),c('.acfe-form[data-hide-unload="1"]').length&&acf.unload.disable(),(e=c(".acfe-form-success")).length&&(window.history.replaceState&&window.history.replaceState(null,null,window.location.href),e.each(function(){var e=c(this).data("form-name"),t=c(this).data("form-id");acf.doAction("acfe/form/submit/success"),acf.doAction("acfe/form/submit/success/id="+t),acf.doAction("acfe/form/submit/success/name="+e)})),c('.acf-form .button, .acf-form [type="submit"], .acfe-form .button, .acfe-form [type="submit"]').click(function(e){c(this).hasClass("disabled")&&e.preventDefault()}))},datePicker:function(e){var t;acfe.get("is_admin")||(!(t=e.$el.closest(".acfe-form")).length||(t=t.data("fields-class"))&&e.$inputText().addClass(t))},googleMap:function(e){var t;acfe.get("is_admin")||(!(t=e.$el.closest(".acfe-form")).length||(t=t.data("fields-class"))&&e.$search().addClass(t))},invalidField:function(e){var t,a,i,n,o;acfe.get("is_admin")||(t=e.$el.closest(".acfe-form")).length&&(a=t.data("errors-position"),(o=t.data("errors-class"))&&o.length&&e.$el.find(".acf-notice.-error").addClass(o),a&&"below"===a?(e.$control().length?e.$el.find(".acf-notice.-error").insertAfter(e.$control()):e.$input().length&&e.$el.find(".acf-notice.-error").insertAfter(e.$input()),n=!1,e.$control().length?n=e.$control():e.$input().length&&(n=e.$input()),n&&e.$el.find(".acf-notice.-error").insertAfter(n)):a&&"group"===a?(i=e.$el.find(".acf-label label").text().trim(),o=e.$el.find('.acf-input-wrap [placeholder!=""]').attr("placeholder"),n=e.$el.find(".acf-notice.-error").text().trim(),e.$el.find(".acf-notice.-error").remove(),n=i&&i.length&&"*"!==i?i+": "+n:o&&o.length&&""!==o?o+": "+n:e.get("name")+": "+n,(o=!(o=t.find("> .acfe-form-error")).length?c('<div class="acf-notice -error acf-error-message acfe-form-error" />').prependTo(t):o).append("<p>"+n+"</p>")):a&&"hide"===a&&e.$el.find(".acf-notice.-error").remove())},validationBegin:function(e){acfe.get("is_admin")||void 0!==e&&e.find(".acf-error-message").remove()}}),acf.newCondition=function(e,t){var a=t.get("field"),i=a.getField(e.field);if(a&&!i&&(i=acf.getField(e.field)),!a||!i)return!1;t={rule:e,target:a,conditions:t,field:i},i=i.get("type"),e=e.operator;return new(acf.getConditionTypes({fieldType:i,operator:e})[0]||acf.Condition)(t)})}(jQuery),jQuery,"undefined"!=typeof acf&&(acf.getFieldType("repeater").prototype.acfeOnHover=function(){this.off("mouseover")},acf.addAction("new_field/type=repeater",function(e){e.has("acfeRepeaterLock")&&(e.removeEvents({mouseover:"onHover"}),e.addEvents({mouseover:"acfeOnHover"})),e.has("acfeRepeaterRemoveActions")&&(e.$actions().remove(),e.$el.find("thead:first > tr > th.acf-row-handle:last").remove(),e.$rows().find("> .acf-row-handle:last").remove(),e.$control().find("> .acfe-repeater-stylised-button").remove()),e.has("acfeRepeaterStylisedButton")&&(e.$button().removeClass("button-primary"),e.$actions().wrap('<div class="acfe-repeater-stylised-button" />'))}));
|
1 |
+
!function(c){var e;"undefined"!=typeof acf&&((e=acf.getFieldType("flexible_content").prototype).addSortable=function(a){1!=this.get("max")&&this.$layoutsWrap().sortable({items:" > .layout",handle:"> .acf-fc-layout-handle",forceHelperSize:!1,forcePlaceholderSize:!0,revert:50,tolerance:"pointer",scroll:!0,stop:function(e,t){a.render()},update:function(e,t){a.$input().trigger("change")}})},e.acfeOneClick=function(e,t){var a=this.$clones(),i=c(a[0]).data("layout"),a=null;t.hasClass("acf-icon")&&(a=t.closest(".layout"));this.add({layout:i,before:a});a=c(".acf-fc-popup");a.length&&a.hide()},e.acfeLayoutInit=function(t){var e,a,i=this,n=(t.find("> .acf-fc-layout-controls"),t.find("> .acf-fc-layout-handle"),t.find("> .acfe-fc-placeholder"));n.removeClass("acf-hidden"),i.has("acfeFlexibleModalEdition")||i.isLayoutClosed(t)||n.addClass("acf-hidden"),i.isLayoutClosed(t)&&i.has("acfeFlexiblePreview")&&!n.hasClass("-loading")&&(n.addClass("acfe-fc-preview -loading").find("> .acfe-flexible-placeholder").prepend('<span class="spinner"></span>'),n.find("> .acfe-fc-overlay").addClass("-hover"),e=t.children("input").attr("name").replace("[acf_fc_layout]",""),a={action:"acfe/flexible/layout_preview",field_key:i.get("key"),i:t.index(),layout:t.data("layout"),value:acf.serialize(t,e)},acf.doAction("acfe/fields/flexible_content/before_preview",i.$el,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/name="+i.get("name"),i.$el,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/key="+i.get("key"),i.$el,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/name="+i.get("name")+"&layout="+t.data("layout"),i.$el,t,a),acf.doAction("acfe/fields/flexible_content/before_preview/key="+i.get("key")+"&layout="+t.data("layout"),i.$el,t,a),c.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),dataType:"html",type:"post",success:function(e){e?n.find("> .acfe-flexible-placeholder").html(e):n.removeClass("acfe-fc-preview"),acf.doAction("acfe/fields/flexible_content/preview",e,i.$el,t,a),acf.doAction("acfe/fields/flexible_content/preview/name="+i.get("name"),e,i.$el,t,a),acf.doAction("acfe/fields/flexible_content/preview/key="+i.get("key"),e,i.$el,t,a),acf.doAction("acfe/fields/flexible_content/preview/name="+i.get("name")+"&layout="+t.data("layout"),e,i.$el,t,a),acf.doAction("acfe/fields/flexible_content/preview/key="+i.get("key")+"&layout="+t.data("layout"),e,i.$el,t,a)},complete:function(){n.find("> .acfe-fc-overlay").removeClass("-hover"),n.removeClass("-loading").find("> .acfe-flexible-placeholder > .spinner").remove()}}))},acf.getFieldType("wysiwyg").prototype.initialize=function(){this.has("id")||this.$control().hasClass("delay")||this.initializeEditor()},acf.addAction("show_field/type=wysiwyg",e=function(e){var t;e.has("id")||!e.$el.is(":visible")||acfe.isFilterEnabled("acfeForceOpen")||(t=e.$control()).hasClass("delay")&&(t.removeClass("delay"),t.find(".acf-editor-toolbar").remove(),e.initializeEditor())}),acf.addAction("ready_field/type=wysiwyg",e),acf.addAction("new_field/type=flexible_content",function(a){var e=a.$clones(),t=a.$layouts();c.merge(t,e);t.each(function(){var e=c(this),t=e.data("layout");acf.doAction("acfe/flexible/layouts",e,a),acf.doAction("acfe/flexible/layout/name="+t,e,a)}),1===e.length&&(a.removeEvents({'click [data-name="add-layout"]':"onClickAdd"}),a.addEvents({'click [data-name="add-layout"]':"acfeOneClick"})),a.addEvents({"click .acfe-fc-placeholder":"onClickCollapse"}),a.addEvents({"click .acfe-flexible-opened-actions > a":"onClickCollapse"}),a.has("acfeFlexibleAjax")&&(a.add=function(n){var o=this;if(n=acf.parseArgs(n,{layout:"",before:!1}),!this.allowAdd())return!1;c.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax({action:"acfe/flexible/models",field_key:this.get("key"),layout:n.layout}),dataType:"html",type:"post",beforeSend:function(){c("body").addClass("-loading")},success:function(e){if(e){var t=c(e),a=acf.uniqid(),i="acf["+o.get("key")+"][acfcloneindex]",e=o.$control().find("> input[type=hidden]").attr("name")+"["+a+"]",e=acf.duplicate({target:t,search:i,replace:e,append:o.proxy(function(e,t){n.before?n.before.before(t):o.$layoutsWrap().append(t),acf.enable(t,o.cid),o.render()})});return e.attr("data-id",a),o.$input().trigger("change"),e}},complete:function(){c("body").removeClass("-loading")}})})}),acf.addAction("acfe/flexible/layouts",function(e,t){t.isLayoutClosed(e)&&(e.find("> .acfe-fc-placeholder").removeClass("acf-hidden"),t.has("acfeFlexibleOpen")&&(acfe.enableFilter("acfeForceOpen"),t.openLayout(e),acfe.disableFilter("acfeForceOpen")))}),acf.addAction("show",function(e,t){"collapse"===t&&e.is(".layout")&&(acf.getInstance(e.closest(".acf-field-flexible-content")).has("acfeFlexibleModalEdition")||e.find("> .acfe-fc-placeholder").addClass("acf-hidden"))}),acf.addAction("hide",function(e,t){"collapse"===t&&e.is(".layout")&&!e.is(".acf-clone")&&((t=acf.getInstance(e.closest(".acf-field-flexible-content"))).has("acfeFlexibleRemoveAjaxTitle")&&(t.renderLayout=function(e){}),t.acfeLayoutInit(e))}),acf.addAction("append",function(e){var t;e.is(".layout")&&(t=acf.getInstance(e.closest(".acf-field-flexible-content")),e.is(".acfe-layout-duplicated")||(t.has("acfeFlexibleModalEdition")?e.find('> [data-action="acfe-flexible-modal-edit"]:first').trigger("click"):t.openLayout(e)),t.acfeLayoutInit(e),(t=t.$el.closest(".acfe-modal.-open")).length?t.find("> .acfe-modal-wrapper > .acfe-modal-content").animate({scrollTop:parseInt(e.offset().top)-200},200):!(parseFloat(acf.get("acf_version"))<5.9)&&e.hasClass("-focused")||c("html, body").animate({scrollTop:parseInt(e.offset().top)-200},200))}),acf.addAction("invalid_field",function(e){e.$el.parents(".layout").addClass("acfe-flexible-modal-edit-error")}),acf.addAction("valid_field",function(e){e.$el.parents(".layout").each(function(){var e=c(this);e.find(".acf-error").length||e.removeClass("acfe-flexible-modal-edit-error")})}))}(jQuery),function(r){var n;"undefined"!=typeof acf&&((n=acf.getFieldType("flexible_content").prototype).events["click .acf-fc-layout-handle"]="acfeEditLayoutTitleToggleHandle",n.acfeEditLayoutTitleToggleHandle=function(e,t){!this.has("acfeFlexibleTitleEdition")||(t=t.closest(".layout")).hasClass("acfe-flexible-title-edition")&&t.find("> .acf-fc-layout-handle > .acfe-layout-title > input.acfe-flexible-control-title").trigger("blur")},n.events["click .acfe-layout-title-text"]="acfeEditLayoutTitle",n.acfeEditLayoutTitle=function(e,t){this.has("acfeFlexibleTitleEdition")&&(e.stopPropagation(),this.acfeEditLayoutTitleToggle(e,t))},n.events["blur input.acfe-flexible-control-title"]="acfeEditLayoutTitleToggle",n.acfeEditLayoutTitleToggle=function(e,t){var a,i=t.closest(".layout"),n=i.find("> .acf-fc-layout-handle"),t=n.find(".acfe-layout-title");i.hasClass("acfe-flexible-title-edition")?(""===(a=t.find("> input[data-acfe-flexible-control-title-input]")).val()&&a.val(a.attr("placeholder")).trigger("input"),i.removeClass("acfe-flexible-title-edition"),a.insertAfter(n)):(a=(a=i.find("> input[data-acfe-flexible-control-title-input]")).appendTo(t),i.addClass("acfe-flexible-title-edition"),a.focus().attr("size",a.val().length))},n.events["click input.acfe-flexible-control-title"]="acfeEditLayoutTitlePropagation",n.acfeEditLayoutTitlePropagation=function(e,t){e.stopPropagation()},n.events["input [data-acfe-flexible-control-title-input]"]="acfeEditLayoutTitleInput",n.acfeEditLayoutTitleInput=function(e,t){var a=t.closest(".layout").find("> .acf-fc-layout-handle .acfe-layout-title .acfe-layout-title-text"),i=t.val();t.attr("size",i.length),a.html(i)},n.events["keypress [data-acfe-flexible-control-title-input]"]="acfeEditLayoutTitleInputEnter",n.acfeEditLayoutTitleInputEnter=function(e,t){13===e.keyCode&&(e.preventDefault(),t.blur())},n.events["click [data-acfe-flexible-settings]"]="acfeLayoutSettings",n.acfeLayoutSettings=function(e,t){var a=this,i=t.closest(".layout"),n=i.find("> .acfe-modal.-settings"),o=i.find("> .acf-fc-layout-handle"),t=o.find("> .acf-fc-layout-order").outerHTML(),o=o.find(".acfe-layout-title-text").text();new acfe.Popup(n,{title:t+" "+o,footer:acf.__("Close"),onClose:function(){a.has("acfeFlexiblePreview")&&a.closeLayout(i)}})},n.events["click [data-acfe-flexible-control-toggle]"]="acfeLayoutToggle",n.acfeLayoutToggle=function(e,t){var a=t.closest(".layout"),t=a.find("> .acfe-flexible-layout-toggle");t.length&&("1"===t.val()?(a.removeClass("acfe-flexible-layout-hidden"),t.val("")):(a.addClass("acfe-flexible-layout-hidden"),t.val("1")))},acf.addAction("acfe/flexible/layouts",function(e,t){!t.has("acfeFlexibleToggle")||(t=e.find("> .acfe-flexible-layout-toggle")).length&&("1"===t.val()?e.addClass("acfe-flexible-layout-hidden"):e.removeClass("acfe-flexible-layout-hidden"))}),n.events["click [data-acfe-flexible-control-clone]"]="acfeCloneLayout",n.acfeCloneLayout=function(e,t){var a,i=this,n=t.closest(".layout"),o=n.data("layout"),c=r(i.$popup().html()),l=i.$layouts(),c=c.find('[data-layout="'+o+'"]'),c=(c.data("min"),c.data("max")||0),o=(a=o,l.filter(function(){return r(this).data("layout")===a}).length);if(c&&c<=o)return t.addClass("disabled"),!1;t.removeClass("disabled"),i.acfeFixInputs(n);o=n.clone();i.acfeCleanLayouts(o);t=t.closest(".acf-flexible-content").find("> input[type=hidden]").attr("name"),i.acfeDuplicate({layout:o,before:n,parent:t})},n.events["click [data-acfe-flexible-control-copy]"]="acfeCopyLayout",n.acfeCopyLayout=function(e,t){var a=t.closest(".layout").clone(),t=this.$control().find("> input[type=hidden]").attr("name");this.acfeFixInputs(a),this.acfeCleanLayouts(a);t=JSON.stringify({source:t,layouts:a[0].outerHTML}),a=r('<input type="text" style="clip:rect(0,0,0,0);clip-path:rect(0,0,0,0);position:absolute;" value="" />').appendTo(r("body"));a.attr("value",t).select(),document.execCommand("copy")?alert("Layout has been transferred to your clipboard"):prompt("Copy the following layout data to your clipboard",t),a.remove()},n.acfeCopyLayouts=function(){var e=this,t=e.$layoutsWrap().clone(),a=e.$control().find("> input[type=hidden]").attr("name");e.acfeFixInputs(t),e.acfeCleanLayouts(t);t=JSON.stringify({source:a,layouts:t.html()}),e=r('<input type="text" style="clip:rect(0,0,0,0);clip-path:rect(0,0,0,0);position:absolute;" value="" />').appendTo(e.$el);e.attr("value",t).select(),document.execCommand("copy")?alert("Layouts have been transferred to your clipboard"):prompt("Copy the following layouts data to your clipboard",t),e.remove()},n.acfePasteLayouts=function(){var n=this,e=prompt("Paste layouts data in the following field");if(null!=e&&""!==e)try{var t=JSON.parse(e),i=t.source,t=r(t.layouts).closest("[data-layout]");if(!t.length)return alert("No layouts data available");var o=r(n.$popup().html()),c=n.$layouts(),l=[];if(t.each(function(){var e,t=r(this),a=t.data("layout"),i=o.find('[data-layout="'+a+'"]'),i=(i.data("min"),i.data("max")||0),a=(e=a,c.filter(function(){return r(this).data("layout")===e}).length);i&&i<=a||n.$clone(t.attr("data-layout")).length&&l.push(t)}),!l.length)return alert("No layouts could be pasted");r.each(l,function(){var e=r(this),t=i+"["+e.attr("data-id")+"]",a=n.$control().find("> input[type=hidden]").attr("name");n.acfeDuplicate({layout:e,before:!1,search:t,parent:a})})}catch(e){console.log(e),alert("Invalid data")}},n.events['click [data-name="acfe-flexible-control-button"]']="acfeControl",n.acfeControl=function(e,t){var a=this,i=t.next(".tmpl-acfe-flexible-control-popup").html();new(acf.models.TooltipConfirm.extend({render:function(){this.html(this.get("text")),this.$el.addClass("acf-fc-popup")}}))({target:t,targetConfirm:!1,text:i,context:a,confirm:function(e,t){"paste"===t.attr("data-acfe-flexible-control-action")?a.acfePasteLayouts():"copy"===t.attr("data-acfe-flexible-control-action")&&a.acfeCopyLayouts()}}).on("click","a","onConfirm")},n.acfeDuplicate=function(a){if(a=acf.parseArgs(a,{layout:"",before:!1,parent:!1,search:"",replace:""}),!this.allowAdd())return!1;var i=acf.uniqid();a.parent&&(a.search||(a.search=a.parent+"["+a.layout.attr("data-id")+"]"),a.replace=a.parent+"["+i+"]");var e,t={target:a.layout,search:a.search,replace:a.replace,append:this.proxy(function(e,t){t.addClass("acfe-layout-duplicated"),t.attr("data-id",i),a.before?a.before.after(t):this.$layoutsWrap().append(t),acf.enable(t,this.cid),this.render()})};e=parseFloat(acf.get("acf_version"))<5.9?acf.duplicate(t):n.acfeNewAcfDuplicate(t),this.$input().trigger("change");t=acf.getFields({type:"tab",parent:e});return t.length&&r.each(t,function(){this.$el.hasClass("acf-hidden")&&this.tab.$el.addClass("acf-hidden")}),e},n.acfeNewAcfDuplicate=function(e){e instanceof jQuery&&(e={target:e}),(e=acf.parseArgs(e,{target:!1,search:"",replace:"",rename:!0,before:function(e){},after:function(e,t){},append:function(e,t){e.after(t)}})).target=e.target||e.$el;var t=e.target;e.search=e.search||t.attr("data-id"),e.replace=e.replace||acf.uniqid(),e.before(t),acf.doAction("before_duplicate",t);var a=t.clone();return e.rename&&acf.rename({target:a,search:e.search,replace:e.replace,replacer:"function"==typeof e.rename?e.rename:null}),a.removeClass("acf-clone"),a.find(".ui-sortable").removeClass("ui-sortable"),e.after(t,a),acf.doAction("after_duplicate",t,a),e.append(t,a),acf.doAction("append",a),a},n.acfeFixInputs=function(e){e.find("input").each(function(){r(this).attr("value",this.value)}),e.find("textarea").each(function(){r(this).html(this.value)}),e.find("input:radio,input:checkbox").each(function(){this.checked?r(this).attr("checked","checked"):r(this).attr("checked",!1)}),e.find("option").each(function(){this.selected?r(this).attr("selected","selected"):r(this).attr("selected",!1)})},n.acfeCleanLayouts=function(e){e.find(".acf-editor-wrap").each(function(){var e=r(this);e.find(".wp-editor-container div").remove(),e.find(".wp-editor-container textarea").css("display","")}),e.find(".acf-date-picker").each(function(){r(this).find("input.input").removeClass("hasDatepicker").removeAttr("id")}),e.find(".acf-time-picker").each(function(){r(this).find("input.input").removeClass("hasDatepicker").removeAttr("id")}),e.find(".acf-date-time-picker").each(function(){r(this).find("input.input").removeClass("hasDatepicker").removeAttr("id")}),e.find(".acfe-field-code-editor").each(function(){r(this).find(".CodeMirror").remove()}),e.find(".acf-color-picker").each(function(){var e=r(this),t=e.find("> input"),a=e.find(".wp-picker-container input.wp-color-picker").clone();t.after(a),e.find(".wp-picker-container").remove()}),e.find(".acf-field-post-object").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden").removeClass()}),e.find(".acf-field-page-link").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden").removeClass()}),e.find(".acf-field-select").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden").removeClass()}),e.find(".acf-field-font-awesome").each(function(){var e=r(this);e.find("> .acf-input span").remove(),e.find("> .acf-input select").removeAttr("tabindex aria-hidden")}),e.find(".acf-tab-wrap").each(function(){var e=r(this),t=e.closest(".acf-fields"),a=[];r.each(e.find("li a"),function(){a.push(r(this))}),t.find("> .acf-field-tab").each(function(){$current_tab=r(this),r.each(a,function(){var e=r(this);e.attr("data-key")===$current_tab.attr("data-key")&&$current_tab.find("> .acf-input").append(e)})}),e.remove()}),e.find(".acf-field-accordion").each(function(){var e=r(this);e.find("> .acf-accordion-title > .acf-accordion-icon").remove(),e.after('<div class="acf-field acf-field-accordion" data-type="accordion"><div class="acf-input"><div class="acf-fields" data-endpoint="1"></div></div></div>')})},acf.addAction("new_field/type=flexible_content",function(e){e.has("acfeFlexibleLock")&&e.removeEvents({mouseover:"onHover"})}))}(jQuery),function(l){"undefined"!=typeof acf&&(acf.getFieldType("flexible_content").prototype.acfeModalSelect=function(e,t){var a=this;if(!a.validateAdd())return!1;var i=null;t.hasClass("acf-icon")&&(i=t.closest(".layout"));var n=a.getPopupHTML(),o={array:[],html:""};l(n).find("li a span[data-acfe-flexible-category]").each(function(){var e=l(this).data("acfe-flexible-category");l.each(e,function(){-1===function(e,t){for(var a=t.length,i=e.toString().toLowerCase(),n=0;n<a;n++)if(t[n].toLowerCase()===i)return n;return-1}(this,o.array)&&o.array.push(this)})}),o.array.length&&(o.array.sort(),o.html+='<h2 class="acfe-flexible-categories nav-tab-wrapper">',o.html+='<a href="#" data-acfe-flexible-category="acfe-all" class="nav-tab nav-tab-active"><span class="dashicons dashicons-menu"></span></a>',l(o.array).each(function(e,t){o.html+='<a href="#" data-acfe-flexible-category="'+t+'" class="nav-tab">'+t+"</a>"}),o.html+="</h2>");t=acf.__("Add Row");a.has("acfeFlexibleModalTitle")&&(t=a.get("acfeFlexibleModalTitle"));var c=l('<div class="acfe-modal acfe-modal-select-'+a.get("name")+" acfe-modal-select-"+a.get("key")+'">'+o.html+'<div class="acfe-flex-container">'+n+"</div></div>").appendTo("body");new acfe.Popup(c,{title:t,size:"full",destroy:!0}),a.has("acfeFlexibleModalCol")&&c.find(".acfe-modal-content .acfe-flex-container").addClass("acfe-col-"+a.get("acfeFlexibleModalCol")),a.has("acfeFlexibleThumbnails")&&c.find(".acfe-modal-content .acfe-flex-container").addClass("acfe-flex-thumbnails"),c.find("li:first-of-type a").blur(),c.find("li a span.badge").each(function(){l(this).addClass("acf-js-tooltip dashicons dashicons-info")}),c.find(".acfe-flexible-categories a").click(function(e){e.preventDefault();e=l(this);e.closest(".acfe-flexible-categories").find("a").removeClass("nav-tab-active"),e.addClass("nav-tab-active");var i=e.data("acfe-flexible-category");c.find("a[data-layout] span[data-acfe-flexible-category]").each(function(){var a=l(this);a.closest("li").show();var e=a.data("acfe-flexible-category");"acfe-all"!==i&&(a.closest("li").hide(),l.each(e,function(e,t){if(i.toLowerCase()===t.toLowerCase())return a.closest("li").show(),!1}))})}),c.on("click","a[data-layout]",function(e){e.preventDefault(),acfe.closePopup(),a.add({layout:l(this).data("layout"),before:i})})},acf.addAction("new_field/type=flexible_content",function(e){e.has("acfeFlexibleModal")&&(e.$clones().length<=1||(e.removeEvents({'click [data-name="add-layout"]':"onClickAdd"}),e.addEvents({'click [data-name="add-layout"]':"acfeModalSelect"})))}))}(jQuery),function(){var e;"undefined"!=typeof acf&&((e=acf.getFieldType("flexible_content").prototype).events['click [data-action="acfe-flexible-modal-edit"]']="acfeModalEdit",e.acfeModalEdit=function(e,t){var a=this,i=t.closest(".layout"),n=i.find("> .acfe-modal.-fields").addClass("acfe-modal-edit-"+a.get("name")+" acfe-modal-edit-"+a.get("key")).addClass("acfe-modal-edit-"+i.data("layout")),o=i.find("> .acf-fc-layout-handle"),c=o.find("> .acf-fc-layout-order").outerHTML(),t=o.find(".acfe-layout-title-text").text(),o=!1;a.has("acfeFlexibleCloseButton")&&(o=acf.__("Close")),new acfe.Popup(n,{title:c+" "+t,footer:o,onOpen:function(){a.openLayout(i)},onClose:function(){a.closeLayout(i)}})},acf.addAction("new_field/type=flexible_content",function(e){e.has("acfeFlexibleModalEdition")&&(e.has("acfeFlexiblePlaceholder")||e.has("acfeFlexiblePreview"))&&(e.removeEvents({'click [data-name="collapse-layout"]':"onClickCollapse"}),e.removeEvents({"click .acfe-fc-placeholder":"onClickCollapse"}))}))}(jQuery),function(c){var e;"undefined"!=typeof acf&&(e=acf.Field.extend({type:"acfe_recaptcha",wait:"load",actions:{validation_failure:"validationFailure"},$control:function(){return this.$(".acfe-field-recaptcha")},$input:function(){return this.$('input[type="hidden"]')},$selector:function(){return this.$control().find("> div")},selector:function(){return this.$selector()[0]},initialize:function(){"v2"===this.get("version")?this.renderV2(this):"v3"===this.get("version")&&this.renderV3()},renderV2:function(t){var e=this.selector(),a=this.$input(),i=this.get("siteKey"),n=this.get("theme"),o=this.get("size");this.recaptcha=grecaptcha.render(e,{sitekey:i,theme:n,size:o,callback:function(e){acf.val(a,e,!0),t.removeError()},"error-callback":function(){acf.val(a,"",!0),t.showError("An error has occured")},"expired-callback":function(){acf.val(a,"",!0),t.showError("reCaptcha has expired")}})},renderV3:function(){var t=this.$input(),e=this.get("siteKey");grecaptcha.ready(function(){grecaptcha.execute(e,{action:"homepage"}).then(function(e){acf.val(t,e,!0)})})},validationFailure:function(e){"v2"===this.get("version")&&grecaptcha.reset(this.recaptcha)}}),acf.registerFieldType(e),e=acf.Field.extend({wait:"ready",type:"acfe_code_editor",events:{showField:"onShow"},$control:function(){return this.$el.find("> .acf-input > .acf-input-wrap")},$input:function(){return this.$el.find("> .acf-input > .acf-input-wrap > textarea")},input:function(){return this.$input()[0]},rows:function(){return this.$input().attr("rows")},initialize:function(){this.rows=this.$control().data("rows"),this.max_rows=this.$control().data("max-rows"),this.mode=this.$control().data("mode"),this.lines=this.$control().data("lines"),this.indentUnit=this.$control().data("indent-unit");var e=[],t=wp.codeEditor.defaultSettings.codemirror,a={lineNumbers:this.lines,lineWrapping:!0,styleActiveLine:!1,continueComments:!0,indentUnit:this.indentUnit,tabSize:1,indentWithTabs:!0,mode:this.mode,extraKeys:{Tab:function(e){e.execCommand("indentMore")},"Shift-Tab":function(e){e.execCommand("indentLess")}}},a=jQuery.extend(t,a);e.codemirror=a,this.editor=wp.codeEditor.initialize(this.input(),e),(this.rows||this.max_rows)&&(this.rows&&(this.editor.codemirror.getScrollerElement().style.minHeight=18.5*this.rows+"px"),this.max_rows&&(this.editor.codemirror.getScrollerElement().style.maxHeight=18.5*this.max_rows+"px"),this.editor.codemirror.refresh()),(field=this).editor.codemirror.on("change",function(){field.editor.codemirror.save(),field.$input().change()})},onShow:function(){this.editor.codemirror&&this.editor.codemirror.refresh()}}),acf.registerFieldType(e),e=acf.Field.extend({type:"textarea",events:{"keydown textarea":"onInput"},onInput:function(e,t){var a,i;this.has("acfeTextareaCode")&&9===e.keyCode&&(e.preventDefault(),a=this.$el.find("textarea")[0],i=a.selectionStart,this.$el.find("textarea").val(function(e,t){return t.substring(0,i)+" "+t.substring(a.selectionEnd)}),a.selectionEnd=i+4)}}),acf.registerFieldType(e),e=acf.Field.extend({type:"acfe_slug",events:{"input input":"onInput","focusout input":"onFocusOut"},onInput:function(e,t){t.val(t.val().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/\_\_+/g,"_").replace(/^-+/,""))},onFocusOut:function(e,t){t.val(t.val().toLowerCase().replace(/-+$/,"").replace(/_+$/,""))}}),acf.registerFieldType(e),e=acf.Field.extend({type:"acfe_button",events:{"click input":"onClick","click button":"onClick"},$input:function(){return this.$("input").length?this.$("input"):this.$("button").length?this.$("button"):void 0},initialize:function(){var e=this.$input();this.inherit(e)},onClick:function(e,t){var a;this.get("ajax")&&(e.preventDefault(),a={action:"acfe/fields/button",field_name:this.get("name"),field_key:this.get("key")},acf.doAction("acfe/fields/button/before_ajax",this.$el,a),acf.doAction("acfe/fields/button/before",this.$el,a),acf.doAction("acfe/fields/button/before/key="+this.get("key"),this.$el,a),acf.doAction("acfe/fields/button/before/name="+this.get("name"),this.$el,a),c.ajax({url:acf.get("ajaxurl"),data:acf.prepareForAjax(a),type:"post",dataType:"json",context:this,success:function(e){acf.doAction("acfe/fields/button/ajax_success",e,this.$el,a),acf.doAction("acfe/fields/button/success",e,this.$el,a),acf.doAction("acfe/fields/button/success/key="+this.get("key"),e,this.$el,a),acf.doAction("acfe/fields/button/success/name="+this.get("name"),e,this.$el,a)},complete:function(e){e=e.responseText;acf.doAction("acfe/fields/button/complete",e,this.$el,a),acf.doAction("acfe/fields/button/complete/key="+this.get("key"),e,this.$el,a),acf.doAction("acfe/fields/button/complete/name="+this.get("name"),e,this.$el,a)}}))}}),acf.registerFieldType(e),e=acf.Field.extend({type:"acfe_advanced_link",events:{'click a[data-name="add"]':"onClickEdit",'click a[data-name="edit"]':"onClickEdit",'click a[data-name="remove"]':"onClickRemove"},$control:function(){return this.$(".acf-link")},initialize:function(){},getValue:function(){var e={type:this.$(".input-type :checked").val(),title:this.$(".input-title").val(),url:this.$(".input-url").val(),post:this.$(".input-post :selected").text(),term:this.$(".input-term :selected").text(),target:this.$(".input-target").is(":checked")};return"post"===e.type?e.url=e.post:"term"===e.type&&(e.url=e.term),e},setValue:function(e){e=acf.parseArgs(e,{remove:!1,title:"",url:"",target:!1});var t=this.$control();t.removeClass("-value -external"),e.url&&t.addClass("-value"),e.target&&t.addClass("-external"),this.$(".link-title").html(e.title),this.$(".link-url").attr("href",e.url).html(e.url),e.remove&&(this.$(".input-type :checked").prop("checked",!1),this.$('.input-type [value="url"]').prop("checked",!0).trigger("change"),this.$(".input-title").val(""),this.$(".input-target").prop("checked",!1),this.$(".input-url").val("").trigger("change"),this.$(".input-post").val("").trigger("change"),this.$(".input-term").val("").trigger("change"))},onClickEdit:function(e,t){var a=t.closest(".acf-input").find(".acfe-modal"),t=a.attr("data-modal-title"),i=this;new acfe.Popup(a,{title:t,size:"medium",footer:acf.__("Close"),onClose:function(){i.onChange()}})},onClickRemove:function(e,t){this.setValue({remove:!0})},onChange:function(e,t){var a=this.getValue();this.setValue(a)}}),acf.registerFieldType(e),new acf.Model({actions:{invalid_field:"invalidField"},filters:{"select2_ajax_data/type=post_object":"ajaxField"},invalidField:function(e){var t=e.$el.closest(".acf-field-acfe-advanced-link").not(".acf-error");t.length&&acf.getInstance(t).showError(e.notice.get("text"))},ajaxField:function(e,t,a,i,n){if("post"!==i.get("key"))return e;a=acf.getInstance(a.closest(".acf-field-acfe-advanced-link"));return a&&(e.field_key=a.get("key")),e}}),e=acf.Field.extend({wait:!1,type:"group",events:{'click [data-name="edit"]':"onClick",duplicateField:"onDuplicate"},initialize:function(){var e;this.has("acfeGroupModal")&&(e=this.get("acfeGroupModalButton"),this.$el.find("> .acf-input > .acf-fields, > .acf-input > .acf-table").wrapAll('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>'),this.$el.find("> .acf-input").append('<a data-name="edit" class="acf-button button" href="#">'+e+"</a>"))},onClick:function(e,t){var a=this.$labelWrap().find("label").text().trim(),i=this.$el.find("> .acf-input > .acfe-modal").addClass("acfe-modal-edit-"+this.get("name")+" acfe-modal-edit-"+this.get("key"));a.length||(a=this.get("acfeGroupModalButton"));var n=!1;this.has("acfeGroupModalClose")&&(n=acf.__("Close"));var o="large";this.has("acfeGroupModalSize")&&(o=this.get("acfeGroupModalSize")),new acfe.Popup(i,{title:a,size:o,footer:n})},onDuplicate:function(e,t,a){a.find('a[data-name="edit"]').remove()}}),acf.registerFieldType(e),e=acf.Field.extend({wait:!1,type:"clone",events:{'click [data-name="edit"]':"onClick",duplicateField:"onDuplicate"},initialize:function(){var e;this.has("acfeCloneModal")&&(e=this.get("acfeCloneModalButton"),this.$el.find("> .acf-input > .acf-fields, > .acf-input > .acf-table").wrapAll('<div class="acfe-modal"><div class="acfe-modal-wrapper"><div class="acfe-modal-content"></div></div></div>'),this.$el.find("> .acf-input").append('<a data-name="edit" class="acf-button button" href="#">'+e+"</a>"))},onClick:function(e,t){var a=this.$labelWrap().find("label").text().trim(),i=this.$el.find("> .acf-input > .acfe-modal").addClass("acfe-modal-edit-"+this.get("name")+" acfe-modal-edit-"+this.get("key"));a.length||(a=this.get("acfeCloneModalButton"));var n=!1;this.has("acfeCloneModalClose")&&(n=acf.__("Close"));var o="large";this.has("acfeCloneModalSize")&&(o=this.get("acfeCloneModalSize")),new acfe.Popup(i,{title:a,size:o,footer:n})},onDuplicate:function(e,t,a){a.find('a[data-name="edit"]').remove()}}),acf.registerFieldType(e),e=acf.Field.extend({wait:"new_field",type:"acfe_column",$control:function(){return this.$(".acf-fields:first")},initialize:function(){if(this.$el.is("td")&&(this.$el.closest(".acf-table").find('th[data-type="acfe_column"]').remove(),this.remove()),this.get("endpoint"))return this.$el.find("> .acf-label").remove(),void this.$el.find("> .acf-input").remove();var e=this.$el,t=this.$el.find("> .acf-label"),a=(this.$inputWrap(),this.$control());t.remove();t=e.parent();t.addClass("acfe-column-wrapper"),a.addClass(t.hasClass("-left")?"-left":""),a.addClass(t.hasClass("-clear")?"-clear":""),a.append(e.nextUntil(".acf-field-acfe-column",".acf-field"))}}),acf.registerFieldType(e),new acf.Model({actions:{"new_field/type=select":"newField"},newField:function(e){e.inherit(e.$input()),!e.get("ui")&&e.get("allow_null")&&e.$input().find("option").each(function(e,t){t.value||t.text.startsWith("- ")&&t.text.endsWith(" -")&&(t.text=t.text.substring(2),t.text=t.text.substring(0,t.text.length-2))}),(e.has("acfePrepend")||e.has("acfeAppend"))&&(e.$input().parent(".acf-input-wrap").length||(e.$input().wrapAll('<div class="acf-input-wrap"></div>'),e.get("ui")&&e.$(".acf-input-wrap:first").append(e.$(".select2")),e.has("acfePrepend")&&(e.$(".acf-input-wrap:first").before('<div class="acf-input-prepend">'+e.get("acfePrepend")+"</div>"),e.$input().addClass("acf-is-prepended")),e.has("acfeAppend")&&(e.$(".acf-input-wrap:first").before('<div class="acf-input-append">'+e.get("acfeAppend")+"</div>"),e.$input().addClass("acf-is-appended"))))}}),new acf.Model({actions:{select2_init:"select2Init"},filters:{select2_args:"select2Args",select2_ajax_data:"select2Ajax"},select2Init:function(t,e,a,i,n){var o;i.get("acfeSearchPlaceholder")&&(o=i.get("acfeSearchPlaceholder"),t.on("select2:open",function(e){i.get("multiple")?t.val()||i.$(".select2-search__field").attr("placeholder",o):c(".select2-search.select2-search--dropdown > .select2-search__field").attr("placeholder",o)}),i.get("multiple")&&t.on("select2:close",function(e){t.val()||i.$(".select2-search__field").attr("placeholder",i.get("placeholder"))})),t.data("select2")&&t.data("select2").$dropdown.addClass("select2-dropdown-acf-field-"+i.get("name")).addClass("select2-dropdown-acf-field-"+i.get("key")),acf.doAction("select2_init/type="+i.get("type"),t,e,a,i,n),acf.doAction("select2_init/name="+i.get("name"),t,e,a,i,n),acf.doAction("select2_init/key="+i.get("key"),t,e,a,i,n)},select2Args:function(e,t,a,i,n){return i.get("acfeAllowCustom")&&(e.tags=!0,e.createTag=function(e){var t=c.trim(e.term);if(""===t)return null;var a=!1;return this.$element.find("option").each(function(){if(this.value.toLowerCase()===t.toLowerCase())return!(a=!0)}),a?null:{id:t,text:t}},e.insertTag=function(e,t){var a=!1;c.each(e,function(){if(c.trim(t.text).toUpperCase()===c.trim(this.text).toUpperCase())return!(a=!0)}),a||e.unshift(t)}),e=acf.applyFilters("select2_args/type="+i.get("type"),e,t,a,i,n),e=acf.applyFilters("select2_args/name="+i.get("name"),e,t,a,i,n),e=acf.applyFilters("select2_args/key="+i.get("key"),e,t,a,i,n)},select2Ajax:function(e,t,a,i,n){return e=acf.applyFilters("select2_ajax_data/type="+i.get("type"),e,t,a,i,n),e=acf.applyFilters("select2_ajax_data/name="+i.get("name"),e,t,a,i,n),e=(e=acf.applyFilters("select2_ajax_data/key="+i.get("key"),e,t,a,i,n)).action?acf.applyFilters("select2_ajax_data/action="+e.action,e,t,a,i,n):e}}),new acf.Model({actions:{"prepare_field/type=tab":"prepareField"},prepareField:function(e){var t,i,n;e.has("noPreference")&&(t=e.findTabs(),t=acf.getInstances(t),i=e.get("key"),!t.length||(n=acf.getPreference("this.tabs"))&&(c.each(t,function(e,t){var a=t.get("index");t.data.key===i&&(n[a]=0)}),acf.setPreference("this.tabs",n)))}}),new acf.Model({actions:{"new_field/type=checkbox":"newField"},newField:function(a){a.has("acfeLabels")&&c.each(a.get("acfeLabels"),function(e,t){a.$control().find('input[type=checkbox][value="'+t+'"]').closest("ul").before("<strong>"+e+"</strong>")})}}),new acf.Model({actions:{"new_field/type=radio":"newField"},newField:function(a){a.has("acfeLabels")&&(c.each(a.get("acfeLabels"),function(e,t){a.$control().find('input[type=radio][value="'+t+'"]').closest("li").addClass("parent").prepend("<strong>"+e+"</strong>")}),a.$control().hasClass("acf-hl")&&a.$control().find("li.parent").each(function(){c(this).nextUntil("li.parent").addBack().wrapAll("<li><ul></ul></li>")}))}}),new acf.Model({field:!1,placement:!1,actions:{new_field:"newField"},newField:function(e){(this.field=e).has("instructionTooltip")&&this.setTooltip(),e.has("instructionAboveField")&&this.setAboveField(),e.has("instructionPlacement")&&this.overridePlacement(e.get("instructionPlacement"))},setTooltip:function(){this.field.$labelWrap().prepend('<span class="acfe-field-tooltip acf-js-tooltip dashicons dashicons-info" title="'+_.escape(this.field.get("instructionTooltip"))+'"></span>'),this.field.$labelWrap().find(".description").remove()},setAboveField:function(){this.field.$inputWrap().prepend('<p class="description">'+this.field.get("instructionAboveField")+"</p>"),this.field.$labelWrap().find(".description").remove()},overridePlacement:function(e){var t=this.getPlacement();t&&t!==e&&this.setPlacement(e)},getPlacement:function(){var e=!1;return this.field.$labelWrap().find(">.description").length?e="label":this.field.$inputWrap().find(">.description:first-child").length?e="above_field":this.field.$inputWrap().find(">.description:last-child").length?e="field":this.field.$labelWrap().find(">.acfe-field-tooltip").length&&(e="tooltip"),this.placement=e,this.placement},$getInstruction:function(){var e=this.getPlacement();return"label"===e?this.field.$labelWrap().find(">.description"):"above_field"===e?this.field.$inputWrap().find(">.description:first-child"):"field"===e?this.field.$inputWrap().find(">.description:last-child"):"tooltip"===e&&this.field.$labelWrap().find(">.acfe-field-tooltip")},setPlacement:function(e){var t,a=this.$getInstruction();"tooltip"===this.placement&&(t=a.attr("title"),a.remove(),a=c('<p class="description">'+t+"</p>")),"label"===e?this.field.$labelWrap().append(a):"above_field"===e?this.field.$inputWrap().prepend(a):"field"===e?this.field.$inputWrap().append(a):"tooltip"===e&&(this.field.$labelWrap().prepend(c('<span class="acfe-field-tooltip acf-js-tooltip dashicons dashicons-info" title="'+_.escape(a.html())+'"></span>')),a.remove())}}))}(jQuery),jQuery,"undefined"!=typeof acf&&(acf.registerConditionForFieldType("contains","checkbox"),acf.registerConditionForFieldType("contains","radio"),acf.registerConditionForFieldType("equalTo","acfe_code_editor"),acf.registerConditionForFieldType("notEqualTo","acfe_code_editor"),acf.registerConditionForFieldType("patternMatch","acfe_code_editor"),acf.registerConditionForFieldType("contains","acfe_code_editor"),acf.registerConditionForFieldType("hasValue","acfe_code_editor"),acf.registerConditionForFieldType("hasNoValue","acfe_code_editor"),acf.registerConditionForFieldType("equalTo","date_picker"),acf.registerConditionForFieldType("notEqualTo","date_picker"),acf.registerConditionForFieldType("patternMatch","date_picker"),acf.registerConditionForFieldType("contains","date_picker"),acf.registerConditionForFieldType("greaterThan","date_picker"),acf.registerConditionForFieldType("lessThan","date_picker"),acf.registerConditionForFieldType("equalTo","date_time_picker"),acf.registerConditionForFieldType("notEqualTo","date_time_picker"),acf.registerConditionForFieldType("patternMatch","date_time_picker"),acf.registerConditionForFieldType("contains","date_time_picker"),acf.registerConditionForFieldType("equalTo","acfe_forms"),acf.registerConditionForFieldType("notEqualTo","acfe_forms"),acf.registerConditionForFieldType("patternMatch","acfe_forms"),acf.registerConditionForFieldType("contains","acfe_forms"),acf.registerConditionForFieldType("hasValue","acfe_forms"),acf.registerConditionForFieldType("hasNoValue","acfe_forms"),acf.registerConditionForFieldType("equalTo","acfe_hidden"),acf.registerConditionForFieldType("notEqualTo","acfe_hidden"),acf.registerConditionForFieldType("patternMatch","acfe_hidden"),acf.registerConditionForFieldType("contains","acfe_hidden"),acf.registerConditionForFieldType("hasValue","acfe_hidden"),acf.registerConditionForFieldType("hasNoValue","acfe_hidden"),acf.registerConditionForFieldType("equalTo","acfe_post_statuses"),acf.registerConditionForFieldType("notEqualTo","acfe_post_statuses"),acf.registerConditionForFieldType("patternMatch","acfe_post_statuses"),acf.registerConditionForFieldType("contains","acfe_post_statuses"),acf.registerConditionForFieldType("hasValue","acfe_post_statuses"),acf.registerConditionForFieldType("hasNoValue","acfe_post_statuses"),acf.registerConditionForFieldType("equalTo","acfe_post_types"),acf.registerConditionForFieldType("notEqualTo","acfe_post_types"),acf.registerConditionForFieldType("patternMatch","acfe_post_types"),acf.registerConditionForFieldType("contains","acfe_post_types"),acf.registerConditionForFieldType("hasValue","acfe_post_types"),acf.registerConditionForFieldType("hasNoValue","acfe_post_types"),acf.registerConditionForFieldType("equalTo","acfe_slug"),acf.registerConditionForFieldType("notEqualTo","acfe_slug"),acf.registerConditionForFieldType("patternMatch","acfe_slug"),acf.registerConditionForFieldType("contains","acfe_slug"),acf.registerConditionForFieldType("hasValue","acfe_slug"),acf.registerConditionForFieldType("hasNoValue","acfe_slug"),acf.registerConditionForFieldType("equalTo","acfe_taxonomies"),acf.registerConditionForFieldType("notEqualTo","acfe_taxonomies"),acf.registerConditionForFieldType("patternMatch","acfe_taxonomies"),acf.registerConditionForFieldType("contains","acfe_taxonomies"),acf.registerConditionForFieldType("hasValue","acfe_taxonomies"),acf.registerConditionForFieldType("hasNoValue","acfe_taxonomies"),acf.registerConditionForFieldType("equalTo","taxonomy"),acf.registerConditionForFieldType("notEqualTo","taxonomy"),acf.registerConditionForFieldType("patternMatch","taxonomy"),acf.registerConditionForFieldType("contains","taxonomy"),acf.registerConditionForFieldType("hasValue","taxonomy"),acf.registerConditionForFieldType("hasNoValue","taxonomy"),acf.registerConditionForFieldType("equalTo","acfe_taxonomy_terms"),acf.registerConditionForFieldType("notEqualTo","acfe_taxonomy_terms"),acf.registerConditionForFieldType("patternMatch","acfe_taxonomy_terms"),acf.registerConditionForFieldType("contains","acfe_taxonomy_terms"),acf.registerConditionForFieldType("hasValue","acfe_taxonomy_terms"),acf.registerConditionForFieldType("hasNoValue","acfe_taxonomy_terms"),acf.registerConditionForFieldType("equalTo","time_picker"),acf.registerConditionForFieldType("notEqualTo","time_picker"),acf.registerConditionForFieldType("patternMatch","time_picker"),acf.registerConditionForFieldType("contains","time_picker"),acf.registerConditionForFieldType("equalTo","acfe_user_roles"),acf.registerConditionForFieldType("notEqualTo","acfe_user_roles"),acf.registerConditionForFieldType("patternMatch","acfe_user_roles"),acf.registerConditionForFieldType("contains","acfe_user_roles"),acf.registerConditionForFieldType("hasValue","acfe_user_roles"),acf.registerConditionForFieldType("hasNoValue","acfe_user_roles")),function(c){"undefined"!=typeof acf&&(new acf.Model({actions:{prepare:"prepare","new_field/type=date_picker":"datePicker","new_field/type=date_time_picker":"datePicker","new_field/type=time_picker":"datePicker","new_field/type=google_map":"googleMap",invalid_field:"invalidField",validation_begin:"validationBegin"},prepare:function(){var e;acfe.get("is_admin")||(acf.isset(window,"wp","media","view","settings","post")&&(wp.media.view.settings.post=!1),c('.acfe-form[data-hide-unload="1"]').length&&acf.unload.disable(),(e=c(".acfe-form-success")).length&&(window.history.replaceState&&window.history.replaceState(null,null,window.location.href),e.each(function(){var e=c(this).data("form-name"),t=c(this).data("form-id");acf.doAction("acfe/form/submit/success"),acf.doAction("acfe/form/submit/success/id="+t),acf.doAction("acfe/form/submit/success/name="+e)})),c('.acf-form .button, .acf-form [type="submit"], .acfe-form .button, .acfe-form [type="submit"]').click(function(e){c(this).hasClass("disabled")&&e.preventDefault()}))},datePicker:function(e){var t;acfe.get("is_admin")||(!(t=e.$el.closest(".acfe-form")).length||(t=t.data("fields-class"))&&e.$inputText().addClass(t))},googleMap:function(e){var t;acfe.get("is_admin")||(!(t=e.$el.closest(".acfe-form")).length||(t=t.data("fields-class"))&&e.$search().addClass(t))},invalidField:function(e){var t,a,i,n,o;acfe.get("is_admin")||(t=e.$el.closest(".acfe-form")).length&&(a=t.data("errors-position"),(o=t.data("errors-class"))&&o.length&&e.$el.find(".acf-notice.-error").addClass(o),a&&"below"===a?(e.$control().length?e.$el.find(".acf-notice.-error").insertAfter(e.$control()):e.$input().length&&e.$el.find(".acf-notice.-error").insertAfter(e.$input()),n=!1,e.$control().length?n=e.$control():e.$input().length&&(n=e.$input()),n&&e.$el.find(".acf-notice.-error").insertAfter(n)):a&&"group"===a?(i=e.$el.find(".acf-label label").text().trim(),o=e.$el.find('.acf-input-wrap [placeholder!=""]').attr("placeholder"),n=e.$el.find(".acf-notice.-error").text().trim(),e.$el.find(".acf-notice.-error").remove(),n=i&&i.length&&"*"!==i?i+": "+n:o&&o.length&&""!==o?o+": "+n:e.get("name")+": "+n,(o=!(o=t.find("> .acfe-form-error")).length?c('<div class="acf-notice -error acf-error-message acfe-form-error" />').prependTo(t):o).append("<p>"+n+"</p>")):a&&"hide"===a&&e.$el.find(".acf-notice.-error").remove())},validationBegin:function(e){acfe.get("is_admin")||void 0!==e&&e.find(".acf-error-message").remove()}}),acf.newCondition=function(e,t){var a=t.get("field"),i=a.getField(e.field);if(a&&!i&&(i=acf.getField(e.field)),!a||!i)return!1;t={rule:e,target:a,conditions:t,field:i},i=i.get("type"),e=e.operator;return new(acf.getConditionTypes({fieldType:i,operator:e})[0]||acf.Condition)(t)})}(jQuery),jQuery,"undefined"!=typeof acf&&(acf.getFieldType("repeater").prototype.acfeOnHover=function(){this.off("mouseover")},acf.addAction("new_field/type=repeater",function(e){e.has("acfeRepeaterLock")&&(e.removeEvents({mouseover:"onHover"}),e.addEvents({mouseover:"acfeOnHover"})),e.has("acfeRepeaterRemoveActions")&&(e.$actions().remove(),e.$el.find("thead:first > tr > th.acf-row-handle:last").remove(),e.$rows().find("> .acf-row-handle:last").remove(),e.$control().find("> .acfe-repeater-stylised-button").remove()),e.has("acfeRepeaterStylisedButton")&&(e.$button().removeClass("button-primary"),e.$actions().wrap('<div class="acfe-repeater-stylised-button" />'))}));
|
assets/js/acfe-ui.js
CHANGED
@@ -301,10 +301,10 @@
|
|
301 |
$nativeTitle.remove();
|
302 |
|
303 |
// ACF class
|
304 |
-
|
305 |
-
$
|
306 |
|
307 |
-
$
|
308 |
|
309 |
var $this = $(this);
|
310 |
|
301 |
$nativeTitle.remove();
|
302 |
|
303 |
// ACF class
|
304 |
+
$('.acfe-bt .inside .form-field').addClass('acf-field');
|
305 |
+
$('.acfe-bt .inside .submit').addClass('form-field');
|
306 |
|
307 |
+
$('.acfe-bt .inside .form-field').each(function() {
|
308 |
|
309 |
var $this = $(this);
|
310 |
|
assets/js/acfe-ui.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(s){var i,t;"undefined"!=typeof acf&&(acfe.enhancedEditUI=function(e){return new i(e)},i=acf.Model.extend({data:{screen:!1,submit:"> p.submit",pageTitle:!1},title:!1,$form:!1,$main:!1,$sidebar:!1,setup:function(e){s.extend(this.data,e),this.$el=s(".wrap"),this.$el.attr("id","poststuff"),this.$("> form").wrapInner('<div class="acf-columns-2"><div class="acf-column-1"></div></div>'),s("#side-sortables").appendTo(".acf-columns-2").wrapAll('<div class="acf-column-2"></div>'),this.title=this.$("> h1").text(),this.$form=this.$("> form"),this.$main=this.$(".acf-column-1"),this.$sidebar=this.$(".acf-column-2"),this.get("pageTitle")&&this.$main.find("> table:first").before("<h2>"+this.title+"</h2>"),s("#submitdiv > .postbox-header > h2.hndle").text(this.title),this.$main.find(this.get("submit")).contents().appendTo("#publishing-action"),this.$main.find(this.get("submit")).remove(),s("#submitdiv #publishing-action .button").addClass("button-large").after('<span class="spinner"></span>')},events:{"submit form":"onSubmit"},initialize:function(){this.addActions({"acfe/ui/user-edit":"userEdit","acfe/ui/user-new":"userNew","acfe/ui/term-edit":"termEdit","acfe/ui/settings":"settings"}),acf.doAction("acfe/ui/"+this.get("screen"),this)},onSubmit:function(e,i){acf.lockForm(i)},userEdit:function(){var e=this.$main;e.prepend(s("#acf_after_title-sortables"));var i=this.$("> form .yoast.yoast-settings");i.length&&(i.addClass("postbox"),i.find("> h2").wrapAll('<div class="postbox-header"></div>'),i.find("> .postbox-header ~ *").wrapAll('<div class="acf-fields -left"></div>'),i.find(".acf-fields > label:nth-of-type(1), .acf-fields > input:nth-of-type(1)").wrapAll('<div class="acf-field"></div>'),i.find(".acf-fields > label:nth-of-type(1), .acf-fields > label:nth-of-type(1) ~ *").wrapAll('<div class="acf-field"></div>'),i.find(".acf-fields > br").remove(),i.find(".acf-field").each(function(){var e=s(this);e.find("label:nth-of-type(1)").wrapAll('<div class="acf-label"></div>'),e.find(".acf-label ~ *").wrapAll('<div class="acf-input"></div>')}));i=this.$("> form .rank-math-metabox-frame");i.length&&(t=i.find("h2").text(),i.find("h2").remove(),i.wrapAll('<div class="postbox acf-postbox rankmath"><div class="acf-fields -left"><div class="acf-field"><div class="acf-input"></div></div></div></div>'),i.closest(".acf-field").prepend('<div class="acf-label"><label>'+t+"</label></div>"),i.closest(".postbox").prepend('<div class="postbox-header"><h2>'+t+"</h2></div>"));i=this.$("#ure_select_other_roles");i.length&&i.closest("table").find("tr:eq(1) > td > br").remove();var t=s("#application-passwords-section");t.length&&(i=t.find("> h2").text(),t.addClass("postbox"),t.wrapInner('<div class="acf-fields -left"><div class="acf-field"><div class="acf-input"></div></div></div>'),t.find(".acf-input > h2").insertBefore(t.find(".acf-fields")).wrapAll('<div class="postbox-header"></div>'),t.find(".acf-input").before('<div class="acf-label"><label>'+i+"</label></div>"),t.find(".acf-input > p:first").css("margin-top",15).insertBefore(t.find("p.submit")),t.find(".acf-input > .create-application-password > .form-field").removeClass("form-field"),t.find(".acf-input > .create-application-password > div > label").remove());t=s("input#nickname");t.length&&(t.wrapAll('<div id="titlediv"><div id="titlewrap"></div></div>'),s("#titlediv").append(s("#edit-slug-box")).prependTo(e),e.find("tr.user-nickname-wrap").remove()),e.find("> h2:eq(1), > h2:eq(1) + table").insertBefore(e.find("> h2:first"))},userNew:function(){var e=this.$main;this.$("> p:first").insertAfter(e.find(">h2:first")),e.prepend(s("#acf_after_title-sortables"))},termEdit:function(){var e=this.$main,i=s("input#name");i.length&&(i.wrapAll('<div id="titlediv"><div id="titlewrap"></div></div>'),s("#titlediv").append(s(".permalink")).prependTo(e),e.find("tr.term-name-wrap").remove());e=s("#icl_tax_menu");e.length&&(t=e.find("h3.hndle").text(),e.find(".inside").addClass("icl-tax-postbox-content").attr("style","").insertAfter("#submitdiv"),this.$sidebar.find(".icl-tax-postbox-content").wrapAll('<div id="icl-tax-postbox" class="postbox"></div>').parent().prepend('<div class="postbox-header"><h2 class="hdnle">'+t+"</h2></div>"));var t=s(".wpseo-taxonomy-metabox-postbox");t.length&&(a=t.find("> h2").text(),t.find("> .inside").removeClass("inside").wrapAll('<div class="acf-fields -left"><div class="acf-field"><div class="acf-input"></div></div></div>'),s('<div class="acf-label"><label>'+a+"</label></div>").insertBefore(t.find(".acf-input")));var a=this.$("> form .rank-math-metabox-frame");a.length&&(t=a.find("h2").text(),a.find("h2").remove(),a.wrapAll('<div class="postbox acf-postbox rankmath"><div class="acf-fields -left"><div class="acf-field"><div class="acf-input"></div></div></div></div>'),a.closest(".acf-field").prepend('<div class="acf-label"><label>'+t+"</label></div>"),a.closest(".postbox").prepend('<div class="postbox-header"><h2>'+t+"</h2></div>"))},settings:function(){acf.get("locale")||acf.set("locale","en_US"),s("#acf-form-data").prependTo(this.$form),s("#acf_after_title-sortables").prependTo(this.$main),s("#normal-sortables").appendTo(this.$main);var e=this.$("#ping_sites");e.length&&(e.wrap('<table class="form-table"><tbody><td class="td-full"></td></tbody></table>'),e.css("width","100%"));e=this.$(".permalink-structure");e.length&&e.prev().prev("p").insertBefore(e)}}),acfe.enhancedListUI=function(e){return new t(e)},t=acf.Model.extend({setup:function(e){s.extend(this.data,e)},initialize:function(){s(".wrap .wp-heading-inline").after(s("#tmpl-button-add-term").html()),s("#ajax-response").after(s("#col-container #col-left").addClass("acfe-bt")),s(".acfe-bt").hide(),s(".acfe-bt .form-wrap").append('<div id="poststuff"></div>');var e=s(".acfe-bt .form-wrap form");s(".acfe-bt #poststuff").append(e),e.wrapInner('<div class="postbox" id="acfe-bt-form"><div class="inside"></div></div>');var i=s(".acfe-bt .form-wrap > h2");s(".acfe-bt .postbox").prepend('<h2 class="hndle">'+i.text()+"</h2>"),i.remove()
|
1 |
+
!function(s){var i,t;"undefined"!=typeof acf&&(acfe.enhancedEditUI=function(e){return new i(e)},i=acf.Model.extend({data:{screen:!1,submit:"> p.submit",pageTitle:!1},title:!1,$form:!1,$main:!1,$sidebar:!1,setup:function(e){s.extend(this.data,e),this.$el=s(".wrap"),this.$el.attr("id","poststuff"),this.$("> form").wrapInner('<div class="acf-columns-2"><div class="acf-column-1"></div></div>'),s("#side-sortables").appendTo(".acf-columns-2").wrapAll('<div class="acf-column-2"></div>'),this.title=this.$("> h1").text(),this.$form=this.$("> form"),this.$main=this.$(".acf-column-1"),this.$sidebar=this.$(".acf-column-2"),this.get("pageTitle")&&this.$main.find("> table:first").before("<h2>"+this.title+"</h2>"),s("#submitdiv > .postbox-header > h2.hndle").text(this.title),this.$main.find(this.get("submit")).contents().appendTo("#publishing-action"),this.$main.find(this.get("submit")).remove(),s("#submitdiv #publishing-action .button").addClass("button-large").after('<span class="spinner"></span>')},events:{"submit form":"onSubmit"},initialize:function(){this.addActions({"acfe/ui/user-edit":"userEdit","acfe/ui/user-new":"userNew","acfe/ui/term-edit":"termEdit","acfe/ui/settings":"settings"}),acf.doAction("acfe/ui/"+this.get("screen"),this)},onSubmit:function(e,i){acf.lockForm(i)},userEdit:function(){var e=this.$main;e.prepend(s("#acf_after_title-sortables"));var i=this.$("> form .yoast.yoast-settings");i.length&&(i.addClass("postbox"),i.find("> h2").wrapAll('<div class="postbox-header"></div>'),i.find("> .postbox-header ~ *").wrapAll('<div class="acf-fields -left"></div>'),i.find(".acf-fields > label:nth-of-type(1), .acf-fields > input:nth-of-type(1)").wrapAll('<div class="acf-field"></div>'),i.find(".acf-fields > label:nth-of-type(1), .acf-fields > label:nth-of-type(1) ~ *").wrapAll('<div class="acf-field"></div>'),i.find(".acf-fields > br").remove(),i.find(".acf-field").each(function(){var e=s(this);e.find("label:nth-of-type(1)").wrapAll('<div class="acf-label"></div>'),e.find(".acf-label ~ *").wrapAll('<div class="acf-input"></div>')}));i=this.$("> form .rank-math-metabox-frame");i.length&&(t=i.find("h2").text(),i.find("h2").remove(),i.wrapAll('<div class="postbox acf-postbox rankmath"><div class="acf-fields -left"><div class="acf-field"><div class="acf-input"></div></div></div></div>'),i.closest(".acf-field").prepend('<div class="acf-label"><label>'+t+"</label></div>"),i.closest(".postbox").prepend('<div class="postbox-header"><h2>'+t+"</h2></div>"));i=this.$("#ure_select_other_roles");i.length&&i.closest("table").find("tr:eq(1) > td > br").remove();var t=s("#application-passwords-section");t.length&&(i=t.find("> h2").text(),t.addClass("postbox"),t.wrapInner('<div class="acf-fields -left"><div class="acf-field"><div class="acf-input"></div></div></div>'),t.find(".acf-input > h2").insertBefore(t.find(".acf-fields")).wrapAll('<div class="postbox-header"></div>'),t.find(".acf-input").before('<div class="acf-label"><label>'+i+"</label></div>"),t.find(".acf-input > p:first").css("margin-top",15).insertBefore(t.find("p.submit")),t.find(".acf-input > .create-application-password > .form-field").removeClass("form-field"),t.find(".acf-input > .create-application-password > div > label").remove());t=s("input#nickname");t.length&&(t.wrapAll('<div id="titlediv"><div id="titlewrap"></div></div>'),s("#titlediv").append(s("#edit-slug-box")).prependTo(e),e.find("tr.user-nickname-wrap").remove()),e.find("> h2:eq(1), > h2:eq(1) + table").insertBefore(e.find("> h2:first"))},userNew:function(){var e=this.$main;this.$("> p:first").insertAfter(e.find(">h2:first")),e.prepend(s("#acf_after_title-sortables"))},termEdit:function(){var e=this.$main,i=s("input#name");i.length&&(i.wrapAll('<div id="titlediv"><div id="titlewrap"></div></div>'),s("#titlediv").append(s(".permalink")).prependTo(e),e.find("tr.term-name-wrap").remove());e=s("#icl_tax_menu");e.length&&(t=e.find("h3.hndle").text(),e.find(".inside").addClass("icl-tax-postbox-content").attr("style","").insertAfter("#submitdiv"),this.$sidebar.find(".icl-tax-postbox-content").wrapAll('<div id="icl-tax-postbox" class="postbox"></div>').parent().prepend('<div class="postbox-header"><h2 class="hdnle">'+t+"</h2></div>"));var t=s(".wpseo-taxonomy-metabox-postbox");t.length&&(a=t.find("> h2").text(),t.find("> .inside").removeClass("inside").wrapAll('<div class="acf-fields -left"><div class="acf-field"><div class="acf-input"></div></div></div>'),s('<div class="acf-label"><label>'+a+"</label></div>").insertBefore(t.find(".acf-input")));var a=this.$("> form .rank-math-metabox-frame");a.length&&(t=a.find("h2").text(),a.find("h2").remove(),a.wrapAll('<div class="postbox acf-postbox rankmath"><div class="acf-fields -left"><div class="acf-field"><div class="acf-input"></div></div></div></div>'),a.closest(".acf-field").prepend('<div class="acf-label"><label>'+t+"</label></div>"),a.closest(".postbox").prepend('<div class="postbox-header"><h2>'+t+"</h2></div>"))},settings:function(){acf.get("locale")||acf.set("locale","en_US"),s("#acf-form-data").prependTo(this.$form),s("#acf_after_title-sortables").prependTo(this.$main),s("#normal-sortables").appendTo(this.$main);var e=this.$("#ping_sites");e.length&&(e.wrap('<table class="form-table"><tbody><td class="td-full"></td></tbody></table>'),e.css("width","100%"));e=this.$(".permalink-structure");e.length&&e.prev().prev("p").insertBefore(e)}}),acfe.enhancedListUI=function(e){return new t(e)},t=acf.Model.extend({setup:function(e){s.extend(this.data,e)},initialize:function(){s(".wrap .wp-heading-inline").after(s("#tmpl-button-add-term").html()),s("#ajax-response").after(s("#col-container #col-left").addClass("acfe-bt")),s(".acfe-bt").hide(),s(".acfe-bt .form-wrap").append('<div id="poststuff"></div>');var e=s(".acfe-bt .form-wrap form");s(".acfe-bt #poststuff").append(e),e.wrapInner('<div class="postbox" id="acfe-bt-form"><div class="inside"></div></div>');var i=s(".acfe-bt .form-wrap > h2");s(".acfe-bt .postbox").prepend('<h2 class="hndle">'+i.text()+"</h2>"),i.remove(),s(".acfe-bt .inside .form-field").addClass("acf-field"),s(".acfe-bt .inside .submit").addClass("form-field"),s(".acfe-bt .inside .form-field").each(function(){var e,i=s(this);i.is("#term-translations")||(i.append('<div class="acf-input"></div>'),i.find(".acf-input").append(i.find('> :not("label")')),(e=i.find("> label")).length?e.wrap('<div class="acf-label"></div>'):i.addClass("acfe-bt-no-label"))}),s("#acf-term-fields").contents().unwrap(),s(".acfe-bt-admin-button-add").click(function(e){e.preventDefault();e=s(".acfe-bt");e.is(":visible")?e.hide():e.show()}),"undefined"!=typeof acf&&acf.postbox.render({id:"acfe-bt-form",label:"left"}),s("#acfe-bt-form .acf-tab-wrap.-left").removeClass("-left").addClass("-top");e=s("#icl_tax_menu");e.length&&((i=e.find(".postbox").removeClass("postbox")).find(".inside").removeClass("inside").css("padding",0),i.insertBefore(".acfe-bt .inside .submit"),e=i.find("h3.hndle").text(),i.find(".hndle").remove(),i.wrapAll('<div class="form-field acf-field"><div class="acf-input"></div></div>').parent().parent().prepend('<div class="acf-label"><label>'+e+"</label></div>"))}}))}(jQuery);
|
includes/admin/settings.php
CHANGED
@@ -521,6 +521,8 @@ class acfe_admin_settings_ui{
|
|
521 |
|
522 |
$name = $setting['name'];
|
523 |
$type = $setting['type'];
|
|
|
|
|
524 |
|
525 |
$vars = array(
|
526 |
'default' => $this->defaults[$name],
|
@@ -560,8 +562,11 @@ class acfe_admin_settings_ui{
|
|
560 |
}
|
561 |
|
562 |
// Local Changes
|
563 |
-
if($
|
|
|
|
|
564 |
$setting['diff'] = true;
|
|
|
565 |
}
|
566 |
|
567 |
return $setting;
|
521 |
|
522 |
$name = $setting['name'];
|
523 |
$type = $setting['type'];
|
524 |
+
$default = $this->defaults[$name];
|
525 |
+
$updated = $this->updated[$name];
|
526 |
|
527 |
$vars = array(
|
528 |
'default' => $this->defaults[$name],
|
562 |
}
|
563 |
|
564 |
// Local Changes
|
565 |
+
if($default !== $updated){
|
566 |
+
|
567 |
+
$setting['updated'] .= '<span style="color:#888; margin-left:7px;vertical-align: middle;font-size:11px;">(Local code)</span>';
|
568 |
$setting['diff'] = true;
|
569 |
+
|
570 |
}
|
571 |
|
572 |
return $setting;
|
includes/core/compatibility.php
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
<?php
|
2 |
|
|
|
|
|
|
|
3 |
if(!defined('ABSPATH'))
|
4 |
exit;
|
5 |
|
@@ -20,7 +23,8 @@ class acfe_compatibility{
|
|
20 |
add_filter('wpseo_metabox_prio', array($this, 'yoast_metaboxes_priority'));
|
21 |
add_filter('pll_get_post_types', array($this, 'polylang'), 10, 2);
|
22 |
add_action('elementor/documents/register_controls', array($this, 'elementor'));
|
23 |
-
add_filter('wpgraphql_acf_supported_fields', array($this, '
|
|
|
24 |
|
25 |
}
|
26 |
|
@@ -569,11 +573,10 @@ class acfe_compatibility{
|
|
569 |
* ACF Extended: 0.8.8.2
|
570 |
* WP GraphQL ACF Supported Fields
|
571 |
*/
|
572 |
-
function
|
573 |
|
574 |
$acfe_fields = array(
|
575 |
'acfe_advanced_link',
|
576 |
-
'acfe_button',
|
577 |
'acfe_code_editor',
|
578 |
'acfe_forms',
|
579 |
'acfe_hidden',
|
@@ -581,7 +584,7 @@ class acfe_compatibility{
|
|
581 |
'acfe_post_types',
|
582 |
'acfe_slug',
|
583 |
'acfe_taxonomies',
|
584 |
-
'
|
585 |
'acfe_user_roles',
|
586 |
);
|
587 |
|
@@ -589,6 +592,61 @@ class acfe_compatibility{
|
|
589 |
|
590 |
}
|
591 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
592 |
}
|
593 |
|
594 |
new acfe_compatibility();
|
1 |
<?php
|
2 |
|
3 |
+
use WPGraphQL\AppContext;
|
4 |
+
use WPGraphQL\Model\Term;
|
5 |
+
|
6 |
if(!defined('ABSPATH'))
|
7 |
exit;
|
8 |
|
23 |
add_filter('wpseo_metabox_prio', array($this, 'yoast_metaboxes_priority'));
|
24 |
add_filter('pll_get_post_types', array($this, 'polylang'), 10, 2);
|
25 |
add_action('elementor/documents/register_controls', array($this, 'elementor'));
|
26 |
+
add_filter('wpgraphql_acf_supported_fields', array($this, 'wpgraphql_supported_fields'));
|
27 |
+
add_filter('wpgraphql_acf_register_graphql_field', array($this, 'wpgraphql_register_field'), 10, 4);
|
28 |
|
29 |
}
|
30 |
|
573 |
* ACF Extended: 0.8.8.2
|
574 |
* WP GraphQL ACF Supported Fields
|
575 |
*/
|
576 |
+
function wpgraphql_supported_fields($fields){
|
577 |
|
578 |
$acfe_fields = array(
|
579 |
'acfe_advanced_link',
|
|
|
580 |
'acfe_code_editor',
|
581 |
'acfe_forms',
|
582 |
'acfe_hidden',
|
584 |
'acfe_post_types',
|
585 |
'acfe_slug',
|
586 |
'acfe_taxonomies',
|
587 |
+
'acfe_taxonomy_terms',
|
588 |
'acfe_user_roles',
|
589 |
);
|
590 |
|
592 |
|
593 |
}
|
594 |
|
595 |
+
/*
|
596 |
+
* ACF Extended: 0.8.8.4
|
597 |
+
* WP GraphQL ACF Register Field
|
598 |
+
*/
|
599 |
+
function wpgraphql_register_field($field_config, $type_name, $field_name, $config){
|
600 |
+
|
601 |
+
$acf_field = isset( $config['acf_field'] ) ? $config['acf_field'] : null;
|
602 |
+
$acf_type = isset( $acf_field['type'] ) ? $acf_field['type'] : null;
|
603 |
+
|
604 |
+
if($acf_type === 'acfe_advanced_link'){
|
605 |
+
|
606 |
+
$field_config['type'] = array('list_of' => 'String');
|
607 |
+
|
608 |
+
}elseif($acf_type === 'acfe_code_editor'){
|
609 |
+
|
610 |
+
$field_config['type'] = 'String';
|
611 |
+
|
612 |
+
}elseif($acf_type === 'acfe_forms'){
|
613 |
+
|
614 |
+
$field_config['type'] = array('list_of' => 'String');
|
615 |
+
|
616 |
+
}elseif($acf_type === 'acfe_hidden'){
|
617 |
+
|
618 |
+
$field_config['type'] = 'String';
|
619 |
+
|
620 |
+
}elseif($acf_type === 'acfe_post_statuses'){
|
621 |
+
|
622 |
+
$field_config['type'] = array('list_of' => 'String');
|
623 |
+
|
624 |
+
}elseif($acf_type === 'acfe_post_types'){
|
625 |
+
|
626 |
+
$field_config['type'] = array('list_of' => 'String');
|
627 |
+
|
628 |
+
}elseif($acf_type === 'acfe_slug'){
|
629 |
+
|
630 |
+
$field_config['type'] = 'String';
|
631 |
+
|
632 |
+
}elseif($acf_type === 'acfe_taxonomies'){
|
633 |
+
|
634 |
+
$field_config['type'] = array('list_of' => 'String');
|
635 |
+
|
636 |
+
}elseif($acf_type === 'acfe_taxonomy_terms'){
|
637 |
+
|
638 |
+
$field_config['type'] = array('list_of' => 'String');
|
639 |
+
|
640 |
+
}elseif($acf_type === 'acfe_user_roles'){
|
641 |
+
|
642 |
+
$field_config['type'] = array('list_of' => 'String');
|
643 |
+
|
644 |
+
}
|
645 |
+
|
646 |
+
return $field_config;
|
647 |
+
|
648 |
+
}
|
649 |
+
|
650 |
}
|
651 |
|
652 |
new acfe_compatibility();
|
includes/core/helpers.php
CHANGED
@@ -1872,6 +1872,31 @@ function acfe_is_dynamic_preview(){
|
|
1872 |
|
1873 |
}
|
1874 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1875 |
/*
|
1876 |
* ACFE: Maybe Get
|
1877 |
* Similar to acf_maybe_get() but also works with OBJECTS
|
1872 |
|
1873 |
}
|
1874 |
|
1875 |
+
/*
|
1876 |
+
* ACFE: Is Gutenberg
|
1877 |
+
* Check if current screen is block editor
|
1878 |
+
*/
|
1879 |
+
function acfe_is_gutenberg(){
|
1880 |
+
|
1881 |
+
// bail early if not defined
|
1882 |
+
if(!function_exists('get_current_screen')) return false;
|
1883 |
+
|
1884 |
+
// vars
|
1885 |
+
$current_screen = get_current_screen();
|
1886 |
+
|
1887 |
+
// no screen
|
1888 |
+
if(!$current_screen) return false;
|
1889 |
+
|
1890 |
+
// check screen
|
1891 |
+
if((method_exists($current_screen, 'is_block_editor') && $current_screen->is_block_editor()) || (function_exists('is_gutenberg_page') && is_gutenberg_page())){
|
1892 |
+
return true;
|
1893 |
+
}
|
1894 |
+
|
1895 |
+
// return false
|
1896 |
+
return false;
|
1897 |
+
|
1898 |
+
}
|
1899 |
+
|
1900 |
/*
|
1901 |
* ACFE: Maybe Get
|
1902 |
* Similar to acf_maybe_get() but also works with OBJECTS
|
includes/core/multilang.php
CHANGED
@@ -148,59 +148,54 @@ class acfe_multilang{
|
|
148 |
* WPML
|
149 |
* https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/
|
150 |
*/
|
151 |
-
function wpml_get_languages($pluck, $type = 'all'){
|
152 |
-
|
153 |
-
// Pluck
|
154 |
-
$pluck_filter = $pluck;
|
155 |
-
|
156 |
-
if($pluck === 'locale')
|
157 |
-
$pluck_filter = 'default_locale';
|
158 |
|
159 |
// Vars
|
160 |
$languages = array();
|
|
|
161 |
|
162 |
switch($type){
|
163 |
|
164 |
// Active
|
165 |
case 'active':
|
166 |
|
167 |
-
// Active Languages
|
168 |
// https://wpml.org/wpml-hook/wpml_active_languages/
|
169 |
$languages = apply_filters('wpml_active_languages', null, array('skip_missing' => 0));
|
170 |
|
171 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
|
173 |
return $languages;
|
174 |
|
175 |
// All
|
|
|
176 |
case 'all':
|
177 |
-
|
178 |
-
// Active Languages
|
179 |
// https://wpml.org/wpml-hook/wpml_active_languages/
|
180 |
$languages = apply_filters('wpml_active_languages', null, array('skip_missing' => 0));
|
|
|
|
|
|
|
|
|
|
|
181 |
|
182 |
-
|
183 |
-
|
184 |
-
// Plugin Languages
|
185 |
-
$plugin_languages = icl_get_languages_locales();
|
186 |
|
187 |
-
|
188 |
-
|
189 |
-
if($pluck === 'code'){
|
190 |
-
|
191 |
-
$plugin_languages = array_keys($plugin_languages);
|
192 |
-
|
193 |
-
}elseif($pluck === 'locale'){
|
194 |
-
|
195 |
-
$plugin_languages = array_values($plugin_languages);
|
196 |
-
|
197 |
-
}
|
198 |
-
|
199 |
-
// Merge
|
200 |
-
$languages = array_merge($languages, $plugin_languages);
|
201 |
$languages = array_unique($languages);
|
202 |
|
203 |
}
|
|
|
|
|
|
|
204 |
|
205 |
return $languages;
|
206 |
|
@@ -218,7 +213,7 @@ class acfe_multilang{
|
|
218 |
* https://polylang.wordpress.com/documentation/documentation-for-developers/general/
|
219 |
* https://polylang.wordpress.com/documentation/documentation-for-developers/functions-reference/
|
220 |
*/
|
221 |
-
function polylang_get_languages($pluck, $type = 'all'){
|
222 |
|
223 |
// Vars
|
224 |
$languages = array();
|
@@ -227,47 +222,26 @@ class acfe_multilang{
|
|
227 |
|
228 |
// Active
|
229 |
case 'active':
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
$pluck_filter = 'slug';
|
234 |
|
235 |
// https://polylang.wordpress.com/documentation/documentation-for-developers/functions-reference/
|
236 |
$languages = pll_languages_list(array(
|
237 |
'hide_empty' => false,
|
238 |
-
'fields' => $
|
239 |
));
|
240 |
|
241 |
return $languages;
|
242 |
|
243 |
// All
|
|
|
244 |
case 'all':
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
$translations = wp_get_available_translations();
|
251 |
-
|
252 |
-
if (!empty($translations)){
|
253 |
-
|
254 |
-
$translations['en_US'] = '';
|
255 |
-
$languages = array_intersect_key($languages, $translations);
|
256 |
-
|
257 |
-
}
|
258 |
-
|
259 |
-
$languages = apply_filters('pll_predefined_languages', $languages);
|
260 |
-
|
261 |
-
foreach($languages as $k => $lang){
|
262 |
-
|
263 |
-
if(isset($lang['code'], $lang['locale'], $lang['name'], $lang['dir'], $lang['flag']))
|
264 |
-
continue;
|
265 |
-
|
266 |
-
unset($languages[$k]);
|
267 |
-
|
268 |
-
}
|
269 |
-
|
270 |
-
$languages = wp_list_pluck($languages, $pluck, true);
|
271 |
|
272 |
return $languages;
|
273 |
|
@@ -442,7 +416,7 @@ class acfe_multilang{
|
|
442 |
|
443 |
}
|
444 |
|
445 |
-
function get_languages($pluck = '
|
446 |
|
447 |
// Polylang
|
448 |
if($this->is_polylang || $plugin === 'polylang'){
|
@@ -597,7 +571,7 @@ function acfe_get_multilang(){
|
|
597 |
/*
|
598 |
* Get Languages
|
599 |
*/
|
600 |
-
function
|
601 |
|
602 |
return acf_get_instance('acfe_multilang')->get_languages($pluck, $type, $plugin);
|
603 |
|
148 |
* WPML
|
149 |
* https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/
|
150 |
*/
|
151 |
+
function wpml_get_languages($pluck = '', $type = 'all'){
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
|
153 |
// Vars
|
154 |
$languages = array();
|
155 |
+
$pluck = $pluck === 'locale' ? 'default_locale' : $pluck;
|
156 |
|
157 |
switch($type){
|
158 |
|
159 |
// Active
|
160 |
case 'active':
|
161 |
|
|
|
162 |
// https://wpml.org/wpml-hook/wpml_active_languages/
|
163 |
$languages = apply_filters('wpml_active_languages', null, array('skip_missing' => 0));
|
164 |
|
165 |
+
// Set locale as key
|
166 |
+
$_languages = $languages;
|
167 |
+
$languages = array();
|
168 |
+
|
169 |
+
foreach($_languages as $lang){
|
170 |
+
$languages[ $lang['default_locale'] ] = $lang;
|
171 |
+
}
|
172 |
+
|
173 |
+
if($pluck)
|
174 |
+
$languages = wp_list_pluck($languages, $pluck, true);
|
175 |
|
176 |
return $languages;
|
177 |
|
178 |
// All
|
179 |
+
case '':
|
180 |
case 'all':
|
181 |
+
|
|
|
182 |
// https://wpml.org/wpml-hook/wpml_active_languages/
|
183 |
$languages = apply_filters('wpml_active_languages', null, array('skip_missing' => 0));
|
184 |
+
$languages = wp_list_pluck($languages, 'code', 'default_locale');
|
185 |
+
|
186 |
+
// Default Languages
|
187 |
+
$_languages = icl_get_languages_locales();
|
188 |
+
$_languages = array_flip($_languages);
|
189 |
|
190 |
+
if(!empty($_languages)){
|
|
|
|
|
|
|
191 |
|
192 |
+
$languages = array_merge($languages, $_languages);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
$languages = array_unique($languages);
|
194 |
|
195 |
}
|
196 |
+
|
197 |
+
if($pluck)
|
198 |
+
$languages = $pluck === 'code' ? array_values($_languages) : array_keys($_languages);
|
199 |
|
200 |
return $languages;
|
201 |
|
213 |
* https://polylang.wordpress.com/documentation/documentation-for-developers/general/
|
214 |
* https://polylang.wordpress.com/documentation/documentation-for-developers/functions-reference/
|
215 |
*/
|
216 |
+
function polylang_get_languages($pluck = '', $type = 'all'){
|
217 |
|
218 |
// Vars
|
219 |
$languages = array();
|
222 |
|
223 |
// Active
|
224 |
case 'active':
|
225 |
+
|
226 |
+
// Convert pluck
|
227 |
+
$pluck = $pluck === 'code' ? 'slug' : $pluck;
|
|
|
228 |
|
229 |
// https://polylang.wordpress.com/documentation/documentation-for-developers/functions-reference/
|
230 |
$languages = pll_languages_list(array(
|
231 |
'hide_empty' => false,
|
232 |
+
'fields' => $pluck
|
233 |
));
|
234 |
|
235 |
return $languages;
|
236 |
|
237 |
// All
|
238 |
+
case '':
|
239 |
case 'all':
|
240 |
+
|
241 |
+
$languages = PLL_Settings::get_predefined_languages();
|
242 |
+
|
243 |
+
if($pluck)
|
244 |
+
$languages = wp_list_pluck($languages, $pluck, true);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
245 |
|
246 |
return $languages;
|
247 |
|
416 |
|
417 |
}
|
418 |
|
419 |
+
function get_languages($pluck = '', $type = '', $plugin = ''){
|
420 |
|
421 |
// Polylang
|
422 |
if($this->is_polylang || $plugin === 'polylang'){
|
571 |
/*
|
572 |
* Get Languages
|
573 |
*/
|
574 |
+
function acfe_get_multilang_languages($pluck = '', $type = '', $plugin = ''){
|
575 |
|
576 |
return acf_get_instance('acfe_multilang')->get_languages($pluck, $type, $plugin);
|
577 |
|
includes/field-groups/field-group-hide-on-screen.php
CHANGED
@@ -14,6 +14,7 @@ class acfe_field_group_hide_on_screen{
|
|
14 |
|
15 |
// Post Metaboxes
|
16 |
add_action('acf/add_meta_boxes', array($this, 'acf_add_meta_boxes'), 10, 3);
|
|
|
17 |
|
18 |
// Hide Block Editor
|
19 |
add_action('load-post.php', array($this, 'hide_block_editor'));
|
@@ -73,6 +74,55 @@ class acfe_field_group_hide_on_screen{
|
|
73 |
|
74 |
}
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
/*
|
77 |
* Hide Block Editor
|
78 |
*/
|
14 |
|
15 |
// Post Metaboxes
|
16 |
add_action('acf/add_meta_boxes', array($this, 'acf_add_meta_boxes'), 10, 3);
|
17 |
+
add_action('wp_ajax_acf/ajax/check_screen', array($this, 'ajax_check_screen'), 9);
|
18 |
|
19 |
// Hide Block Editor
|
20 |
add_action('load-post.php', array($this, 'hide_block_editor'));
|
74 |
|
75 |
}
|
76 |
|
77 |
+
/*
|
78 |
+
* Ajax Check Screen
|
79 |
+
* Merge hide on screen settings instead of using the first field group style only
|
80 |
+
*/
|
81 |
+
function ajax_check_screen(){
|
82 |
+
|
83 |
+
// get ajax check screen instance & simulate request
|
84 |
+
$instance = acf_get_instance('ACF_Ajax_Check_Screen');
|
85 |
+
$instance->request = wp_unslash($_REQUEST);
|
86 |
+
|
87 |
+
// get response from ACF core
|
88 |
+
$response = $instance->get_response($instance->request);
|
89 |
+
|
90 |
+
// vars
|
91 |
+
$args = wp_parse_args($instance->request, array(
|
92 |
+
'screen' => '',
|
93 |
+
'post_id' => 0,
|
94 |
+
'ajax' => true,
|
95 |
+
'exists' => array()
|
96 |
+
));
|
97 |
+
|
98 |
+
// get field groups
|
99 |
+
$field_groups = acf_get_field_groups($args);
|
100 |
+
|
101 |
+
// loop through field groups
|
102 |
+
if($field_groups){
|
103 |
+
|
104 |
+
$response['style'] = '';
|
105 |
+
|
106 |
+
foreach($field_groups as $i => $field_group){
|
107 |
+
|
108 |
+
// merge styles instead of using only the first field group rules
|
109 |
+
$response['style'] .= acf_get_field_group_style($field_group);
|
110 |
+
|
111 |
+
}
|
112 |
+
|
113 |
+
}
|
114 |
+
|
115 |
+
// verify error and send request based on ACF_Ajax->request() method
|
116 |
+
$error = $instance->verify_request($instance->request);
|
117 |
+
if(is_wp_error($error)){
|
118 |
+
$instance->send($error);
|
119 |
+
}
|
120 |
+
|
121 |
+
// send response
|
122 |
+
$instance->send($response);
|
123 |
+
|
124 |
+
}
|
125 |
+
|
126 |
/*
|
127 |
* Hide Block Editor
|
128 |
*/
|
includes/field-groups/field-groups.php
CHANGED
@@ -807,12 +807,9 @@ class ACFE_Field_Groups{
|
|
807 |
* Seamless Metabox
|
808 |
*/
|
809 |
function seamless_metabox($post_type, $post, $field_groups){
|
810 |
-
|
811 |
-
|
812 |
-
$is_gutenberg =
|
813 |
-
|
814 |
-
if(method_exists($current_screen, 'is_block_editor') && $current_screen->is_block_editor())
|
815 |
-
$is_gutenberg = true;
|
816 |
|
817 |
foreach($field_groups as $field_group){
|
818 |
|
807 |
* Seamless Metabox
|
808 |
*/
|
809 |
function seamless_metabox($post_type, $post, $field_groups){
|
810 |
+
|
811 |
+
// check gutenberg
|
812 |
+
$is_gutenberg = acfe_is_gutenberg();
|
|
|
|
|
|
|
813 |
|
814 |
foreach($field_groups as $field_group){
|
815 |
|
includes/fields/field-advanced-link.php
CHANGED
@@ -366,7 +366,7 @@ class acfe_field_advanced_link extends acf_field{
|
|
366 |
'key' => 'target',
|
367 |
'label' => __('Target', 'acf'),
|
368 |
'type' => 'true_false',
|
369 |
-
'message' => __('Open in
|
370 |
'required' => false,
|
371 |
'class' => 'input-target',
|
372 |
),
|
366 |
'key' => 'target',
|
367 |
'label' => __('Target', 'acf'),
|
368 |
'type' => 'true_false',
|
369 |
+
'message' => __('Open in a new window', 'acf'),
|
370 |
'required' => false,
|
371 |
'class' => 'input-target',
|
372 |
),
|
includes/fields/field-checkbox.php
CHANGED
@@ -29,11 +29,9 @@ class acfe_field_checkbox{
|
|
29 |
|
30 |
$wrapper = acf_maybe_get($field, 'wrapper');
|
31 |
|
32 |
-
if(!$wrapper)
|
33 |
-
return $field;
|
34 |
|
35 |
-
if(acf_maybe_get($wrapper, 'data-setting') !== 'radio' && acf_maybe_get($wrapper, 'data-setting') !== 'checkbox')
|
36 |
-
return $field;
|
37 |
|
38 |
$field['instructions'] .= '<br/><br/>You may use "## Title" to create a group of options.';
|
39 |
|
@@ -42,11 +40,11 @@ class acfe_field_checkbox{
|
|
42 |
}
|
43 |
|
44 |
function prepare_checkbox($field){
|
45 |
-
|
46 |
-
if(empty($field['choices']))
|
47 |
-
return $field;
|
48 |
|
49 |
-
//
|
|
|
|
|
|
|
50 |
if(is_array($field['choices'])){
|
51 |
|
52 |
$found = false;
|
@@ -57,7 +55,7 @@ class acfe_field_checkbox{
|
|
57 |
if(is_string($choice)){
|
58 |
|
59 |
$choice = trim($choice);
|
60 |
-
|
61 |
if(strpos($choice, '##') === 0){
|
62 |
|
63 |
$choice = substr($choice, 2);
|
@@ -100,24 +98,22 @@ class acfe_field_checkbox{
|
|
100 |
function walk($choices = array(), $depth = 1, $labels = array()){
|
101 |
|
102 |
// bail early if no choices
|
103 |
-
if(empty($choices))
|
104 |
-
return $labels;
|
105 |
|
106 |
foreach($choices as $value => $label){
|
107 |
|
108 |
-
//
|
109 |
-
if(is_array($label))
|
110 |
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
$labels = $this->walk($label, $depth+1, $labels);
|
118 |
-
|
119 |
}
|
120 |
|
|
|
|
|
121 |
}
|
122 |
|
123 |
return $labels;
|
@@ -125,25 +121,19 @@ class acfe_field_checkbox{
|
|
125 |
}
|
126 |
|
127 |
function prepare_radio($field){
|
|
|
|
|
128 |
|
129 |
-
if($field['
|
130 |
-
return $field;
|
131 |
-
|
132 |
-
if(empty($field['choices']))
|
133 |
-
return $field;
|
134 |
|
135 |
$choices = array();
|
136 |
|
137 |
foreach($field['choices'] as $value => $label){
|
138 |
|
139 |
if(is_array($label)){
|
140 |
-
|
141 |
$choices = $choices + $label;
|
142 |
-
|
143 |
}else{
|
144 |
-
|
145 |
$choices = $choices + array($value => $label);
|
146 |
-
|
147 |
}
|
148 |
|
149 |
}
|
@@ -158,8 +148,7 @@ class acfe_field_checkbox{
|
|
158 |
|
159 |
$labels = acf_maybe_get($field, 'acfe_labels');
|
160 |
|
161 |
-
if(empty($labels))
|
162 |
-
return $wrapper;
|
163 |
|
164 |
$wrapper['data-acfe-labels'] = $labels;
|
165 |
|
@@ -169,6 +158,17 @@ class acfe_field_checkbox{
|
|
169 |
|
170 |
}
|
171 |
|
172 |
-
|
173 |
|
174 |
-
endif;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
$wrapper = acf_maybe_get($field, 'wrapper');
|
31 |
|
32 |
+
if(!$wrapper) return $field;
|
|
|
33 |
|
34 |
+
if(acf_maybe_get($wrapper, 'data-setting') !== 'radio' && acf_maybe_get($wrapper, 'data-setting') !== 'checkbox') return $field;
|
|
|
35 |
|
36 |
$field['instructions'] .= '<br/><br/>You may use "## Title" to create a group of options.';
|
37 |
|
40 |
}
|
41 |
|
42 |
function prepare_checkbox($field){
|
|
|
|
|
|
|
43 |
|
44 |
+
// bail early if no choices
|
45 |
+
if(empty($field['choices'])) return $field;
|
46 |
+
|
47 |
+
// map '## group'
|
48 |
if(is_array($field['choices'])){
|
49 |
|
50 |
$found = false;
|
55 |
if(is_string($choice)){
|
56 |
|
57 |
$choice = trim($choice);
|
58 |
+
|
59 |
if(strpos($choice, '##') === 0){
|
60 |
|
61 |
$choice = substr($choice, 2);
|
98 |
function walk($choices = array(), $depth = 1, $labels = array()){
|
99 |
|
100 |
// bail early if no choices
|
101 |
+
if(empty($choices)) return $labels;
|
|
|
102 |
|
103 |
foreach($choices as $value => $label){
|
104 |
|
105 |
+
// bail early if not array
|
106 |
+
if(!is_array($label)) continue;
|
107 |
|
108 |
+
reset($label);
|
109 |
+
$key = key($label);
|
110 |
+
|
111 |
+
if(!is_numeric($value)){
|
112 |
+
$labels = array_merge($labels, array($value => $key));
|
|
|
|
|
|
|
113 |
}
|
114 |
|
115 |
+
$labels = $this->walk($label, $depth+1, $labels);
|
116 |
+
|
117 |
}
|
118 |
|
119 |
return $labels;
|
121 |
}
|
122 |
|
123 |
function prepare_radio($field){
|
124 |
+
|
125 |
+
if($field['type'] !== 'radio' && $field['field_type'] !== 'radio') return $field;
|
126 |
|
127 |
+
if(empty($field['choices'])) return $field;
|
|
|
|
|
|
|
|
|
128 |
|
129 |
$choices = array();
|
130 |
|
131 |
foreach($field['choices'] as $value => $label){
|
132 |
|
133 |
if(is_array($label)){
|
|
|
134 |
$choices = $choices + $label;
|
|
|
135 |
}else{
|
|
|
136 |
$choices = $choices + array($value => $label);
|
|
|
137 |
}
|
138 |
|
139 |
}
|
148 |
|
149 |
$labels = acf_maybe_get($field, 'acfe_labels');
|
150 |
|
151 |
+
if(empty($labels)) return $wrapper;
|
|
|
152 |
|
153 |
$wrapper['data-acfe-labels'] = $labels;
|
154 |
|
158 |
|
159 |
}
|
160 |
|
161 |
+
acf_new_instance('acfe_field_checkbox');
|
162 |
|
163 |
+
endif;
|
164 |
+
|
165 |
+
function acfe_prepare_checkbox_labels($field){
|
166 |
+
|
167 |
+
$instance = acf_get_instance('acfe_field_checkbox');
|
168 |
+
|
169 |
+
$field = $instance->prepare_checkbox($field);
|
170 |
+
$field = $instance->prepare_radio($field);
|
171 |
+
|
172 |
+
return $field;
|
173 |
+
|
174 |
+
}
|
includes/fields/field-column.php
CHANGED
@@ -51,7 +51,7 @@ class acfe_field_column extends acf_field{
|
|
51 |
function render_field_settings($field){
|
52 |
|
53 |
// columns
|
54 |
-
acf_render_field_setting(
|
55 |
'label' => __('Columns', 'acfe'),
|
56 |
'instructions' => '',
|
57 |
'type' => 'select',
|
@@ -83,7 +83,7 @@ class acfe_field_column extends acf_field{
|
|
83 |
));
|
84 |
|
85 |
// endpoint
|
86 |
-
acf_render_field_setting(
|
87 |
'label' => __('Endpoint','acf'),
|
88 |
'instructions' => __('Define an endpoint for the previous columns to stop.', 'acf'),
|
89 |
'name' => 'endpoint',
|
@@ -130,12 +130,12 @@ class acfe_field_column extends acf_field{
|
|
130 |
|
131 |
$columns = '';
|
132 |
if($field['columns'])
|
133 |
-
$columns =
|
134 |
|
135 |
if($field['endpoint'])
|
136 |
-
$columns = '
|
137 |
|
138 |
-
$field['label'] = '(Column' . $columns .')';
|
139 |
$field['name'] = '';
|
140 |
$field['instructions'] = '';
|
141 |
$field['required'] = 0;
|
51 |
function render_field_settings($field){
|
52 |
|
53 |
// columns
|
54 |
+
acf_render_field_setting($field, array(
|
55 |
'label' => __('Columns', 'acfe'),
|
56 |
'instructions' => '',
|
57 |
'type' => 'select',
|
83 |
));
|
84 |
|
85 |
// endpoint
|
86 |
+
acf_render_field_setting($field, array(
|
87 |
'label' => __('Endpoint','acf'),
|
88 |
'instructions' => __('Define an endpoint for the previous columns to stop.', 'acf'),
|
89 |
'name' => 'endpoint',
|
130 |
|
131 |
$columns = '';
|
132 |
if($field['columns'])
|
133 |
+
$columns = ucfirst($field['columns']);
|
134 |
|
135 |
if($field['endpoint'])
|
136 |
+
$columns = 'Endpoint';
|
137 |
|
138 |
+
$field['label'] = '(Column ' . $columns . ')';
|
139 |
$field['name'] = '';
|
140 |
$field['instructions'] = '';
|
141 |
$field['required'] = 0;
|
includes/fields/field-flexible-content-actions.php
CHANGED
@@ -36,7 +36,7 @@ class acfe_field_flexible_content_actions{
|
|
36 |
function render_field_settings($field){
|
37 |
|
38 |
/*
|
39 |
-
*
|
40 |
*
|
41 |
* acfe_flexible_title_edition
|
42 |
* acfe_flexible_toggle
|
36 |
function render_field_settings($field){
|
37 |
|
38 |
/*
|
39 |
+
* old settings:
|
40 |
*
|
41 |
* acfe_flexible_title_edition
|
42 |
* acfe_flexible_toggle
|
includes/fields/field-flexible-content-async.php
CHANGED
@@ -12,7 +12,8 @@ class acfe_field_flexible_content_async{
|
|
12 |
// Hooks
|
13 |
add_filter('acfe/flexible/defaults_field', array($this, 'defaults_field'), 5);
|
14 |
add_action('acfe/flexible/render_field_settings', array($this, 'render_field_settings'), 5);
|
15 |
-
|
|
|
16 |
add_filter('acfe/flexible/wrapper_attributes', array($this, 'wrapper_attributes'), 10, 2);
|
17 |
add_filter('acfe/flexible/layouts/model', array($this, 'layout_model'), 10, 3);
|
18 |
|
@@ -24,8 +25,7 @@ class acfe_field_flexible_content_async{
|
|
24 |
|
25 |
function defaults_field($field){
|
26 |
|
27 |
-
$field['
|
28 |
-
$field['acfe_flexible_layouts_ajax'] = false;
|
29 |
|
30 |
return $field;
|
31 |
|
@@ -33,40 +33,25 @@ class acfe_field_flexible_content_async{
|
|
33 |
|
34 |
function render_field_settings($field){
|
35 |
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
'message' => '',
|
43 |
-
'default_value' => false,
|
44 |
-
'ui' => true,
|
45 |
-
'ui_on_text' => '',
|
46 |
-
'ui_off_text' => '',
|
47 |
-
'conditional_logic' => array(
|
48 |
-
array(
|
49 |
-
array(
|
50 |
-
'field' => 'acfe_flexible_advanced',
|
51 |
-
'operator' => '==',
|
52 |
-
'value' => '1',
|
53 |
-
),
|
54 |
-
)
|
55 |
-
)
|
56 |
-
));
|
57 |
|
58 |
-
// Layouts ajax
|
59 |
acf_render_field_setting($field, array(
|
60 |
-
'label' => __('Asynchronous
|
61 |
-
'name' => '
|
62 |
-
'key' => '
|
63 |
-
'instructions' => __('
|
64 |
-
'type' => '
|
65 |
-
'
|
66 |
-
'
|
67 |
-
'
|
68 |
-
|
69 |
-
|
|
|
70 |
'conditional_logic' => array(
|
71 |
array(
|
72 |
array(
|
@@ -80,13 +65,42 @@ class acfe_field_flexible_content_async{
|
|
80 |
|
81 |
}
|
82 |
|
83 |
-
function
|
|
|
|
|
84 |
|
85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
$wrapper['data-acfe-flexible-ajax'] = 1;
|
87 |
|
88 |
// Remove ajax 'layout_title' call
|
89 |
-
$disable =
|
90 |
$disable = apply_filters("acfe/flexible/remove_ajax_title", $disable, $field);
|
91 |
$disable = apply_filters("acfe/flexible/remove_ajax_title/name={$field['_name']}", $disable, $field);
|
92 |
$disable = apply_filters("acfe/flexible/remove_ajax_title/key={$field['key']}", $disable, $field);
|
@@ -99,8 +113,8 @@ class acfe_field_flexible_content_async{
|
|
99 |
}
|
100 |
|
101 |
function layout_model($return, $field, $layout){
|
102 |
-
|
103 |
-
if(
|
104 |
return $return;
|
105 |
|
106 |
$i = 'acfcloneindex';
|
12 |
// Hooks
|
13 |
add_filter('acfe/flexible/defaults_field', array($this, 'defaults_field'), 5);
|
14 |
add_action('acfe/flexible/render_field_settings', array($this, 'render_field_settings'), 5);
|
15 |
+
|
16 |
+
add_filter('acfe/flexible/validate_field', array($this, 'validate_async'));
|
17 |
add_filter('acfe/flexible/wrapper_attributes', array($this, 'wrapper_attributes'), 10, 2);
|
18 |
add_filter('acfe/flexible/layouts/model', array($this, 'layout_model'), 10, 3);
|
19 |
|
25 |
|
26 |
function defaults_field($field){
|
27 |
|
28 |
+
$field['acfe_flexible_async'] = array();
|
|
|
29 |
|
30 |
return $field;
|
31 |
|
33 |
|
34 |
function render_field_settings($field){
|
35 |
|
36 |
+
/*
|
37 |
+
* old settings:
|
38 |
+
*
|
39 |
+
* acfe_flexible_disable_ajax_title
|
40 |
+
* acfe_flexible_layouts_ajax
|
41 |
+
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
|
|
|
43 |
acf_render_field_setting($field, array(
|
44 |
+
'label' => __('Asynchronous Settings'),
|
45 |
+
'name' => 'acfe_flexible_async',
|
46 |
+
'key' => 'acfe_flexible_async',
|
47 |
+
'instructions' => __('Asynchronous settings'),
|
48 |
+
'type' => 'checkbox',
|
49 |
+
'default_value' => '',
|
50 |
+
'layout' => 'horizontal',
|
51 |
+
'choices' => array(
|
52 |
+
'title' => 'Disable Title Ajax',
|
53 |
+
'layout' => 'Asynchronous Layout',
|
54 |
+
),
|
55 |
'conditional_logic' => array(
|
56 |
array(
|
57 |
array(
|
65 |
|
66 |
}
|
67 |
|
68 |
+
function validate_async($field){
|
69 |
+
|
70 |
+
$async = acf_get_array($field['acfe_flexible_async']);
|
71 |
|
72 |
+
// acfe_flexible_disable_ajax_title
|
73 |
+
if(acf_maybe_get($field, 'acfe_flexible_disable_ajax_title')){
|
74 |
+
|
75 |
+
if(!in_array('title', $async)) $async[] = 'title';
|
76 |
+
acfe_unset($field, 'acfe_flexible_disable_ajax_title');
|
77 |
+
|
78 |
+
}
|
79 |
+
|
80 |
+
// acfe_flexible_layouts_ajax
|
81 |
+
if(acf_maybe_get($field, 'acfe_flexible_layouts_ajax')){
|
82 |
+
|
83 |
+
if(!in_array('layout', $async)) $async[] = 'layout';
|
84 |
+
acfe_unset($field, 'acfe_flexible_layouts_ajax');
|
85 |
+
|
86 |
+
}
|
87 |
+
|
88 |
+
$field['acfe_flexible_async'] = $async;
|
89 |
+
|
90 |
+
return $field;
|
91 |
+
|
92 |
+
}
|
93 |
+
|
94 |
+
function wrapper_attributes($wrapper, $field){
|
95 |
+
|
96 |
+
$async = $field['acfe_flexible_async'];
|
97 |
+
|
98 |
+
// Ajax Layout
|
99 |
+
if(in_array('layout', $async))
|
100 |
$wrapper['data-acfe-flexible-ajax'] = 1;
|
101 |
|
102 |
// Remove ajax 'layout_title' call
|
103 |
+
$disable = in_array('title', $async);
|
104 |
$disable = apply_filters("acfe/flexible/remove_ajax_title", $disable, $field);
|
105 |
$disable = apply_filters("acfe/flexible/remove_ajax_title/name={$field['_name']}", $disable, $field);
|
106 |
$disable = apply_filters("acfe/flexible/remove_ajax_title/key={$field['key']}", $disable, $field);
|
113 |
}
|
114 |
|
115 |
function layout_model($return, $field, $layout){
|
116 |
+
|
117 |
+
if(!in_array('layout', $field['acfe_flexible_async']))
|
118 |
return $return;
|
119 |
|
120 |
$i = 'acfcloneindex';
|
includes/fields/field-flexible-content-hide.php
CHANGED
@@ -125,6 +125,9 @@ class acfe_field_flexible_content_hide{
|
|
125 |
if(in_array('delete', $field['acfe_flexible_remove_button']))
|
126 |
acfe_unset($icons, 'delete');
|
127 |
|
|
|
|
|
|
|
128 |
return $icons;
|
129 |
|
130 |
}
|
125 |
if(in_array('delete', $field['acfe_flexible_remove_button']))
|
126 |
acfe_unset($icons, 'delete');
|
127 |
|
128 |
+
if(in_array('collapse', $field['acfe_flexible_remove_button']))
|
129 |
+
acfe_unset($icons, 'collapse');
|
130 |
+
|
131 |
return $icons;
|
132 |
|
133 |
}
|
includes/fields/field-flexible-content-preview.php
CHANGED
@@ -52,7 +52,7 @@ class acfe_field_flexible_content_preview{
|
|
52 |
'label' => __('Dynamic Render'),
|
53 |
'name' => 'acfe_flexible_layouts_templates',
|
54 |
'key' => 'acfe_flexible_layouts_templates',
|
55 |
-
'instructions' => __('
|
56 |
'type' => 'true_false',
|
57 |
'message' => '',
|
58 |
'default_value' => false,
|
@@ -75,7 +75,7 @@ class acfe_field_flexible_content_preview{
|
|
75 |
'label' => __('Dynamic Preview'),
|
76 |
'name' => 'acfe_flexible_layouts_previews',
|
77 |
'key' => 'acfe_flexible_layouts_previews',
|
78 |
-
'instructions' => __('Use layouts render settings to display a dynamic preview in the
|
79 |
'type' => 'true_false',
|
80 |
'message' => '',
|
81 |
'default_value' => false,
|
@@ -103,7 +103,7 @@ class acfe_field_flexible_content_preview{
|
|
103 |
'label' => __('Layouts Placeholder'),
|
104 |
'name' => 'acfe_flexible_layouts_placeholder',
|
105 |
'key' => 'acfe_flexible_layouts_placeholder',
|
106 |
-
'instructions' => __('Display a placeholder with
|
107 |
'type' => 'true_false',
|
108 |
'message' => '',
|
109 |
'default_value' => false,
|
52 |
'label' => __('Dynamic Render'),
|
53 |
'name' => 'acfe_flexible_layouts_templates',
|
54 |
'key' => 'acfe_flexible_layouts_templates',
|
55 |
+
'instructions' => __('Render the layout using custom template, style & javascript files.'),
|
56 |
'type' => 'true_false',
|
57 |
'message' => '',
|
58 |
'default_value' => false,
|
75 |
'label' => __('Dynamic Preview'),
|
76 |
'name' => 'acfe_flexible_layouts_previews',
|
77 |
'key' => 'acfe_flexible_layouts_previews',
|
78 |
+
'instructions' => __('Use layouts render settings to display a dynamic preview in the administration'),
|
79 |
'type' => 'true_false',
|
80 |
'message' => '',
|
81 |
'default_value' => false,
|
103 |
'label' => __('Layouts Placeholder'),
|
104 |
'name' => 'acfe_flexible_layouts_placeholder',
|
105 |
'key' => 'acfe_flexible_layouts_placeholder',
|
106 |
+
'instructions' => __('Display a placeholder with an icon'),
|
107 |
'type' => 'true_false',
|
108 |
'message' => '',
|
109 |
'default_value' => false,
|
includes/fields/field-flexible-content-settings.php
CHANGED
@@ -40,7 +40,7 @@ class acfe_field_flexible_content_settings{
|
|
40 |
}
|
41 |
|
42 |
function render_field_settings($field){
|
43 |
-
|
44 |
acf_render_field_setting($field, array(
|
45 |
'label' => __('Layouts Settings Modal'),
|
46 |
'name' => 'acfe_flexible_layouts_settings',
|
@@ -235,7 +235,7 @@ class acfe_field_flexible_content_settings{
|
|
235 |
return $icons;
|
236 |
|
237 |
$icons = array_merge($icons, array(
|
238 |
-
'settings' => '<a class="acf-icon small
|
239 |
));
|
240 |
|
241 |
return $icons;
|
40 |
}
|
41 |
|
42 |
function render_field_settings($field){
|
43 |
+
|
44 |
acf_render_field_setting($field, array(
|
45 |
'label' => __('Layouts Settings Modal'),
|
46 |
'name' => 'acfe_flexible_layouts_settings',
|
235 |
return $icons;
|
236 |
|
237 |
$icons = array_merge($icons, array(
|
238 |
+
'settings' => '<a class="acf-icon small acf-js-tooltip acfe-flexible-icon dashicons dashicons-admin-generic" href="#" title="Settings" data-acfe-flexible-settings="' . $layout['name'] . '"></a>'
|
239 |
));
|
240 |
|
241 |
return $icons;
|
includes/fields/field-flexible-content-thumbnail.php
CHANGED
@@ -46,7 +46,7 @@ class acfe_field_flexible_content_thumbnail{
|
|
46 |
'label' => __('Layouts Thumbnails'),
|
47 |
'name' => 'acfe_flexible_layouts_thumbnails',
|
48 |
'key' => 'acfe_flexible_layouts_thumbnails',
|
49 |
-
'instructions' => __('Set a thumbnail for each layouts
|
50 |
'type' => 'true_false',
|
51 |
'message' => '',
|
52 |
'default_value' => false,
|
46 |
'label' => __('Layouts Thumbnails'),
|
47 |
'name' => 'acfe_flexible_layouts_thumbnails',
|
48 |
'key' => 'acfe_flexible_layouts_thumbnails',
|
49 |
+
'instructions' => __('Set a thumbnail for each layouts'),
|
50 |
'type' => 'true_false',
|
51 |
'message' => '',
|
52 |
'default_value' => false,
|
includes/fields/field-flexible-content.php
CHANGED
@@ -27,7 +27,6 @@ class acfe_field_flexible_content{
|
|
27 |
// Render Flexible
|
28 |
remove_action('acf/render_field/type=flexible_content', array($this->instance, 'render_field'), 9);
|
29 |
add_action('acf/render_field/type=flexible_content', array($this, 'render_field'), 9);
|
30 |
-
add_filter('acf/fields/flexible_content/layout_title', array($this, 'prepare_layout_title'), 0, 4);
|
31 |
|
32 |
}
|
33 |
|
@@ -637,15 +636,6 @@ class acfe_field_flexible_content{
|
|
637 |
|
638 |
}
|
639 |
|
640 |
-
/*
|
641 |
-
* Prepare Layout Title
|
642 |
-
*/
|
643 |
-
function prepare_layout_title($title, $field, $layout, $i){
|
644 |
-
|
645 |
-
return '<span class="acfe-layout-title-text">' . $title . '</span>';
|
646 |
-
|
647 |
-
}
|
648 |
-
|
649 |
}
|
650 |
|
651 |
acf_new_instance('acfe_field_flexible_content');
|
27 |
// Render Flexible
|
28 |
remove_action('acf/render_field/type=flexible_content', array($this->instance, 'render_field'), 9);
|
29 |
add_action('acf/render_field/type=flexible_content', array($this, 'render_field'), 9);
|
|
|
30 |
|
31 |
}
|
32 |
|
636 |
|
637 |
}
|
638 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
639 |
}
|
640 |
|
641 |
acf_new_instance('acfe_field_flexible_content');
|
includes/fields/field-forms.php
CHANGED
@@ -13,19 +13,20 @@ class acfe_field_forms extends acf_field{
|
|
13 |
$this->label = __('Forms', 'acfe');
|
14 |
$this->category = apply_filters('acfe/form_field_type_category', 'relational');
|
15 |
$this->defaults = array(
|
16 |
-
'post_type'
|
17 |
-
'field_type'
|
18 |
-
'multiple'
|
19 |
-
'allow_null'
|
20 |
-
'choices'
|
21 |
-
'default_value'
|
22 |
-
'ui'
|
23 |
-
'ajax'
|
24 |
-
'placeholder'
|
25 |
-
'
|
26 |
-
'
|
27 |
-
'
|
28 |
-
'
|
|
|
29 |
);
|
30 |
|
31 |
parent::__construct();
|
@@ -120,14 +121,14 @@ class acfe_field_forms extends acf_field{
|
|
120 |
),
|
121 |
)
|
122 |
));
|
123 |
-
|
124 |
-
//
|
125 |
acf_render_field_setting($field, array(
|
126 |
-
'label'
|
127 |
-
'instructions'
|
128 |
-
'type'
|
129 |
-
'name'
|
130 |
-
'placeholder'
|
131 |
'conditional_logic' => array(
|
132 |
array(
|
133 |
array(
|
@@ -135,12 +136,38 @@ class acfe_field_forms extends acf_field{
|
|
135 |
'operator' => '==',
|
136 |
'value' => 'select',
|
137 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
array(
|
139 |
'field' => 'allow_null',
|
140 |
'operator' => '==',
|
141 |
'value' => '1',
|
142 |
),
|
143 |
-
|
144 |
),
|
145 |
array(
|
146 |
array(
|
@@ -153,7 +180,39 @@ class acfe_field_forms extends acf_field{
|
|
153 |
'operator' => '==',
|
154 |
'value' => '1',
|
155 |
),
|
156 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
),
|
158 |
)
|
159 |
));
|
13 |
$this->label = __('Forms', 'acfe');
|
14 |
$this->category = apply_filters('acfe/form_field_type_category', 'relational');
|
15 |
$this->defaults = array(
|
16 |
+
'post_type' => array(),
|
17 |
+
'field_type' => 'checkbox',
|
18 |
+
'multiple' => 0,
|
19 |
+
'allow_null' => 0,
|
20 |
+
'choices' => array(),
|
21 |
+
'default_value' => '',
|
22 |
+
'ui' => 0,
|
23 |
+
'ajax' => 0,
|
24 |
+
'placeholder' => '',
|
25 |
+
'search_placeholder' => '',
|
26 |
+
'layout' => '',
|
27 |
+
'toggle' => 0,
|
28 |
+
'allow_custom' => 0,
|
29 |
+
'return_format' => 'name',
|
30 |
);
|
31 |
|
32 |
parent::__construct();
|
121 |
),
|
122 |
)
|
123 |
));
|
124 |
+
|
125 |
+
// Select: Placeholder
|
126 |
acf_render_field_setting($field, array(
|
127 |
+
'label' => __('Placeholder','acf'),
|
128 |
+
'instructions' => __('Appears within the input','acf'),
|
129 |
+
'type' => 'text',
|
130 |
+
'name' => 'placeholder',
|
131 |
+
'placeholder' => _x('Select', 'verb', 'acf'),
|
132 |
'conditional_logic' => array(
|
133 |
array(
|
134 |
array(
|
136 |
'operator' => '==',
|
137 |
'value' => 'select',
|
138 |
),
|
139 |
+
array(
|
140 |
+
'field' => 'ui',
|
141 |
+
'operator' => '==',
|
142 |
+
'value' => '0',
|
143 |
+
),
|
144 |
+
array(
|
145 |
+
'field' => 'allow_null',
|
146 |
+
'operator' => '==',
|
147 |
+
'value' => '1',
|
148 |
+
),
|
149 |
+
array(
|
150 |
+
'field' => 'multiple',
|
151 |
+
'operator' => '==',
|
152 |
+
'value' => '0',
|
153 |
+
),
|
154 |
+
),
|
155 |
+
array(
|
156 |
+
array(
|
157 |
+
'field' => 'field_type',
|
158 |
+
'operator' => '==',
|
159 |
+
'value' => 'select',
|
160 |
+
),
|
161 |
+
array(
|
162 |
+
'field' => 'ui',
|
163 |
+
'operator' => '==',
|
164 |
+
'value' => '1',
|
165 |
+
),
|
166 |
array(
|
167 |
'field' => 'allow_null',
|
168 |
'operator' => '==',
|
169 |
'value' => '1',
|
170 |
),
|
|
|
171 |
),
|
172 |
array(
|
173 |
array(
|
180 |
'operator' => '==',
|
181 |
'value' => '1',
|
182 |
),
|
183 |
+
array(
|
184 |
+
'field' => 'multiple',
|
185 |
+
'operator' => '==',
|
186 |
+
'value' => '1',
|
187 |
+
),
|
188 |
+
),
|
189 |
+
)
|
190 |
+
));
|
191 |
+
|
192 |
+
// Select: Search Placeholder
|
193 |
+
acf_render_field_setting($field, array(
|
194 |
+
'label' => __('Search Input Placeholder','acf'),
|
195 |
+
'instructions' => __('Appears within the search input','acf'),
|
196 |
+
'type' => 'text',
|
197 |
+
'name' => 'search_placeholder',
|
198 |
+
'placeholder' => '',
|
199 |
+
'conditional_logic' => array(
|
200 |
+
array(
|
201 |
+
array(
|
202 |
+
'field' => 'field_type',
|
203 |
+
'operator' => '==',
|
204 |
+
'value' => 'select',
|
205 |
+
),
|
206 |
+
array(
|
207 |
+
'field' => 'ui',
|
208 |
+
'operator' => '==',
|
209 |
+
'value' => '1',
|
210 |
+
),
|
211 |
+
array(
|
212 |
+
'field' => 'multiple',
|
213 |
+
'operator' => '==',
|
214 |
+
'value' => '0',
|
215 |
+
),
|
216 |
),
|
217 |
)
|
218 |
));
|
includes/fields/field-hidden.php
CHANGED
@@ -39,7 +39,7 @@ class acfe_field_hidden extends acf_field{
|
|
39 |
function render_field_settings($field){
|
40 |
|
41 |
// default_value
|
42 |
-
acf_render_field_setting(
|
43 |
'label' => __('Value','acf'),
|
44 |
'instructions' => __('Default value in the hidden input','acf'),
|
45 |
'type' => 'text',
|
39 |
function render_field_settings($field){
|
40 |
|
41 |
// default_value
|
42 |
+
acf_render_field_setting($field, array(
|
43 |
'label' => __('Value','acf'),
|
44 |
'instructions' => __('Default value in the hidden input','acf'),
|
45 |
'type' => 'text',
|
includes/fields/field-post-statuses.php
CHANGED
@@ -39,7 +39,7 @@ class acfe_field_post_statuses extends acf_field{
|
|
39 |
$field['default_value'] = acf_encode_choices($field['default_value'], false);
|
40 |
|
41 |
// Allow Post Status
|
42 |
-
acf_render_field_setting(
|
43 |
'label' => __('Allow Post Status','acf'),
|
44 |
'instructions' => '',
|
45 |
'type' => 'select',
|
@@ -66,7 +66,7 @@ class acfe_field_post_statuses extends acf_field{
|
|
66 |
));
|
67 |
|
68 |
// default_value
|
69 |
-
acf_render_field_setting(
|
70 |
'label' => __('Default Value','acf'),
|
71 |
'instructions' => __('Enter each default value on a new line','acf'),
|
72 |
'name' => 'default_value',
|
@@ -87,7 +87,7 @@ class acfe_field_post_statuses extends acf_field{
|
|
87 |
));
|
88 |
|
89 |
// Select + Radio: allow_null
|
90 |
-
acf_render_field_setting(
|
91 |
'label' => __('Allow Null?','acf'),
|
92 |
'instructions' => '',
|
93 |
'name' => 'allow_null',
|
@@ -112,7 +112,7 @@ class acfe_field_post_statuses extends acf_field{
|
|
112 |
));
|
113 |
|
114 |
// Select: multiple
|
115 |
-
acf_render_field_setting(
|
116 |
'label' => __('Select multiple values?','acf'),
|
117 |
'instructions' => '',
|
118 |
'name' => 'multiple',
|
@@ -130,7 +130,7 @@ class acfe_field_post_statuses extends acf_field{
|
|
130 |
));
|
131 |
|
132 |
// Select: ui
|
133 |
-
acf_render_field_setting(
|
134 |
'label' => __('Stylised UI','acf'),
|
135 |
'instructions' => '',
|
136 |
'name' => 'ui',
|
@@ -149,7 +149,7 @@ class acfe_field_post_statuses extends acf_field{
|
|
149 |
|
150 |
|
151 |
// Select: ajax
|
152 |
-
acf_render_field_setting(
|
153 |
'label' => __('Use AJAX to lazy load choices?','acf'),
|
154 |
'instructions' => '',
|
155 |
'name' => 'ajax',
|
@@ -170,8 +170,8 @@ class acfe_field_post_statuses extends acf_field{
|
|
170 |
),
|
171 |
)
|
172 |
));
|
173 |
-
|
174 |
-
//
|
175 |
acf_render_field_setting($field, array(
|
176 |
'label' => __('Placeholder','acf'),
|
177 |
'instructions' => __('Appears within the input','acf'),
|
@@ -185,11 +185,21 @@ class acfe_field_post_statuses extends acf_field{
|
|
185 |
'operator' => '==',
|
186 |
'value' => 'select',
|
187 |
),
|
|
|
|
|
|
|
|
|
|
|
188 |
array(
|
189 |
'field' => 'allow_null',
|
190 |
'operator' => '==',
|
191 |
'value' => '1',
|
192 |
),
|
|
|
|
|
|
|
|
|
|
|
193 |
),
|
194 |
array(
|
195 |
array(
|
@@ -208,16 +218,33 @@ class acfe_field_post_statuses extends acf_field{
|
|
208 |
'value' => '1',
|
209 |
),
|
210 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
211 |
)
|
212 |
));
|
213 |
-
|
214 |
-
//
|
215 |
acf_render_field_setting($field, array(
|
216 |
'label' => __('Search Input Placeholder','acf'),
|
217 |
'instructions' => __('Appears within the search input','acf'),
|
218 |
'type' => 'text',
|
219 |
'name' => 'search_placeholder',
|
220 |
-
'placeholder' =>
|
221 |
'conditional_logic' => array(
|
222 |
array(
|
223 |
array(
|
@@ -230,12 +257,17 @@ class acfe_field_post_statuses extends acf_field{
|
|
230 |
'operator' => '==',
|
231 |
'value' => '1',
|
232 |
),
|
|
|
|
|
|
|
|
|
|
|
233 |
),
|
234 |
)
|
235 |
));
|
236 |
|
237 |
// Radio: other_choice
|
238 |
-
acf_render_field_setting(
|
239 |
'label' => __('Other','acf'),
|
240 |
'instructions' => '',
|
241 |
'name' => 'other_choice',
|
@@ -254,7 +286,7 @@ class acfe_field_post_statuses extends acf_field{
|
|
254 |
));
|
255 |
|
256 |
// Checkbox: layout
|
257 |
-
acf_render_field_setting(
|
258 |
'label' => __('Layout','acf'),
|
259 |
'instructions' => '',
|
260 |
'type' => 'radio',
|
@@ -283,7 +315,7 @@ class acfe_field_post_statuses extends acf_field{
|
|
283 |
));
|
284 |
|
285 |
// Checkbox: toggle
|
286 |
-
acf_render_field_setting(
|
287 |
'label' => __('Toggle','acf'),
|
288 |
'instructions' => __('Prepend an extra checkbox to toggle all choices','acf'),
|
289 |
'name' => 'toggle',
|
@@ -301,7 +333,7 @@ class acfe_field_post_statuses extends acf_field{
|
|
301 |
));
|
302 |
|
303 |
// Checkbox: other_choice
|
304 |
-
acf_render_field_setting(
|
305 |
'label' => __('Allow Custom','acf'),
|
306 |
'instructions' => '',
|
307 |
'name' => 'allow_custom',
|
39 |
$field['default_value'] = acf_encode_choices($field['default_value'], false);
|
40 |
|
41 |
// Allow Post Status
|
42 |
+
acf_render_field_setting($field, array(
|
43 |
'label' => __('Allow Post Status','acf'),
|
44 |
'instructions' => '',
|
45 |
'type' => 'select',
|
66 |
));
|
67 |
|
68 |
// default_value
|
69 |
+
acf_render_field_setting($field, array(
|
70 |
'label' => __('Default Value','acf'),
|
71 |
'instructions' => __('Enter each default value on a new line','acf'),
|
72 |
'name' => 'default_value',
|
87 |
));
|
88 |
|
89 |
// Select + Radio: allow_null
|
90 |
+
acf_render_field_setting($field, array(
|
91 |
'label' => __('Allow Null?','acf'),
|
92 |
'instructions' => '',
|
93 |
'name' => 'allow_null',
|
112 |
));
|
113 |
|
114 |
// Select: multiple
|
115 |
+
acf_render_field_setting($field, array(
|
116 |
'label' => __('Select multiple values?','acf'),
|
117 |
'instructions' => '',
|
118 |
'name' => 'multiple',
|
130 |
));
|
131 |
|
132 |
// Select: ui
|
133 |
+
acf_render_field_setting($field, array(
|
134 |
'label' => __('Stylised UI','acf'),
|
135 |
'instructions' => '',
|
136 |
'name' => 'ui',
|
149 |
|
150 |
|
151 |
// Select: ajax
|
152 |
+
acf_render_field_setting($field, array(
|
153 |
'label' => __('Use AJAX to lazy load choices?','acf'),
|
154 |
'instructions' => '',
|
155 |
'name' => 'ajax',
|
170 |
),
|
171 |
)
|
172 |
));
|
173 |
+
|
174 |
+
// Select: Placeholder
|
175 |
acf_render_field_setting($field, array(
|
176 |
'label' => __('Placeholder','acf'),
|
177 |
'instructions' => __('Appears within the input','acf'),
|
185 |
'operator' => '==',
|
186 |
'value' => 'select',
|
187 |
),
|
188 |
+
array(
|
189 |
+
'field' => 'ui',
|
190 |
+
'operator' => '==',
|
191 |
+
'value' => '0',
|
192 |
+
),
|
193 |
array(
|
194 |
'field' => 'allow_null',
|
195 |
'operator' => '==',
|
196 |
'value' => '1',
|
197 |
),
|
198 |
+
array(
|
199 |
+
'field' => 'multiple',
|
200 |
+
'operator' => '==',
|
201 |
+
'value' => '0',
|
202 |
+
),
|
203 |
),
|
204 |
array(
|
205 |
array(
|
218 |
'value' => '1',
|
219 |
),
|
220 |
),
|
221 |
+
array(
|
222 |
+
array(
|
223 |
+
'field' => 'field_type',
|
224 |
+
'operator' => '==',
|
225 |
+
'value' => 'select',
|
226 |
+
),
|
227 |
+
array(
|
228 |
+
'field' => 'ui',
|
229 |
+
'operator' => '==',
|
230 |
+
'value' => '1',
|
231 |
+
),
|
232 |
+
array(
|
233 |
+
'field' => 'multiple',
|
234 |
+
'operator' => '==',
|
235 |
+
'value' => '1',
|
236 |
+
),
|
237 |
+
),
|
238 |
)
|
239 |
));
|
240 |
+
|
241 |
+
// Select: Search Placeholder
|
242 |
acf_render_field_setting($field, array(
|
243 |
'label' => __('Search Input Placeholder','acf'),
|
244 |
'instructions' => __('Appears within the search input','acf'),
|
245 |
'type' => 'text',
|
246 |
'name' => 'search_placeholder',
|
247 |
+
'placeholder' => '',
|
248 |
'conditional_logic' => array(
|
249 |
array(
|
250 |
array(
|
257 |
'operator' => '==',
|
258 |
'value' => '1',
|
259 |
),
|
260 |
+
array(
|
261 |
+
'field' => 'multiple',
|
262 |
+
'operator' => '==',
|
263 |
+
'value' => '0',
|
264 |
+
),
|
265 |
),
|
266 |
)
|
267 |
));
|
268 |
|
269 |
// Radio: other_choice
|
270 |
+
acf_render_field_setting($field, array(
|
271 |
'label' => __('Other','acf'),
|
272 |
'instructions' => '',
|
273 |
'name' => 'other_choice',
|
286 |
));
|
287 |
|
288 |
// Checkbox: layout
|
289 |
+
acf_render_field_setting($field, array(
|
290 |
'label' => __('Layout','acf'),
|
291 |
'instructions' => '',
|
292 |
'type' => 'radio',
|
315 |
));
|
316 |
|
317 |
// Checkbox: toggle
|
318 |
+
acf_render_field_setting($field, array(
|
319 |
'label' => __('Toggle','acf'),
|
320 |
'instructions' => __('Prepend an extra checkbox to toggle all choices','acf'),
|
321 |
'name' => 'toggle',
|
333 |
));
|
334 |
|
335 |
// Checkbox: other_choice
|
336 |
+
acf_render_field_setting($field, array(
|
337 |
'label' => __('Allow Custom','acf'),
|
338 |
'instructions' => '',
|
339 |
'name' => 'allow_custom',
|
includes/fields/field-post-types.php
CHANGED
@@ -39,7 +39,7 @@ class acfe_field_post_types extends acf_field{
|
|
39 |
$field['default_value'] = acf_encode_choices($field['default_value'], false);
|
40 |
|
41 |
// Allow Post Type
|
42 |
-
acf_render_field_setting(
|
43 |
'label' => __('Allow Post Type','acf'),
|
44 |
'instructions' => '',
|
45 |
'type' => 'select',
|
@@ -66,7 +66,7 @@ class acfe_field_post_types extends acf_field{
|
|
66 |
));
|
67 |
|
68 |
// default_value
|
69 |
-
acf_render_field_setting(
|
70 |
'label' => __('Default Value','acf'),
|
71 |
'instructions' => __('Enter each default value on a new line','acf'),
|
72 |
'name' => 'default_value',
|
@@ -87,7 +87,7 @@ class acfe_field_post_types extends acf_field{
|
|
87 |
));
|
88 |
|
89 |
// Select + Radio: allow_null
|
90 |
-
acf_render_field_setting(
|
91 |
'label' => __('Allow Null?','acf'),
|
92 |
'instructions' => '',
|
93 |
'name' => 'allow_null',
|
@@ -112,7 +112,7 @@ class acfe_field_post_types extends acf_field{
|
|
112 |
));
|
113 |
|
114 |
// Select: multiple
|
115 |
-
acf_render_field_setting(
|
116 |
'label' => __('Select multiple values?','acf'),
|
117 |
'instructions' => '',
|
118 |
'name' => 'multiple',
|
@@ -130,7 +130,7 @@ class acfe_field_post_types extends acf_field{
|
|
130 |
));
|
131 |
|
132 |
// Select: ui
|
133 |
-
acf_render_field_setting(
|
134 |
'label' => __('Stylised UI','acf'),
|
135 |
'instructions' => '',
|
136 |
'name' => 'ui',
|
@@ -149,7 +149,7 @@ class acfe_field_post_types extends acf_field{
|
|
149 |
|
150 |
|
151 |
// Select: ajax
|
152 |
-
acf_render_field_setting(
|
153 |
'label' => __('Use AJAX to lazy load choices?','acf'),
|
154 |
'instructions' => '',
|
155 |
'name' => 'ajax',
|
@@ -170,8 +170,8 @@ class acfe_field_post_types extends acf_field{
|
|
170 |
),
|
171 |
)
|
172 |
));
|
173 |
-
|
174 |
-
//
|
175 |
acf_render_field_setting($field, array(
|
176 |
'label' => __('Placeholder','acf'),
|
177 |
'instructions' => __('Appears within the input','acf'),
|
@@ -185,11 +185,21 @@ class acfe_field_post_types extends acf_field{
|
|
185 |
'operator' => '==',
|
186 |
'value' => 'select',
|
187 |
),
|
|
|
|
|
|
|
|
|
|
|
188 |
array(
|
189 |
'field' => 'allow_null',
|
190 |
'operator' => '==',
|
191 |
'value' => '1',
|
192 |
),
|
|
|
|
|
|
|
|
|
|
|
193 |
),
|
194 |
array(
|
195 |
array(
|
@@ -208,16 +218,33 @@ class acfe_field_post_types extends acf_field{
|
|
208 |
'value' => '1',
|
209 |
),
|
210 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
211 |
)
|
212 |
));
|
213 |
-
|
214 |
-
//
|
215 |
acf_render_field_setting($field, array(
|
216 |
'label' => __('Search Input Placeholder','acf'),
|
217 |
'instructions' => __('Appears within the search input','acf'),
|
218 |
'type' => 'text',
|
219 |
'name' => 'search_placeholder',
|
220 |
-
'placeholder' =>
|
221 |
'conditional_logic' => array(
|
222 |
array(
|
223 |
array(
|
@@ -230,12 +257,17 @@ class acfe_field_post_types extends acf_field{
|
|
230 |
'operator' => '==',
|
231 |
'value' => '1',
|
232 |
),
|
|
|
|
|
|
|
|
|
|
|
233 |
),
|
234 |
)
|
235 |
));
|
236 |
|
237 |
// Radio: other_choice
|
238 |
-
acf_render_field_setting(
|
239 |
'label' => __('Other','acf'),
|
240 |
'instructions' => '',
|
241 |
'name' => 'other_choice',
|
@@ -254,7 +286,7 @@ class acfe_field_post_types extends acf_field{
|
|
254 |
));
|
255 |
|
256 |
// Checkbox: layout
|
257 |
-
acf_render_field_setting(
|
258 |
'label' => __('Layout','acf'),
|
259 |
'instructions' => '',
|
260 |
'type' => 'radio',
|
@@ -283,7 +315,7 @@ class acfe_field_post_types extends acf_field{
|
|
283 |
));
|
284 |
|
285 |
// Checkbox: toggle
|
286 |
-
acf_render_field_setting(
|
287 |
'label' => __('Toggle','acf'),
|
288 |
'instructions' => __('Prepend an extra checkbox to toggle all choices','acf'),
|
289 |
'name' => 'toggle',
|
@@ -301,7 +333,7 @@ class acfe_field_post_types extends acf_field{
|
|
301 |
));
|
302 |
|
303 |
// Checkbox: other_choice
|
304 |
-
acf_render_field_setting(
|
305 |
'label' => __('Allow Custom','acf'),
|
306 |
'instructions' => '',
|
307 |
'name' => 'allow_custom',
|
39 |
$field['default_value'] = acf_encode_choices($field['default_value'], false);
|
40 |
|
41 |
// Allow Post Type
|
42 |
+
acf_render_field_setting($field, array(
|
43 |
'label' => __('Allow Post Type','acf'),
|
44 |
'instructions' => '',
|
45 |
'type' => 'select',
|
66 |
));
|
67 |
|
68 |
// default_value
|
69 |
+
acf_render_field_setting($field, array(
|
70 |
'label' => __('Default Value','acf'),
|
71 |
'instructions' => __('Enter each default value on a new line','acf'),
|
72 |
'name' => 'default_value',
|
87 |
));
|
88 |
|
89 |
// Select + Radio: allow_null
|
90 |
+
acf_render_field_setting($field, array(
|
91 |
'label' => __('Allow Null?','acf'),
|
92 |
'instructions' => '',
|
93 |
'name' => 'allow_null',
|
112 |
));
|
113 |
|
114 |
// Select: multiple
|
115 |
+
acf_render_field_setting($field, array(
|
116 |
'label' => __('Select multiple values?','acf'),
|
117 |
'instructions' => '',
|
118 |
'name' => 'multiple',
|
130 |
));
|
131 |
|
132 |
// Select: ui
|
133 |
+
acf_render_field_setting($field, array(
|
134 |
'label' => __('Stylised UI','acf'),
|
135 |
'instructions' => '',
|
136 |
'name' => 'ui',
|
149 |
|
150 |
|
151 |
// Select: ajax
|
152 |
+
acf_render_field_setting($field, array(
|
153 |
'label' => __('Use AJAX to lazy load choices?','acf'),
|
154 |
'instructions' => '',
|
155 |
'name' => 'ajax',
|
170 |
),
|
171 |
)
|
172 |
));
|
173 |
+
|
174 |
+
// Select: Placeholder
|
175 |
acf_render_field_setting($field, array(
|
176 |
'label' => __('Placeholder','acf'),
|
177 |
'instructions' => __('Appears within the input','acf'),
|
185 |
'operator' => '==',
|
186 |
'value' => 'select',
|
187 |
),
|
188 |
+
array(
|
189 |
+
'field' => 'ui',
|
190 |
+
'operator' => '==',
|
191 |
+
'value' => '0',
|
192 |
+
),
|
193 |
array(
|
194 |
'field' => 'allow_null',
|
195 |
'operator' => '==',
|
196 |
'value' => '1',
|
197 |
),
|
198 |
+
array(
|
199 |
+
'field' => 'multiple',
|
200 |
+
'operator' => '==',
|
201 |
+
'value' => '0',
|
202 |
+
),
|
203 |
),
|
204 |
array(
|
205 |
array(
|
218 |
'value' => '1',
|
219 |
),
|
220 |
),
|
221 |
+
array(
|
222 |
+
array(
|
223 |
+
'field' => 'field_type',
|
224 |
+
'operator' => '==',
|
225 |
+
'value' => 'select',
|
226 |
+
),
|
227 |
+
array(
|
228 |
+
'field' => 'ui',
|
229 |
+
'operator' => '==',
|
230 |
+
'value' => '1',
|
231 |
+
),
|
232 |
+
array(
|
233 |
+
'field' => 'multiple',
|
234 |
+
'operator' => '==',
|
235 |
+
'value' => '1',
|
236 |
+
),
|
237 |
+
),
|
238 |
)
|
239 |
));
|
240 |
+
|
241 |
+
// Select: Search Placeholder
|
242 |
acf_render_field_setting($field, array(
|
243 |
'label' => __('Search Input Placeholder','acf'),
|
244 |
'instructions' => __('Appears within the search input','acf'),
|
245 |
'type' => 'text',
|
246 |
'name' => 'search_placeholder',
|
247 |
+
'placeholder' => '',
|
248 |
'conditional_logic' => array(
|
249 |
array(
|
250 |
array(
|
257 |
'operator' => '==',
|
258 |
'value' => '1',
|
259 |
),
|
260 |
+
array(
|
261 |
+
'field' => 'multiple',
|
262 |
+
'operator' => '==',
|
263 |
+
'value' => '0',
|
264 |
+
),
|
265 |
),
|
266 |
)
|
267 |
));
|
268 |
|
269 |
// Radio: other_choice
|
270 |
+
acf_render_field_setting($field, array(
|
271 |
'label' => __('Other','acf'),
|
272 |
'instructions' => '',
|
273 |
'name' => 'other_choice',
|
286 |
));
|
287 |
|
288 |
// Checkbox: layout
|
289 |
+
acf_render_field_setting($field, array(
|
290 |
'label' => __('Layout','acf'),
|
291 |
'instructions' => '',
|
292 |
'type' => 'radio',
|
315 |
));
|
316 |
|
317 |
// Checkbox: toggle
|
318 |
+
acf_render_field_setting($field, array(
|
319 |
'label' => __('Toggle','acf'),
|
320 |
'instructions' => __('Prepend an extra checkbox to toggle all choices','acf'),
|
321 |
'name' => 'toggle',
|
333 |
));
|
334 |
|
335 |
// Checkbox: other_choice
|
336 |
+
acf_render_field_setting($field, array(
|
337 |
'label' => __('Allow Custom','acf'),
|
338 |
'instructions' => '',
|
339 |
'name' => 'allow_custom',
|
includes/fields/field-recaptcha.php
CHANGED
@@ -160,14 +160,14 @@ class acfe_field_recaptcha extends acf_field{
|
|
160 |
);
|
161 |
|
162 |
?>
|
163 |
-
<div <?php
|
164 |
|
165 |
<div></div>
|
166 |
<?php acf_hidden_input($hidden_input); ?>
|
167 |
|
168 |
</div>
|
169 |
|
170 |
-
<script src="https://www.google.com/recaptcha/api.js?
|
171 |
|
172 |
<?php
|
173 |
return;
|
@@ -192,7 +192,7 @@ class acfe_field_recaptcha extends acf_field{
|
|
192 |
);
|
193 |
|
194 |
?>
|
195 |
-
<div <?php
|
196 |
|
197 |
<div></div>
|
198 |
<?php acf_hidden_input($hidden_input); ?>
|
@@ -208,7 +208,7 @@ class acfe_field_recaptcha extends acf_field{
|
|
208 |
</style>
|
209 |
<?php } ?>
|
210 |
|
211 |
-
<script src="https://www.google.com/recaptcha/api.js?render=<?php echo $site_key;
|
212 |
|
213 |
<?php
|
214 |
return;
|
@@ -218,27 +218,12 @@ class acfe_field_recaptcha extends acf_field{
|
|
218 |
}
|
219 |
|
220 |
function validate_value($valid, $value, $field, $input){
|
221 |
-
|
222 |
-
if(!$field['required'])
|
223 |
-
return $valid;
|
224 |
-
|
225 |
-
// Expired
|
226 |
-
if($value === 'expired'){
|
227 |
-
|
228 |
-
return __('reCaptcha has expired.');
|
229 |
-
|
230 |
-
}
|
231 |
-
|
232 |
-
// Error
|
233 |
-
elseif($value === 'error'){
|
234 |
-
|
235 |
-
return __('An error has occured.');
|
236 |
|
237 |
-
|
|
|
238 |
|
239 |
// Avoid duplicate token: Do not process during Ajax validation
|
240 |
-
if(wp_doing_ajax())
|
241 |
-
return $valid;
|
242 |
|
243 |
// Secret key
|
244 |
$secret_key = acf_get_setting('acfe/field/recaptcha/secret_key', $field['secret_key']);
|
@@ -254,23 +239,19 @@ class acfe_field_recaptcha extends acf_field{
|
|
254 |
curl_close($curl);
|
255 |
|
256 |
// No API response
|
257 |
-
if(empty($api))
|
258 |
-
return __('An error has occured.');
|
259 |
|
260 |
// Decode
|
261 |
$response = json_decode($api);
|
262 |
|
263 |
// No success
|
264 |
-
if(!isset($response->success))
|
265 |
-
return __('An error has occured.');
|
266 |
|
267 |
if($response->success === false){
|
268 |
|
269 |
$valid = false;
|
270 |
|
271 |
-
}
|
272 |
-
|
273 |
-
elseif($response->success === true){
|
274 |
|
275 |
$valid = true;
|
276 |
|
160 |
);
|
161 |
|
162 |
?>
|
163 |
+
<div <?php echo acf_esc_attrs($wrapper); ?>>
|
164 |
|
165 |
<div></div>
|
166 |
<?php acf_hidden_input($hidden_input); ?>
|
167 |
|
168 |
</div>
|
169 |
|
170 |
+
<script src="https://www.google.com/recaptcha/api.js?render=explicit" async defer></script>
|
171 |
|
172 |
<?php
|
173 |
return;
|
192 |
);
|
193 |
|
194 |
?>
|
195 |
+
<div <?php echo acf_esc_attrs($wrapper); ?>>
|
196 |
|
197 |
<div></div>
|
198 |
<?php acf_hidden_input($hidden_input); ?>
|
208 |
</style>
|
209 |
<?php } ?>
|
210 |
|
211 |
+
<script src="https://www.google.com/recaptcha/api.js?render=<?php echo $site_key; ?>" async defer></script>
|
212 |
|
213 |
<?php
|
214 |
return;
|
218 |
}
|
219 |
|
220 |
function validate_value($valid, $value, $field, $input){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
|
222 |
+
// bail early if not required
|
223 |
+
if(!$field['required']) return $valid;
|
224 |
|
225 |
// Avoid duplicate token: Do not process during Ajax validation
|
226 |
+
if(wp_doing_ajax()) return $valid;
|
|
|
227 |
|
228 |
// Secret key
|
229 |
$secret_key = acf_get_setting('acfe/field/recaptcha/secret_key', $field['secret_key']);
|
239 |
curl_close($curl);
|
240 |
|
241 |
// No API response
|
242 |
+
if(empty($api)) return __('An error has occured');
|
|
|
243 |
|
244 |
// Decode
|
245 |
$response = json_decode($api);
|
246 |
|
247 |
// No success
|
248 |
+
if(!isset($response->success)) return __('An error has occured');
|
|
|
249 |
|
250 |
if($response->success === false){
|
251 |
|
252 |
$valid = false;
|
253 |
|
254 |
+
}elseif($response->success === true){
|
|
|
|
|
255 |
|
256 |
$valid = true;
|
257 |
|
includes/fields/field-select.php
CHANGED
@@ -62,8 +62,8 @@ class acfe_field_select{
|
|
62 |
),
|
63 |
)
|
64 |
));
|
65 |
-
|
66 |
-
//
|
67 |
acf_render_field_setting($field, array(
|
68 |
'label' => __('Placeholder','acf'),
|
69 |
'instructions' => __('Appears within the input','acf'),
|
@@ -75,13 +75,18 @@ class acfe_field_select{
|
|
75 |
array(
|
76 |
'field' => 'ui',
|
77 |
'operator' => '==',
|
78 |
-
'value' => '
|
79 |
),
|
80 |
array(
|
81 |
'field' => 'allow_null',
|
82 |
'operator' => '==',
|
83 |
'value' => '1',
|
84 |
-
)
|
|
|
|
|
|
|
|
|
|
|
85 |
),
|
86 |
array(
|
87 |
array(
|
@@ -90,22 +95,27 @@ class acfe_field_select{
|
|
90 |
'value' => '1',
|
91 |
),
|
92 |
array(
|
93 |
-
'field' => '
|
94 |
'operator' => '==',
|
95 |
'value' => '1',
|
96 |
-
)
|
97 |
),
|
98 |
array(
|
99 |
array(
|
100 |
-
'field' => '
|
101 |
'operator' => '==',
|
102 |
'value' => '1',
|
103 |
-
)
|
|
|
|
|
|
|
|
|
|
|
104 |
),
|
105 |
)
|
106 |
));
|
107 |
-
|
108 |
-
//
|
109 |
acf_render_field_setting($field, array(
|
110 |
'label' => __('Search Input Placeholder','acf'),
|
111 |
'instructions' => __('Appears within the search input','acf'),
|
@@ -119,6 +129,11 @@ class acfe_field_select{
|
|
119 |
'operator' => '==',
|
120 |
'value' => '1',
|
121 |
),
|
|
|
|
|
|
|
|
|
|
|
122 |
),
|
123 |
)
|
124 |
));
|
62 |
),
|
63 |
)
|
64 |
));
|
65 |
+
|
66 |
+
// Placeholder
|
67 |
acf_render_field_setting($field, array(
|
68 |
'label' => __('Placeholder','acf'),
|
69 |
'instructions' => __('Appears within the input','acf'),
|
75 |
array(
|
76 |
'field' => 'ui',
|
77 |
'operator' => '==',
|
78 |
+
'value' => '0',
|
79 |
),
|
80 |
array(
|
81 |
'field' => 'allow_null',
|
82 |
'operator' => '==',
|
83 |
'value' => '1',
|
84 |
+
),
|
85 |
+
array(
|
86 |
+
'field' => 'multiple',
|
87 |
+
'operator' => '==',
|
88 |
+
'value' => '0',
|
89 |
+
),
|
90 |
),
|
91 |
array(
|
92 |
array(
|
95 |
'value' => '1',
|
96 |
),
|
97 |
array(
|
98 |
+
'field' => 'allow_null',
|
99 |
'operator' => '==',
|
100 |
'value' => '1',
|
101 |
+
),
|
102 |
),
|
103 |
array(
|
104 |
array(
|
105 |
+
'field' => 'ui',
|
106 |
'operator' => '==',
|
107 |
'value' => '1',
|
108 |
+
),
|
109 |
+
array(
|
110 |
+
'field' => 'multiple',
|
111 |
+
'operator' => '==',
|
112 |
+
'value' => '1',
|
113 |
+
),
|
114 |
),
|
115 |
)
|
116 |
));
|
117 |
+
|
118 |
+
// Search Placeholder
|
119 |
acf_render_field_setting($field, array(
|
120 |
'label' => __('Search Input Placeholder','acf'),
|
121 |
'instructions' => __('Appears within the search input','acf'),
|
129 |
'operator' => '==',
|
130 |
'value' => '1',
|
131 |
),
|
132 |
+
array(
|
133 |
+
'field' => 'multiple',
|
134 |
+
'operator' => '==',
|
135 |
+
'value' => '0',
|
136 |
+
),
|
137 |
),
|
138 |
)
|
139 |
));
|
includes/fields/field-slug.php
CHANGED
@@ -42,7 +42,6 @@ class acfe_field_slug extends acf_field{
|
|
42 |
'name' => 'default_value',
|
43 |
));
|
44 |
|
45 |
-
|
46 |
// placeholder
|
47 |
acf_render_field_setting($field, array(
|
48 |
'label' => __('Placeholder Text','acf'),
|
@@ -51,7 +50,6 @@ class acfe_field_slug extends acf_field{
|
|
51 |
'name' => 'placeholder',
|
52 |
));
|
53 |
|
54 |
-
|
55 |
// prepend
|
56 |
acf_render_field_setting($field, array(
|
57 |
'label' => __('Prepend','acf'),
|
@@ -60,7 +58,6 @@ class acfe_field_slug extends acf_field{
|
|
60 |
'name' => 'prepend',
|
61 |
));
|
62 |
|
63 |
-
|
64 |
// append
|
65 |
acf_render_field_setting($field, array(
|
66 |
'label' => __('Append','acf'),
|
@@ -69,7 +66,6 @@ class acfe_field_slug extends acf_field{
|
|
69 |
'name' => 'append',
|
70 |
));
|
71 |
|
72 |
-
|
73 |
// maxlength
|
74 |
acf_render_field_setting($field, array(
|
75 |
'label' => __('Character Limit','acf'),
|
42 |
'name' => 'default_value',
|
43 |
));
|
44 |
|
|
|
45 |
// placeholder
|
46 |
acf_render_field_setting($field, array(
|
47 |
'label' => __('Placeholder Text','acf'),
|
50 |
'name' => 'placeholder',
|
51 |
));
|
52 |
|
|
|
53 |
// prepend
|
54 |
acf_render_field_setting($field, array(
|
55 |
'label' => __('Prepend','acf'),
|
58 |
'name' => 'prepend',
|
59 |
));
|
60 |
|
|
|
61 |
// append
|
62 |
acf_render_field_setting($field, array(
|
63 |
'label' => __('Append','acf'),
|
66 |
'name' => 'append',
|
67 |
));
|
68 |
|
|
|
69 |
// maxlength
|
70 |
acf_render_field_setting($field, array(
|
71 |
'label' => __('Character Limit','acf'),
|
includes/fields/field-taxonomies.php
CHANGED
@@ -39,7 +39,7 @@ class acfe_field_taxonomies extends acf_field{
|
|
39 |
$field['default_value'] = acf_encode_choices($field['default_value'], false);
|
40 |
|
41 |
// Allow Taxonomy
|
42 |
-
acf_render_field_setting(
|
43 |
'label' => __('Allow Taxonomy','acf'),
|
44 |
'instructions' => '',
|
45 |
'type' => 'select',
|
@@ -66,7 +66,7 @@ class acfe_field_taxonomies extends acf_field{
|
|
66 |
));
|
67 |
|
68 |
// default_value
|
69 |
-
acf_render_field_setting(
|
70 |
'label' => __('Default Value','acf'),
|
71 |
'instructions' => __('Enter each default value on a new line','acf'),
|
72 |
'name' => 'default_value',
|
@@ -87,7 +87,7 @@ class acfe_field_taxonomies extends acf_field{
|
|
87 |
));
|
88 |
|
89 |
// Select + Radio: allow_null
|
90 |
-
acf_render_field_setting(
|
91 |
'label' => __('Allow Null?','acf'),
|
92 |
'instructions' => '',
|
93 |
'name' => 'allow_null',
|
@@ -112,7 +112,7 @@ class acfe_field_taxonomies extends acf_field{
|
|
112 |
));
|
113 |
|
114 |
// Select: multiple
|
115 |
-
acf_render_field_setting(
|
116 |
'label' => __('Select multiple values?','acf'),
|
117 |
'instructions' => '',
|
118 |
'name' => 'multiple',
|
@@ -130,7 +130,7 @@ class acfe_field_taxonomies extends acf_field{
|
|
130 |
));
|
131 |
|
132 |
// Select: ui
|
133 |
-
acf_render_field_setting(
|
134 |
'label' => __('Stylised UI','acf'),
|
135 |
'instructions' => '',
|
136 |
'name' => 'ui',
|
@@ -149,7 +149,7 @@ class acfe_field_taxonomies extends acf_field{
|
|
149 |
|
150 |
|
151 |
// Select: ajax
|
152 |
-
acf_render_field_setting(
|
153 |
'label' => __('Use AJAX to lazy load choices?','acf'),
|
154 |
'instructions' => '',
|
155 |
'name' => 'ajax',
|
@@ -170,8 +170,8 @@ class acfe_field_taxonomies extends acf_field{
|
|
170 |
),
|
171 |
)
|
172 |
));
|
173 |
-
|
174 |
-
//
|
175 |
acf_render_field_setting($field, array(
|
176 |
'label' => __('Placeholder','acf'),
|
177 |
'instructions' => __('Appears within the input','acf'),
|
@@ -185,11 +185,21 @@ class acfe_field_taxonomies extends acf_field{
|
|
185 |
'operator' => '==',
|
186 |
'value' => 'select',
|
187 |
),
|
|
|
|
|
|
|
|
|
|
|
188 |
array(
|
189 |
'field' => 'allow_null',
|
190 |
'operator' => '==',
|
191 |
'value' => '1',
|
192 |
),
|
|
|
|
|
|
|
|
|
|
|
193 |
),
|
194 |
array(
|
195 |
array(
|
@@ -208,16 +218,33 @@ class acfe_field_taxonomies extends acf_field{
|
|
208 |
'value' => '1',
|
209 |
),
|
210 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
211 |
)
|
212 |
));
|
213 |
-
|
214 |
-
//
|
215 |
acf_render_field_setting($field, array(
|
216 |
'label' => __('Search Input Placeholder','acf'),
|
217 |
'instructions' => __('Appears within the search input','acf'),
|
218 |
'type' => 'text',
|
219 |
'name' => 'search_placeholder',
|
220 |
-
'placeholder' =>
|
221 |
'conditional_logic' => array(
|
222 |
array(
|
223 |
array(
|
@@ -230,12 +257,17 @@ class acfe_field_taxonomies extends acf_field{
|
|
230 |
'operator' => '==',
|
231 |
'value' => '1',
|
232 |
),
|
|
|
|
|
|
|
|
|
|
|
233 |
),
|
234 |
)
|
235 |
));
|
236 |
|
237 |
// Radio: other_choice
|
238 |
-
acf_render_field_setting(
|
239 |
'label' => __('Other','acf'),
|
240 |
'instructions' => '',
|
241 |
'name' => 'other_choice',
|
@@ -254,7 +286,7 @@ class acfe_field_taxonomies extends acf_field{
|
|
254 |
));
|
255 |
|
256 |
// Checkbox: layout
|
257 |
-
acf_render_field_setting(
|
258 |
'label' => __('Layout','acf'),
|
259 |
'instructions' => '',
|
260 |
'type' => 'radio',
|
@@ -283,7 +315,7 @@ class acfe_field_taxonomies extends acf_field{
|
|
283 |
));
|
284 |
|
285 |
// Checkbox: toggle
|
286 |
-
acf_render_field_setting(
|
287 |
'label' => __('Toggle','acf'),
|
288 |
'instructions' => __('Prepend an extra checkbox to toggle all choices','acf'),
|
289 |
'name' => 'toggle',
|
@@ -301,7 +333,7 @@ class acfe_field_taxonomies extends acf_field{
|
|
301 |
));
|
302 |
|
303 |
// Checkbox: other_choice
|
304 |
-
acf_render_field_setting(
|
305 |
'label' => __('Allow Custom','acf'),
|
306 |
'instructions' => '',
|
307 |
'name' => 'allow_custom',
|
39 |
$field['default_value'] = acf_encode_choices($field['default_value'], false);
|
40 |
|
41 |
// Allow Taxonomy
|
42 |
+
acf_render_field_setting($field, array(
|
43 |
'label' => __('Allow Taxonomy','acf'),
|
44 |
'instructions' => '',
|
45 |
'type' => 'select',
|
66 |
));
|
67 |
|
68 |
// default_value
|
69 |
+
acf_render_field_setting($field, array(
|
70 |
'label' => __('Default Value','acf'),
|
71 |
'instructions' => __('Enter each default value on a new line','acf'),
|
72 |
'name' => 'default_value',
|
87 |
));
|
88 |
|
89 |
// Select + Radio: allow_null
|
90 |
+
acf_render_field_setting($field, array(
|
91 |
'label' => __('Allow Null?','acf'),
|
92 |
'instructions' => '',
|
93 |
'name' => 'allow_null',
|
112 |
));
|
113 |
|
114 |
// Select: multiple
|
115 |
+
acf_render_field_setting($field, array(
|
116 |
'label' => __('Select multiple values?','acf'),
|
117 |
'instructions' => '',
|
118 |
'name' => 'multiple',
|
130 |
));
|
131 |
|
132 |
// Select: ui
|
133 |
+
acf_render_field_setting($field, array(
|
134 |
'label' => __('Stylised UI','acf'),
|
135 |
'instructions' => '',
|
136 |
'name' => 'ui',
|
149 |
|
150 |
|
151 |
// Select: ajax
|
152 |
+
acf_render_field_setting($field, array(
|
153 |
'label' => __('Use AJAX to lazy load choices?','acf'),
|
154 |
'instructions' => '',
|
155 |
'name' => 'ajax',
|
170 |
),
|
171 |
)
|
172 |
));
|
173 |
+
|
174 |
+
// Select: Placeholder
|
175 |
acf_render_field_setting($field, array(
|
176 |
'label' => __('Placeholder','acf'),
|
177 |
'instructions' => __('Appears within the input','acf'),
|
185 |
'operator' => '==',
|
186 |
'value' => 'select',
|
187 |
),
|
188 |
+
array(
|
189 |
+
'field' => 'ui',
|
190 |
+
'operator' => '==',
|
191 |
+
'value' => '0',
|
192 |
+
),
|
193 |
array(
|
194 |
'field' => 'allow_null',
|
195 |
'operator' => '==',
|
196 |
'value' => '1',
|
197 |
),
|
198 |
+
array(
|
199 |
+
'field' => 'multiple',
|
200 |
+
'operator' => '==',
|
201 |
+
'value' => '0',
|
202 |
+
),
|
203 |
),
|
204 |
array(
|
205 |
array(
|
218 |
'value' => '1',
|
219 |
),
|
220 |
),
|
221 |
+
array(
|
222 |
+
array(
|
223 |
+
'field' => 'field_type',
|
224 |
+
'operator' => '==',
|
225 |
+
'value' => 'select',
|
226 |
+
),
|
227 |
+
array(
|
228 |
+
'field' => 'ui',
|
229 |
+
'operator' => '==',
|
230 |
+
'value' => '1',
|
231 |
+
),
|
232 |
+
array(
|
233 |
+
'field' => 'multiple',
|
234 |
+
'operator' => '==',
|
235 |
+
'value' => '1',
|
236 |
+
),
|
237 |
+
),
|
238 |
)
|
239 |
));
|
240 |
+
|
241 |
+
// Select: Search Placeholder
|
242 |
acf_render_field_setting($field, array(
|
243 |
'label' => __('Search Input Placeholder','acf'),
|
244 |
'instructions' => __('Appears within the search input','acf'),
|
245 |
'type' => 'text',
|
246 |
'name' => 'search_placeholder',
|
247 |
+
'placeholder' => '',
|
248 |
'conditional_logic' => array(
|
249 |
array(
|
250 |
array(
|
257 |
'operator' => '==',
|
258 |
'value' => '1',
|
259 |
),
|
260 |
+
array(
|
261 |
+
'field' => 'multiple',
|
262 |
+
'operator' => '==',
|
263 |
+
'value' => '0',
|
264 |
+
),
|
265 |
),
|
266 |
)
|
267 |
));
|
268 |
|
269 |
// Radio: other_choice
|
270 |
+
acf_render_field_setting($field, array(
|
271 |
'label' => __('Other','acf'),
|
272 |
'instructions' => '',
|
273 |
'name' => 'other_choice',
|
286 |
));
|
287 |
|
288 |
// Checkbox: layout
|
289 |
+
acf_render_field_setting($field, array(
|
290 |
'label' => __('Layout','acf'),
|
291 |
'instructions' => '',
|
292 |
'type' => 'radio',
|
315 |
));
|
316 |
|
317 |
// Checkbox: toggle
|
318 |
+
acf_render_field_setting($field, array(
|
319 |
'label' => __('Toggle','acf'),
|
320 |
'instructions' => __('Prepend an extra checkbox to toggle all choices','acf'),
|
321 |
'name' => 'toggle',
|
333 |
));
|
334 |
|
335 |
// Checkbox: other_choice
|
336 |
+
acf_render_field_setting($field, array(
|
337 |
'label' => __('Allow Custom','acf'),
|
338 |
'instructions' => '',
|
339 |
'name' => 'allow_custom',
|
includes/fields/field-taxonomy-terms.php
CHANGED
@@ -16,23 +16,24 @@ class acfe_field_taxonomy_terms extends acf_field{
|
|
16 |
$this->label = __('Taxonomy Terms', 'acfe');
|
17 |
$this->category = 'relational';
|
18 |
$this->defaults = array(
|
19 |
-
'taxonomy'
|
20 |
-
'allow_terms'
|
21 |
-
'field_type'
|
22 |
-
'choices'
|
23 |
-
'default_value'
|
24 |
-
'return_format'
|
25 |
-
'ui'
|
26 |
-
'multiple'
|
27 |
-
'allow_null'
|
28 |
-
'ajax'
|
29 |
-
'placeholder'
|
30 |
-
'
|
31 |
-
'
|
32 |
-
'
|
33 |
-
'
|
34 |
-
'
|
35 |
-
'
|
|
|
36 |
);
|
37 |
|
38 |
// ajax
|
@@ -795,7 +796,7 @@ class acfe_field_taxonomy_terms extends acf_field{
|
|
795 |
));
|
796 |
|
797 |
// Select: ui
|
798 |
-
acf_render_field_setting(
|
799 |
'label' => __('Stylised UI','acf'),
|
800 |
'instructions' => '',
|
801 |
'name' => 'ui',
|
@@ -836,10 +837,10 @@ class acfe_field_taxonomy_terms extends acf_field{
|
|
836 |
),
|
837 |
)
|
838 |
));
|
839 |
-
|
840 |
-
//
|
841 |
acf_render_field_setting($field, array(
|
842 |
-
'label' => __('Placeholder
|
843 |
'instructions' => __('Appears within the input','acf'),
|
844 |
'type' => 'text',
|
845 |
'name' => 'placeholder',
|
@@ -854,9 +855,18 @@ class acfe_field_taxonomy_terms extends acf_field{
|
|
854 |
array(
|
855 |
'field' => 'ui',
|
856 |
'operator' => '==',
|
|
|
|
|
|
|
|
|
|
|
857 |
'value' => '1',
|
858 |
),
|
859 |
-
|
|
|
|
|
|
|
|
|
860 |
),
|
861 |
array(
|
862 |
array(
|
@@ -864,18 +874,67 @@ class acfe_field_taxonomy_terms extends acf_field{
|
|
864 |
'operator' => '==',
|
865 |
'value' => 'select',
|
866 |
),
|
|
|
|
|
|
|
|
|
|
|
867 |
array(
|
868 |
'field' => 'allow_null',
|
869 |
'operator' => '==',
|
870 |
'value' => '1',
|
871 |
),
|
872 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
873 |
),
|
874 |
)
|
875 |
));
|
876 |
|
877 |
// Select: multiple
|
878 |
-
acf_render_field_setting(
|
879 |
'label' => __('Select multiple values?','acf'),
|
880 |
'instructions' => '',
|
881 |
'name' => 'multiple',
|
@@ -893,7 +952,7 @@ class acfe_field_taxonomy_terms extends acf_field{
|
|
893 |
));
|
894 |
|
895 |
// Select: ajax
|
896 |
-
acf_render_field_setting(
|
897 |
'label' => __('Use AJAX to lazy load choices?','acf'),
|
898 |
'instructions' => '',
|
899 |
'name' => 'ajax',
|
@@ -916,7 +975,7 @@ class acfe_field_taxonomy_terms extends acf_field{
|
|
916 |
));
|
917 |
|
918 |
// Checkbox: layout
|
919 |
-
acf_render_field_setting(
|
920 |
'label' => __('Layout','acf'),
|
921 |
'instructions' => '',
|
922 |
'type' => 'radio',
|
@@ -945,7 +1004,7 @@ class acfe_field_taxonomy_terms extends acf_field{
|
|
945 |
));
|
946 |
|
947 |
// Checkbox: toggle
|
948 |
-
acf_render_field_setting(
|
949 |
'label' => __('Toggle','acf'),
|
950 |
'instructions' => __('Prepend an extra checkbox to toggle all choices','acf'),
|
951 |
'name' => 'toggle',
|
@@ -963,7 +1022,7 @@ class acfe_field_taxonomy_terms extends acf_field{
|
|
963 |
));
|
964 |
|
965 |
// save_terms
|
966 |
-
acf_render_field_setting(
|
967 |
'label' => __('Save Terms','acf'),
|
968 |
'instructions' => __('Connect selected terms to the post','acf'),
|
969 |
'name' => 'save_terms',
|
@@ -972,7 +1031,7 @@ class acfe_field_taxonomy_terms extends acf_field{
|
|
972 |
));
|
973 |
|
974 |
// load_terms
|
975 |
-
acf_render_field_setting(
|
976 |
'label' => __('Load Terms','acf'),
|
977 |
'instructions' => __('Load value from posts terms','acf'),
|
978 |
'name' => 'load_terms',
|
16 |
$this->label = __('Taxonomy Terms', 'acfe');
|
17 |
$this->category = 'relational';
|
18 |
$this->defaults = array(
|
19 |
+
'taxonomy' => array(),
|
20 |
+
'allow_terms' => array(),
|
21 |
+
'field_type' => 'checkbox',
|
22 |
+
'choices' => array(),
|
23 |
+
'default_value' => '',
|
24 |
+
'return_format' => 'id',
|
25 |
+
'ui' => 0,
|
26 |
+
'multiple' => 0,
|
27 |
+
'allow_null' => 0,
|
28 |
+
'ajax' => 0,
|
29 |
+
'placeholder' => '',
|
30 |
+
'search_placeholder' => '',
|
31 |
+
'layout' => '',
|
32 |
+
'toggle' => 0,
|
33 |
+
'load_terms' => 0,
|
34 |
+
'save_terms' => 0,
|
35 |
+
'allow_custom' => 0,
|
36 |
+
'other_choice' => 0,
|
37 |
);
|
38 |
|
39 |
// ajax
|
796 |
));
|
797 |
|
798 |
// Select: ui
|
799 |
+
acf_render_field_setting($field, array(
|
800 |
'label' => __('Stylised UI','acf'),
|
801 |
'instructions' => '',
|
802 |
'name' => 'ui',
|
837 |
),
|
838 |
)
|
839 |
));
|
840 |
+
|
841 |
+
// Select: Placeholder
|
842 |
acf_render_field_setting($field, array(
|
843 |
+
'label' => __('Placeholder','acf'),
|
844 |
'instructions' => __('Appears within the input','acf'),
|
845 |
'type' => 'text',
|
846 |
'name' => 'placeholder',
|
855 |
array(
|
856 |
'field' => 'ui',
|
857 |
'operator' => '==',
|
858 |
+
'value' => '0',
|
859 |
+
),
|
860 |
+
array(
|
861 |
+
'field' => 'allow_null',
|
862 |
+
'operator' => '==',
|
863 |
'value' => '1',
|
864 |
),
|
865 |
+
array(
|
866 |
+
'field' => 'multiple',
|
867 |
+
'operator' => '==',
|
868 |
+
'value' => '0',
|
869 |
+
),
|
870 |
),
|
871 |
array(
|
872 |
array(
|
874 |
'operator' => '==',
|
875 |
'value' => 'select',
|
876 |
),
|
877 |
+
array(
|
878 |
+
'field' => 'ui',
|
879 |
+
'operator' => '==',
|
880 |
+
'value' => '1',
|
881 |
+
),
|
882 |
array(
|
883 |
'field' => 'allow_null',
|
884 |
'operator' => '==',
|
885 |
'value' => '1',
|
886 |
),
|
887 |
+
),
|
888 |
+
array(
|
889 |
+
array(
|
890 |
+
'field' => 'field_type',
|
891 |
+
'operator' => '==',
|
892 |
+
'value' => 'select',
|
893 |
+
),
|
894 |
+
array(
|
895 |
+
'field' => 'ui',
|
896 |
+
'operator' => '==',
|
897 |
+
'value' => '1',
|
898 |
+
),
|
899 |
+
array(
|
900 |
+
'field' => 'multiple',
|
901 |
+
'operator' => '==',
|
902 |
+
'value' => '1',
|
903 |
+
),
|
904 |
+
),
|
905 |
+
)
|
906 |
+
));
|
907 |
+
|
908 |
+
// Select: Search Placeholder
|
909 |
+
acf_render_field_setting($field, array(
|
910 |
+
'label' => __('Search Input Placeholder','acf'),
|
911 |
+
'instructions' => __('Appears within the search input','acf'),
|
912 |
+
'type' => 'text',
|
913 |
+
'name' => 'search_placeholder',
|
914 |
+
'placeholder' => '',
|
915 |
+
'conditional_logic' => array(
|
916 |
+
array(
|
917 |
+
array(
|
918 |
+
'field' => 'field_type',
|
919 |
+
'operator' => '==',
|
920 |
+
'value' => 'select',
|
921 |
+
),
|
922 |
+
array(
|
923 |
+
'field' => 'ui',
|
924 |
+
'operator' => '==',
|
925 |
+
'value' => '1',
|
926 |
+
),
|
927 |
+
array(
|
928 |
+
'field' => 'multiple',
|
929 |
+
'operator' => '==',
|
930 |
+
'value' => '0',
|
931 |
+
),
|
932 |
),
|
933 |
)
|
934 |
));
|
935 |
|
936 |
// Select: multiple
|
937 |
+
acf_render_field_setting($field, array(
|
938 |
'label' => __('Select multiple values?','acf'),
|
939 |
'instructions' => '',
|
940 |
'name' => 'multiple',
|
952 |
));
|
953 |
|
954 |
// Select: ajax
|
955 |
+
acf_render_field_setting($field, array(
|
956 |
'label' => __('Use AJAX to lazy load choices?','acf'),
|
957 |
'instructions' => '',
|
958 |
'name' => 'ajax',
|
975 |
));
|
976 |
|
977 |
// Checkbox: layout
|
978 |
+
acf_render_field_setting($field, array(
|
979 |
'label' => __('Layout','acf'),
|
980 |
'instructions' => '',
|
981 |
'type' => 'radio',
|
1004 |
));
|
1005 |
|
1006 |
// Checkbox: toggle
|
1007 |
+
acf_render_field_setting($field, array(
|
1008 |
'label' => __('Toggle','acf'),
|
1009 |
'instructions' => __('Prepend an extra checkbox to toggle all choices','acf'),
|
1010 |
'name' => 'toggle',
|
1022 |
));
|
1023 |
|
1024 |
// save_terms
|
1025 |
+
acf_render_field_setting($field, array(
|
1026 |
'label' => __('Save Terms','acf'),
|
1027 |
'instructions' => __('Connect selected terms to the post','acf'),
|
1028 |
'name' => 'save_terms',
|
1031 |
));
|
1032 |
|
1033 |
// load_terms
|
1034 |
+
acf_render_field_setting($field, array(
|
1035 |
'label' => __('Load Terms','acf'),
|
1036 |
'instructions' => __('Load value from posts terms','acf'),
|
1037 |
'name' => 'load_terms',
|
includes/fields/field-user-roles.php
CHANGED
@@ -38,7 +38,7 @@ class acfe_field_user_roles extends acf_field{
|
|
38 |
$field['default_value'] = acf_encode_choices($field['default_value'], false);
|
39 |
|
40 |
// Allow User Role
|
41 |
-
acf_render_field_setting(
|
42 |
'label' => __('Allow User Role','acf'),
|
43 |
'instructions' => '',
|
44 |
'type' => 'select',
|
@@ -65,7 +65,7 @@ class acfe_field_user_roles extends acf_field{
|
|
65 |
));
|
66 |
|
67 |
// default_value
|
68 |
-
acf_render_field_setting(
|
69 |
'label' => __('Default Value','acf'),
|
70 |
'instructions' => __('Enter each default value on a new line','acf'),
|
71 |
'name' => 'default_value',
|
@@ -73,7 +73,7 @@ class acfe_field_user_roles extends acf_field{
|
|
73 |
));
|
74 |
|
75 |
// Select + Radio: allow_null
|
76 |
-
acf_render_field_setting(
|
77 |
'label' => __('Allow Null?','acf'),
|
78 |
'instructions' => '',
|
79 |
'name' => 'allow_null',
|
@@ -98,7 +98,7 @@ class acfe_field_user_roles extends acf_field{
|
|
98 |
));
|
99 |
|
100 |
// Select: multiple
|
101 |
-
acf_render_field_setting(
|
102 |
'label' => __('Select multiple values?','acf'),
|
103 |
'instructions' => '',
|
104 |
'name' => 'multiple',
|
@@ -116,7 +116,7 @@ class acfe_field_user_roles extends acf_field{
|
|
116 |
));
|
117 |
|
118 |
// Select: ui
|
119 |
-
acf_render_field_setting(
|
120 |
'label' => __('Stylised UI','acf'),
|
121 |
'instructions' => '',
|
122 |
'name' => 'ui',
|
@@ -135,7 +135,7 @@ class acfe_field_user_roles extends acf_field{
|
|
135 |
|
136 |
|
137 |
// Select: ajax
|
138 |
-
acf_render_field_setting(
|
139 |
'label' => __('Use AJAX to lazy load choices?','acf'),
|
140 |
'instructions' => '',
|
141 |
'name' => 'ajax',
|
@@ -156,8 +156,8 @@ class acfe_field_user_roles extends acf_field{
|
|
156 |
),
|
157 |
)
|
158 |
));
|
159 |
-
|
160 |
-
//
|
161 |
acf_render_field_setting($field, array(
|
162 |
'label' => __('Placeholder','acf'),
|
163 |
'instructions' => __('Appears within the input','acf'),
|
@@ -171,11 +171,21 @@ class acfe_field_user_roles extends acf_field{
|
|
171 |
'operator' => '==',
|
172 |
'value' => 'select',
|
173 |
),
|
|
|
|
|
|
|
|
|
|
|
174 |
array(
|
175 |
'field' => 'allow_null',
|
176 |
'operator' => '==',
|
177 |
'value' => '1',
|
178 |
),
|
|
|
|
|
|
|
|
|
|
|
179 |
),
|
180 |
array(
|
181 |
array(
|
@@ -194,16 +204,33 @@ class acfe_field_user_roles extends acf_field{
|
|
194 |
'value' => '1',
|
195 |
),
|
196 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
)
|
198 |
));
|
199 |
-
|
200 |
-
//
|
201 |
acf_render_field_setting($field, array(
|
202 |
'label' => __('Search Input Placeholder','acf'),
|
203 |
'instructions' => __('Appears within the search input','acf'),
|
204 |
'type' => 'text',
|
205 |
'name' => 'search_placeholder',
|
206 |
-
'placeholder' =>
|
207 |
'conditional_logic' => array(
|
208 |
array(
|
209 |
array(
|
@@ -216,12 +243,17 @@ class acfe_field_user_roles extends acf_field{
|
|
216 |
'operator' => '==',
|
217 |
'value' => '1',
|
218 |
),
|
|
|
|
|
|
|
|
|
|
|
219 |
),
|
220 |
)
|
221 |
));
|
222 |
|
223 |
// Radio: other_choice
|
224 |
-
acf_render_field_setting(
|
225 |
'label' => __('Other','acf'),
|
226 |
'instructions' => '',
|
227 |
'name' => 'other_choice',
|
@@ -240,7 +272,7 @@ class acfe_field_user_roles extends acf_field{
|
|
240 |
));
|
241 |
|
242 |
// Checkbox: layout
|
243 |
-
acf_render_field_setting(
|
244 |
'label' => __('Layout','acf'),
|
245 |
'instructions' => '',
|
246 |
'type' => 'radio',
|
@@ -269,7 +301,7 @@ class acfe_field_user_roles extends acf_field{
|
|
269 |
));
|
270 |
|
271 |
// Checkbox: toggle
|
272 |
-
acf_render_field_setting(
|
273 |
'label' => __('Toggle','acf'),
|
274 |
'instructions' => __('Prepend an extra checkbox to toggle all choices','acf'),
|
275 |
'name' => 'toggle',
|
@@ -287,7 +319,7 @@ class acfe_field_user_roles extends acf_field{
|
|
287 |
));
|
288 |
|
289 |
// Checkbox: other_choice
|
290 |
-
acf_render_field_setting(
|
291 |
'label' => __('Allow Custom','acf'),
|
292 |
'instructions' => '',
|
293 |
'name' => 'allow_custom',
|
38 |
$field['default_value'] = acf_encode_choices($field['default_value'], false);
|
39 |
|
40 |
// Allow User Role
|
41 |
+
acf_render_field_setting($field, array(
|
42 |
'label' => __('Allow User Role','acf'),
|
43 |
'instructions' => '',
|
44 |
'type' => 'select',
|
65 |
));
|
66 |
|
67 |
// default_value
|
68 |
+
acf_render_field_setting($field, array(
|
69 |
'label' => __('Default Value','acf'),
|
70 |
'instructions' => __('Enter each default value on a new line','acf'),
|
71 |
'name' => 'default_value',
|
73 |
));
|
74 |
|
75 |
// Select + Radio: allow_null
|
76 |
+
acf_render_field_setting($field, array(
|
77 |
'label' => __('Allow Null?','acf'),
|
78 |
'instructions' => '',
|
79 |
'name' => 'allow_null',
|
98 |
));
|
99 |
|
100 |
// Select: multiple
|
101 |
+
acf_render_field_setting($field, array(
|
102 |
'label' => __('Select multiple values?','acf'),
|
103 |
'instructions' => '',
|
104 |
'name' => 'multiple',
|
116 |
));
|
117 |
|
118 |
// Select: ui
|
119 |
+
acf_render_field_setting($field, array(
|
120 |
'label' => __('Stylised UI','acf'),
|
121 |
'instructions' => '',
|
122 |
'name' => 'ui',
|
135 |
|
136 |
|
137 |
// Select: ajax
|
138 |
+
acf_render_field_setting($field, array(
|
139 |
'label' => __('Use AJAX to lazy load choices?','acf'),
|
140 |
'instructions' => '',
|
141 |
'name' => 'ajax',
|
156 |
),
|
157 |
)
|
158 |
));
|
159 |
+
|
160 |
+
// Select: Placeholder
|
161 |
acf_render_field_setting($field, array(
|
162 |
'label' => __('Placeholder','acf'),
|
163 |
'instructions' => __('Appears within the input','acf'),
|
171 |
'operator' => '==',
|
172 |
'value' => 'select',
|
173 |
),
|
174 |
+
array(
|
175 |
+
'field' => 'ui',
|
176 |
+
'operator' => '==',
|
177 |
+
'value' => '0',
|
178 |
+
),
|
179 |
array(
|
180 |
'field' => 'allow_null',
|
181 |
'operator' => '==',
|
182 |
'value' => '1',
|
183 |
),
|
184 |
+
array(
|
185 |
+
'field' => 'multiple',
|
186 |
+
'operator' => '==',
|
187 |
+
'value' => '0',
|
188 |
+
),
|
189 |
),
|
190 |
array(
|
191 |
array(
|
204 |
'value' => '1',
|
205 |
),
|
206 |
),
|
207 |
+
array(
|
208 |
+
array(
|
209 |
+
'field' => 'field_type',
|
210 |
+
'operator' => '==',
|
211 |
+
'value' => 'select',
|
212 |
+
),
|
213 |
+
array(
|
214 |
+
'field' => 'ui',
|
215 |
+
'operator' => '==',
|
216 |
+
'value' => '1',
|
217 |
+
),
|
218 |
+
array(
|
219 |
+
'field' => 'multiple',
|
220 |
+
'operator' => '==',
|
221 |
+
'value' => '1',
|
222 |
+
),
|
223 |
+
),
|
224 |
)
|
225 |
));
|
226 |
+
|
227 |
+
// Select: Search Placeholder
|
228 |
acf_render_field_setting($field, array(
|
229 |
'label' => __('Search Input Placeholder','acf'),
|
230 |
'instructions' => __('Appears within the search input','acf'),
|
231 |
'type' => 'text',
|
232 |
'name' => 'search_placeholder',
|
233 |
+
'placeholder' => '',
|
234 |
'conditional_logic' => array(
|
235 |
array(
|
236 |
array(
|
243 |
'operator' => '==',
|
244 |
'value' => '1',
|
245 |
),
|
246 |
+
array(
|
247 |
+
'field' => 'multiple',
|
248 |
+
'operator' => '==',
|
249 |
+
'value' => '0',
|
250 |
+
),
|
251 |
),
|
252 |
)
|
253 |
));
|
254 |
|
255 |
// Radio: other_choice
|
256 |
+
acf_render_field_setting($field, array(
|
257 |
'label' => __('Other','acf'),
|
258 |
'instructions' => '',
|
259 |
'name' => 'other_choice',
|
272 |
));
|
273 |
|
274 |
// Checkbox: layout
|
275 |
+
acf_render_field_setting($field, array(
|
276 |
'label' => __('Layout','acf'),
|
277 |
'instructions' => '',
|
278 |
'type' => 'radio',
|
301 |
));
|
302 |
|
303 |
// Checkbox: toggle
|
304 |
+
acf_render_field_setting($field, array(
|
305 |
'label' => __('Toggle','acf'),
|
306 |
'instructions' => __('Prepend an extra checkbox to toggle all choices','acf'),
|
307 |
'name' => 'toggle',
|
319 |
));
|
320 |
|
321 |
// Checkbox: other_choice
|
322 |
+
acf_render_field_setting($field, array(
|
323 |
'label' => __('Allow Custom','acf'),
|
324 |
'instructions' => '',
|
325 |
'name' => 'allow_custom',
|
includes/modules/forms-helpers.php
CHANGED
@@ -566,7 +566,7 @@ class acfe_dynamic_forms_helpers{
|
|
566 |
$c = acfe_form_map_field($c);
|
567 |
|
568 |
// Match {fields}
|
569 |
-
$c = acfe_form_map_fields($c);
|
570 |
|
571 |
// Match current_post {current:post:id}
|
572 |
$c = acfe_form_map_current($c, $post_id, $form);
|
@@ -1215,7 +1215,7 @@ function acfe_form_map_field($content){
|
|
1215 |
}
|
1216 |
|
1217 |
// Match {fields}
|
1218 |
-
function acfe_form_map_fields($content){
|
1219 |
|
1220 |
if(empty($content) || !is_string($content))
|
1221 |
return $content;
|
@@ -1243,6 +1243,9 @@ function acfe_form_map_fields($content){
|
|
1243 |
|
1244 |
foreach($data as $field){
|
1245 |
|
|
|
|
|
|
|
1246 |
// Label
|
1247 |
$label = !empty($field['label']) ? $field['label'] : $field['name'];
|
1248 |
|
@@ -1256,7 +1259,8 @@ function acfe_form_map_fields($content){
|
|
1256 |
|
1257 |
}
|
1258 |
|
1259 |
-
$content_html = apply_filters(
|
|
|
1260 |
|
1261 |
// Replace
|
1262 |
$content = str_replace('{fields}', $content_html, $content);
|
566 |
$c = acfe_form_map_field($c);
|
567 |
|
568 |
// Match {fields}
|
569 |
+
$c = acfe_form_map_fields($c, $post_id, $form);
|
570 |
|
571 |
// Match current_post {current:post:id}
|
572 |
$c = acfe_form_map_current($c, $post_id, $form);
|
1215 |
}
|
1216 |
|
1217 |
// Match {fields}
|
1218 |
+
function acfe_form_map_fields($content, $post_id, $form){
|
1219 |
|
1220 |
if(empty($content) || !is_string($content))
|
1221 |
return $content;
|
1243 |
|
1244 |
foreach($data as $field){
|
1245 |
|
1246 |
+
// Exclude recaptcha
|
1247 |
+
if($field['field']['type'] === 'acfe_recaptcha') continue;
|
1248 |
+
|
1249 |
// Label
|
1250 |
$label = !empty($field['label']) ? $field['label'] : $field['name'];
|
1251 |
|
1259 |
|
1260 |
}
|
1261 |
|
1262 |
+
$content_html = apply_filters("acfe/form/template_tag/fields", $content_html, $data, $form);
|
1263 |
+
$content_html = apply_filters("acfe/form/template_tag/fields/form={$form['name']}", $content_html, $data, $form);
|
1264 |
|
1265 |
// Replace
|
1266 |
$content = str_replace('{fields}', $content_html, $content);
|
includes/modules/options-pages.php
CHANGED
@@ -355,7 +355,7 @@ class acfe_dynamic_options_pages extends acfe_dynamic_module{
|
|
355 |
(function($){
|
356 |
|
357 |
// Add button
|
358 |
-
$('.wrap h1').append($('#tmpl-acfe-dop-title-config').html());
|
359 |
|
360 |
})(jQuery);
|
361 |
</script>
|
@@ -451,8 +451,15 @@ class acfe_dynamic_options_pages extends acfe_dynamic_module{
|
|
451 |
|
452 |
// Sub pages
|
453 |
if(acf_maybe_get($args, 'parent_slug')){
|
|
|
|
|
|
|
|
|
|
|
454 |
$sub_pages[$name] = $args;
|
|
|
455 |
continue;
|
|
|
456 |
}
|
457 |
|
458 |
// Top pages
|
@@ -462,9 +469,11 @@ class acfe_dynamic_options_pages extends acfe_dynamic_module{
|
|
462 |
|
463 |
// Re-order sub pages
|
464 |
if(!empty($sub_pages)){
|
|
|
465 |
uasort($sub_pages, function($a, $b){
|
466 |
return (int) $a['position'] - (int) $b['position'];
|
467 |
});
|
|
|
468 |
}
|
469 |
|
470 |
// Merge
|
355 |
(function($){
|
356 |
|
357 |
// Add button
|
358 |
+
$('.wrap > h1').append($('#tmpl-acfe-dop-title-config').html());
|
359 |
|
360 |
})(jQuery);
|
361 |
</script>
|
451 |
|
452 |
// Sub pages
|
453 |
if(acf_maybe_get($args, 'parent_slug')){
|
454 |
+
|
455 |
+
// force int position
|
456 |
+
$args['position'] = (int) $args['position'];
|
457 |
+
|
458 |
+
// save sub page
|
459 |
$sub_pages[$name] = $args;
|
460 |
+
|
461 |
continue;
|
462 |
+
|
463 |
}
|
464 |
|
465 |
// Top pages
|
469 |
|
470 |
// Re-order sub pages
|
471 |
if(!empty($sub_pages)){
|
472 |
+
|
473 |
uasort($sub_pages, function($a, $b){
|
474 |
return (int) $a['position'] - (int) $b['position'];
|
475 |
});
|
476 |
+
|
477 |
}
|
478 |
|
479 |
// Merge
|
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.7
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 0.8.8.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -77,11 +77,11 @@ All-in-one enhancement suite that improves WordPress & Advanced Custom Fields.
|
|
77 |
|
78 |
== 📁 Field Groups ==
|
79 |
|
80 |
-
**[
|
81 |
-
|
82 |
|
83 |
**[Auto Sync PHP](https://www.acf-extended.com/features/field-groups/autosync)**
|
84 |
-
Automatically synchronize field groups with local PHP files upon field group updates. This feature will create, include and update a local PHP file for each field group
|
85 |
|
86 |
**[Auto Sync Json](https://www.acf-extended.com/features/field-groups/autosync)**
|
87 |
Control which field groups you want to synchronize with local Json files. Display warnings if the Json file has been manually deleted.
|
@@ -90,19 +90,40 @@ Control which field groups you want to synchronize with local Json files. Displa
|
|
90 |
Spice up your field groups with a custom taxonomy and filter field groups by terms.
|
91 |
|
92 |
**[Custom Key](https://www.acf-extended.com/features/field-groups/custom-key)**
|
93 |
-
Set custom field group key. Example: group_custom_name
|
94 |
|
95 |
**[Custom Meta](https://www.acf-extended.com/features/field-groups/custom-meta)**
|
96 |
Add custom metas (key/value) in the field group administration.
|
97 |
|
98 |
-
**[
|
99 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
|
101 |
-
**[
|
102 |
-
Display
|
103 |
|
104 |
-
**[Location:
|
105 |
-
Display field group on
|
106 |
|
107 |
**[Location: Post type Archive](https://www.acf-extended.com/features/field-groups/locations/post-type-archive)**
|
108 |
Add an Archive Option Page under the Post Type admin menu. Display and save any field groups within it.
|
@@ -113,6 +134,9 @@ Display field group on post types admin list screen.
|
|
113 |
**[Location: Taxonomy List](https://www.acf-extended.com/features/field-groups/locations/taxonomy-list)**
|
114 |
Display field group on taxonomies admin list screen.
|
115 |
|
|
|
|
|
|
|
116 |
**[Local Field Groups](https://www.acf-extended.com/features/)**
|
117 |
Display local field groups that are loaded by ACF, but not available in the ACF field group administration. Example: Field groups that are registered in the `functions.php` file, but not in the ACF UI.
|
118 |
|
@@ -127,7 +151,7 @@ Display raw field group data in a modal to check your configuration & settings.
|
|
127 |
|
128 |
== ⚙️ Fields Settings ==
|
129 |
|
130 |
-
**[Advanced Settings](https://www.acf-extended.com/features/field-settings/advanced-settings)**
|
131 |
A more sophisticated field settings based on specified location (administration/front-end). Example: Field is required only in front-end.
|
132 |
|
133 |
**[Advanced Validation](https://www.acf-extended.com/features/field-settings/advanced-validation)**
|
@@ -136,46 +160,97 @@ A more sophisticated validation conditions (AND/OR) with custom error messages b
|
|
136 |
**[Self/Multi/Bidirectional fields](https://www.acf-extended.com/features/field-settings/bidirectional-fields)**
|
137 |
An advanced bidirectional setting (also called post-to-post) is available for the following fields: Relationship, Post object, User & Taxonomy terms. Fields will work bidirectionally and automatically update each others. Works in groups & clones.
|
138 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
**[Permissions](https://www.acf-extended.com/features/field-settings/field-permissions)**
|
140 |
Add permission layer to fields. Choose which roles can view & edit fields in the post edition screen. (can be combined with field groups permissions).
|
141 |
|
142 |
-
**[Save as Meta](https://www.acf-extended.com/features/field-settings/save-as-meta)**
|
143 |
-
Exclude the field from the "Single Meta Save" compression feature. The global ACF setting "Single Meta Save" must be turned ON.
|
144 |
-
|
145 |
**[Raw data](https://www.acf-extended.com/features/field-settings/field-raw-data)**
|
146 |
Display raw field data in a modal to check your configuration & settings.
|
147 |
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
== 🏷️ Fields ==
|
149 |
|
150 |
**[Advanced Link](https://www.acf-extended.com/features/fields/advanced-link)**
|
151 |
Display a modern Link Selection in a modal. Posts, Post Types Archives & terms selection can be filtered in the field administration.
|
152 |
|
|
|
|
|
|
|
153 |
**[Button](https://www.acf-extended.com/features/fields/button)**
|
154 |
Display a custom submit or button. Built-in ajax call setting. Usage example available in the field administration.
|
155 |
|
|
|
|
|
|
|
156 |
**[Clone](https://www.acf-extended.com/features/fields/clone)**
|
157 |
Allow users to edit clone fields in a modal. Choose the edit button text, display close button and the modal size.
|
158 |
|
159 |
**[Code Editor](https://www.acf-extended.com/features/fields/code-editor)**
|
160 |
Edit code using the native WP Core Codemirror library. Default languages: Text/HTML, Javascript, CSS, PHP mixed/plain.
|
161 |
|
162 |
-
**[
|
|
|
|
|
|
|
163 |
Organize and re-arrange your fields using columns and line-breaks. The field acts like the ACF Accordion/Tab field and allow you to create virtually grouped fields which will be display inside columns.
|
164 |
|
165 |
-
**[
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
Display a modern UI of the ACF Datepicker field. CSS and icons have been enhanced to fit WordPress admin UI and colors.
|
167 |
|
|
|
|
|
|
|
168 |
**[Dynamic Message](https://www.acf-extended.com/features/fields/dynamic-message)**
|
169 |
Display custom HTML/PHP content using a simple named hook.
|
170 |
|
171 |
-
**[
|
172 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
|
174 |
-
**[Flexible Content](https://www.acf-extended.com/features/fields/flexible-content)**
|
175 |
Displayed an enhanced version of the native Flexible Content field. Dozens of new settings and settings were added, allowing developers to create the most advanced page builder and fully control the field’s behavior.
|
176 |
|
177 |
-
**[Forms
|
178 |
-
Select any dynamic form (format: checkbox, radio or select).
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
|
180 |
**[Group](https://www.acf-extended.com/features/fields/group)**
|
181 |
Allow users to edit group fields in a modal Choose the edit button text, display close button and the modal size
|
@@ -186,67 +261,115 @@ Display a hidden input with custom name/value
|
|
186 |
**[Image](https://www.acf-extended.com/features/fields/image)**
|
187 |
Choose the uploader type and set the image as post featured thumbnail
|
188 |
|
189 |
-
**[
|
190 |
-
|
|
|
|
|
|
|
191 |
|
192 |
-
**[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
Select any post status (format: checkbox, radio or select)
|
194 |
|
195 |
-
**[Post
|
196 |
Select any post type (format: checkbox, radio or select)
|
197 |
|
198 |
-
**[
|
199 |
-
|
|
|
|
|
|
|
200 |
|
201 |
**[Repeater](https://www.acf-extended.com/features)**
|
202 |
Add stylised to 'Add Row' button, disable sortable rows and remove repeater's actions.
|
203 |
|
204 |
-
**[Select](https://www.acf-extended.com/features/fields/select)**
|
205 |
Change the default "Select" placeholder text and Search Input placeholder and allow user to enter custom values.
|
206 |
|
207 |
**[Slug](https://www.acf-extended.com/features/fields/slug)**
|
208 |
A slug text input (ie: `my-text-input`).
|
209 |
|
210 |
-
**[
|
|
|
|
|
|
|
211 |
Select any taxonomy (format: checkbox, radio or select)
|
212 |
|
213 |
-
**[Taxonomy Terms
|
214 |
Select any terms of any taxonomies, allow specific terms, level or childrens (format: checkbox or select). Terms can be loaded & saved for the current post (just like the native ACF Taxonomy field)
|
215 |
|
|
|
|
|
|
|
216 |
**[Textarea](https://www.acf-extended.com/features/fields/textarea)**
|
217 |
Switch font family to monospace and allow tab indent.
|
218 |
|
219 |
-
**[User
|
220 |
Select any user role (format: checkbox, radio or select)
|
221 |
|
|
|
|
|
|
|
222 |
== 🛠️ Modules ==
|
223 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
224 |
**[Forms](https://www.acf-extended.com/features/modules/dynamic-forms)**
|
225 |
Manage Advanced ACF Forms from the WordPress administration. This module is an enhanced version of the native ACF Form feature. While all native settings can used, Dynamic Forms adds many new settings and introduce “Actions” for a complete control over the form behavior.
|
226 |
|
227 |
-
**[
|
|
|
|
|
|
|
228 |
The Dynamic Post Types module allows you to register and manage custom post types from your WordPress admin, in Tools > Post Types menu.
|
229 |
|
230 |
All native post types settings can be set within the UI. ACF Extended also adds more advanced settings allowing to manage posts per page, order etc…
|
231 |
|
232 |
-
**[
|
233 |
-
The
|
234 |
-
|
235 |
-
All native taxonomies settings can be set within the UI. ACF Extended also adds more advanced settings allowing to manage posts per page, order etc…
|
236 |
-
|
237 |
-
**[Block Types](https://www.acf-extended.com/features/modules/dynamic-block-types)**
|
238 |
-
The Dynamic Block Types module allows you to register and manage ACF Block Types from your WordPress admin, in ACF > Block Types menu. All ACF settings can be set within the UI.
|
239 |
-
|
240 |
-
**[Options Pages](https://www.acf-extended.com/features/modules/dynamic-options-pages)**
|
241 |
-
The Dynamic Options Pages module allows you to register and manage ACF Options Pages from your WordPress admin, in ACF > Options Pages menu. All ACF settings can be set within the UI.
|
242 |
|
243 |
**[Single Meta Save](https://www.acf-extended.com/features/modules/single-meta-save)**
|
244 |
Compress all fields values from the current post, term, user or options into one single meta data. This process lighten the database load as values are saved and read from one single row.
|
245 |
|
246 |
Once activated and after saving a post/term/user in the administration, all old meta data will be removed and packed together in a meta called `acf`.
|
247 |
|
248 |
-
**[
|
249 |
-
The
|
|
|
|
|
|
|
|
|
|
|
250 |
|
251 |
== 🖥️ WordPress ==
|
252 |
|
@@ -256,17 +379,18 @@ The native WP Author Metabox has been replaced with an Ajax version allowing to
|
|
256 |
**[Enhanced UI](https://www.acf-extended.com/features/wordpress/enhanced-ui)**
|
257 |
The Taxonomy, User profile & Settings views have been enhanced for a more consistent administration experience, using CSS/JS only.
|
258 |
|
259 |
-
**[
|
260 |
-
Manage WordPress Options from the Settings > Options page. Options values (strings, serialized & Json) will be displayed in a readable form. Values can be edited or deleted.
|
261 |
-
|
262 |
-
== 🗺️ Multilingual ==
|
263 |
-
|
264 |
-
**[Polylang](https://www.acf-extended.com/features/multilingual/polylang)**
|
265 |
ACF Extended adds a new layer of compatibility for Polylang. ACF Options Pages and all ACF Extended Modules (Dynamic Post Type, Taxonomy, Options Pages, Block Type) are compatible.
|
266 |
|
267 |
-
**[
|
|
|
|
|
|
|
268 |
ACF Extended adds a new layer of compatibility for WPML. ACF Options Pages and all ACF Extended Modules (Dynamic Post Type, Taxonomy, Options Pages, Block Type) are compatible.
|
269 |
|
|
|
|
|
|
|
270 |
== ❤️ Early Supporters ==
|
271 |
|
272 |
* Thanks to [Brandon A.](https://twitter.com/AsmussenBrandon) for his support & tests
|
@@ -304,373 +428,27 @@ ACF Extended adds a new layer of compatibility for WPML. ACF Options Pages and a
|
|
304 |
= Wordpress Install =
|
305 |
|
306 |
1. Install Advanced Custom Fields: Pro
|
307 |
-
2. Upload the plugin files to the `/wp-content/plugins/
|
308 |
3. Activate the plugin through the 'Plugins' screen in WordPress.
|
309 |
4. Everything is ready!
|
310 |
|
311 |
== Frequently Asked Questions ==
|
312 |
|
313 |
-
=
|
314 |
-
|
315 |
-
Create a folder `/acfe-php/` in your theme. Go to your field group administration, check to 'Sync PHP' option in the sidebar and save the field group.
|
316 |
-
|
317 |
-
= How to disable PHP/Json Auto Sync? =
|
318 |
-
|
319 |
-
Once you activated PHP or Json Sync on a field group, you must manually delete the file `group_xxxxxxxxxx` in your theme folder in order disable it. This behavior is applied to avoid any data desynchronization.
|
320 |
-
|
321 |
-
= How to get fields set in the Post Type List location? =
|
322 |
-
|
323 |
-
Fields are saved in the option: `{post_type}_options`. Frontend usage example: `get_field('my_field', 'page_options')`
|
324 |
-
|
325 |
-
= How to get fields set in the Taxonomy List location? =
|
326 |
-
|
327 |
-
Fields are saved in the option: `tax_{taxonomy}_options`. Frontend usage example: `get_field('my_field', 'tax_category_options')`
|
328 |
-
|
329 |
-
= How to activate the Post Type Archive location? =
|
330 |
-
|
331 |
-
The post type archive location is a virtual option page created under the post type menu of your choice. In order to activate this feature, you must set `acfe_admin_archive => true` in the `register_post_type()` declaration. Once activated, a new submenu called "Archive" will appear under the said post type. Then, you'll be able to set this location in any field group.
|
332 |
-
|
333 |
-
Note: This feature is available in the Dynamic Post Type UI in the Administration > Tools > Post Types, under the "Admin" tab.
|
334 |
-
|
335 |
-
= How to get fields set in the Post Type Archive location? =
|
336 |
-
|
337 |
-
Fields are saved in the option: `{post_type}_archive`. Frontend usage example: `get_field('my_field', 'post_archive')`.
|
338 |
-
|
339 |
-
You can also using the following code in any Post Type Archive/Single Template:
|
340 |
-
|
341 |
-
`
|
342 |
-
if(have_archive()):
|
343 |
-
while(have_archive()): the_archive();
|
344 |
-
|
345 |
-
// Retrieve 'my_field' from the current Post Type Archive Page
|
346 |
-
echo get_field('my_field');
|
347 |
-
|
348 |
-
endwhile;
|
349 |
-
endif;
|
350 |
-
`
|
351 |
-
|
352 |
-
Or you can also pass a post type, in order to retrieve fields from specific Post Type Archive Page:
|
353 |
-
|
354 |
-
`
|
355 |
-
if(have_archive('my-post-type')):
|
356 |
-
while(have_archive('my-post-type')): the_archive();
|
357 |
-
|
358 |
-
// Retrieve 'my_field' from "My Post Type" - Archive Page
|
359 |
-
echo get_field('my_field');
|
360 |
-
|
361 |
-
endwhile;
|
362 |
-
endif;
|
363 |
-
`
|
364 |
-
|
365 |
-
= How the bidirectional field setting works? =
|
366 |
-
|
367 |
-
Usage example:
|
368 |
-
|
369 |
-
* Create a field group "Page: Relation" displaying on the post type: page
|
370 |
-
|
371 |
-
* Inside it, create a relationship field, allowing the post type: post
|
372 |
-
|
373 |
-
* Create an another field group "Post: Relation" displaying on the post type: post
|
374 |
-
|
375 |
-
* Inside it, create a relationship field, allowing the post type: page
|
376 |
|
377 |
-
|
378 |
|
379 |
-
|
380 |
|
381 |
-
|
382 |
|
383 |
-
=
|
384 |
|
385 |
-
|
386 |
|
387 |
-
|
388 |
|
389 |
-
|
390 |
-
|
391 |
-
`
|
392 |
-
add_filter('acfe/bidirectional/force_update/name=my_field', '__return_true');
|
393 |
-
`
|
394 |
-
|
395 |
-
You can then head over the admin, and save each one of the posts. Additionally, you can create a script in order to populate all the values automatically. Here is a code example:
|
396 |
-
|
397 |
-
`
|
398 |
-
add_action('admin_init', 'my_update_all_post_meta');
|
399 |
-
function my_update_all_post_meta(){
|
400 |
-
|
401 |
-
// Retrieve all pages
|
402 |
-
$get_posts = get_posts(array(
|
403 |
-
'post_type' => 'page', // Post Type: page
|
404 |
-
'posts_per_page' => -1,
|
405 |
-
'fields' => 'ids',
|
406 |
-
));
|
407 |
-
|
408 |
-
// Bail early if no post was found
|
409 |
-
if(empty($get_posts))
|
410 |
-
return;
|
411 |
-
|
412 |
-
// Force bidirectional update
|
413 |
-
add_filter('acfe/bidirectional/force_update/name=my_field', '__return_true');
|
414 |
-
|
415 |
-
foreach($get_posts as $post_id){
|
416 |
-
|
417 |
-
// Retrieve Data
|
418 |
-
$my_field = get_field('my_field', $post_id, false);
|
419 |
-
|
420 |
-
// Update Data
|
421 |
-
update_field('my_field', $my_field, $post_id);
|
422 |
-
|
423 |
-
}
|
424 |
-
|
425 |
-
add_filter('acfe/bidirectional/force_update/name=my_field', '__return_false');
|
426 |
-
|
427 |
-
}
|
428 |
-
`
|
429 |
-
|
430 |
-
= How to use Flexible Content: Templates, Styles & Scripts render? =
|
431 |
-
|
432 |
-
Templates, styles & scripts settings are saved in each layouts. They can be accessed manually via `get_field('my_flexible')` for example.
|
433 |
-
|
434 |
-
The settings are saved in the following keys: `acfe_flexible_render_template`, `acfe_flexible_render_style` and `acfe_flexible_render_script`.
|
435 |
-
|
436 |
-
ACF Extended has two functions which will automatically include those files: `echo get_flexible($selector, $post_id)` or `the_flexible($selector, $post_id)` (`$post_id` is optional).
|
437 |
-
|
438 |
-
Usage example: `the_flexible('my_flexible');`.
|
439 |
-
|
440 |
-
When using this function, you have access to the following global variables: `$layout`, `$field` & `$is_preview` (when Dynamic Preview setting is enabled).
|
441 |
-
|
442 |
-
[More information are available on the official website](https://www.acf-extended.com/post/flexible-content-dynamic-layout-preview)
|
443 |
-
|
444 |
-
= How the Flexible Content: Dynamic Preview works? =
|
445 |
-
|
446 |
-
[More information are available on the official website](https://www.acf-extended.com/post/flexible-content-dynamic-layout-preview)
|
447 |
-
|
448 |
-
= How to change the Flexible Content: Thumbnails URL in PHP? =
|
449 |
-
|
450 |
-
You can use the following filters:
|
451 |
-
|
452 |
-
`
|
453 |
-
// add_filter('acfe/flexible/thumbnail/name=my_flexible', 'acf_flexible_layout_thumbnail', 10, 3);
|
454 |
-
// add_filter('acfe/flexible/thumbnail/key=field_xxxxxx', 'acf_flexible_layout_thumbnail', 10, 3);
|
455 |
-
// add_filter('acfe/flexible/thumbnail/name=my_flexible&layout=my_layout', 'acf_flexible_layout_thumbnail', 10, 3);
|
456 |
-
// add_filter('acfe/flexible/thumbnail/key=field_xxxxxx&layout=my_layout', 'acf_flexible_layout_thumbnail', 10, 3);
|
457 |
-
|
458 |
-
add_filter('acfe/flexible/thumbnail/layout=my_layout', 'acf_flexible_layout_thumbnail', 10, 3);
|
459 |
-
function acf_flexible_layout_thumbnail($thumbnail, $field, $layout){
|
460 |
-
|
461 |
-
// Must return an URL or Attachment ID
|
462 |
-
return 'https://www.example.com/my-image.jpg';
|
463 |
-
|
464 |
-
}
|
465 |
-
`
|
466 |
-
|
467 |
-
= How to change the Flexible Content: Dynamic Render/Preview content in PHP? =
|
468 |
-
|
469 |
-
You can use the following actions:
|
470 |
-
|
471 |
-
`
|
472 |
-
// add_filter('acfe/flexible/render/template/name=my_flexible', 'acf_disable_file_render', 10, 4);
|
473 |
-
// add_filter('acfe/flexible/render/template/key=field_xxxxxx', 'acf_disable_file_render', 10, 4);
|
474 |
-
// add_filter('acfe/flexible/render/template/name=my_flexible&layout=my_layout', 'acf_disable_file_render', 10, 4);
|
475 |
-
// add_filter('acfe/flexible/render/template/key=field_xxxxxx&layout=my_layout', 'acf_disable_file_render', 10, 4);
|
476 |
-
|
477 |
-
add_filter('acfe/flexible/render/template/layout=my_layout', 'acf_disable_file_render', 10, 4);
|
478 |
-
function acf_disable_file_render($file, $field, $layout, $is_preview){
|
479 |
-
|
480 |
-
// Do not include the template file
|
481 |
-
return false;
|
482 |
-
|
483 |
-
}
|
484 |
-
|
485 |
-
// add_action('acfe/flexible/render/before_template/name=my_flexible', 'acf_custom_layout_render', 10, 3);
|
486 |
-
// add_action('acfe/flexible/render/before_template/key=field_xxxxxx', 'acf_custom_layout_render', 10, 3);
|
487 |
-
// add_action('acfe/flexible/render/before_template/name=my_flexible&layout=my_layout', 'acf_custom_layout_render', 10, 3);
|
488 |
-
// add_action('acfe/flexible/render/before_template/key=field_xxxxxx&layout=my_layout', 'acf_custom_layout_render', 10, 3);
|
489 |
-
|
490 |
-
add_action('acfe/flexible/render/before_template/layout=my_layout', 'acf_custom_layout_render', 10, 3);
|
491 |
-
function acf_custom_layout_render($field, $layout, $is_preview){
|
492 |
-
|
493 |
-
echo get_sub_field('my_field');
|
494 |
-
|
495 |
-
}
|
496 |
-
`
|
497 |
-
|
498 |
-
= How to enqueue new style/script files in the Flexible Content in PHP? =
|
499 |
-
|
500 |
-
You can use the following actions:
|
501 |
-
|
502 |
-
`
|
503 |
-
// add_action('acfe/flexible/enqueue/name=my_flexible', 'acf_flexible_enqueue', 10, 2);
|
504 |
-
// add_action('acfe/flexible/enqueue/key=field_xxxxxx', 'acf_flexible_enqueue', 10, 2);
|
505 |
-
|
506 |
-
add_action('acfe/flexible/enqueue', 'acf_flexible_enqueue', 10, 2);
|
507 |
-
function acf_flexible_enqueue($field, $is_preview){
|
508 |
-
|
509 |
-
// Only in Ajax preview
|
510 |
-
if($is_preview){
|
511 |
-
|
512 |
-
wp_enqueue_style('my-style-preview', 'https://www.example.com/style-preview.css');
|
513 |
-
|
514 |
-
}
|
515 |
-
|
516 |
-
wp_enqueue_style('my-style', 'https://www.example.com/style.css');
|
517 |
-
|
518 |
-
}
|
519 |
-
|
520 |
-
// add_action('acfe/flexible/enqueue/name=my_flexible&layout=my_layout', 'acf_flexible_enqueue', 10, 3);
|
521 |
-
// add_action('acfe/flexible/enqueue/key=field_xxxxxx&layout=my_layout', 'acf_flexible_enqueue', 10, 3);
|
522 |
-
|
523 |
-
add_action('acfe/flexible/enqueue/layout=my_layout', 'acf_flexible_enqueue', 10, 3);
|
524 |
-
function acf_flexible_enqueue($field, $layout, $is_preview){
|
525 |
-
|
526 |
-
// Only in Ajax preview
|
527 |
-
if($is_preview){
|
528 |
-
|
529 |
-
wp_enqueue_style('my-style-preview', 'https://www.example.com/style-preview.css');
|
530 |
-
|
531 |
-
}
|
532 |
-
|
533 |
-
wp_enqueue_style('my-style', 'https://www.example.com/style.css');
|
534 |
-
|
535 |
-
}
|
536 |
-
`
|
537 |
-
|
538 |
-
= How to change the Flexible Content: Layout Render Paths in PHP? =
|
539 |
-
|
540 |
-
You can use the following actions:
|
541 |
-
|
542 |
-
`
|
543 |
-
// add_filter('acfe/flexible/render/template', 'acf_flexible_layout_render_template', 10, 4);
|
544 |
-
// add_filter('acfe/flexible/render/template/name=my_flexible', 'acf_flexible_layout_render_template', 10, 4);
|
545 |
-
// add_filter('acfe/flexible/render/template/key=field_xxxxxx', 'acf_flexible_layout_render_template', 10, 4);
|
546 |
-
// add_filter('acfe/flexible/render/template/name=my_flexible&layout=my_layout', 'acf_flexible_layout_render_template', 10, 4);
|
547 |
-
// add_filter('acfe/flexible/render/template/key=field_xxxxxx&layout=my_layout', 'acf_flexible_layout_render_template', 10, 4);
|
548 |
-
|
549 |
-
add_filter('acfe/flexible/render/template/layout=my_layout', 'acf_flexible_layout_render_template', 10, 4);
|
550 |
-
function acf_flexible_layout_render_template($template, $field, $layout, $is_preview){
|
551 |
-
|
552 |
-
// Only in Ajax preview
|
553 |
-
if($is_preview){
|
554 |
-
|
555 |
-
return get_stylesheet_directory() . '/my-template-preview.php';
|
556 |
-
|
557 |
-
}
|
558 |
-
|
559 |
-
return get_stylesheet_directory() . '/my-template.php';
|
560 |
-
|
561 |
-
}
|
562 |
-
|
563 |
-
// add_filter('acfe/flexible/render/style', 'acf_flexible_layout_render_style', 10, 4);
|
564 |
-
// add_filter('acfe/flexible/render/style/name=my_flexible', 'acf_flexible_layout_render_style', 10, 4);
|
565 |
-
// add_filter('acfe/flexible/render/style/key=field_xxxxxx', 'acf_flexible_layout_render_style', 10, 4);
|
566 |
-
// add_filter('acfe/flexible/render/style/name=my_flexible&layout=my_layout', 'acf_flexible_layout_render_style', 10, 4);
|
567 |
-
// add_filter('acfe/flexible/render/style/key=field_xxxxxx&layout=my_layout', 'acf_flexible_layout_render_style', 10, 4);
|
568 |
-
|
569 |
-
add_filter('acfe/flexible/render/style/layout=my_layout', 'acf_flexible_layout_render_style', 10, 4);
|
570 |
-
function acf_flexible_layout_render_style($style, $field, $layout, $is_preview){
|
571 |
-
|
572 |
-
// Only in Ajax preview
|
573 |
-
if($is_preview){
|
574 |
-
|
575 |
-
return get_stylesheet_directory_uri() . '/my-style-preview.css';
|
576 |
-
|
577 |
-
}
|
578 |
-
|
579 |
-
return get_stylesheet_directory_uri() . '/my-style.css';
|
580 |
-
|
581 |
-
}
|
582 |
-
|
583 |
-
// add_filter('acfe/flexible/render/script', 'acf_flexible_layout_render_script', 10, 4);
|
584 |
-
// add_filter('acfe/flexible/render/script/name=my_flexible', 'acf_flexible_layout_render_script', 10, 4);
|
585 |
-
// add_filter('acfe/flexible/render/script/key=field_xxxxxx', 'acf_flexible_layout_render_script', 10, 4);
|
586 |
-
// add_filter('acfe/flexible/render/script/name=my_flexible&layout=my_layout', 'acf_flexible_layout_render_script', 10, 4);
|
587 |
-
// add_filter('acfe/flexible/render/script/key=field_xxxxxx&layout=my_layout', 'acf_flexible_layout_render_script', 10, 4);
|
588 |
-
|
589 |
-
add_filter('acfe/flexible/render/script/layout=my_layout', 'acf_flexible_layout_render_script', 10, 4);
|
590 |
-
function acf_flexible_layout_render_script($script, $field, $layout, $is_preview){
|
591 |
-
|
592 |
-
// Only in Ajax preview
|
593 |
-
if($is_preview){
|
594 |
-
|
595 |
-
return get_stylesheet_directory_uri() . '/my-script-preview.js';
|
596 |
-
|
597 |
-
}
|
598 |
-
|
599 |
-
return get_stylesheet_directory_uri() . '/my-script.js';
|
600 |
-
|
601 |
-
}
|
602 |
-
`
|
603 |
-
|
604 |
-
= How to change PHP AutoSync Load/Save paths? =
|
605 |
-
|
606 |
-
PHP AutoSync settings are very similar to the native ACF Json settings. To alter load/save paths, you can use the following method:
|
607 |
-
|
608 |
-
`
|
609 |
-
// PHP Autosync: Save path
|
610 |
-
add_filter('acfe/settings/php_save', 'my_acfe_php_save_point');
|
611 |
-
function my_acfe_php_save_point($path){
|
612 |
-
|
613 |
-
// update path
|
614 |
-
$path = get_stylesheet_directory() . '/my-custom-folder';
|
615 |
-
|
616 |
-
// return
|
617 |
-
return $path;
|
618 |
-
|
619 |
-
}
|
620 |
-
|
621 |
-
// PHP Autosync: Load paths
|
622 |
-
add_filter('acfe/settings/php_load', 'my_acfe_php_load_point');
|
623 |
-
function my_acfe_php_load_point($paths){
|
624 |
-
|
625 |
-
// remove original path (optional)
|
626 |
-
unset($paths[0]);
|
627 |
-
|
628 |
-
// append path
|
629 |
-
$paths[] = get_stylesheet_directory() . '/my-custom-folder';
|
630 |
-
|
631 |
-
// return
|
632 |
-
return $paths;
|
633 |
-
|
634 |
-
}
|
635 |
-
`
|
636 |
-
|
637 |
-
= How to disable specific ACF Extended modules? (Dynamic Post Types, Taxonomies, Options Pages etc...) =
|
638 |
-
|
639 |
-
You can use the following action:
|
640 |
-
|
641 |
-
`
|
642 |
-
add_action('acf/init', 'my_acfe_modules');
|
643 |
-
function my_acfe_modules(){
|
644 |
-
|
645 |
-
// Disable Ajax Author box
|
646 |
-
acfe_update_setting('modules/author', false);
|
647 |
-
|
648 |
-
// Disable ACF > Block Types
|
649 |
-
acfe_update_setting('modules/dynamic_block_types', false);
|
650 |
-
|
651 |
-
// Disable Forms
|
652 |
-
acfe_update_setting('modules/dynamic_forms', false);
|
653 |
-
|
654 |
-
// Disable Tools > Post Types
|
655 |
-
acfe_update_setting('modules/dynamic_post_types', false);
|
656 |
-
|
657 |
-
// Disable Tools > Taxonomies
|
658 |
-
acfe_update_setting('modules/dynamic_taxonomies', false);
|
659 |
-
|
660 |
-
// Disable ACF > Options Pages
|
661 |
-
acfe_update_setting('modules/dynamic_options_pages', false);
|
662 |
-
|
663 |
-
// Disable Settings > Options
|
664 |
-
acfe_update_setting('modules/options', false);
|
665 |
-
|
666 |
-
// Disable Enhanced UI (Taxonomies, Users, Settings)
|
667 |
-
acfe_update_setting('modules/ui', false);
|
668 |
-
|
669 |
-
// Disable Multilingual Compatibility
|
670 |
-
acfe_update_setting('modules/multilang', false);
|
671 |
-
|
672 |
-
}
|
673 |
-
`
|
674 |
|
675 |
== Screenshots ==
|
676 |
|
@@ -685,6 +463,58 @@ function my_acfe_modules(){
|
|
685 |
|
686 |
== Changelog ==
|
687 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
688 |
= 0.8.8.3 =
|
689 |
|
690 |
**ACF Extended Pro 0.8.8.3:**
|
@@ -1517,7 +1347,7 @@ function my_acfe_modules(){
|
|
1517 |
* Fields: Added `filter('acfe/load_field', $field)` to filter field settings everywhere but not in field group & tools management
|
1518 |
* Fields: Added `filter('acfe/load_field_front', $field)` to filter field settings in the front-end (and ajax coming from front-end) but not in field group & tools management
|
1519 |
* Fields: Added `filter('acfe/load_field_admin', $field)` to filter field settings in the administration (and ajax coming from administration) but not in field group & tools management
|
1520 |
-
* Field Groups: Instructions Placement - Added "Tooltip" placement for instructions
|
1521 |
* Field Groups: Third Party - Added PHP / Json Export & Sync actions
|
1522 |
* Field Groups: Third Party - Added Source column
|
1523 |
* Field Groups: Fixed potential undefined index in location column
|
@@ -1551,7 +1381,7 @@ function my_acfe_modules(){
|
|
1551 |
* General: Added ACF Extended GitHub repository URL in the readme
|
1552 |
|
1553 |
= 0.7.9.9 =
|
1554 |
-
* Field: Flexible Content - Settings are now dynamic (and not global anymore) (Thanks @Val)
|
1555 |
* Field: Flexible Content - Added CSS class on cloned layouts
|
1556 |
* Field: Flexible Content - Removed `esc_attr()` from Layout Title Edition, allowing icons to be displayed correctly
|
1557 |
* Field: Flexible Content - Fixed potential duplicated clone buttons in specific cases (Thanks @chrisschrijver)
|
@@ -1615,7 +1445,7 @@ function my_acfe_modules(){
|
|
1615 |
* Field: Flexible Content - Modal Edition CSS has been fixed on Gutenberg Editor view (thanks @Val)
|
1616 |
* Field: Flexible Content - Fixed 'Empty Message' placeholder setting using wrong `__()` function (thanks @illiminal)
|
1617 |
* Field: Flexible Content - Removed query vars from `get_flexible()`. Global variables `$layout` & `$field` can be used in the template to retrieve current settings
|
1618 |
-
* Field: Flexible Content - Added global variable `$is_preview` which is true when the template file is called as a layout preview
|
1619 |
* Field: Flexible Content - `get_flexible()` now uses `wp_enqueue_style()` & `wp_enqueue_script()` when rendering on front-end
|
1620 |
* Field: Image - 'No image selected' text has been removed
|
1621 |
* Module: Dynamic Post Types/Taxonomies - Fixed 'index key not found' PHP warning (thanks @Val)
|
@@ -1720,7 +1550,7 @@ function my_acfe_modules(){
|
|
1720 |
* General: Improved the ACF Pro dependency style in plugins list when ACF Pro isn't activated
|
1721 |
* Plugin: Readme - Reworked structure
|
1722 |
* Plugin: Readme - Added Supporters section
|
1723 |
-
* Plugin: Readme - Trying to implement emojis ✌
|
1724 |
|
1725 |
= 0.6.1 =
|
1726 |
* Admin: Re-introduced 'Options' admin screen under Settings > Options. Code has been completely refactored using native WP List Table. New features: Searchbox, item per page preference (default: 100), sortable columns, bulk delete and ability to edit serialized values.
|
5 |
Requires at least: 4.9
|
6 |
Tested up to: 5.7
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 0.8.8.4
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
77 |
|
78 |
== 📁 Field Groups ==
|
79 |
|
80 |
+
**[Advanced Settings](https://www.acf-extended.com/features/field-groups/advanced-settings)**
|
81 |
+
Enable advanced settings for all fields within the Field Group.
|
82 |
|
83 |
**[Auto Sync PHP](https://www.acf-extended.com/features/field-groups/autosync)**
|
84 |
+
Automatically synchronize field groups with local PHP files upon field group updates. This feature will create, include and update a local PHP file for each field group.
|
85 |
|
86 |
**[Auto Sync Json](https://www.acf-extended.com/features/field-groups/autosync)**
|
87 |
Control which field groups you want to synchronize with local Json files. Display warnings if the Json file has been manually deleted.
|
90 |
Spice up your field groups with a custom taxonomy and filter field groups by terms.
|
91 |
|
92 |
**[Custom Key](https://www.acf-extended.com/features/field-groups/custom-key)**
|
93 |
+
Set custom field group key. Example: `group_custom_name`.
|
94 |
|
95 |
**[Custom Meta](https://www.acf-extended.com/features/field-groups/custom-meta)**
|
96 |
Add custom metas (key/value) in the field group administration.
|
97 |
|
98 |
+
**[Display Title](https://www.acf-extended.com/features/field-groups/display-title)**
|
99 |
+
Display an alternative field group title in post edition screen.
|
100 |
+
|
101 |
+
**[Field Group UI](https://www.acf-extended.com/features/field-groups/field-group-ui)** **(PRO)**
|
102 |
+
Enable enhancements to the Field Group UI for a better user experience.
|
103 |
+
|
104 |
+
**[Force Sync](https://www.acf-extended.com/features/field-groups/force-sync)** **(PRO)**
|
105 |
+
Always keep Json files synchronized with the Field Groups in the database.
|
106 |
+
|
107 |
+
**[Hide on Screen](https://www.acf-extended.com/features/field-groups/hide-on-screen)** **(FREE / PRO)**
|
108 |
+
Hide Gutenberg Block Editor and 10+ more items to hide in the field group settings.
|
109 |
+
|
110 |
+
**[Instructions Placement](https://www.acf-extended.com/features/field-groups/instruction-placement)**
|
111 |
+
New instruction placements let you display field description "above the fields" or in a "tooltip".
|
112 |
+
|
113 |
+
**[Location: Advanced Post](https://www.acf-extended.com/features/field-groups/locations/advanced-post)** **(PRO)**
|
114 |
+
A collection of multiple new Field Groups locations allowing developers to target posts with specific conditions (Post author, date, slug, path etc...).
|
115 |
+
|
116 |
+
**[Location: Advanced Menu Item](https://www.acf-extended.com/features/field-groups/locations/advanced-menu-item)** **(PRO)**
|
117 |
+
Target specific "Menu Item Depth" or "Menu Item Type" from the Field Groups Locations rules.
|
118 |
+
|
119 |
+
**[Location: Advanced Taxonomy Term](https://www.acf-extended.com/features/field-groups/locations/advanced-taxonomy)** **(PRO)**
|
120 |
+
A collection of multiple new Field Groups locations allowing developers to target taxonomy and terms with specific conditions (Term name, parent, slug etc...).
|
121 |
|
122 |
+
**[Location: All post types](https://www.acf-extended.com/features/field-groups/locations/all-post-types)**
|
123 |
+
Display field groups on all post types edition screen.
|
124 |
|
125 |
+
**[Location: Field Value](https://www.acf-extended.com/features/field-groups/locations/field-value)** **(PRO)**
|
126 |
+
Display a field group based on the field value of an another field group.
|
127 |
|
128 |
**[Location: Post type Archive](https://www.acf-extended.com/features/field-groups/locations/post-type-archive)**
|
129 |
Add an Archive Option Page under the Post Type admin menu. Display and save any field groups within it.
|
134 |
**[Location: Taxonomy List](https://www.acf-extended.com/features/field-groups/locations/taxonomy-list)**
|
135 |
Display field group on taxonomies admin list screen.
|
136 |
|
137 |
+
**[Location: WP Settings](https://www.acf-extended.com/features/field-groups/locations/wp-settings)** **(PRO)**
|
138 |
+
Display field groups on WP Settings pages: General, Writing, Reading, Discussion, Media and Pemalinks.
|
139 |
+
|
140 |
**[Local Field Groups](https://www.acf-extended.com/features/)**
|
141 |
Display local field groups that are loaded by ACF, but not available in the ACF field group administration. Example: Field groups that are registered in the `functions.php` file, but not in the ACF UI.
|
142 |
|
151 |
|
152 |
== ⚙️ Fields Settings ==
|
153 |
|
154 |
+
**[Advanced Settings](https://www.acf-extended.com/features/field-settings/field-advanced-settings)**
|
155 |
A more sophisticated field settings based on specified location (administration/front-end). Example: Field is required only in front-end.
|
156 |
|
157 |
**[Advanced Validation](https://www.acf-extended.com/features/field-settings/advanced-validation)**
|
160 |
**[Self/Multi/Bidirectional fields](https://www.acf-extended.com/features/field-settings/bidirectional-fields)**
|
161 |
An advanced bidirectional setting (also called post-to-post) is available for the following fields: Relationship, Post object, User & Taxonomy terms. Fields will work bidirectionally and automatically update each others. Works in groups & clones.
|
162 |
|
163 |
+
**[Field Visibility](https://www.acf-extended.com/features/field-settings/field-visibility)** **(PRO)**
|
164 |
+
Get quick access to "Field Visibility", "Label Visibility", "Instructions Visibility" and "Required setting" for the following screens: "Everywhere", "Front-end" and "Administration.
|
165 |
+
|
166 |
+
**[Global Condition](https://www.acf-extended.com/features/field-settings/global-condition)** **(PRO)**
|
167 |
+
Enable Global Conditional Logic for a specific field, which can then be used in an another Field Group as condition, both as Field Group Condition and Field Condition.
|
168 |
+
|
169 |
+
**[Instruction Placement](https://www.acf-extended.com/features/field-settings/field-instruction-placement)** **(PRO)**
|
170 |
+
Override a specific field instruction placement to any position: Below labels, below fields, above fields or tooltip.
|
171 |
+
|
172 |
+
**[Instruction Read More](https://www.acf-extended.com/features/field-settings/instruction-read-more)** **(PRO)**
|
173 |
+
Allow to expand instructions text with a “Read More” link. This feature is useful for lengthy instructions text.
|
174 |
+
|
175 |
+
**[Min/Max](https://www.acf-extended.com/features/field-settings/min-max)** **(PRO)**
|
176 |
+
Minimum & maximum items is a global field setting that let you define a specific number of items that can or should be added by the user.
|
177 |
+
|
178 |
**[Permissions](https://www.acf-extended.com/features/field-settings/field-permissions)**
|
179 |
Add permission layer to fields. Choose which roles can view & edit fields in the post edition screen. (can be combined with field groups permissions).
|
180 |
|
|
|
|
|
|
|
181 |
**[Raw data](https://www.acf-extended.com/features/field-settings/field-raw-data)**
|
182 |
Display raw field data in a modal to check your configuration & settings.
|
183 |
|
184 |
+
**[Required Message](https://www.acf-extended.com/features/field-settings/required-message)** **(PRO)**
|
185 |
+
This setting allow developers to define a custom error message within the field settings for a more intuitive user experience.
|
186 |
+
|
187 |
+
**[Save as Individual Meta](https://www.acf-extended.com/features/field-settings/save-as-meta)**
|
188 |
+
Exclude the field from the "Single Meta Save" compression feature. The global ACF setting "Single Meta Save" must be turned ON.
|
189 |
+
|
190 |
== 🏷️ Fields ==
|
191 |
|
192 |
**[Advanced Link](https://www.acf-extended.com/features/fields/advanced-link)**
|
193 |
Display a modern Link Selection in a modal. Posts, Post Types Archives & terms selection can be filtered in the field administration.
|
194 |
|
195 |
+
**[Block Types](https://www.acf-extended.com/features/fields/block-types)** **(PRO)**
|
196 |
+
Display an ACF Block Types selector as radio, checkbox or select field type.
|
197 |
+
|
198 |
**[Button](https://www.acf-extended.com/features/fields/button)**
|
199 |
Display a custom submit or button. Built-in ajax call setting. Usage example available in the field administration.
|
200 |
|
201 |
+
**[Checkbox](https://www.acf-extended.com/features/fields/checkbox)** **(FREE / PRO)**
|
202 |
+
Define grouped choices values using `## Title` markup in the field’s choices.
|
203 |
+
|
204 |
**[Clone](https://www.acf-extended.com/features/fields/clone)**
|
205 |
Allow users to edit clone fields in a modal. Choose the edit button text, display close button and the modal size.
|
206 |
|
207 |
**[Code Editor](https://www.acf-extended.com/features/fields/code-editor)**
|
208 |
Edit code using the native WP Core Codemirror library. Default languages: Text/HTML, Javascript, CSS, PHP mixed/plain.
|
209 |
|
210 |
+
**[Color Picker](https://www.acf-extended.com/features/fields/color-picker)** **(PRO)**
|
211 |
+
A collection of advanced settings for the ACF Color Picker. The field can now be displayed as a palette, custom colors can be predefined and RGBA mode is supported.
|
212 |
+
|
213 |
+
**[Columns](https://www.acf-extended.com/features/fields/columns)** **(FREE / PRO)**
|
214 |
Organize and re-arrange your fields using columns and line-breaks. The field acts like the ACF Accordion/Tab field and allow you to create virtually grouped fields which will be display inside columns.
|
215 |
|
216 |
+
**[Countries](https://www.acf-extended.com/features/fields/countries)** **(PRO)**
|
217 |
+
Display a Country selector as radio, checkbox or select field type.
|
218 |
+
|
219 |
+
**[Currencies](https://www.acf-extended.com/features/fields/currencies)** **(PRO)**
|
220 |
+
Display a Currency selector as radio, checkbox or select field type.
|
221 |
+
|
222 |
+
**[Date/Timepicker](https://www.acf-extended.com/features/fields/datepicker)** **(FREE / PRO)**
|
223 |
Display a modern UI of the ACF Datepicker field. CSS and icons have been enhanced to fit WordPress admin UI and colors.
|
224 |
|
225 |
+
**[Date Range Picker](https://www.acf-extended.com/features/fields/date-range-picker)** **(PRO)**
|
226 |
+
Display a Date Range Picker. The field support a wide range of customization, such as: Placeholder, Default dates, Range Restriction, Date restriction, No weekends etc.
|
227 |
+
|
228 |
**[Dynamic Message](https://www.acf-extended.com/features/fields/dynamic-message)**
|
229 |
Display custom HTML/PHP content using a simple named hook.
|
230 |
|
231 |
+
**[Field Groups](https://www.acf-extended.com/features/fields/field-groups-selector)** **(PRO)**
|
232 |
+
Display an ACF Field Groups selector as radio, checkbox or select field type.
|
233 |
+
|
234 |
+
**[Field Types](https://www.acf-extended.com/features/fields/field-types)** **(PRO)**
|
235 |
+
Display an ACF Field Types selector as radio, checkbox or select field type.
|
236 |
+
|
237 |
+
**[Fields](https://www.acf-extended.com/features/fields/fields-selector)** **(PRO)**
|
238 |
+
Display an ACF Fields selector as radio, checkbox or select field type.
|
239 |
+
|
240 |
+
**[File](https://www.acf-extended.com/features/fields/file)** **(FREE / PRO)**
|
241 |
+
Choose the uploader type, enable multi file upload and dropzone.
|
242 |
|
243 |
+
**[Flexible Content](https://www.acf-extended.com/features/fields/flexible-content)** **(FREE / PRO)**
|
244 |
Displayed an enhanced version of the native Flexible Content field. Dozens of new settings and settings were added, allowing developers to create the most advanced page builder and fully control the field’s behavior.
|
245 |
|
246 |
+
**[Forms](https://www.acf-extended.com/features/fields/forms)**
|
247 |
+
Select any dynamic form (format: checkbox, radio or select).
|
248 |
+
|
249 |
+
**[Google Map](https://www.acf-extended.com/features/fields/google-map)** **(PRO)**
|
250 |
+
A collection of new settings added to the ACF Google Map Field that allow developers to have more control over the field behavior.
|
251 |
+
|
252 |
+
**[Google reCaptcha](https://www.acf-extended.com/features/fields/recaptcha)**
|
253 |
+
Display a reCaptcha field (compatible v2 & v3).
|
254 |
|
255 |
**[Group](https://www.acf-extended.com/features/fields/group)**
|
256 |
Allow users to edit group fields in a modal Choose the edit button text, display close button and the modal size
|
261 |
**[Image](https://www.acf-extended.com/features/fields/image)**
|
262 |
Choose the uploader type and set the image as post featured thumbnail
|
263 |
|
264 |
+
**[Image Selector](https://www.acf-extended.com/features/fields/image-selector)** **(PRO)**
|
265 |
+
Display an Image Selector field.
|
266 |
+
|
267 |
+
**[Image Sizes](https://www.acf-extended.com/features/fields/image-sizes)** **(PRO)**
|
268 |
+
Display an Image Sizes selector as radio, checkbox or select field type.
|
269 |
|
270 |
+
**[Languages](https://www.acf-extended.com/features/fields/languages)** **(PRO)**
|
271 |
+
Display a Language selector as radio, checkbox or select field type, compatible with WPML & Polylang.
|
272 |
+
|
273 |
+
**[Menu Locations](https://www.acf-extended.com/features/fields/menu-locations)** **(PRO)**
|
274 |
+
Display a Menu Locations selector as radio, checkbox or select field type.
|
275 |
+
|
276 |
+
**[Menus](https://www.acf-extended.com/features/fields/menus)** **(PRO)**
|
277 |
+
Display a Menu selector as radio, checkbox or select field type.
|
278 |
+
|
279 |
+
**[Options Pages](https://www.acf-extended.com/features/fields/options-pages)** **(PRO)**
|
280 |
+
Display an ACF Options Pages selector as radio, checkbox or select field type.
|
281 |
+
|
282 |
+
**[Phone Number](https://www.acf-extended.com/features/fields/phone-number)** **(PRO)**
|
283 |
+
Display a fully customizable international Phone Number field.
|
284 |
+
|
285 |
+
**[Post Field](https://www.acf-extended.com/features/fields/post-field)** **(PRO)**
|
286 |
+
The Post Field is a new field that allow developers to move native WordPress fields such as Post Title, Date, Status, Visibility, Permalink etc.
|
287 |
+
|
288 |
+
**[Post Formats](https://www.acf-extended.com/features/fields/post-formats)** **(PRO)**
|
289 |
+
Display a Post Format selector as radio, checkbox or select field type.
|
290 |
+
|
291 |
+
**[Post Object](https://www.acf-extended.com/features)** **(FREE / PRO)**
|
292 |
+
Allow user to enter custom value which will be saved as a new post, or enable the inline post creation/edit.
|
293 |
+
|
294 |
+
**[Post Status](https://www.acf-extended.com/features/fields/post-statuses)**
|
295 |
Select any post status (format: checkbox, radio or select)
|
296 |
|
297 |
+
**[Post Types](https://www.acf-extended.com/features/fields/post-types)**
|
298 |
Select any post type (format: checkbox, radio or select)
|
299 |
|
300 |
+
**[Radio](https://www.acf-extended.com/features/fields/radio)** **(FREE / PRO)**
|
301 |
+
Define grouped choices values using `## Title` markup in the field’s choices.
|
302 |
+
|
303 |
+
**[Relationship](https://www.acf-extended.com/features/fields/relationship)** **(PRO)**
|
304 |
+
The Relationship field includes new settings allowing users to create and edit post on-the-fly from the post edit screen.
|
305 |
|
306 |
**[Repeater](https://www.acf-extended.com/features)**
|
307 |
Add stylised to 'Add Row' button, disable sortable rows and remove repeater's actions.
|
308 |
|
309 |
+
**[Select](https://www.acf-extended.com/features/fields/select)** **(FREE / PRO)**
|
310 |
Change the default "Select" placeholder text and Search Input placeholder and allow user to enter custom values.
|
311 |
|
312 |
**[Slug](https://www.acf-extended.com/features/fields/slug)**
|
313 |
A slug text input (ie: `my-text-input`).
|
314 |
|
315 |
+
**[Tab](https://www.acf-extended.com/features/fields/tab)** **(PRO)**
|
316 |
+
Disable the last opened tab user preference. Which means that when the user will refresh the page, it will always load the first tab.
|
317 |
+
|
318 |
+
**[Taxonomies](https://www.acf-extended.com/features/fields/taxonomies)**
|
319 |
Select any taxonomy (format: checkbox, radio or select)
|
320 |
|
321 |
+
**[Taxonomy Terms](https://www.acf-extended.com/features/fields/taxonomy-terms)**
|
322 |
Select any terms of any taxonomies, allow specific terms, level or childrens (format: checkbox or select). Terms can be loaded & saved for the current post (just like the native ACF Taxonomy field)
|
323 |
|
324 |
+
**[Templates](https://www.acf-extended.com/features/fields/templates-selector)** **(PRO)**
|
325 |
+
Display an ACF Extended Templates selector as radio, checkbox or select field type.
|
326 |
+
|
327 |
**[Textarea](https://www.acf-extended.com/features/fields/textarea)**
|
328 |
Switch font family to monospace and allow tab indent.
|
329 |
|
330 |
+
**[User Roles](https://www.acf-extended.com/features/fields/user-roles)**
|
331 |
Select any user role (format: checkbox, radio or select)
|
332 |
|
333 |
+
**[WYSIWYG Editor](https://www.acf-extended.com/features/fields/wysiwyg-editor)** **(PRO)**
|
334 |
+
New settings allowing developers to have more control over the field behavior.
|
335 |
+
|
336 |
== 🛠️ Modules ==
|
337 |
|
338 |
+
**[Block Types UI](https://www.acf-extended.com/features/modules/dynamic-block-types)**
|
339 |
+
The Dynamic Block Types module allows you to register and manage ACF Block Types from your WordPress admin, in ACF > Block Types menu. All ACF settings can be set within the UI.
|
340 |
+
|
341 |
+
**[Classic Editor](https://www.acf-extended.com/features/modules/classic-editor)** **(PRO)**
|
342 |
+
ACF Extended is bundled with a custom merged version of the Classic Editor & Disable Gutenberg plugins.
|
343 |
+
|
344 |
+
**[Developer Mode](https://www.acf-extended.com/features/modules/developer-mode)**
|
345 |
+
The Developer Mode allow you to view all Posts, Terms, Users & Options custom meta data in a readable format. This feature is very useful to check what is actually saved in any WordPress Object.
|
346 |
+
|
347 |
**[Forms](https://www.acf-extended.com/features/modules/dynamic-forms)**
|
348 |
Manage Advanced ACF Forms from the WordPress administration. This module is an enhanced version of the native ACF Form feature. While all native settings can used, Dynamic Forms adds many new settings and introduce “Actions” for a complete control over the form behavior.
|
349 |
|
350 |
+
**[Options Pages UI](https://www.acf-extended.com/features/modules/dynamic-options-pages)**
|
351 |
+
The Dynamic Options Pages module allows you to register and manage ACF Options Pages from your WordPress admin, in ACF > Options Pages menu. All ACF settings can be set within the UI.
|
352 |
+
|
353 |
+
**[Post Types UI](https://www.acf-extended.com/features/modules/dynamic-post-types)**
|
354 |
The Dynamic Post Types module allows you to register and manage custom post types from your WordPress admin, in Tools > Post Types menu.
|
355 |
|
356 |
All native post types settings can be set within the UI. ACF Extended also adds more advanced settings allowing to manage posts per page, order etc…
|
357 |
|
358 |
+
**[Settings UI](https://www.acf-extended.com/features/modules/settings-ui)** **(FREE / PRO)**
|
359 |
+
The Settings UI allows developers to get an overview of all ACF and ACF Extended settings values from the ACF > Settings menu.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
360 |
|
361 |
**[Single Meta Save](https://www.acf-extended.com/features/modules/single-meta-save)**
|
362 |
Compress all fields values from the current post, term, user or options into one single meta data. This process lighten the database load as values are saved and read from one single row.
|
363 |
|
364 |
Once activated and after saving a post/term/user in the administration, all old meta data will be removed and packed together in a meta called `acf`.
|
365 |
|
366 |
+
**[Taxonomies UI](https://www.acf-extended.com/features/modules/dynamic-taxonomies)**
|
367 |
+
The Dynamic Taxonomies module allows you to register and manage custom taxonomies from your WordPress admin, in Tools > Taxonomies menu.
|
368 |
+
|
369 |
+
All native taxonomies settings can be set within the UI. ACF Extended also adds more advanced settings allowing to manage posts per page, order etc…
|
370 |
+
|
371 |
+
**[Templates](https://www.acf-extended.com/features/modules/templates)** **(PRO)**
|
372 |
+
Manage default ACF values in an advanced way. In order to start, you need to connect a field group to a specific template.
|
373 |
|
374 |
== 🖥️ WordPress ==
|
375 |
|
379 |
**[Enhanced UI](https://www.acf-extended.com/features/wordpress/enhanced-ui)**
|
380 |
The Taxonomy, User profile & Settings views have been enhanced for a more consistent administration experience, using CSS/JS only.
|
381 |
|
382 |
+
**[Polylang](https://www.acf-extended.com/features/wordpress/polylang)**
|
|
|
|
|
|
|
|
|
|
|
383 |
ACF Extended adds a new layer of compatibility for Polylang. ACF Options Pages and all ACF Extended Modules (Dynamic Post Type, Taxonomy, Options Pages, Block Type) are compatible.
|
384 |
|
385 |
+
**[Screen Layouts](https://www.acf-extended.com/features/wordpress/screen-layouts)** **(PRO)**
|
386 |
+
Post Edit screens have been enhanced allowing up to 3 columns layout and multiple variations.
|
387 |
+
|
388 |
+
**[WPML](https://www.acf-extended.com/features/wordpress/wpml)**
|
389 |
ACF Extended adds a new layer of compatibility for WPML. ACF Options Pages and all ACF Extended Modules (Dynamic Post Type, Taxonomy, Options Pages, Block Type) are compatible.
|
390 |
|
391 |
+
**[WP Options](https://www.acf-extended.com/features/wordpress/options)**
|
392 |
+
Manage WordPress Options from the Settings > Options page. Options values (strings, serialized & Json) will be displayed in a readable form. Values can be edited or deleted.
|
393 |
+
|
394 |
== ❤️ Early Supporters ==
|
395 |
|
396 |
* Thanks to [Brandon A.](https://twitter.com/AsmussenBrandon) for his support & tests
|
428 |
= Wordpress Install =
|
429 |
|
430 |
1. Install Advanced Custom Fields: Pro
|
431 |
+
2. Upload the plugin files to the `/wp-content/plugins/acf-extended/` directory, or install the plugin through the WordPress plugins screen directly.
|
432 |
3. Activate the plugin through the 'Plugins' screen in WordPress.
|
433 |
4. Everything is ready!
|
434 |
|
435 |
== Frequently Asked Questions ==
|
436 |
|
437 |
+
= Where can I find the documentation? =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
438 |
|
439 |
+
You'll find the documentation of every features on the [official ACF Extended website](https://www.acf-extended.com/features).
|
440 |
|
441 |
+
= Where can I submit a bug report? =
|
442 |
|
443 |
+
You can file a report on the [Plugin Support Forum](https://wordpress.org/support/plugin/acf-extended/) or on the [Github Page](https://github.com/acf-extended/ACF-Extended) if you prefer.
|
444 |
|
445 |
+
= Where can I submit a feature request? =
|
446 |
|
447 |
+
You can submit a feature request on the [Plugin Support Forum](https://wordpress.org/support/plugin/acf-extended/). Feature requests are all listed on the [Official Trello Board](https://trello.com/b/QEgpU7CL/acf-extended).
|
448 |
|
449 |
+
= What is planned for the next update? =
|
450 |
|
451 |
+
The content of the upcoming patch and work in progress features are all listed on the [Official Roadmap](https://www.acf-extended.com/roadmap) (or the Trello Board).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
452 |
|
453 |
== Screenshots ==
|
454 |
|
463 |
|
464 |
== Changelog ==
|
465 |
|
466 |
+
= 0.8.8.4 =
|
467 |
+
|
468 |
+
**ACF Extended Pro 0.8.8.4:**
|
469 |
+
|
470 |
+
* Field: Flexible Content - Added "Layouts Locations Rules" setting
|
471 |
+
* Field: Flexible Content Grid System - Fixed undefined index in `get_flexible_grid()` when using "Container Size" setting
|
472 |
+
* Field: Flexible Content Grid System - Added `has_flexible_grid()` helper
|
473 |
+
* Field: Flexible Content Grid System - `has_flexible_grid()`, `get_flexible_grid()` & `get_flexible_grid_class()` now accept a post id as 2nd parameter
|
474 |
+
* Field: Checkbox/Radio - Added Dynamic Render Choice hooks
|
475 |
+
* Field: Added Phone Number field
|
476 |
+
* Field: Added Countries Selector field
|
477 |
+
* Field: Added Languages Selector field
|
478 |
+
* Field: Added Currencies Selector field
|
479 |
+
* Field: Added Post Formats Selector field
|
480 |
+
* Field: Color Picker - Added selected palette border color compatibility for gradients
|
481 |
+
* Field: Columns - Added "Fill" size and swapped the setting with "Auto" size. The "Auto" size will now fit the field size
|
482 |
+
* Field: Select - Added "Prepend" & "Append" settings
|
483 |
+
* Field: Image Selector - Choices are now compatible with `value : image` logic, allowing developers to save a custom value instead of Image ID/URL
|
484 |
+
* Field: Image Selector - Removed gallery setting selector due to unecessary complexity. Choices are now all merged into one single setting
|
485 |
+
* Field: Relationship - Enhanced Gutenberg post update detection for the Inline Add/Edit Post settings
|
486 |
+
* Field: Color Picker - Fixed RGBA library not being correctly initialized in the Gutenberg Editor
|
487 |
+
* Field: Date Range Picker - Fixed the JS not being correctly initialized in the Gutenberg Editor
|
488 |
+
* Field: Date Range Picker - Enhanced CSS Style of invalid dates to match the ACF Date Picker style
|
489 |
+
* Field: WYSIWYG - Fixed potential PHP warning when using an inexisting toolbar
|
490 |
+
* Module: Force Sync - Fixed json file timestamp update during the sync
|
491 |
+
* Field Settings: Required message - It is now recommended to use `{label}` to display the field label instead of the previous `%s`, for consistency (`%s` will still work)
|
492 |
+
|
493 |
+
**ACF Extended Basic 0.8.8.4:**
|
494 |
+
|
495 |
+
* Field: Advanced Link - Fixed typo in the field settings
|
496 |
+
* Field: Columns - Fixed Field Group Seamless Style columns render
|
497 |
+
* Field: Enhanced UI - Fixed "Add New Term" button on Taxonomy List when using Tabs
|
498 |
+
* Field: Flexible Content - Fixed "Inline Title Edit" setting generating a duplicated layout title when using "Modal Edit" setting
|
499 |
+
* Field: Flexible Content - Enhanced "Disable Legacy Ajax Title" & "Async Layouts" settings UI
|
500 |
+
* Field: Flexible Content - Added missing "Hide Collapse" action setting
|
501 |
+
* Field: Flexible Content - Fixed "Locked" layout handle cursor CSS
|
502 |
+
* Field: Forms - Added missing "Search placeholder" setting when using "Select" Field Type
|
503 |
+
* Field: ReCaptcha - Value are now updated silently to avoid triggering the `acf_changed` popup logic
|
504 |
+
* Field: Select2 - Enhanced various CSS Style
|
505 |
+
* Field: Taxonomy Terms - Added missing "Search placeholder" setting when using "Select" Field Type
|
506 |
+
* Field: Text - Fixed input wrap overflow CSS (while waiting for ACF to fix it)
|
507 |
+
* Fields: Fixed "Placeholder" & "Search placeholder" conditional logic when using "Select" field type
|
508 |
+
* Module: Forms - Removed reCaptcha field type from `{fields}` Template Tag render
|
509 |
+
* Module: Forms - Enhanced field mapping hook with the form context
|
510 |
+
* Module: Options Pages - Fixed PHP notice when using a Sub Options Page with the latest ACF Pro 5.9.6 update
|
511 |
+
* Module: Settings UI - Fixed "Modification in code" not being correctly rendered
|
512 |
+
* Field Groups: Hide On Screen - Fixed Classic Content Editor appearing when should be hidden, while using a second Field Group Hide on Screen and selecting a category
|
513 |
+
* Compatibility: GraphQL: Fixed typo in Taxonomy Terms field registration
|
514 |
+
* Compatibility: GraphQL: Added basic field values resolvers (while waiting for official third party implementation documentation)
|
515 |
+
* General: Added `acfe_is_gutenberg()` helper
|
516 |
+
* General: Enhanced Readme
|
517 |
+
|
518 |
= 0.8.8.3 =
|
519 |
|
520 |
**ACF Extended Pro 0.8.8.3:**
|
1347 |
* Fields: Added `filter('acfe/load_field', $field)` to filter field settings everywhere but not in field group & tools management
|
1348 |
* Fields: Added `filter('acfe/load_field_front', $field)` to filter field settings in the front-end (and ajax coming from front-end) but not in field group & tools management
|
1349 |
* Fields: Added `filter('acfe/load_field_admin', $field)` to filter field settings in the administration (and ajax coming from administration) but not in field group & tools management
|
1350 |
+
* Field Groups: Instructions Placement - Added "Tooltip" placement for instructions
|
1351 |
* Field Groups: Third Party - Added PHP / Json Export & Sync actions
|
1352 |
* Field Groups: Third Party - Added Source column
|
1353 |
* Field Groups: Fixed potential undefined index in location column
|
1381 |
* General: Added ACF Extended GitHub repository URL in the readme
|
1382 |
|
1383 |
= 0.7.9.9 =
|
1384 |
+
* Field: Flexible Content - Settings are now dynamic (and not global anymore) (Thanks @Val)
|
1385 |
* Field: Flexible Content - Added CSS class on cloned layouts
|
1386 |
* Field: Flexible Content - Removed `esc_attr()` from Layout Title Edition, allowing icons to be displayed correctly
|
1387 |
* Field: Flexible Content - Fixed potential duplicated clone buttons in specific cases (Thanks @chrisschrijver)
|
1445 |
* Field: Flexible Content - Modal Edition CSS has been fixed on Gutenberg Editor view (thanks @Val)
|
1446 |
* Field: Flexible Content - Fixed 'Empty Message' placeholder setting using wrong `__()` function (thanks @illiminal)
|
1447 |
* Field: Flexible Content - Removed query vars from `get_flexible()`. Global variables `$layout` & `$field` can be used in the template to retrieve current settings
|
1448 |
+
* Field: Flexible Content - Added global variable `$is_preview` which is true when the template file is called as a layout preview
|
1449 |
* Field: Flexible Content - `get_flexible()` now uses `wp_enqueue_style()` & `wp_enqueue_script()` when rendering on front-end
|
1450 |
* Field: Image - 'No image selected' text has been removed
|
1451 |
* Module: Dynamic Post Types/Taxonomies - Fixed 'index key not found' PHP warning (thanks @Val)
|
1550 |
* General: Improved the ACF Pro dependency style in plugins list when ACF Pro isn't activated
|
1551 |
* Plugin: Readme - Reworked structure
|
1552 |
* Plugin: Readme - Added Supporters section
|
1553 |
+
* Plugin: Readme - Trying to implement emojis ✌
|
1554 |
|
1555 |
= 0.6.1 =
|
1556 |
* Admin: Re-introduced 'Options' admin screen under Settings > Options. Code has been completely refactored using native WP List Table. New features: Searchbox, item per page preference (default: 100), sortable columns, bulk delete and ability to edit serialized values.
|