Version Description
- New: Template Overide Feature
- Bug Fixes & Code improvement
- ACF Blocks Pro Released
Download this release
Release Info
Developer | munirkamal |
Plugin | Gutenberg Blocks – ACF Blocks Suite |
Version | 1.7.0 |
Comparing to | |
See all releases |
Code changes from version 1.6.0 to 1.7.0
- acf-blocks.php +409 -505
- acf-json/group_5cbd743876860.json +355 -296
- acf-json/group_5cbd9e696a100.json +404 -321
- acf-json/group_5cbdba3909312.json +242 -180
- acf-json/group_5cbdd1a0caf81.json +573 -574
- acf-json/group_5cbef16c004be.json +294 -292
- acf-json/group_5cc04e691b1a8.json +222 -200
- acf-json/group_5cc6b8e86e751.json +233 -233
- acf-json/group_5cc6cf92e231a.json +204 -204
- acf-json/group_5cc6dfe67784b.json +353 -329
- acf-json/group_5cc7092c01eb4.json +213 -213
- acf-json/group_5cd00bce35670.json +2 -2
- acf-json/group_5cde975abf269.json +204 -198
- acf-json/group_5cf238e5e1203.json +2 -2
- acf-json/group_5cfe3ba49f760.json +2 -2
- acf-json/group_5cff80b5c59d1.json +2 -2
- acf-json/group_5cff8a6c26332.json +2 -2
- acf-json/group_5d7b6d4b9609e.json +1195 -0
- acf-json/group_5d7f7f7dd9f24.json +556 -0
- acf-json/group_5d80d38c44b1c.json +512 -0
- acf-json/group_5d85f76783fa0.json +596 -0
- acf-json/group_5d88ac7ea4495.json +379 -0
- acf-json/group_5d89edcb99f5e.json +541 -0
- acf-json/group_5d8c7aea13336.json +2 -2
- acf-json/group_5d9c6dc7208c4.json +210 -0
- acf-json/group_5d9c78624c0c3.json +207 -0
- acf-json/group_5d9f3016200d1.json +243 -0
- acf-json/group_5d9f3dcad2c3d.json +1183 -0
- acf-json/group_5da1986955b15.json +1405 -0
- acf-json/group_5db1a62d812f2.json +1404 -0
- acf-json/index.php +0 -0
- admin/admin-styles.css +99 -0
- admin/class-acf-admin-page.php +47 -0
- block-templates/{accordion.php → free/acfb-accordion.php} +0 -0
- block-templates/{click-to-tweet.php → free/acfb-clicktotweet.php} +0 -0
- block-templates/{counter-number.php → free/acfb-counternumber.php} +0 -0
- block-templates/{image-slider.php → free/acfb-image-slider.php} +1 -1
- block-templates/{multi-buttons.php → free/acfb-multibuttons.php} +6 -3
- block-templates/{photo-collage.php → free/acfb-photocollage.php} +4 -4
- block-templates/{posts.php → free/acfb-posts.php} +90 -12
- block-templates/{price-list.php → free/acfb-pricelist.php} +38 -1
- block-templates/{pricing-box.php → free/acfb-pricingbox.php} +44 -24
- block-templates/{progress-bar.php → free/acfb-progressbar.php} +0 -0
- block-templates/{scrollable-image.php → free/acfb-scrollable-image.php} +2 -2
- block-templates/{social-sharing.php → free/acfb-socialsharing.php} +0 -0
- block-templates/{star-rating.php → free/acfb-starrating.php} +4 -0
- block-templates/{tabs.php → free/acfb-tabs.php} +0 -0
- block-templates/{team.php → free/acfb-team.php} +45 -6
- block-templates/{testimonial.php → free/acfb-testimonial.php} +48 -1
- block-templates/{toggle.php → free/acfb-toggle.php} +0 -0
- block-templates/loop-templates/post-grid.php +0 -42
- block-templates/loop-templates/post-list.php +0 -40
- css/acfblocks.css +1968 -15
- css/magnific-popup.css +351 -0
- css/swiper.min.css +0 -0
- css/twentytwenty.css +203 -0
- free-acf-blocks.php +305 -0
- freemius/.gitignore +0 -11
- freemius/LICENSE.txt +0 -0
- freemius/README.md +0 -253
- freemius/assets/css/admin/account.css +0 -0
- freemius/assets/css/admin/add-ons.css +0 -0
- freemius/assets/css/admin/affiliation.css +0 -0
- freemius/assets/css/admin/checkout.css +0 -0
- freemius/assets/css/admin/common.css +0 -0
- freemius/assets/css/admin/connect.css +0 -0
- freemius/assets/css/admin/debug.css +0 -0
- freemius/assets/css/admin/dialog-boxes.css +0 -0
- freemius/assets/css/admin/gdpr-optin-notice.css +0 -0
- freemius/assets/css/admin/index.php +0 -0
- freemius/assets/css/customizer.css +0 -0
- freemius/assets/css/index.php +0 -0
- freemius/assets/img/acf-blocks.svg +1 -0
- freemius/assets/img/index.php +0 -0
- freemius/assets/img/plugin-icon.png +0 -0
- freemius/assets/img/theme-icon.png +0 -0
- freemius/assets/index.php +0 -0
- freemius/assets/js/index.php +0 -0
- freemius/assets/js/nojquery.ba-postmessage.js +0 -0
- freemius/assets/js/nojquery.ba-postmessage.min.js +0 -0
- freemius/assets/js/postmessage.js +0 -0
- freemius/assets/scss/_colors.scss +0 -0
- freemius/assets/scss/_functions.scss +0 -0
- freemius/assets/scss/_load.scss +0 -0
- freemius/assets/scss/_mixins.scss +0 -0
- freemius/assets/scss/_start.scss +0 -0
- freemius/assets/scss/_vars.scss +0 -0
- freemius/assets/scss/admin/_ajax-loader.scss +0 -0
- freemius/assets/scss/admin/_auto-install.scss +0 -0
- freemius/assets/scss/admin/_buttons.scss +0 -0
- freemius/assets/scss/admin/_deactivation-feedback.scss +0 -0
- freemius/assets/scss/admin/_gdpr-consent.scss +0 -0
- freemius/assets/scss/admin/_license-activation.scss +0 -0
- freemius/assets/scss/admin/_license-key-resend.scss +0 -0
- freemius/assets/scss/admin/_modal-common.scss +0 -0
- freemius/assets/scss/admin/_multisite-options.scss +0 -0
- freemius/assets/scss/admin/_plugin-upgrade-notice.scss +0 -0
- freemius/assets/scss/admin/_subscription-cancellation.scss +0 -0
- freemius/assets/scss/admin/_themes.scss +0 -0
- freemius/assets/scss/admin/_tooltip.scss +0 -0
- freemius/assets/scss/admin/account.scss +0 -0
- freemius/assets/scss/admin/add-ons.scss +0 -0
- freemius/assets/scss/admin/affiliation.scss +0 -0
- freemius/assets/scss/admin/checkout.scss +0 -0
- freemius/assets/scss/admin/common.scss +0 -0
- freemius/assets/scss/admin/connect.scss +0 -0
- freemius/assets/scss/admin/debug.scss +0 -0
- freemius/assets/scss/admin/dialog-boxes.scss +0 -0
- freemius/assets/scss/admin/gdpr-optin-notice.scss +0 -0
- freemius/assets/scss/admin/index.php +0 -0
- freemius/assets/scss/customizer.scss +0 -0
- freemius/assets/scss/index.php +0 -0
- freemius/config.php +0 -0
- freemius/includes/class-freemius-abstract.php +0 -0
- freemius/includes/class-freemius.php +0 -0
- freemius/includes/class-fs-admin-notices.php +0 -0
- freemius/includes/class-fs-api.php +0 -0
- freemius/includes/class-fs-logger.php +0 -0
- freemius/includes/class-fs-options.php +0 -0
- freemius/includes/class-fs-plugin-updater.php +0 -0
- freemius/includes/class-fs-security.php +0 -0
- freemius/includes/class-fs-storage.php +0 -0
- freemius/includes/class-fs-user-lock.php +0 -0
- freemius/includes/customizer/class-fs-customizer-support-section.php +0 -0
- freemius/includes/customizer/class-fs-customizer-upsell-control.php +0 -0
- freemius/includes/customizer/index.php +0 -0
- freemius/includes/debug/class-fs-debug-bar-panel.php +0 -0
- freemius/includes/debug/debug-bar-start.php +0 -0
- freemius/includes/debug/index.php +0 -0
- freemius/includes/entities/class-fs-affiliate-terms.php +0 -0
- freemius/includes/entities/class-fs-affiliate.php +0 -0
- freemius/includes/entities/class-fs-billing.php +0 -0
- freemius/includes/entities/class-fs-entity.php +0 -0
- freemius/includes/entities/class-fs-payment.php +0 -0
- freemius/includes/entities/class-fs-plugin-info.php +0 -0
- freemius/includes/entities/class-fs-plugin-license.php +0 -0
- freemius/includes/entities/class-fs-plugin-plan.php +0 -0
- freemius/includes/entities/class-fs-plugin-tag.php +0 -0
- freemius/includes/entities/class-fs-plugin.php +0 -0
- freemius/includes/entities/class-fs-pricing.php +0 -0
- freemius/includes/entities/class-fs-scope-entity.php +0 -0
- freemius/includes/entities/class-fs-site.php +0 -0
- freemius/includes/entities/class-fs-subscription.php +0 -0
- freemius/includes/entities/class-fs-user.php +0 -0
- freemius/includes/entities/index.php +0 -0
- freemius/includes/fs-core-functions.php +0 -0
- freemius/includes/fs-essential-functions.php +0 -0
- freemius/includes/fs-plugin-info-dialog.php +0 -0
- freemius/includes/i18n.php +0 -0
- freemius/includes/index.php +0 -0
- freemius/includes/l10n.php +0 -0
- freemius/includes/managers/class-fs-admin-menu-manager.php +0 -0
- freemius/includes/managers/class-fs-admin-notice-manager.php +0 -0
- freemius/includes/managers/class-fs-cache-manager.php +0 -0
- freemius/includes/managers/class-fs-gdpr-manager.php +0 -0
- freemius/includes/managers/class-fs-key-value-storage.php +0 -0
- freemius/includes/managers/class-fs-license-manager.php +0 -0
- freemius/includes/managers/class-fs-option-manager.php +0 -0
- freemius/includes/managers/class-fs-plan-manager.php +0 -0
- freemius/includes/managers/class-fs-plugin-manager.php +0 -0
- freemius/includes/managers/index.php +0 -0
- freemius/includes/sdk/Exceptions/ArgumentNotExistException.php +0 -0
- freemius/includes/sdk/Exceptions/EmptyArgumentException.php +0 -0
- freemius/includes/sdk/Exceptions/Exception.php +0 -0
- freemius/includes/sdk/Exceptions/InvalidArgumentException.php +0 -0
- freemius/includes/sdk/Exceptions/OAuthException.php +0 -0
- freemius/includes/sdk/Exceptions/index.php +0 -0
- freemius/includes/sdk/FreemiusBase.php +0 -0
- freemius/includes/sdk/FreemiusWordPress.php +0 -0
- freemius/includes/sdk/LICENSE.txt +0 -0
- freemius/includes/sdk/index.php +0 -0
- freemius/includes/supplements/fs-essential-functions-1.1.7.1.php +0 -0
- freemius/includes/supplements/fs-essential-functions-2.2.1.php +0 -0
- freemius/includes/supplements/index.php +0 -0
- freemius/index.php +0 -0
- freemius/languages/freemius-da_DK.mo +0 -0
- freemius/languages/freemius-da_DK.po +0 -0
- freemius/languages/freemius-en.mo +0 -0
- freemius/languages/freemius-en.po +0 -0
- freemius/languages/freemius-es_ES.mo +0 -0
- freemius/languages/freemius-es_ES.po +0 -0
- freemius/languages/freemius-fr_FR.mo +0 -0
- freemius/languages/freemius-fr_FR.po +0 -0
- freemius/languages/freemius-he_IL.mo +0 -0
- freemius/languages/freemius-he_IL.po +0 -0
- freemius/languages/freemius-hu_HU.mo +0 -0
- freemius/languages/freemius-hu_HU.po +0 -0
- freemius/languages/freemius-it_IT.mo +0 -0
- freemius/languages/freemius-it_IT.po +0 -0
- freemius/languages/freemius-ja_JP.mo +0 -0
- freemius/languages/freemius-ja_JP.po +0 -0
- freemius/languages/freemius-nl_NL.mo +0 -0
- freemius/languages/freemius-nl_NL.po +0 -0
- freemius/languages/freemius-ru_RU.mo +0 -0
- freemius/languages/freemius-ru_RU.po +0 -0
- freemius/languages/freemius.pot +0 -0
- freemius/languages/index.php +0 -0
- freemius/package.json +0 -27
- freemius/require.php +0 -0
- freemius/start.php +0 -0
- freemius/templates/account.php +0 -0
- freemius/templates/account/billing.php +0 -0
- freemius/templates/account/index.php +0 -0
- freemius/templates/account/partials/activate-license-button.php +0 -0
- freemius/templates/account/partials/addon.php +0 -0
- freemius/templates/account/partials/deactivate-license-button.php +0 -0
- freemius/templates/account/partials/index.php +0 -0
- freemius/templates/account/partials/site.php +0 -0
- freemius/templates/account/payments.php +0 -0
- freemius/templates/add-ons.php +0 -0
- freemius/templates/add-trial-to-pricing.php +0 -0
- freemius/templates/admin-notice.php +0 -0
- freemius/templates/ajax-loader.php +0 -0
- freemius/templates/auto-installation.php +0 -0
- freemius/templates/checkout.php +0 -0
- freemius/templates/connect.php +0 -0
- freemius/templates/contact.php +0 -0
- freemius/templates/debug.php +0 -0
- freemius/templates/debug/api-calls.php +0 -0
- freemius/templates/debug/index.php +0 -0
- freemius/templates/debug/logger.php +0 -0
- freemius/templates/debug/plugins-themes-sync.php +0 -0
- freemius/templates/debug/scheduled-crons.php +0 -0
- freemius/templates/email.php +0 -0
- freemius/templates/firewall-issues-js.php +0 -0
- freemius/templates/forms/affiliation.php +0 -0
- freemius/templates/forms/deactivation/contact.php +0 -0
- freemius/templates/forms/deactivation/form.php +0 -0
- freemius/templates/forms/deactivation/index.php +0 -0
- freemius/templates/forms/deactivation/retry-skip.php +0 -0
- freemius/templates/forms/index.php +0 -0
- freemius/templates/forms/license-activation.php +0 -0
- freemius/templates/forms/optout.php +0 -0
- freemius/templates/forms/premium-versions-upgrade-handler.php +0 -0
- freemius/templates/forms/premium-versions-upgrade-metadata.php +0 -0
- freemius/templates/forms/resend-key.php +0 -0
- freemius/templates/forms/subscription-cancellation.php +0 -0
- freemius/templates/forms/trial-start.php +0 -0
- freemius/templates/gdpr-optin-js.php +0 -0
- freemius/templates/index.php +0 -0
- freemius/templates/js/index.php +0 -0
- freemius/templates/js/jquery.content-change.php +0 -0
- freemius/templates/js/open-license-activation.php +0 -0
- freemius/templates/js/style-premium-theme.php +0 -0
- freemius/templates/partials/network-activation.php +0 -0
- freemius/templates/plugin-icon.php +0 -0
- freemius/templates/plugin-info/description.php +0 -0
- freemius/templates/plugin-info/features.php +0 -0
- freemius/templates/plugin-info/index.php +0 -0
- freemius/templates/plugin-info/screenshots.php +0 -0
- freemius/templates/powered-by.php +0 -0
- freemius/templates/pricing.php +0 -0
- freemius/templates/secure-https-header.php +0 -0
- freemius/templates/sticky-admin-notice-js.php +0 -0
- freemius/templates/tabs-capture-js.php +0 -0
- freemius/templates/tabs.php +0 -0
- img/c-gfive-1.png +0 -0
- img/c-gfive-2.png +0 -0
- img/c-gfive-3.png +0 -0
- img/c-gfour-1.png +0 -0
- img/c-gfour-2.png +0 -0
- img/gfour-eight.png +0 -0
- img/gfour-eleven.png +0 -0
- img/gfour-fifteen.png +0 -0
- img/gfour-five.png +0 -0
- img/gfour-four.png +0 -0
- img/gfour-fourteen.png +0 -0
- img/gfour-nine.png +0 -0
- img/gfour-one.png +0 -0
- img/gfour-seven.png +0 -0
- img/gfour-six.png +0 -0
- img/gfour-ten.png +0 -0
- img/gfour-thirteen.png +0 -0
- img/gfour-three.png +0 -0
- img/gfour-twelve.png +0 -0
- img/gfour-two.png +0 -0
- img/gthree-five.png +0 -0
- img/gthree-four.png +0 -0
- img/gthree-one.png +0 -0
- img/gthree-six.png +0 -0
- img/gthree-three.png +0 -0
- img/gthree-two.png +0 -0
- img/gtwo-one.png +0 -0
- img/gtwo-two.png +0 -0
- img/placeholder-image.jpg +0 -0
- img/placeholder-vertical.jpg +0 -0
- img/pt-four-one.png +0 -0
- img/pt-four-two.png +0 -0
- img/svgexport-1.svg +0 -0
- img/svgexport-10.svg +0 -0
- img/svgexport-11.svg +0 -0
- img/svgexport-2.svg +0 -0
- img/svgexport-3.svg +0 -0
- img/svgexport-4.svg +0 -0
- img/svgexport-5.svg +0 -0
- img/svgexport-6.svg +0 -0
- img/svgexport-7.svg +0 -0
- img/svgexport-8.svg +0 -0
- img/svgexport-9.svg +0 -0
- js/accordion.js +0 -0
- js/before-after-image.js +75 -0
- js/frontend.js +0 -0
- js/gallery-custom.js +25 -0
- js/image-accordion.js +33 -0
- js/image-slider.js +8 -0
- js/jquery.event.move.js +599 -0
- js/jquery.magnific-popup.js +1860 -0
- js/jquery.twentytwenty.js +151 -0
- js/post-slider.js +113 -0
- js/post-ticker.js +49 -0
- js/skins.js +4 -0
- js/swiper.min.js +0 -0
- js/tabs.js +0 -0
- js/toggle.js +0 -0
- js/types/base.js +304 -0
- js/types/grid.js +52 -0
- js/types/justified.js +149 -0
- js/types/masonry.js +67 -0
- readme.txt +64 -25
acf-blocks.php
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
* Plugin Name: ACF Blocks
|
4 |
* Plugin URI: https://acfblocks.com/
|
5 |
* Description: Supercharge your Gutenberg editor with high quality beautiful WordPress blocks. Ready-to-use ACF Blocks!
|
6 |
-
* Version: 1.
|
7 |
* Author: munirkamal
|
8 |
* Author URI: https://munirkamal.wordpress.com
|
9 |
* License: GPL2
|
@@ -11,528 +12,431 @@
|
|
11 |
* Text Domain: acfb
|
12 |
* Domain Path: /languages
|
13 |
*/
|
|
|
|
|
|
|
14 |
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
'
|
35 |
-
'
|
36 |
-
'
|
|
|
|
|
|
|
37 |
),
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
}
|
40 |
-
|
41 |
-
|
|
|
|
|
|
|
42 |
}
|
43 |
-
|
44 |
-
|
45 |
-
acfb_fs
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
array(
|
57 |
-
|
58 |
-
'title' => __( 'ACF Blocks', 'acfblocks-master' ),
|
59 |
-
),
|
60 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
);
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
'
|
78 |
-
|
79 |
-
|
80 |
-
'
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
)
|
86 |
-
|
87 |
-
// register a team block.
|
88 |
-
acf_register_block_type(array(
|
89 |
-
'name' => 'acfb-team',
|
90 |
-
'mode' => 'preview',
|
91 |
-
'title' => __('Team'),
|
92 |
-
'description' => __('Introduce your team to your site visitors in style.'),
|
93 |
-
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/team.php',
|
94 |
-
'category' => 'acfb-blocks',
|
95 |
-
'icon' => '<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><title/><g data-name="79-users" id="_79-users"><circle class="acfb_svg_icon" cx="16" cy="13" r="5"/><path class="acfb_svg_icon" d="M23,28A7,7,0,0,0,9,28Z"/><path class="acfb_svg_icon" d="M24,14a5,5,0,1,0-4-8"/><path class="acfb_svg_icon" d="M25,24h6a7,7,0,0,0-7-7"/><path class="acfb_svg_icon" d="M12,6a5,5,0,1,0-4,8"/><path class="acfb_svg_icon" d="M8,17a7,7,0,0,0-7,7H7"/></g></svg>',
|
96 |
-
'enqueue_assets' => function(){
|
97 |
-
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
98 |
-
},
|
99 |
-
));
|
100 |
-
|
101 |
-
// register a multi buttons block.
|
102 |
-
acf_register_block_type(array(
|
103 |
-
'name' => 'acfb-multibuttons',
|
104 |
-
'mode' => 'preview',
|
105 |
-
'title' => __('Multi Buttons'),
|
106 |
-
'description' => __('Display multiple buttons inline with ease.'),
|
107 |
-
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/multi-buttons.php',
|
108 |
-
'category' => 'acfb-blocks',
|
109 |
-
'icon' => '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title/><g data-name="36.option-memu" id="_36.option-memu"><rect class="acfb_svg_icon" height="4" width="4" x="1" y="10"/><rect class="acfb_svg_icon" height="4" width="4" x="10" y="10"/><rect class="acfb_svg_icon" height="4" width="4" x="19" y="10"/></g></svg>',
|
110 |
-
'enqueue_assets' => function(){
|
111 |
-
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
112 |
-
},
|
113 |
-
));
|
114 |
-
|
115 |
-
// register a pricing box block.
|
116 |
-
acf_register_block_type(array(
|
117 |
-
'name' => 'acfb-pricingbox',
|
118 |
-
'mode' => 'preview',
|
119 |
-
'title' => __('Pricing Box'),
|
120 |
-
'description' => __('Display your plans and offers in style.'),
|
121 |
-
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/pricing-box.php',
|
122 |
-
'category' => 'acfb-blocks',
|
123 |
-
'icon' => '<svg height="512pt" viewBox="0 -47 512 512" width="512pt" xmlns="http://www.w3.org/2000/svg"><path d="m85.332031 145.859375v-43.800781c9.648438 2.433594 16.574219 10.882812 17.066407 20.820312 0 4.714844 3.820312 8.535156 8.535156 8.535156 4.710937 0 8.53125-3.820312 8.53125-8.535156-.652344-19.355468-14.988282-35.507812-34.132813-38.460937v-7.617188c0-4.714843-3.820312-8.535156-8.53125-8.535156-4.714843 0-8.535156 3.820313-8.535156 8.535156v7.617188c-19.140625 2.949219-33.476563 19.105469-34.132813 38.460937.65625 19.359375 14.992188 35.511719 34.132813 38.460938v43.804687c-9.648437-2.433593-16.574219-10.886719-17.066406-20.824219 0-4.714843-3.820313-8.535156-8.53125-8.535156-4.714844 0-8.535157 3.820313-8.535157 8.535156.65625 19.359376 14.992188 35.511719 34.132813 38.460938v7.617188c0 4.714843 3.820313 8.535156 8.535156 8.535156 4.710938 0 8.53125-3.820313 8.53125-8.535156v-7.617188c19.144531-2.949219 33.480469-19.101562 34.132813-38.460938-.652344-19.359374-14.988282-35.511718-34.132813-38.460937zm-34.132812-22.980469c.496093-9.9375 7.421875-18.386718 17.066406-20.820312v41.644531c-9.644531-2.4375-16.570313-10.886719-17.066406-20.824219zm34.132812 82.265625v-41.644531c9.925781 1.988281 17.066407 10.703125 17.066407 20.824219 0 10.121093-7.140626 18.835937-17.066407 20.824219zm0 0"/><path d="m298.667969 109.226562c0 4.714844 3.820312 8.535157 8.53125 8.535157 4.714843 0 8.535156-3.820313 8.535156-8.535157 0-26.597656-22.304687-48.613281-51.199219-52.300781v-14.257812c0-4.714844-3.824218-8.535157-8.535156-8.535157s-8.535156 3.820313-8.535156 8.535157v14.257812c-28.894532 3.6875-51.199219 25.703125-51.199219 52.300781 0 26.597657 22.304687 48.617188 51.199219 52.308594v71.554688c-18.386719-1.878906-32.773438-16.683594-34.132813-35.117188 0-4.710937-3.820312-8.53125-8.53125-8.53125-4.714843 0-8.535156 3.820313-8.535156 8.53125 0 26.597656 22.304687 48.613282 51.199219 52.300782v14.261718c0 4.710938 3.824218 8.53125 8.535156 8.53125s8.535156-3.820312 8.535156-8.53125v-14.257812c28.894532-3.691406 51.199219-25.703125 51.199219-52.300782 0-26.601562-22.304687-48.617187-51.199219-52.304687v-71.558594c18.386719 1.875 32.773438 16.679688 34.132813 35.113281zm-85.335938 0c1.359375-18.433593 15.746094-33.234374 34.132813-35.113281v70.230469c-18.386719-1.878906-32.773438-16.683594-34.132813-35.117188zm85.335938 88.746094c-1.359375 18.433594-15.746094 33.234375-34.132813 35.113282v-70.230469c18.386719 1.882812 32.773438 16.683593 34.132813 35.117187zm0 0"/><path d="m426.667969 161.339844v43.804687c-9.648438-2.433593-16.574219-10.882812-17.066407-20.820312 0-4.710938-3.820312-8.535157-8.535156-8.535157-4.710937 0-8.53125 3.824219-8.53125 8.535157.652344 19.359375 14.988282 35.511719 34.132813 38.460937v7.613282c0 4.714843 3.820312 8.535156 8.53125 8.535156 4.714843 0 8.535156-3.820313 8.535156-8.535156v-7.617188c19.140625-2.949219 33.476563-19.101562 34.132813-38.460938-.65625-19.359374-14.992188-35.511718-34.132813-38.460937v-43.800781c9.648437 2.433594 16.574219 10.882812 17.066406 20.820312 0 4.714844 3.820313 8.535156 8.53125 8.535156 4.714844 0 8.535157-3.820312 8.535157-8.535156-.65625-19.355468-14.992188-35.507812-34.132813-38.460937v-7.617188c0-4.714843-3.820313-8.535156-8.535156-8.535156-4.710938 0-8.53125 3.820313-8.53125 8.535156v7.617188c-19.144531 2.949219-33.480469 19.105469-34.132813 38.460937.652344 19.359375 14.988282 35.511719 34.132813 38.460938zm34.132812 22.980468c-.492187 9.9375-7.417969 18.386719-17.066406 20.820313v-41.640625c9.648437 2.433594 16.574219 10.882812 17.066406 20.820312zm-34.132812-82.261718v41.644531c-9.648438-2.4375-16.574219-10.886719-17.066407-20.824219.492188-9.9375 7.417969-18.386718 17.066407-20.820312zm0 0"/><path d="m494.933594 25.601562h-128v-8.535156c-.011719-9.421875-7.644532-17.0546872-17.066406-17.066406h-187.734376c-9.421874.0117188-17.054687 7.644531-17.066406 17.066406v8.535156h-128c-9.421875.007813-17.0546872 7.644532-17.066406 17.066407v221.867187c.0117188 9.417969 7.644531 17.054688 17.066406 17.066406h128v8.53125c.011719 9.421876 7.644532 17.054688 17.066406 17.066407h187.734376c9.421874-.011719 17.054687-7.644531 17.066406-17.066407v-8.53125h128c9.421875-.011718 17.054687-7.648437 17.066406-17.066406v-221.867187c-.011719-9.421875-7.644531-17.058594-17.066406-17.066407zm-477.867188 238.933594v-221.867187h128v221.867187zm145.066406 25.597656v-273.066406h187.734376v17.066406l.007812 238.894532-.007812.039062.007812.039063v17.027343zm332.800782-25.597656h-128v-221.867187h128zm0 0"/><path d="m222.382812 362.15625c-5-4.992188-13.097656-4.992188-18.097656 0l-34.132812 34.128906c-3.660156 3.660156-4.757813 9.164063-2.777344 13.945313 1.984375 4.78125 6.648438 7.902343 11.824219 7.902343h68.265625c5.175781-.003906 9.839844-3.121093 11.820312-7.902343 1.980469-4.777344.886719-10.28125-2.769531-13.941407zm-32.882812 38.910156 23.832031-23.832031 23.835938 23.832031zm0 0"/><path d="m341.332031 358.398438h-68.265625c-5.175781.003906-9.835937 3.121093-11.816406 7.902343s-.890625 10.285157 2.765625 13.945313l34.136719 34.132812c5 4.988282 13.097656 4.988282 18.097656 0l34.132812-34.128906c3.660157-3.660156 4.753907-9.164062 2.773438-13.949219-1.980469-4.78125-6.648438-7.898437-11.824219-7.902343zm-34.132812 40.902343-23.832031-23.835937h47.667968zm0 0"/><path d="m119.464844 298.667969h-85.332032c-4.710937 0-8.53125 3.820312-8.53125 8.53125 0 4.714843 3.820313 8.535156 8.53125 8.535156h85.332032c4.714844 0 8.535156-3.820313 8.535156-8.535156 0-4.710938-3.820312-8.53125-8.535156-8.53125zm0 0"/><path d="m315.734375 341.332031c4.710937 0 8.53125-3.820312 8.53125-8.53125 0-4.714843-3.820313-8.535156-8.53125-8.535156h-119.46875c-4.710937 0-8.53125 3.820313-8.53125 8.535156 0 4.710938 3.820313 8.53125 8.53125 8.53125zm0 0"/><path d="m477.867188 298.667969h-85.332032c-4.714844 0-8.535156 3.820312-8.535156 8.53125 0 4.714843 3.820312 8.535156 8.535156 8.535156h85.332032c4.710937 0 8.53125-3.820313 8.53125-8.535156 0-4.710938-3.820313-8.53125-8.53125-8.53125zm0 0"/></svg>',
|
124 |
-
'enqueue_assets' => function(){
|
125 |
-
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
126 |
-
},
|
127 |
-
));
|
128 |
-
|
129 |
-
// register a Star Rating block.
|
130 |
-
acf_register_block_type(array(
|
131 |
-
'name' => 'acfb-starrating',
|
132 |
-
'mode' => 'preview',
|
133 |
-
'title' => __('Star Rating'),
|
134 |
-
'description' => __('Add start ratings anywhere easily.'),
|
135 |
-
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/star-rating.php',
|
136 |
-
'category' => 'acfb-blocks',
|
137 |
-
'icon' => '<svg id="Outlined" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><title/><g id="Fill"><path d="M28.61,11.67H20l-2.66-8.2a1.39,1.39,0,0,0-2.64,0L12,11.67H3.39a1.39,1.39,0,0,0-.82,2.51l7,5.07L6.89,27.46a1.39,1.39,0,0,0,1.32,1.82A1.43,1.43,0,0,0,9,29l7-5.07L23,29a1.43,1.43,0,0,0,.81.27,1.39,1.39,0,0,0,1.32-1.82l-2.66-8.21,7-5.07A1.39,1.39,0,0,0,28.61,11.67Zm-7.34,6-1.17.86.44,1.38,2.09,6.41-5.45-4L16,21.46l-1.18.86-5.45,4,2.09-6.41.44-1.38-1.17-.86-5.45-4h8.19l.45-1.38L16,5.89l2.08,6.4.45,1.38h8.19Z"/></g></svg>',
|
138 |
-
'enqueue_assets' => function(){
|
139 |
-
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
140 |
-
},
|
141 |
-
));
|
142 |
-
|
143 |
-
// register a Progress Bar block.
|
144 |
-
acf_register_block_type(array(
|
145 |
-
'name' => 'acfb-progressbar',
|
146 |
-
'mode' => 'preview',
|
147 |
-
'title' => __('Progress Bar'),
|
148 |
-
'description' => __('Show your progress using percentage defined progress bars.'),
|
149 |
-
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/progress-bar.php',
|
150 |
-
'category' => 'acfb-blocks',
|
151 |
-
'icon' => '<svg width="455.14px" height="455.14px" enable-background="new 0 0 455.138 455.139" version="1.1" viewBox="0 0 455.138 455.139" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
152 |
-
<path d="m0 141.65v171.83h455.14v-171.83h-455.14zm432.72 149.42h-410.31v-127h410.31v127h-5e-3zm-328.43-19.606h-59.766v-89.652h59.767v89.652zm89.653 0h-59.765v-89.652h59.765v89.652zm93.387 0h-59.768v-89.652h59.768v89.652z"/>
|
153 |
-
</svg>',
|
154 |
-
'enqueue_assets' => function(){
|
155 |
-
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
156 |
-
},
|
157 |
-
));
|
158 |
-
|
159 |
-
// register a Counter Number block.
|
160 |
-
acf_register_block_type(array(
|
161 |
-
'name' => 'acfb-counternumber',
|
162 |
-
'mode' => 'preview',
|
163 |
-
'title' => __('Counter Number'),
|
164 |
-
'description' => __('Display stats with animated counter numbers.'),
|
165 |
-
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/counter-number.php',
|
166 |
-
'category' => 'acfb-blocks',
|
167 |
-
'icon' => '<svg id="Outlined" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><title/><g id="Fill"><path d="M16.71,22.29l-1.42,1.42L17.59,26H16A10,10,0,0,1,8.93,8.93L7.51,7.51A12,12,0,0,0,16,28h1.59l-2.3,2.29,1.42,1.42L20,28.41a2,2,0,0,0,0-2.82Z"/><path d="M16,4H14.41l2.3-2.29L15.29.29,12,3.59a2,2,0,0,0,0,2.82l3.29,3.3,1.42-1.42L14.41,6H16a10,10,0,0,1,7.07,17.07l1.42,1.42A12,12,0,0,0,16,4Z"/></g></svg>',
|
168 |
-
'enqueue_assets' => function(){
|
169 |
-
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
170 |
-
wp_enqueue_script( 'acfb-blocks-js', plugin_dir_url( __FILE__ ) . 'js/frontend.js', array('jquery'), '', false );
|
171 |
-
},
|
172 |
-
));
|
173 |
-
|
174 |
-
// register a Price List block.
|
175 |
-
acf_register_block_type(array(
|
176 |
-
'name' => 'acfb-pricelist',
|
177 |
-
'mode' => 'preview',
|
178 |
-
'title' => __('Price List'),
|
179 |
-
'description' => __('Display price list for any product easily.'),
|
180 |
-
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/price-list.php',
|
181 |
-
'category' => 'acfb-blocks',
|
182 |
-
'icon' => '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title/><g data-name="6.list-menu" id="_6.list-menu"><line class="acfb_svg_icon" x1="1" x2="4" y1="6" y2="6"/><line class="acfb_svg_icon" x1="1" x2="4" y1="12" y2="12"/><line class="acfb_svg_icon" x1="1" x2="4" y1="18" y2="18"/><line class="acfb_svg_icon" x1="8" x2="23" y1="6" y2="6"/><line class="acfb_svg_icon" x1="8" x2="23" y1="12" y2="12"/><line class="acfb_svg_icon" x1="8" x2="23" y1="18" y2="18"/></g></svg>',
|
183 |
-
'enqueue_assets' => function(){
|
184 |
-
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
185 |
-
},
|
186 |
-
));
|
187 |
-
|
188 |
-
// register a Click To Tweet block.
|
189 |
-
acf_register_block_type(array(
|
190 |
-
'name' => 'acfb-clicktotweet',
|
191 |
-
'mode' => 'preview',
|
192 |
-
'title' => __('Click To Tweet'),
|
193 |
-
'description' => __('Add a tweet-able quote to let your reader tweet with 1-click.'),
|
194 |
-
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/click-to-tweet.php',
|
195 |
-
'category' => 'acfb-blocks',
|
196 |
-
'icon' => '<svg enable-background="new 0 0 511.271 511.271" version="1.1" viewBox="0 0 511.271 511.271" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
197 |
-
<path d="m508.34 94.243c-2.603-2.603-6.942-3.471-10.414-2.603l-17.356 6.075c10.414-12.149 17.356-25.166 21.695-37.315 1.736-4.339 0.868-7.81-1.736-10.414-2.603-2.603-6.942-3.471-10.414-1.736-24.298 10.414-45.125 19.092-62.481 24.298 0 0.868-0.868 0-1.736 0-13.885-7.81-47.729-25.166-72.027-25.166-61.614 0.868-111.08 52.936-111.08 116.28v3.471c-90.251-17.356-139.72-43.39-193.52-99.797l-8.676-8.678-5.207 10.414c-29.505 56.407-8.678 107.61 25.166 142.32-15.62-2.603-26.034-7.81-35.58-15.62-3.471-2.603-7.81-3.471-12.149-0.868-3.471 1.736-5.207 6.942-4.339 11.281 12.149 40.786 42.522 73.763 75.498 93.722-15.62 0-28.637-1.736-41.654-10.414-3.471-1.736-8.678-1.736-12.149 0.868s-5.207 6.942-3.471 11.281c15.62 44.258 45.993 67.688 94.59 73.763-25.166 14.753-58.142 26.902-109.34 27.77-5.207 0-9.546 3.471-11.281 7.81-1.736 5.207 0 9.546 3.471 13.017 31.241 25.166 100.66 39.919 186.58 39.919 152.73 0 277.7-136.24 277.7-303.73v-2.603c19.092-9.546 34.712-27.77 42.522-52.936 0.867-3.472-1e-3 -7.811-2.604-10.414zm-52.068 49.464l-5.207 1.736v14.753c0 157.94-117.15 286.37-260.34 286.37-78.97 0-131.9-13.017-160.54-26.902 59.878-4.339 94.59-23.431 121.49-44.258l21.695-15.62h-26.034c-49.464 0-79.837-13.885-97.193-46.861 15.62 5.207 32.108 5.207 50.332 4.339 6.942-0.868 13.885-0.868 20.827-0.868l2.603-17.356c-32.976-9.546-72.027-39.051-91.119-78.969 17.356 7.81 36.447 9.546 53.803 9.546h26.902l-21.694-15.621c-18.224-13.017-72.027-59.01-45.993-124.96 55.539 54.671 108.48 79.837 203.93 97.193l10.414 1.736v-24.298c0-53.803 41.654-98.061 93.722-98.929 19.959-0.868 52.936 17.356 62.481 22.563 5.207 2.603 10.414 3.471 15.62 1.736 13.017-4.339 28.637-10.414 45.993-17.356-7.81 13.017-18.224 25.166-32.108 36.448-3.471 2.603-4.339 7.81-2.603 12.149s6.942 6.075 11.281 4.339l33.844-11.281c-6.075 11.28-15.621 24.297-32.109 30.371z"/>
|
198 |
-
</svg>',
|
199 |
-
'enqueue_assets' => function(){
|
200 |
-
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
201 |
-
},
|
202 |
-
));
|
203 |
-
|
204 |
-
|
205 |
-
// register a Post block.
|
206 |
-
acf_register_block_type(array(
|
207 |
-
'name' => 'acfb-posts',
|
208 |
-
'mode' => 'preview',
|
209 |
-
'title' => __('Posts'),
|
210 |
-
'description' => __('Display a grid or list of your blog posts.'),
|
211 |
-
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/posts.php',
|
212 |
-
'category' => 'acfb-blocks',
|
213 |
-
'icon' => '<svg enable-background="new 0 0 512 512" version="1.1" viewBox="0 0 512 512" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
214 |
-
<path d="M0,30v452h512V30H0z M482,452H30V120h452V452z M482,90H30V60h452V90z"/>
|
215 |
-
<path d="M271,160v252h181V160H271z M422,382H301V190h121V382z"/>
|
216 |
-
<rect x="60" y="160" width="181" height="30"/>
|
217 |
-
<rect x="60" y="220" width="121" height="30"/>
|
218 |
-
<rect x="60" y="300" width="181" height="30"/>
|
219 |
-
<rect x="60" y="360" width="121" height="30"/>
|
220 |
-
</svg>',
|
221 |
-
'enqueue_assets' => function(){
|
222 |
-
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
223 |
-
},
|
224 |
-
));
|
225 |
-
|
226 |
-
// register a Photo Collage block.
|
227 |
-
acf_register_block(array(
|
228 |
-
'name' => 'acfb-photocollage',
|
229 |
-
'mode' => 'preview',
|
230 |
-
'title' => __('Photo Collage'),
|
231 |
-
'description' => __('Display beautiful photo collage using pre-made templates.'),
|
232 |
-
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/photo-collage.php',
|
233 |
-
'category' => 'acfb-blocks',
|
234 |
-
'icon' => '<svg enable-background="new 0 0 140.637 140.637" version="1.1" viewBox="0 0 140.64 140.64" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
235 |
-
<path d="m138.14 140.61h-135.64c-1.381 0-2.5-1.119-2.5-2.5v-135.59c0-1.381 1.119-2.5 2.5-2.5h135.64c1.381 0 2.5 1.119 2.5 2.5v135.59c0 1.381-1.119 2.5-2.5 2.5zm-50.637-5h48.091v-17.599h-48.091v17.599zm-53.138 0h48.138v-17.599h-48.138v17.599zm-29.362 0h24.362v-17.599h-24.362v17.599zm106.27-22.599h24.317v-17.598h-24.317v17.598zm-26.273 0h21.273v-17.598h-48.136v17.599h26.863zm-53.138 0h21.274v-17.598h-48.136v17.599h26.862zm76.911-22.598h26.817v-17.599h-48.09v17.598h21.273zm-53.136 0h26.863v-17.599h-48.138v17.598h21.275zm-50.637 0h24.362v-17.599h-24.362v17.599zm106.27-22.599h24.317v-17.598h-24.317v17.598zm-26.273 0h21.273v-17.598h-48.136v17.599h26.863zm-53.138 0h21.274v-17.598h-48.136v17.599h26.862zm76.911-22.598h26.817v-17.599h-48.09v17.599h21.273zm-53.136 0h26.863v-17.599h-48.138v17.599h21.275zm-50.637 0h24.362v-17.599h-24.362v17.599zm106.27-22.599h24.317v-17.598h-24.317v17.598zm-26.273 0h21.273v-17.598h-48.136v17.598h26.863zm-53.138 0h21.274v-17.598h-48.136v17.598h26.862z"/>
|
236 |
-
</svg>',
|
237 |
-
'enqueue_assets' => function(){
|
238 |
-
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
239 |
-
},
|
240 |
-
));
|
241 |
-
|
242 |
-
// register a Social Sharing Block.
|
243 |
-
acf_register_block(array(
|
244 |
-
'name' => 'acfb-socialsharing',
|
245 |
-
'mode' => 'preview',
|
246 |
-
'title' => __('Social Sharing'),
|
247 |
-
'description' => __('Super fast and customizable Social Media Sharing Buttons for WordPress. No JavaScript. No tracking.'),
|
248 |
-
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/social-sharing.php',
|
249 |
-
'category' => 'acfb-blocks',
|
250 |
-
'icon' => '<svg enable-background="new 0 0 481.6 481.6" version="1.1" viewBox="0 0 481.6 481.6" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
251 |
-
<path d="m381.6 309.4c-27.7 0-52.4 13.2-68.2 33.6l-132.3-73.9c3.1-8.9 4.8-18.5 4.8-28.4 0-10-1.7-19.5-4.9-28.5l132.2-73.8c15.7 20.5 40.5 33.8 68.3 33.8 47.4 0 86.1-38.6 86.1-86.1s-38.6-86.1-86.1-86.1-86.1 38.6-86.1 86.1c0 10 1.7 19.6 4.9 28.5l-132.1 73.8c-15.7-20.6-40.5-33.8-68.3-33.8-47.4 0-86.1 38.6-86.1 86.1s38.7 86.1 86.2 86.1c27.8 0 52.6-13.3 68.4-33.9l132.2 73.9c-3.2 9-5 18.7-5 28.7 0 47.4 38.6 86.1 86.1 86.1s86.1-38.6 86.1-86.1-38.7-86.1-86.2-86.1zm0-282.3c32.6 0 59.1 26.5 59.1 59.1s-26.5 59.1-59.1 59.1-59.1-26.5-59.1-59.1 26.6-59.1 59.1-59.1zm-281.6 272.7c-32.6 0-59.1-26.5-59.1-59.1s26.5-59.1 59.1-59.1 59.1 26.5 59.1 59.1-26.6 59.1-59.1 59.1zm281.6 154.7c-32.6 0-59.1-26.5-59.1-59.1s26.5-59.1 59.1-59.1 59.1 26.5 59.1 59.1-26.5 59.1-59.1 59.1z"/>
|
252 |
-
</svg>',
|
253 |
-
'enqueue_assets' => function(){
|
254 |
-
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
255 |
-
},
|
256 |
-
));
|
257 |
-
|
258 |
-
//Register a Image Slider Block
|
259 |
-
acf_register_block(array(
|
260 |
-
'name' => 'acfb-image-slider',
|
261 |
-
'mode' => 'preview',
|
262 |
-
'title' => __('Image Slider'),
|
263 |
-
'description' => __('Display your images as a slider or carousel.'),
|
264 |
-
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/image-slider.php',
|
265 |
-
'category' => 'acfb-blocks',
|
266 |
-
'icon' => '<svg width="682pt" height="682pt" viewBox="-21 -91 682.66669 682" xmlns="http://www.w3.org/2000/svg">
|
267 |
-
<path d="m639.98 7.5312c-0.33594-6.6172-5.7969-11.863-12.484-11.863h-615c-6.6875 0-12.148 5.2461-12.484 11.863-0.015625 0.21484-0.015625 0.42578-0.015625 0.64062v474.99c0 6.9062 5.6016 12.508 12.5 12.508h615c6.8984 0 12.5-5.6016 12.5-12.508v-474.99c0-0.21484 0-0.42578-0.015625-0.64062zm-24.984 463.12h-590v-367.46h590zm0-392.46h-590v-57.668h590z"/>
|
268 |
-
<path d="m213.75 62.723h-100c-6.9062 0-12.5-5.5977-12.5-12.5 0-6.9102 5.5938-12.504 12.5-12.504h100c6.9062 0 12.5 5.5938 12.5 12.504 0 6.9023-5.5938 12.5-12.5 12.5z"/>
|
269 |
-
<path d="m63.773 62.723c-6.9023 0-12.504-5.5977-12.504-12.5 0-6.9102 5.5898-12.504 12.496-12.504h0.007813c6.9062 0 12.5 5.5938 12.5 12.504 0 6.9023-5.5938 12.5-12.5 12.5z"/>
|
270 |
-
<path d="m558.75 176.72h-50v-11.258c0-13.789-11.211-25.004-25-25.004h-327.5c-13.789 0-25 11.215-25 25.004v11.258h-50c-13.789 0-25 11.215-25 25.004v127.54c0 13.793 11.211 25.008 25 25.008h50v11.258c0 13.789 11.211 25.004 25 25.004h327.5c13.789 0 25-11.215 25-25.004v-11.258h50c13.789 0 25-11.215 25-25.008v-127.54c0-13.789-11.211-25.004-25-25.004zm-427.5 152.54h-50v-127.54h50l0.015625 127.54s0 0-0.015625 0zm352.52 36.266s0 0-0.015625 0h-327.5v-200.07h327.5v36.266l0.015625 127.89zm74.984-36.266h-50v-127.54h50l0.015625 127.54s0 0-0.015625 0z"/>
|
271 |
-
<path d="m230.8 314.23c-3.125 0-6.2539-1.168-8.6836-3.5117l-37.5-36.227c-2.4375-2.3555-3.8164-5.6055-3.8164-8.9922 0-3.3945 1.3789-6.6406 3.8164-9l37.5-36.227c4.9727-4.793 12.879-4.6562 17.68 0.30859 4.793 4.9727 4.6562 12.887-0.30859 17.68l-28.195 27.238 28.195 27.23c4.9648 4.8008 5.1016 12.715 0.30859 17.68-2.457 2.5391-5.7266 3.8203-8.9961 3.8203z"/>
|
272 |
-
<path d="m410.45 314.23c-3.2695 0-6.5391-1.2812-8.9961-3.8203-4.793-4.9648-4.6562-12.883 0.30859-17.68l28.195-27.234-28.195-27.234c-4.9648-4.793-5.1016-12.715-0.30859-17.68 4.8008-4.9648 12.711-5.1016 17.68-0.30859l37.5 36.227c2.4375 2.3594 3.8164 5.6055 3.8164 8.9961 0 3.3906-1.3789 6.6406-3.8164 8.9961l-37.5 36.227c-2.4297 2.3438-5.5586 3.5117-8.6836 3.5117z"/>
|
273 |
-
<path d="m320.02 435.65c-6.9023 0-12.504-5.5977-12.504-12.5 0-6.9062 5.5898-12.508 12.496-12.508h0.007813c6.9062 0 12.5 5.6016 12.5 12.508 0 6.9023-5.5938 12.5-12.5 12.5z"/>
|
274 |
-
<path d="m370.02 435.65c-6.9023 0-12.504-5.5977-12.504-12.5 0-6.9062 5.5898-12.508 12.496-12.508h0.007813c6.9062 0 12.5 5.6016 12.5 12.508 0 6.9023-5.5938 12.5-12.5 12.5z"/>
|
275 |
-
<path d="m270.02 435.65c-6.9023 0-12.504-5.5977-12.504-12.5 0-6.9062 5.5898-12.508 12.496-12.508h0.007813c6.9062 0 12.5 5.6016 12.5 12.508 0 6.9023-5.5938 12.5-12.5 12.5z"/>
|
276 |
-
</svg>',
|
277 |
-
'enqueue_assets' => function(){
|
278 |
-
wp_enqueue_style( 'acfb-image-slider-css', plugin_dir_url( __FILE__ ) . 'css/swiper.min.css' );
|
279 |
-
wp_enqueue_script('jQuery');
|
280 |
-
wp_enqueue_script( 'acfb-image-slider-swiper-js' ,plugin_dir_url( __FILE__ ) . 'js/swiper.min.js', array('jquery'), '', true );
|
281 |
-
|
282 |
-
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
283 |
-
|
284 |
-
wp_enqueue_script( 'acfb-image-slider-custom' ,plugin_dir_url( __FILE__ ) . 'js/image-slider.js', array('jquery'), '', true );
|
285 |
-
},
|
286 |
-
));
|
287 |
-
|
288 |
-
|
289 |
-
// register a Tabs Block.
|
290 |
-
acf_register_block(array(
|
291 |
-
'name' => 'acfb-tabs',
|
292 |
-
'mode' => 'preview',
|
293 |
-
'title' => __('Tabs'),
|
294 |
-
'description' => __('Add tabbed content in your posts/pages.'),
|
295 |
-
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/tabs.php',
|
296 |
-
'category' => 'acfb-blocks',
|
297 |
-
'icon' => '<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M861.29152 933.87264H162.70848c-40.08448 0-72.58112-32.49664-72.58112-72.58624V162.70848c0-40.08448 32.49664-72.58112 72.58112-72.58112h203.10016V222.72h568.06912v638.58176c-0.00512 40.07936-32.49664 72.57088-72.58624 72.57088z m5.74976-644.3264H156.95872v524.05248c0 34.12992 27.66336 61.7984 61.7984 61.7984h586.48064c34.12992 0 61.7984-27.66848 61.7984-61.7984V289.54624z m-200.49408-199.41888h194.74432c40.0896 0 72.58624 32.49664 72.58624 72.58112v34.944h-267.33056V90.12736z m-275.67616 0h250.61888v107.52512H390.87104V90.12736z"/></svg>',
|
298 |
-
'enqueue_assets' => function(){
|
299 |
-
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
300 |
-
wp_enqueue_script( 'acfb-tabs-js', plugin_dir_url( __FILE__ ) . 'js/tabs.js', array('jquery'), '', true );
|
301 |
-
},
|
302 |
-
));
|
303 |
-
|
304 |
-
// register a Toggle Block.
|
305 |
-
acf_register_block(array(
|
306 |
-
'name' => 'acfb-toggle',
|
307 |
-
'mode' => 'preview',
|
308 |
-
'title' => __('Toggle'),
|
309 |
-
'description' => __('Add toggleable content in your pages/posts.'),
|
310 |
-
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/toggle.php',
|
311 |
-
'category' => 'acfb-blocks',
|
312 |
-
'icon' => '<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M0 0l0 1024 1024 0 0-1024-1024 0zM963.764706 60.235294l0 542.117647-903.529412 0 0-542.117647 903.529412 0zM963.764706 662.588235l0 120.470588-903.529412 0 0-120.470588 903.529412 0zM60.235294 963.764706l0-120.470588 903.529412 0 0 120.470588-903.529412 0z" /></svg>',
|
313 |
-
'enqueue_assets' => function(){
|
314 |
-
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
315 |
-
wp_enqueue_script( 'acfb-toggle-js', plugin_dir_url( __FILE__ ) . 'js/toggle.js', array('jquery'), '', true );
|
316 |
-
},
|
317 |
-
));
|
318 |
-
|
319 |
-
// register a Accordion Block.
|
320 |
-
acf_register_block(array(
|
321 |
-
'name' => 'acfb-accordion',
|
322 |
-
'mode' => 'preview',
|
323 |
-
'title' => __('Accordion'),
|
324 |
-
'description' => __('Add accordion content in your pages/posts.'),
|
325 |
-
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/accordion.php',
|
326 |
-
'category' => 'acfb-blocks',
|
327 |
-
'icon' => '<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M0 0v180.705882h1024V0H0z m963.764706 120.470588H60.235294V60.235294h903.529412v60.235294zM0 783.058824h1024V240.941176H0v542.117648z m60.235294-481.882353h903.529412v421.647058H60.235294V301.176471zM0 1024h1024v-180.705882H0v180.705882z m60.235294-120.470588h903.529412v60.235294H60.235294v-60.235294z" /></svg>',
|
328 |
-
'enqueue_assets' => function(){
|
329 |
-
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
330 |
-
wp_enqueue_script( 'acfb-accordion-js', plugin_dir_url( __FILE__ ) . 'js/accordion.js', array('jquery'), '', true );
|
331 |
-
},
|
332 |
-
));
|
333 |
-
|
334 |
-
|
335 |
-
// register a Scrollable Image Block.
|
336 |
-
acf_register_block(array(
|
337 |
-
'name' => 'acfb-scrollable-image',
|
338 |
-
'mode' => 'preview',
|
339 |
-
'title' => __('Scrollable Image'),
|
340 |
-
'description' => __('Add Scrollable Image in your pages/posts.'),
|
341 |
-
'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/scrollable-image.php',
|
342 |
-
'category' => 'acfb-blocks',
|
343 |
-
'icon' => '<svg height="512pt" viewBox="-90 0 512 512" width="512pt" xmlns="http://www.w3.org/2000/svg"><path d="m166.238281 430.144531-89.769531-94.898437 29.058594-27.488282 60.632812 64.097657 60.273438-64.058594 29.132812 27.410156zm165.761719-38.144531v-272c0-66.167969-53.832031-120-120-120h-92c-66.167969 0-120 53.832031-120 120v272c0 66.167969 53.832031 120 120 120h92c66.167969 0 120-53.832031 120-120zm-120-352c44.113281 0 80 35.886719 80 80v272c0 44.113281-35.886719 80-80 80h-92c-44.113281 0-80-35.886719-80-80v-272c0-44.113281 35.886719-80 80-80zm-46 41c-11.046875 0-20 8.953125-20 20s8.953125 20 20 20 20-8.953125 20-20-8.953125-20-20-20zm0 80c-11.046875 0-20 8.953125-20 20s8.953125 20 20 20 20-8.953125 20-20-8.953125-20-20-20zm0 80c-11.046875 0-20 8.953125-20 20s8.953125 20 20 20 20-8.953125 20-20-8.953125-20-20-20zm0 0"/></svg>',
|
344 |
-
'enqueue_assets' => function(){
|
345 |
-
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
346 |
-
},
|
347 |
-
));
|
348 |
-
|
349 |
}
|
350 |
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
|
|
|
|
358 |
|
359 |
-
|
360 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
361 |
|
362 |
-
|
363 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
364 |
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
371 |
|
372 |
-
|
373 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
374 |
|
375 |
-
|
376 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
377 |
|
378 |
-
|
379 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
380 |
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
}
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
408 |
}
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
}
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
//
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
436 |
}
|
437 |
-
// add default layouts
|
438 |
-
$value = array(
|
439 |
-
array(
|
440 |
-
'acf_fc_layout' => 'post_grid_image'
|
441 |
-
),
|
442 |
-
array(
|
443 |
-
'acf_fc_layout' => 'post_grid_title'
|
444 |
-
),
|
445 |
-
array(
|
446 |
-
'acf_fc_layout' => 'post_grid_meta_data'
|
447 |
-
),
|
448 |
-
array(
|
449 |
-
'acf_fc_layout' => 'post_grid_content'
|
450 |
-
),
|
451 |
-
array(
|
452 |
-
'acf_fc_layout' => 'post_grid_read_more_button'
|
453 |
-
)
|
454 |
-
);
|
455 |
-
return $value;
|
456 |
-
}
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
add_filter('acf/load_field/name=2_grid_layouts', 'acfb_two_grid_icons');
|
465 |
-
function acfb_two_grid_icons( $field ) {
|
466 |
-
|
467 |
-
$field['choices'] = array(
|
468 |
-
'one' => '<img src="' . plugins_url( 'img/gtwo-one.png', __FILE__ ) . '" />',
|
469 |
-
'two' => '<img src="' . plugins_url( 'img/gtwo-two.png', __FILE__ ) . '" />'
|
470 |
-
);
|
471 |
-
|
472 |
-
return $field;
|
473 |
-
}
|
474 |
-
|
475 |
-
add_filter('acf/load_field/name=3_grid_layouts', 'acfb_three_grid_icons');
|
476 |
-
function acfb_three_grid_icons( $field ) {
|
477 |
-
|
478 |
-
$field['choices'] = array(
|
479 |
-
'one' => '<img src="' . plugins_url( 'img/gthree-one.png', __FILE__ ) . '" />',
|
480 |
-
'two' => '<img src="' . plugins_url( 'img/gthree-two.png', __FILE__ ) . '" />',
|
481 |
-
'three' => '<img src="' . plugins_url( 'img/gthree-three.png', __FILE__ ) . '" />',
|
482 |
-
'four' => '<img src="' . plugins_url( 'img/gthree-four.png', __FILE__ ) . '" />',
|
483 |
-
'five' => '<img src="' . plugins_url( 'img/gthree-five.png', __FILE__ ) . '" />',
|
484 |
-
'six' => '<img src="' . plugins_url( 'img/gthree-six.png', __FILE__ ) . '" />'
|
485 |
-
);
|
486 |
-
|
487 |
-
return $field;
|
488 |
-
}
|
489 |
-
|
490 |
-
|
491 |
-
add_filter('acf/load_field/name=4_grid_layouts', 'acfb_four_grid_icons');
|
492 |
-
function acfb_four_grid_icons( $field ) {
|
493 |
-
|
494 |
-
$field['choices'] = array(
|
495 |
-
'one' => '<img src="' . plugins_url( 'img/gfour-one.png', __FILE__ ) . '" />',
|
496 |
-
'two' => '<img src="' . plugins_url( 'img/gfour-two.png', __FILE__ ) . '" />',
|
497 |
-
'three' => '<img src="' . plugins_url( 'img/gfour-three.png', __FILE__ ) . '" />',
|
498 |
-
'four' => '<img src="' . plugins_url( 'img/gfour-four.png', __FILE__ ) . '" />',
|
499 |
-
'five' => '<img src="' . plugins_url( 'img/gfour-five.png', __FILE__ ) . '" />',
|
500 |
-
'six' => '<img src="' . plugins_url( 'img/gfour-six.png', __FILE__ ) . '" />',
|
501 |
-
'seven' => '<img src="' . plugins_url( 'img/gfour-seven.png', __FILE__ ) . '" />',
|
502 |
-
'eight' => '<img src="' . plugins_url( 'img/gfour-eight.png', __FILE__ ) . '" />',
|
503 |
-
'nine' => '<img src="' . plugins_url( 'img/gfour-nine.png', __FILE__ ) . '" />',
|
504 |
-
'ten' => '<img src="' . plugins_url( 'img/gfour-ten.png', __FILE__ ) . '" />',
|
505 |
-
'eleven' => '<img src="' . plugins_url( 'img/gfour-eleven.png', __FILE__ ) . '" />',
|
506 |
-
'twelve' => '<img src="' . plugins_url( 'img/gfour-twelve.png', __FILE__ ) . '" />',
|
507 |
-
'thirteen' => '<img src="' . plugins_url( 'img/gfour-thirteen.png', __FILE__ ) . '" />',
|
508 |
-
'fourteen' => '<img src="' . plugins_url( 'img/gfour-fourteen.png', __FILE__ ) . '" />',
|
509 |
-
'fifteen' => '<img src="' . plugins_url( 'img/gfour-fifteen.png', __FILE__ ) . '" />',
|
510 |
-
);
|
511 |
|
512 |
-
return $field;
|
513 |
}
|
514 |
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
add_filter('acf/load_field/name=social_network', 'Social_icons');
|
521 |
-
function Social_icons( $field ) {
|
522 |
-
|
523 |
-
$field['choices'] = array(
|
524 |
-
'1' => '<svg class="acfb_social_icons acfb_social_facebook_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.77 7.46H14.5v-1.9c0-.9.6-1.1 1-1.1h3V.5h-4.33C10.24.5 9.5 3.44 9.5 5.32v2.15h-3v4h3v12h5v-12h3.85l.42-4z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
525 |
-
'2' => '<svg class="acfb_social_icons acfb_social_twitter_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M23.44 4.83c-.8.37-1.5.38-2.22.02.93-.56.98-.96 1.32-2.02-.88.52-1.86.9-2.9 1.1-.82-.88-2-1.43-3.3-1.43-2.5 0-4.55 2.04-4.55 4.54 0 .36.03.7.1 1.04-3.77-.2-7.12-2-9.36-4.75-.4.67-.6 1.45-.6 2.3 0 1.56.8 2.95 2 3.77-.74-.03-1.44-.23-2.05-.57v.06c0 2.2 1.56 4.03 3.64 4.44-.67.2-1.37.2-2.06.08.58 1.8 2.26 3.12 4.25 3.16C5.78 18.1 3.37 18.74 1 18.46c2 1.3 4.4 2.04 6.97 2.04 8.35 0 12.92-6.92 12.92-12.93 0-.2 0-.4-.02-.6.9-.63 1.96-1.22 2.56-2.14z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
526 |
-
'3' => '<svg class="acfb_social_icons acfb_social_email_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22 4H2C.9 4 0 4.9 0 6v12c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7.25 14.43l-3.5 2c-.08.05-.17.07-.25.07-.17 0-.34-.1-.43-.25-.14-.24-.06-.55.18-.68l3.5-2c.24-.14.55-.06.68.18.14.24.06.55-.18.68zm4.75.07c-.1 0-.2-.03-.27-.08l-8.5-5.5c-.23-.15-.3-.46-.15-.7.15-.22.46-.3.7-.14L12 13.4l8.23-5.32c.23-.15.54-.08.7.15.14.23.07.54-.16.7l-8.5 5.5c-.08.04-.17.07-.27.07zm8.93 1.75c-.1.16-.26.25-.43.25-.08 0-.17-.02-.25-.07l-3.5-2c-.24-.13-.32-.44-.18-.68s.44-.32.68-.18l3.5 2c.24.13.32.44.18.68z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
527 |
-
'4' => '<svg class="acfb_social_icons acfb_social_pinterest_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.14.5C5.86.5 2.7 5 2.7 8.75c0 2.27.86 4.3 2.7 5.05.3.12.57 0 .66-.33l.27-1.06c.1-.32.06-.44-.2-.73-.52-.62-.86-1.44-.86-2.6 0-3.33 2.5-6.32 6.5-6.32 3.55 0 5.5 2.17 5.5 5.07 0 3.8-1.7 7.02-4.2 7.02-1.37 0-2.4-1.14-2.07-2.54.4-1.68 1.16-3.48 1.16-4.7 0-1.07-.58-1.98-1.78-1.98-1.4 0-2.55 1.47-2.55 3.42 0 1.25.43 2.1.43 2.1l-1.7 7.2c-.5 2.13-.08 4.75-.04 5 .02.17.22.2.3.1.14-.18 1.82-2.26 2.4-4.33.16-.58.93-3.63.93-3.63.45.88 1.8 1.65 3.22 1.65 4.25 0 7.13-3.87 7.13-9.05C20.5 4.15 17.18.5 12.14.5z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
528 |
-
'5' => '<svg class="acfb_social_icons acfb_social_linkedin_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 21.5h-5v-13h5v13zM4 6.5C2.5 6.5 1.5 5.3 1.5 4s1-2.4 2.5-2.4c1.6 0 2.5 1 2.6 2.5 0 1.4-1 2.5-2.6 2.5zm11.5 6c-1 0-2 1-2 2v7h-5v-13h5V10s1.6-1.5 4-1.5c3 0 5 2.2 5 6.3v6.7h-5v-7c0-1-1-2-2-2z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
529 |
-
'6' => '<svg class="acfb_social_icons acfb_social_reddit_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M24 11.5c0-1.65-1.35-3-3-3-.96 0-1.86.48-2.42 1.24-1.64-1-3.75-1.64-6.07-1.72.08-1.1.4-3.05 1.52-3.7.72-.4 1.73-.24 3 .5C17.2 6.3 18.46 7.5 20 7.5c1.65 0 3-1.35 3-3s-1.35-3-3-3c-1.38 0-2.54.94-2.88 2.22-1.43-.72-2.64-.8-3.6-.25-1.64.94-1.95 3.47-2 4.55-2.33.08-4.45.7-6.1 1.72C4.86 8.98 3.96 8.5 3 8.5c-1.65 0-3 1.35-3 3 0 1.32.84 2.44 2.05 2.84-.03.22-.05.44-.05.66 0 3.86 4.5 7 10 7s10-3.14 10-7c0-.22-.02-.44-.05-.66 1.2-.4 2.05-1.54 2.05-2.84zM2.3 13.37C1.5 13.07 1 12.35 1 11.5c0-1.1.9-2 2-2 .64 0 1.22.32 1.6.82-1.1.85-1.92 1.9-2.3 3.05zm3.7.13c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zm9.8 4.8c-1.08.63-2.42.96-3.8.96-1.4 0-2.74-.34-3.8-.95-.24-.13-.32-.44-.2-.68.15-.24.46-.32.7-.18 1.83 1.06 4.76 1.06 6.6 0 .23-.13.53-.05.67.2.14.23.06.54-.18.67zm.2-2.8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm5.7-2.13c-.38-1.16-1.2-2.2-2.3-3.05.38-.5.97-.82 1.6-.82 1.1 0 2 .9 2 2 0 .84-.53 1.57-1.3 1.87z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
530 |
-
'7' => '<svg class="acfb_social_icons acfb_social_xing_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10.2 9.7l-3-5.4C7.2 4 7 4 6.8 4h-5c-.3 0-.4 0-.5.2v.5L4 10 .4 16v.5c0 .2.2.3.4.3h5c.3 0 .4 0 .5-.2l4-6.6v-.5zM24 .2l-.5-.2H18s-.2 0-.3.3l-8 14v.4l5.2 9c0 .2 0 .3.3.3h5.4s.3 0 .4-.2c.2-.2.2-.4 0-.5l-5-8.8L24 .7V.2z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
531 |
-
'8' => '<svg class="acfb_social_icons acfb_social_whatsapp_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.1 3.9C17.9 1.7 15 .5 12 .5 5.8.5.7 5.6.7 11.9c0 2 .5 3.9 1.5 5.6L.6 23.4l6-1.6c1.6.9 3.5 1.3 5.4 1.3 6.3 0 11.4-5.1 11.4-11.4-.1-2.8-1.2-5.7-3.3-7.8zM12 21.4c-1.7 0-3.3-.5-4.8-1.3l-.4-.2-3.5 1 1-3.4L4 17c-1-1.5-1.4-3.2-1.4-5.1 0-5.2 4.2-9.4 9.4-9.4 2.5 0 4.9 1 6.7 2.8 1.8 1.8 2.8 4.2 2.8 6.7-.1 5.2-4.3 9.4-9.5 9.4zm5.1-7.1c-.3-.1-1.7-.9-1.9-1-.3-.1-.5-.1-.7.1-.2.3-.8 1-.9 1.1-.2.2-.3.2-.6.1s-1.2-.5-2.3-1.4c-.9-.8-1.4-1.7-1.6-2-.2-.3 0-.5.1-.6s.3-.3.4-.5c.2-.1.3-.3.4-.5.1-.2 0-.4 0-.5C10 9 9.3 7.6 9 7c-.1-.4-.4-.3-.5-.3h-.6s-.4.1-.7.3c-.3.3-1 1-1 2.4s1 2.8 1.1 3c.1.2 2 3.1 4.9 4.3.7.3 1.2.5 1.6.6.7.2 1.3.2 1.8.1.6-.1 1.7-.7 1.9-1.3.2-.7.2-1.2.2-1.3-.1-.3-.3-.4-.6-.5z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
532 |
-
'9' => '<svg class="acfb_social_icons acfb_social_hackernews_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 140"><path fill-rule="evenodd" d="M60.94 82.314L17 0h20.08l25.85 52.093c.397.927.86 1.888 1.39 2.883.53.994.995 2.02 1.393 3.08.265.4.463.764.596 1.095.13.334.262.63.395.898.662 1.325 1.26 2.618 1.79 3.877.53 1.26.993 2.42 1.39 3.48 1.06-2.254 2.22-4.673 3.48-7.258 1.26-2.585 2.552-5.27 3.877-8.052L103.49 0h18.69L77.84 83.308v53.087h-16.9v-54.08z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
533 |
-
'10' => '<svg class="acfb_social_icons acfb_social_vk_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21.547 7h-3.29a.743.743 0 0 0-.655.392s-1.312 2.416-1.734 3.23C14.734 12.813 14 12.126 14 11.11V7.603A1.104 1.104 0 0 0 12.896 6.5h-2.474a1.982 1.982 0 0 0-1.75.813s1.255-.204 1.255 1.49c0 .42.022 1.626.04 2.64a.73.73 0 0 1-1.272.503 21.54 21.54 0 0 1-2.498-4.543.693.693 0 0 0-.63-.403h-2.99a.508.508 0 0 0-.48.685C3.005 10.175 6.918 18 11.38 18h1.878a.742.742 0 0 0 .742-.742v-1.135a.73.73 0 0 1 1.23-.53l2.247 2.112a1.09 1.09 0 0 0 .746.295h2.953c1.424 0 1.424-.988.647-1.753-.546-.538-2.518-2.617-2.518-2.617a1.02 1.02 0 0 1-.078-1.323c.637-.84 1.68-2.212 2.122-2.8.603-.804 1.697-2.507.197-2.507z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
534 |
-
'11' => '<svg class="acfb_social_icons acfb_social_telegram_main"xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M.707 8.475C.275 8.64 0 9.508 0 9.508s.284.867.718 1.03l5.09 1.897 1.986 6.38a1.102 1.102 0 0 0 1.75.527l2.96-2.41a.405.405 0 0 1 .494-.013l5.34 3.87a1.1 1.1 0 0 0 1.046.135 1.1 1.1 0 0 0 .682-.803l3.91-18.795A1.102 1.102 0 0 0 22.5.075L.706 8.475z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
535 |
-
);
|
536 |
-
|
537 |
-
return $field;
|
538 |
-
}
|
1 |
<?php
|
2 |
+
|
3 |
/**
|
4 |
* Plugin Name: ACF Blocks
|
5 |
* Plugin URI: https://acfblocks.com/
|
6 |
* Description: Supercharge your Gutenberg editor with high quality beautiful WordPress blocks. Ready-to-use ACF Blocks!
|
7 |
+
* Version: 1.7.0
|
8 |
* Author: munirkamal
|
9 |
* Author URI: https://munirkamal.wordpress.com
|
10 |
* License: GPL2
|
12 |
* Text Domain: acfb
|
13 |
* Domain Path: /languages
|
14 |
*/
|
15 |
+
if ( !defined( 'ABSPATH' ) ) {
|
16 |
+
exit;
|
17 |
+
}
|
18 |
|
19 |
+
if ( function_exists( 'acfb_fs' ) ) {
|
20 |
+
acfb_fs()->set_basename( false, __FILE__ );
|
21 |
+
} else {
|
22 |
+
|
23 |
+
if ( !function_exists( 'acfb_fs' ) ) {
|
24 |
+
function acfb_fs()
|
25 |
+
{
|
26 |
+
global $acfb_fs ;
|
27 |
+
|
28 |
+
if ( !isset( $acfb_fs ) ) {
|
29 |
+
// Include Freemius SDK.
|
30 |
+
require_once dirname( __FILE__ ) . '/freemius/start.php';
|
31 |
+
$acfb_fs = fs_dynamic_init( array(
|
32 |
+
'id' => '3703',
|
33 |
+
'slug' => 'acf-blocks',
|
34 |
+
'premium_slug' => 'acf-blocks-pro',
|
35 |
+
'type' => 'plugin',
|
36 |
+
'public_key' => 'pk_5e62b729dd843294873241dcc6402',
|
37 |
+
'is_premium' => false,
|
38 |
+
'premium_suffix' => 'pro',
|
39 |
+
'has_addons' => false,
|
40 |
+
'has_paid_plans' => true,
|
41 |
+
'trial' => array(
|
42 |
+
'days' => 7,
|
43 |
+
'is_require_payment' => false,
|
44 |
),
|
45 |
+
'menu' => array(
|
46 |
+
'slug' => 'acf-blocks',
|
47 |
+
'support' => false,
|
48 |
+
),
|
49 |
+
'is_live' => true,
|
50 |
+
) );
|
51 |
+
}
|
52 |
+
|
53 |
+
return $acfb_fs;
|
54 |
}
|
55 |
+
|
56 |
+
// Init Freemius.
|
57 |
+
acfb_fs();
|
58 |
+
// Signal that SDK was initiated.
|
59 |
+
do_action( 'acfb_fs_loaded' );
|
60 |
}
|
61 |
+
|
62 |
+
|
63 |
+
if ( !function_exists( 'acfb_fs' ) ) {
|
64 |
+
// Create a helper function for easy SDK access.
|
65 |
+
function acfb_fs()
|
66 |
+
{
|
67 |
+
global $acfb_fs ;
|
68 |
+
|
69 |
+
if ( !isset( $acfb_fs ) ) {
|
70 |
+
// Include Freemius SDK.
|
71 |
+
require_once dirname( __FILE__ ) . '/freemius/start.php';
|
72 |
+
$acfb_fs = fs_dynamic_init( array(
|
73 |
+
'id' => '3703',
|
74 |
+
'slug' => 'acf-blocks',
|
75 |
+
'premium_slug' => 'acf-blocks-pro',
|
76 |
+
'type' => 'plugin',
|
77 |
+
'public_key' => 'pk_5e62b729dd843294873241dcc6402',
|
78 |
+
'is_premium' => false,
|
79 |
+
'premium_suffix' => 'pro',
|
80 |
+
'has_addons' => false,
|
81 |
+
'has_paid_plans' => true,
|
82 |
+
'menu' => array(
|
83 |
+
'slug' => 'acf-blocks',
|
84 |
+
),
|
85 |
+
'is_live' => true,
|
86 |
+
) );
|
87 |
+
}
|
88 |
+
|
89 |
+
return $acfb_fs;
|
90 |
+
}
|
91 |
+
|
92 |
+
// Init Freemius.
|
93 |
+
acfb_fs();
|
94 |
+
// Signal that SDK was initiated.
|
95 |
+
do_action( 'acfb_fs_loaded' );
|
96 |
+
}
|
97 |
+
|
98 |
+
$free_blocks_init = plugin_dir_path( __FILE__ ) . 'free-acf-blocks.php';
|
99 |
+
$pro_blocks_init = plugin_dir_path( __FILE__ ) . 'pro-acf-blocks.php';
|
100 |
+
if ( file_exists( $free_blocks_init ) ) {
|
101 |
+
require_once $free_blocks_init;
|
102 |
+
}
|
103 |
+
if ( file_exists( $pro_blocks_init ) ) {
|
104 |
+
require_once $pro_blocks_init;
|
105 |
+
}
|
106 |
+
// Add Custom Blocks Panel in Gutenberg
|
107 |
+
function acfb_block_categories( $categories, $post )
|
108 |
+
{
|
109 |
+
return array_merge( $categories, array( array(
|
110 |
+
'slug' => 'acfb-blocks',
|
111 |
+
'title' => __( 'ACF Blocks', 'acfblocks-master' ),
|
112 |
+
) ) );
|
113 |
+
}
|
114 |
+
|
115 |
+
add_filter(
|
116 |
+
'block_categories',
|
117 |
+
'acfb_block_categories',
|
118 |
+
10,
|
119 |
+
2
|
120 |
+
);
|
121 |
+
// Save Acf
|
122 |
+
add_filter( 'acf/settings/save_json', 'acfb_json_save_point' );
|
123 |
+
function acfb_json_save_point( $acfb_path )
|
124 |
+
{
|
125 |
+
// update path
|
126 |
+
$acfb_path = plugin_dir_path( __FILE__ ) . '/acf-json';
|
127 |
+
// return
|
128 |
+
return $acfb_path;
|
129 |
+
}
|
130 |
+
|
131 |
+
// Load Acf
|
132 |
+
add_filter( 'acf/settings/load_json', 'acfb_json_load_point' );
|
133 |
+
function acfb_json_load_point( $acfb_path )
|
134 |
+
{
|
135 |
+
// remove original path (optional)
|
136 |
+
unset( $acfb_path[0] );
|
137 |
+
// append path
|
138 |
+
$acfb_path[] = plugin_dir_path( __FILE__ ) . '/acf-json';
|
139 |
+
// return
|
140 |
+
return $acfb_path;
|
141 |
+
}
|
142 |
+
|
143 |
+
// Excerpt Limit
|
144 |
+
function acfb_excerpt( $acfb_excerpt_limit )
|
145 |
+
{
|
146 |
+
$acfb_excerpt = explode( ' ', get_the_excerpt(), $acfb_excerpt_limit );
|
147 |
+
|
148 |
+
if ( count( $acfb_excerpt ) >= $acfb_excerpt_limit ) {
|
149 |
+
array_pop( $acfb_excerpt );
|
150 |
+
$acfb_excerpt = implode( " ", $acfb_excerpt ) . '...';
|
151 |
+
} else {
|
152 |
+
$acfb_excerpt = implode( " ", $acfb_excerpt );
|
153 |
+
}
|
154 |
+
|
155 |
+
$acfb_excerpt = preg_replace( '`[[^]]*]`', '', $acfb_excerpt );
|
156 |
+
return $acfb_excerpt;
|
157 |
+
}
|
158 |
+
|
159 |
+
// Default Value in post List Elements
|
160 |
+
add_filter(
|
161 |
+
'acf/load_value/name=acfb_post_list_elements',
|
162 |
+
'acfb_post_list_elements_defaults',
|
163 |
+
10,
|
164 |
+
3
|
165 |
+
);
|
166 |
+
function acfb_post_list_elements_defaults( $value, $post_id, $field )
|
167 |
+
{
|
168 |
+
if ( $value !== NULL ) {
|
169 |
+
// $value will only be NULL on a new post
|
170 |
+
return $value;
|
171 |
+
}
|
172 |
+
// add default layouts
|
173 |
+
$value = array(
|
174 |
+
array(
|
175 |
+
'acf_fc_layout' => 'post_list_title',
|
176 |
+
),
|
177 |
+
array(
|
178 |
+
'acf_fc_layout' => 'post_list_meta_data',
|
179 |
+
),
|
180 |
+
array(
|
181 |
+
'acf_fc_layout' => 'post_list_content',
|
182 |
+
),
|
183 |
array(
|
184 |
+
'acf_fc_layout' => 'post_list_read_more_button',
|
|
|
|
|
185 |
)
|
186 |
+
);
|
187 |
+
return $value;
|
188 |
+
}
|
189 |
+
|
190 |
+
// Default Value in post Grid Elements
|
191 |
+
add_filter(
|
192 |
+
'acf/load_value/name=acfb_post_grid_elements',
|
193 |
+
'acfb_post_grid_elements_defaults',
|
194 |
+
10,
|
195 |
+
3
|
196 |
);
|
197 |
+
function acfb_post_grid_elements_defaults( $value, $post_id, $field )
|
198 |
+
{
|
199 |
+
if ( $value !== NULL ) {
|
200 |
+
// $value will only be NULL on a new post
|
201 |
+
return $value;
|
202 |
+
}
|
203 |
+
// add default layouts
|
204 |
+
$value = array(
|
205 |
+
array(
|
206 |
+
'acf_fc_layout' => 'post_grid_image',
|
207 |
+
),
|
208 |
+
array(
|
209 |
+
'acf_fc_layout' => 'post_grid_title',
|
210 |
+
),
|
211 |
+
array(
|
212 |
+
'acf_fc_layout' => 'post_grid_meta_data',
|
213 |
+
),
|
214 |
+
array(
|
215 |
+
'acf_fc_layout' => 'post_grid_content',
|
216 |
+
),
|
217 |
+
array(
|
218 |
+
'acf_fc_layout' => 'post_grid_read_more_button',
|
219 |
+
)
|
220 |
+
);
|
221 |
+
return $value;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
}
|
223 |
|
224 |
+
add_filter( 'acf/load_field/name=2_grid_layouts', 'acfb_two_grid_icons' );
|
225 |
+
function acfb_two_grid_icons( $field )
|
226 |
+
{
|
227 |
+
$field['choices'] = array(
|
228 |
+
'one' => '<img src="' . plugins_url( 'img/gtwo-one.png', __FILE__ ) . '" />',
|
229 |
+
'two' => '<img src="' . plugins_url( 'img/gtwo-two.png', __FILE__ ) . '" />',
|
230 |
+
);
|
231 |
+
return $field;
|
232 |
+
}
|
233 |
|
234 |
+
add_filter( 'acf/load_field/name=3_grid_layouts', 'acfb_three_grid_icons' );
|
235 |
+
function acfb_three_grid_icons( $field )
|
236 |
+
{
|
237 |
+
$field['choices'] = array(
|
238 |
+
'one' => '<img src="' . plugins_url( 'img/gthree-one.png', __FILE__ ) . '" />',
|
239 |
+
'two' => '<img src="' . plugins_url( 'img/gthree-two.png', __FILE__ ) . '" />',
|
240 |
+
'three' => '<img src="' . plugins_url( 'img/gthree-three.png', __FILE__ ) . '" />',
|
241 |
+
'four' => '<img src="' . plugins_url( 'img/gthree-four.png', __FILE__ ) . '" />',
|
242 |
+
'five' => '<img src="' . plugins_url( 'img/gthree-five.png', __FILE__ ) . '" />',
|
243 |
+
'six' => '<img src="' . plugins_url( 'img/gthree-six.png', __FILE__ ) . '" />',
|
244 |
+
);
|
245 |
+
return $field;
|
246 |
+
}
|
247 |
|
248 |
+
add_filter( 'acf/load_field/name=4_grid_layouts', 'acfb_four_grid_icons' );
|
249 |
+
function acfb_four_grid_icons( $field )
|
250 |
+
{
|
251 |
+
$field['choices'] = array(
|
252 |
+
'one' => '<img src="' . plugins_url( 'img/gfour-one.png', __FILE__ ) . '" />',
|
253 |
+
'two' => '<img src="' . plugins_url( 'img/gfour-two.png', __FILE__ ) . '" />',
|
254 |
+
'three' => '<img src="' . plugins_url( 'img/gfour-three.png', __FILE__ ) . '" />',
|
255 |
+
'four' => '<img src="' . plugins_url( 'img/gfour-four.png', __FILE__ ) . '" />',
|
256 |
+
'five' => '<img src="' . plugins_url( 'img/gfour-five.png', __FILE__ ) . '" />',
|
257 |
+
'six' => '<img src="' . plugins_url( 'img/gfour-six.png', __FILE__ ) . '" />',
|
258 |
+
'seven' => '<img src="' . plugins_url( 'img/gfour-seven.png', __FILE__ ) . '" />',
|
259 |
+
'eight' => '<img src="' . plugins_url( 'img/gfour-eight.png', __FILE__ ) . '" />',
|
260 |
+
'nine' => '<img src="' . plugins_url( 'img/gfour-nine.png', __FILE__ ) . '" />',
|
261 |
+
'ten' => '<img src="' . plugins_url( 'img/gfour-ten.png', __FILE__ ) . '" />',
|
262 |
+
'eleven' => '<img src="' . plugins_url( 'img/gfour-eleven.png', __FILE__ ) . '" />',
|
263 |
+
'twelve' => '<img src="' . plugins_url( 'img/gfour-twelve.png', __FILE__ ) . '" />',
|
264 |
+
'thirteen' => '<img src="' . plugins_url( 'img/gfour-thirteen.png', __FILE__ ) . '" />',
|
265 |
+
'fourteen' => '<img src="' . plugins_url( 'img/gfour-fourteen.png', __FILE__ ) . '" />',
|
266 |
+
'fifteen' => '<img src="' . plugins_url( 'img/gfour-fifteen.png', __FILE__ ) . '" />',
|
267 |
+
);
|
268 |
+
return $field;
|
269 |
+
}
|
270 |
|
271 |
+
add_filter( 'acf/load_field/name=social_network', 'Social_icons' );
|
272 |
+
function Social_icons( $field )
|
273 |
+
{
|
274 |
+
$field['choices'] = array(
|
275 |
+
'1' => '<svg class="acfb_social_icons acfb_social_facebook_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.77 7.46H14.5v-1.9c0-.9.6-1.1 1-1.1h3V.5h-4.33C10.24.5 9.5 3.44 9.5 5.32v2.15h-3v4h3v12h5v-12h3.85l.42-4z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
276 |
+
'2' => '<svg class="acfb_social_icons acfb_social_twitter_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M23.44 4.83c-.8.37-1.5.38-2.22.02.93-.56.98-.96 1.32-2.02-.88.52-1.86.9-2.9 1.1-.82-.88-2-1.43-3.3-1.43-2.5 0-4.55 2.04-4.55 4.54 0 .36.03.7.1 1.04-3.77-.2-7.12-2-9.36-4.75-.4.67-.6 1.45-.6 2.3 0 1.56.8 2.95 2 3.77-.74-.03-1.44-.23-2.05-.57v.06c0 2.2 1.56 4.03 3.64 4.44-.67.2-1.37.2-2.06.08.58 1.8 2.26 3.12 4.25 3.16C5.78 18.1 3.37 18.74 1 18.46c2 1.3 4.4 2.04 6.97 2.04 8.35 0 12.92-6.92 12.92-12.93 0-.2 0-.4-.02-.6.9-.63 1.96-1.22 2.56-2.14z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
277 |
+
'3' => '<svg class="acfb_social_icons acfb_social_email_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22 4H2C.9 4 0 4.9 0 6v12c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7.25 14.43l-3.5 2c-.08.05-.17.07-.25.07-.17 0-.34-.1-.43-.25-.14-.24-.06-.55.18-.68l3.5-2c.24-.14.55-.06.68.18.14.24.06.55-.18.68zm4.75.07c-.1 0-.2-.03-.27-.08l-8.5-5.5c-.23-.15-.3-.46-.15-.7.15-.22.46-.3.7-.14L12 13.4l8.23-5.32c.23-.15.54-.08.7.15.14.23.07.54-.16.7l-8.5 5.5c-.08.04-.17.07-.27.07zm8.93 1.75c-.1.16-.26.25-.43.25-.08 0-.17-.02-.25-.07l-3.5-2c-.24-.13-.32-.44-.18-.68s.44-.32.68-.18l3.5 2c.24.13.32.44.18.68z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
278 |
+
'4' => '<svg class="acfb_social_icons acfb_social_pinterest_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.14.5C5.86.5 2.7 5 2.7 8.75c0 2.27.86 4.3 2.7 5.05.3.12.57 0 .66-.33l.27-1.06c.1-.32.06-.44-.2-.73-.52-.62-.86-1.44-.86-2.6 0-3.33 2.5-6.32 6.5-6.32 3.55 0 5.5 2.17 5.5 5.07 0 3.8-1.7 7.02-4.2 7.02-1.37 0-2.4-1.14-2.07-2.54.4-1.68 1.16-3.48 1.16-4.7 0-1.07-.58-1.98-1.78-1.98-1.4 0-2.55 1.47-2.55 3.42 0 1.25.43 2.1.43 2.1l-1.7 7.2c-.5 2.13-.08 4.75-.04 5 .02.17.22.2.3.1.14-.18 1.82-2.26 2.4-4.33.16-.58.93-3.63.93-3.63.45.88 1.8 1.65 3.22 1.65 4.25 0 7.13-3.87 7.13-9.05C20.5 4.15 17.18.5 12.14.5z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
279 |
+
'5' => '<svg class="acfb_social_icons acfb_social_linkedin_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 21.5h-5v-13h5v13zM4 6.5C2.5 6.5 1.5 5.3 1.5 4s1-2.4 2.5-2.4c1.6 0 2.5 1 2.6 2.5 0 1.4-1 2.5-2.6 2.5zm11.5 6c-1 0-2 1-2 2v7h-5v-13h5V10s1.6-1.5 4-1.5c3 0 5 2.2 5 6.3v6.7h-5v-7c0-1-1-2-2-2z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
280 |
+
'6' => '<svg class="acfb_social_icons acfb_social_reddit_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M24 11.5c0-1.65-1.35-3-3-3-.96 0-1.86.48-2.42 1.24-1.64-1-3.75-1.64-6.07-1.72.08-1.1.4-3.05 1.52-3.7.72-.4 1.73-.24 3 .5C17.2 6.3 18.46 7.5 20 7.5c1.65 0 3-1.35 3-3s-1.35-3-3-3c-1.38 0-2.54.94-2.88 2.22-1.43-.72-2.64-.8-3.6-.25-1.64.94-1.95 3.47-2 4.55-2.33.08-4.45.7-6.1 1.72C4.86 8.98 3.96 8.5 3 8.5c-1.65 0-3 1.35-3 3 0 1.32.84 2.44 2.05 2.84-.03.22-.05.44-.05.66 0 3.86 4.5 7 10 7s10-3.14 10-7c0-.22-.02-.44-.05-.66 1.2-.4 2.05-1.54 2.05-2.84zM2.3 13.37C1.5 13.07 1 12.35 1 11.5c0-1.1.9-2 2-2 .64 0 1.22.32 1.6.82-1.1.85-1.92 1.9-2.3 3.05zm3.7.13c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zm9.8 4.8c-1.08.63-2.42.96-3.8.96-1.4 0-2.74-.34-3.8-.95-.24-.13-.32-.44-.2-.68.15-.24.46-.32.7-.18 1.83 1.06 4.76 1.06 6.6 0 .23-.13.53-.05.67.2.14.23.06.54-.18.67zm.2-2.8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm5.7-2.13c-.38-1.16-1.2-2.2-2.3-3.05.38-.5.97-.82 1.6-.82 1.1 0 2 .9 2 2 0 .84-.53 1.57-1.3 1.87z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
281 |
+
'7' => '<svg class="acfb_social_icons acfb_social_xing_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10.2 9.7l-3-5.4C7.2 4 7 4 6.8 4h-5c-.3 0-.4 0-.5.2v.5L4 10 .4 16v.5c0 .2.2.3.4.3h5c.3 0 .4 0 .5-.2l4-6.6v-.5zM24 .2l-.5-.2H18s-.2 0-.3.3l-8 14v.4l5.2 9c0 .2 0 .3.3.3h5.4s.3 0 .4-.2c.2-.2.2-.4 0-.5l-5-8.8L24 .7V.2z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
282 |
+
'8' => '<svg class="acfb_social_icons acfb_social_whatsapp_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.1 3.9C17.9 1.7 15 .5 12 .5 5.8.5.7 5.6.7 11.9c0 2 .5 3.9 1.5 5.6L.6 23.4l6-1.6c1.6.9 3.5 1.3 5.4 1.3 6.3 0 11.4-5.1 11.4-11.4-.1-2.8-1.2-5.7-3.3-7.8zM12 21.4c-1.7 0-3.3-.5-4.8-1.3l-.4-.2-3.5 1 1-3.4L4 17c-1-1.5-1.4-3.2-1.4-5.1 0-5.2 4.2-9.4 9.4-9.4 2.5 0 4.9 1 6.7 2.8 1.8 1.8 2.8 4.2 2.8 6.7-.1 5.2-4.3 9.4-9.5 9.4zm5.1-7.1c-.3-.1-1.7-.9-1.9-1-.3-.1-.5-.1-.7.1-.2.3-.8 1-.9 1.1-.2.2-.3.2-.6.1s-1.2-.5-2.3-1.4c-.9-.8-1.4-1.7-1.6-2-.2-.3 0-.5.1-.6s.3-.3.4-.5c.2-.1.3-.3.4-.5.1-.2 0-.4 0-.5C10 9 9.3 7.6 9 7c-.1-.4-.4-.3-.5-.3h-.6s-.4.1-.7.3c-.3.3-1 1-1 2.4s1 2.8 1.1 3c.1.2 2 3.1 4.9 4.3.7.3 1.2.5 1.6.6.7.2 1.3.2 1.8.1.6-.1 1.7-.7 1.9-1.3.2-.7.2-1.2.2-1.3-.1-.3-.3-.4-.6-.5z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
283 |
+
'9' => '<svg class="acfb_social_icons acfb_social_hackernews_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 140"><path fill-rule="evenodd" d="M60.94 82.314L17 0h20.08l25.85 52.093c.397.927.86 1.888 1.39 2.883.53.994.995 2.02 1.393 3.08.265.4.463.764.596 1.095.13.334.262.63.395.898.662 1.325 1.26 2.618 1.79 3.877.53 1.26.993 2.42 1.39 3.48 1.06-2.254 2.22-4.673 3.48-7.258 1.26-2.585 2.552-5.27 3.877-8.052L103.49 0h18.69L77.84 83.308v53.087h-16.9v-54.08z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
284 |
+
'10' => '<svg class="acfb_social_icons acfb_social_vk_main" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21.547 7h-3.29a.743.743 0 0 0-.655.392s-1.312 2.416-1.734 3.23C14.734 12.813 14 12.126 14 11.11V7.603A1.104 1.104 0 0 0 12.896 6.5h-2.474a1.982 1.982 0 0 0-1.75.813s1.255-.204 1.255 1.49c0 .42.022 1.626.04 2.64a.73.73 0 0 1-1.272.503 21.54 21.54 0 0 1-2.498-4.543.693.693 0 0 0-.63-.403h-2.99a.508.508 0 0 0-.48.685C3.005 10.175 6.918 18 11.38 18h1.878a.742.742 0 0 0 .742-.742v-1.135a.73.73 0 0 1 1.23-.53l2.247 2.112a1.09 1.09 0 0 0 .746.295h2.953c1.424 0 1.424-.988.647-1.753-.546-.538-2.518-2.617-2.518-2.617a1.02 1.02 0 0 1-.078-1.323c.637-.84 1.68-2.212 2.122-2.8.603-.804 1.697-2.507.197-2.507z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
285 |
+
'11' => '<svg class="acfb_social_icons acfb_social_telegram_main"xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M.707 8.475C.275 8.64 0 9.508 0 9.508s.284.867.718 1.03l5.09 1.897 1.986 6.38a1.102 1.102 0 0 0 1.75.527l2.96-2.41a.405.405 0 0 1 .494-.013l5.34 3.87a1.1 1.1 0 0 0 1.046.135 1.1 1.1 0 0 0 .682-.803l3.91-18.795A1.102 1.102 0 0 0 22.5.075L.706 8.475z" stroke="none" fill="#666666" stroke-width="2px"/></svg>',
|
286 |
+
);
|
287 |
+
return $field;
|
288 |
+
}
|
289 |
|
290 |
+
add_filter( 'acf/load_field/name=acfb_post_tiled_collage_three_grid_layouts', 'acfb_post_tiled_three_grid_icons' );
|
291 |
+
function acfb_post_tiled_three_grid_icons( $field )
|
292 |
+
{
|
293 |
+
$field['choices'] = array(
|
294 |
+
'one' => '<img src="' . plugins_url( 'img/gthree-three.png', __FILE__ ) . '" />',
|
295 |
+
);
|
296 |
+
return $field;
|
297 |
+
}
|
298 |
|
299 |
+
add_filter( 'acf/load_field/name=acfb_post_tiled_collage_four_grid_layouts', 'acfb_post_tiled_four_grid_icons' );
|
300 |
+
function acfb_post_tiled_four_grid_icons( $field )
|
301 |
+
{
|
302 |
+
$field['choices'] = array(
|
303 |
+
'one' => '<img src="' . plugins_url( 'img/c-gfour-1.png', __FILE__ ) . '" />',
|
304 |
+
'two' => '<img src="' . plugins_url( 'img/c-gfour-2.png', __FILE__ ) . '" />',
|
305 |
+
);
|
306 |
+
return $field;
|
307 |
+
}
|
308 |
|
309 |
+
add_filter( 'acf/load_field/name=acfb_post_tiled_collage_five_grid_layouts', 'acfb_post_tiled_five_grid_icons' );
|
310 |
+
function acfb_post_tiled_five_grid_icons( $field )
|
311 |
+
{
|
312 |
+
$field['choices'] = array(
|
313 |
+
'one' => '<img src="' . plugins_url( 'img/c-gfive-1.png', __FILE__ ) . '" />',
|
314 |
+
'two' => '<img src="' . plugins_url( 'img/c-gfive-2.png', __FILE__ ) . '" />',
|
315 |
+
'three' => '<img src="' . plugins_url( 'img/c-gfive-3.png', __FILE__ ) . '" />',
|
316 |
+
);
|
317 |
+
return $field;
|
318 |
+
}
|
319 |
|
320 |
+
// Hexa Color Convert To Rgb or Rgba
|
321 |
+
function hex2rgba( $color, $opacity = false )
|
322 |
+
{
|
323 |
+
$default = 'rgb(0,0,0)';
|
324 |
+
//Return default if no color provided
|
325 |
+
if ( empty($color) ) {
|
326 |
+
return $default;
|
327 |
+
}
|
328 |
+
//Sanitize $color if "#" is provided
|
329 |
+
if ( $color[0] == '#' ) {
|
330 |
+
$color = substr( $color, 1 );
|
331 |
+
}
|
332 |
+
//Check if color has 6 or 3 characters and get values
|
333 |
+
|
334 |
+
if ( strlen( $color ) == 6 ) {
|
335 |
+
$hex = array( $color[0] . $color[1], $color[2] . $color[3], $color[4] . $color[5] );
|
336 |
+
} elseif ( strlen( $color ) == 3 ) {
|
337 |
+
$hex = array( $color[0] . $color[0], $color[1] . $color[1], $color[2] . $color[2] );
|
338 |
+
} else {
|
339 |
+
return $default;
|
340 |
+
}
|
341 |
+
|
342 |
+
//Convert hexadec to rgb
|
343 |
+
$rgb = array_map( 'hexdec', $hex );
|
344 |
+
//Check if opacity is set(rgba or rgb)
|
345 |
+
|
346 |
+
if ( $opacity ) {
|
347 |
+
if ( abs( $opacity ) > 1 ) {
|
348 |
+
$opacity = 1.0;
|
349 |
+
}
|
350 |
+
$output = 'rgba(' . implode( ",", $rgb ) . ',' . $opacity . ')';
|
351 |
+
} else {
|
352 |
+
$output = 'rgb(' . implode( ",", $rgb ) . ')';
|
353 |
+
}
|
354 |
+
|
355 |
+
//Return rgb(a) color string
|
356 |
+
return $output;
|
357 |
}
|
358 |
+
|
359 |
+
// Post type Select Box Filter
|
360 |
+
function acfb_get_post_type( $field )
|
361 |
+
{
|
362 |
+
$args = array(
|
363 |
+
'public' => true,
|
364 |
+
);
|
365 |
+
$posttype = get_post_types( $args );
|
366 |
+
if ( in_array( "attachment", $posttype ) ) {
|
367 |
+
unset( $posttype['attachment'] );
|
368 |
+
}
|
369 |
+
$posttype_items = array();
|
370 |
+
foreach ( $posttype as $posttypeitem ) {
|
371 |
+
$posttype_items[$posttypeitem] = $posttypeitem;
|
372 |
+
}
|
373 |
+
$field['choices'] = $posttype_items;
|
374 |
+
return $field;
|
375 |
+
}
|
376 |
+
|
377 |
+
add_filter( 'acf/load_field/name=acfb_post_type', 'acfb_get_post_type' );
|
378 |
+
// Taxonomy Select Box Filter
|
379 |
+
// function acfb_get_post_taxanomy( $field ) {
|
380 |
+
// $taxonomies = get_object_taxonomies( 'post' );
|
381 |
+
// $tax_items = array();
|
382 |
+
// foreach($taxonomies as $taxonomy) {
|
383 |
+
// $tax_items[] = $taxonomy;
|
384 |
+
// }
|
385 |
+
// $field['choices'] = $tax_items;
|
386 |
+
// return $field;
|
387 |
+
// }
|
388 |
+
// add_filter('acf/load_field/name=acfb_taxonomy', 'acfb_get_post_taxanomy');
|
389 |
+
// Terms Select Box Filter
|
390 |
+
// function acfb_get_post_terms( $field ) {
|
391 |
+
// $terms = get_terms([
|
392 |
+
// 'taxonomy' => 'category',
|
393 |
+
// 'hide_empty' => false,
|
394 |
+
// ]);
|
395 |
+
// $items = array();
|
396 |
+
// foreach($terms as $term) {
|
397 |
+
// $items[] = $term->name;
|
398 |
+
// }
|
399 |
+
// $field['choices'] = $items;
|
400 |
+
// return $field;
|
401 |
+
// }
|
402 |
+
// add_filter('acf/load_field/name=acfb_taxonomy_terms', 'acfb_get_post_terms');
|
403 |
+
// Template Overide
|
404 |
+
function acf_blocks_template( $block )
|
405 |
+
{
|
406 |
+
$acfb_temp = str_replace( "acf/", "", $block['name'] );
|
407 |
+
// Look for a file in theme
|
408 |
+
|
409 |
+
if ( $theme_template = locate_template( 'block-templates/' . $acfb_temp . '.php' ) ) {
|
410 |
+
require $theme_template;
|
411 |
+
} else {
|
412 |
+
// Nothing found, let's look in our plugin
|
413 |
+
$free_template = plugin_dir_path( __FILE__ ) . 'block-templates/free/' . $acfb_temp . '.php';
|
414 |
+
$pro_template = plugin_dir_path( __FILE__ ) . 'block-templates/pro/' . $acfb_temp . '.php';
|
415 |
+
if ( file_exists( $free_template ) ) {
|
416 |
+
require $free_template;
|
417 |
+
}
|
418 |
+
if ( file_exists( $pro_template ) ) {
|
419 |
+
require $pro_template;
|
420 |
+
}
|
421 |
+
}
|
422 |
+
|
423 |
+
}
|
424 |
+
|
425 |
+
// Admin Page
|
426 |
+
if ( file_exists( plugin_dir_path( __FILE__ ) . '/admin/class-acf-admin-page.php' ) ) {
|
427 |
+
require_once plugin_dir_path( __FILE__ ) . '/admin/class-acf-admin-page.php';
|
428 |
+
}
|
429 |
+
add_action( 'admin_enqueue_scripts', 'acfb_admin_styles' );
|
430 |
+
function acfb_admin_styles()
|
431 |
+
{
|
432 |
+
wp_enqueue_style(
|
433 |
+
'admin_css_foo',
|
434 |
+
plugin_dir_url( __FILE__ ) . '/admin/admin-styles.css',
|
435 |
+
false,
|
436 |
+
'1.0.0'
|
437 |
+
);
|
438 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
439 |
|
|
|
440 |
}
|
441 |
|
442 |
+
// freemius end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
acf-json/group_5cbd743876860.json
CHANGED
@@ -1,297 +1,356 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
{
|
2 |
+
"key": "group_5cbd743876860",
|
3 |
+
"title": "Testimonials Block",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5cc81f63ae3fb",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5cbd749b53ab6",
|
23 |
+
"label": "Text",
|
24 |
+
"name": "acfb_testimonial_text",
|
25 |
+
"type": "textarea",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"default_value": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris",
|
35 |
+
"placeholder": "",
|
36 |
+
"maxlength": "",
|
37 |
+
"rows": "",
|
38 |
+
"new_lines": ""
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"key": "field_5cbd74eb53ab7",
|
42 |
+
"label": "Image",
|
43 |
+
"name": "acfb_testimonial_image",
|
44 |
+
"type": "image",
|
45 |
+
"instructions": "",
|
46 |
+
"required": 0,
|
47 |
+
"conditional_logic": 0,
|
48 |
+
"wrapper": {
|
49 |
+
"width": "",
|
50 |
+
"class": "",
|
51 |
+
"id": ""
|
52 |
+
},
|
53 |
+
"return_format": "url",
|
54 |
+
"preview_size": "thumbnail",
|
55 |
+
"library": "all",
|
56 |
+
"min_width": "",
|
57 |
+
"min_height": "",
|
58 |
+
"min_size": "",
|
59 |
+
"max_width": "",
|
60 |
+
"max_height": "",
|
61 |
+
"max_size": "",
|
62 |
+
"mime_types": ""
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"key": "field_5cbd844b488e6",
|
66 |
+
"label": "Image Alt",
|
67 |
+
"name": "acfb_testimonial_image_alt",
|
68 |
+
"type": "text",
|
69 |
+
"instructions": "",
|
70 |
+
"required": 0,
|
71 |
+
"conditional_logic": 0,
|
72 |
+
"wrapper": {
|
73 |
+
"width": "",
|
74 |
+
"class": "",
|
75 |
+
"id": ""
|
76 |
+
},
|
77 |
+
"default_value": "Avatar",
|
78 |
+
"placeholder": "Avatar",
|
79 |
+
"prepend": "",
|
80 |
+
"append": "",
|
81 |
+
"maxlength": ""
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"key": "field_5dc5217032c37",
|
85 |
+
"label": "Image Position",
|
86 |
+
"name": "acfb_testimonial_image_position",
|
87 |
+
"type": "button_group",
|
88 |
+
"instructions": "",
|
89 |
+
"required": 0,
|
90 |
+
"conditional_logic": 0,
|
91 |
+
"wrapper": {
|
92 |
+
"width": "",
|
93 |
+
"class": "",
|
94 |
+
"id": ""
|
95 |
+
},
|
96 |
+
"choices": {
|
97 |
+
"acfb_testimonial_image_top": "Top",
|
98 |
+
"acfb_testimonial_image_left": "Left"
|
99 |
+
},
|
100 |
+
"allow_null": 0,
|
101 |
+
"default_value": "acfb_testimonial_image_left",
|
102 |
+
"layout": "horizontal",
|
103 |
+
"return_format": "value"
|
104 |
+
},
|
105 |
+
{
|
106 |
+
"key": "field_5cbd752e53ab8",
|
107 |
+
"label": "Name",
|
108 |
+
"name": "acfb_testimonial_name",
|
109 |
+
"type": "text",
|
110 |
+
"instructions": "",
|
111 |
+
"required": 0,
|
112 |
+
"conditional_logic": 0,
|
113 |
+
"wrapper": {
|
114 |
+
"width": "",
|
115 |
+
"class": "",
|
116 |
+
"id": ""
|
117 |
+
},
|
118 |
+
"default_value": "Name Here",
|
119 |
+
"placeholder": "Name Here",
|
120 |
+
"prepend": "",
|
121 |
+
"append": "",
|
122 |
+
"maxlength": ""
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"key": "field_5cbd753753ab9",
|
126 |
+
"label": "Position",
|
127 |
+
"name": "acfb_testimonial_position",
|
128 |
+
"type": "text",
|
129 |
+
"instructions": "",
|
130 |
+
"required": 0,
|
131 |
+
"conditional_logic": 0,
|
132 |
+
"wrapper": {
|
133 |
+
"width": "",
|
134 |
+
"class": "",
|
135 |
+
"id": ""
|
136 |
+
},
|
137 |
+
"default_value": "Position",
|
138 |
+
"placeholder": "Position",
|
139 |
+
"prepend": "",
|
140 |
+
"append": "",
|
141 |
+
"maxlength": ""
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"key": "field_5dc5442eba35e",
|
145 |
+
"label": "Alignment",
|
146 |
+
"name": "acfb_testimonial_alignment",
|
147 |
+
"type": "button_group",
|
148 |
+
"instructions": "",
|
149 |
+
"required": 0,
|
150 |
+
"conditional_logic": 0,
|
151 |
+
"wrapper": {
|
152 |
+
"width": "",
|
153 |
+
"class": "",
|
154 |
+
"id": ""
|
155 |
+
},
|
156 |
+
"choices": {
|
157 |
+
"left": "<span class=\"dashicons dashicons-editor-alignleft\"><\/span>",
|
158 |
+
"center": "<span class=\"dashicons dashicons-editor-aligncenter\"><\/span>",
|
159 |
+
"right": "<span class=\"dashicons dashicons-editor-alignright\"><\/span>"
|
160 |
+
},
|
161 |
+
"allow_null": 0,
|
162 |
+
"default_value": "left",
|
163 |
+
"layout": "horizontal",
|
164 |
+
"return_format": "value"
|
165 |
+
},
|
166 |
+
{
|
167 |
+
"key": "field_5cc81fc1ae3fc",
|
168 |
+
"label": "Design",
|
169 |
+
"name": "",
|
170 |
+
"type": "tab",
|
171 |
+
"instructions": "",
|
172 |
+
"required": 0,
|
173 |
+
"conditional_logic": 0,
|
174 |
+
"wrapper": {
|
175 |
+
"width": "",
|
176 |
+
"class": "",
|
177 |
+
"id": ""
|
178 |
+
},
|
179 |
+
"placement": "top",
|
180 |
+
"endpoint": 0
|
181 |
+
},
|
182 |
+
{
|
183 |
+
"key": "field_5cbd95e83fdd9",
|
184 |
+
"label": "Background Color",
|
185 |
+
"name": "acfb_testimonial_background_color",
|
186 |
+
"type": "color_picker",
|
187 |
+
"instructions": "",
|
188 |
+
"required": 0,
|
189 |
+
"conditional_logic": 0,
|
190 |
+
"wrapper": {
|
191 |
+
"width": "",
|
192 |
+
"class": "",
|
193 |
+
"id": ""
|
194 |
+
},
|
195 |
+
"default_value": "#f3f4f5"
|
196 |
+
},
|
197 |
+
{
|
198 |
+
"key": "field_5cbd960d3fdda",
|
199 |
+
"label": "Text Color",
|
200 |
+
"name": "acfb_testimonial_text_color",
|
201 |
+
"type": "color_picker",
|
202 |
+
"instructions": "",
|
203 |
+
"required": 0,
|
204 |
+
"conditional_logic": 0,
|
205 |
+
"wrapper": {
|
206 |
+
"width": "",
|
207 |
+
"class": "",
|
208 |
+
"id": ""
|
209 |
+
},
|
210 |
+
"default_value": "#191e23"
|
211 |
+
},
|
212 |
+
{
|
213 |
+
"key": "field_5cbd96f33fddc",
|
214 |
+
"label": "Text Size",
|
215 |
+
"name": "acfb_testimonial_text_size",
|
216 |
+
"type": "range",
|
217 |
+
"instructions": "",
|
218 |
+
"required": 0,
|
219 |
+
"conditional_logic": 0,
|
220 |
+
"wrapper": {
|
221 |
+
"width": "",
|
222 |
+
"class": "",
|
223 |
+
"id": ""
|
224 |
+
},
|
225 |
+
"default_value": 18,
|
226 |
+
"min": "",
|
227 |
+
"max": 200,
|
228 |
+
"step": "",
|
229 |
+
"prepend": "",
|
230 |
+
"append": "px"
|
231 |
+
},
|
232 |
+
{
|
233 |
+
"key": "field_5cbd967a3fddb",
|
234 |
+
"label": "Image Size",
|
235 |
+
"name": "acfb_testimonial_image_size",
|
236 |
+
"type": "range",
|
237 |
+
"instructions": "",
|
238 |
+
"required": 0,
|
239 |
+
"conditional_logic": 0,
|
240 |
+
"wrapper": {
|
241 |
+
"width": "",
|
242 |
+
"class": "",
|
243 |
+
"id": ""
|
244 |
+
},
|
245 |
+
"default_value": 55,
|
246 |
+
"min": "",
|
247 |
+
"max": 200,
|
248 |
+
"step": "",
|
249 |
+
"prepend": "",
|
250 |
+
"append": "px"
|
251 |
+
},
|
252 |
+
{
|
253 |
+
"key": "field_5dc42ebadf2d6",
|
254 |
+
"label": "Image Border Color",
|
255 |
+
"name": "acfb_testimonial_image_border_color",
|
256 |
+
"type": "color_picker",
|
257 |
+
"instructions": "",
|
258 |
+
"required": 0,
|
259 |
+
"conditional_logic": 0,
|
260 |
+
"wrapper": {
|
261 |
+
"width": "",
|
262 |
+
"class": "",
|
263 |
+
"id": ""
|
264 |
+
},
|
265 |
+
"default_value": "#000000"
|
266 |
+
},
|
267 |
+
{
|
268 |
+
"key": "field_5cbd97143fddd",
|
269 |
+
"label": "Name Color",
|
270 |
+
"name": "acfb_testimonial_name_color",
|
271 |
+
"type": "color_picker",
|
272 |
+
"instructions": "",
|
273 |
+
"required": 0,
|
274 |
+
"conditional_logic": 0,
|
275 |
+
"wrapper": {
|
276 |
+
"width": "",
|
277 |
+
"class": "",
|
278 |
+
"id": ""
|
279 |
+
},
|
280 |
+
"default_value": "#191e23"
|
281 |
+
},
|
282 |
+
{
|
283 |
+
"key": "field_5cbd97423fdde",
|
284 |
+
"label": "Name Size",
|
285 |
+
"name": "acfb_testimonial_name_size",
|
286 |
+
"type": "range",
|
287 |
+
"instructions": "",
|
288 |
+
"required": 0,
|
289 |
+
"conditional_logic": 0,
|
290 |
+
"wrapper": {
|
291 |
+
"width": "",
|
292 |
+
"class": "",
|
293 |
+
"id": ""
|
294 |
+
},
|
295 |
+
"default_value": 18,
|
296 |
+
"min": "",
|
297 |
+
"max": 200,
|
298 |
+
"step": "",
|
299 |
+
"prepend": "",
|
300 |
+
"append": "px"
|
301 |
+
},
|
302 |
+
{
|
303 |
+
"key": "field_5cbd977a3fddf",
|
304 |
+
"label": "Position Color",
|
305 |
+
"name": "acfb_testimonial_position_color",
|
306 |
+
"type": "color_picker",
|
307 |
+
"instructions": "",
|
308 |
+
"required": 0,
|
309 |
+
"conditional_logic": 0,
|
310 |
+
"wrapper": {
|
311 |
+
"width": "",
|
312 |
+
"class": "",
|
313 |
+
"id": ""
|
314 |
+
},
|
315 |
+
"default_value": "#191e23"
|
316 |
+
},
|
317 |
+
{
|
318 |
+
"key": "field_5cbd979b3fde0",
|
319 |
+
"label": "Position Size",
|
320 |
+
"name": "acfb_testimonial_position_size",
|
321 |
+
"type": "range",
|
322 |
+
"instructions": "",
|
323 |
+
"required": 0,
|
324 |
+
"conditional_logic": 0,
|
325 |
+
"wrapper": {
|
326 |
+
"width": "",
|
327 |
+
"class": "",
|
328 |
+
"id": ""
|
329 |
+
},
|
330 |
+
"default_value": 14,
|
331 |
+
"min": "",
|
332 |
+
"max": 200,
|
333 |
+
"step": "",
|
334 |
+
"prepend": "",
|
335 |
+
"append": "px"
|
336 |
+
}
|
337 |
+
],
|
338 |
+
"location": [
|
339 |
+
[
|
340 |
+
{
|
341 |
+
"param": "block",
|
342 |
+
"operator": "==",
|
343 |
+
"value": "acf\/acfb-testimonial"
|
344 |
+
}
|
345 |
+
]
|
346 |
+
],
|
347 |
+
"menu_order": 0,
|
348 |
+
"position": "normal",
|
349 |
+
"style": "default",
|
350 |
+
"label_placement": "top",
|
351 |
+
"instruction_placement": "label",
|
352 |
+
"hide_on_screen": "",
|
353 |
+
"active": 1,
|
354 |
+
"description": "",
|
355 |
+
"modified": 1573209881
|
356 |
+
}
|
acf-json/group_5cbd9e696a100.json
CHANGED
@@ -1,322 +1,405 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
{
|
2 |
+
"key": "group_5cbd9e696a100",
|
3 |
+
"title": "Team Block",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5cc828ec4ea06",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5cbda662bd5e1",
|
23 |
+
"label": "Image",
|
24 |
+
"name": "acfb_team_image",
|
25 |
+
"type": "image",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"return_format": "url",
|
35 |
+
"preview_size": "medium",
|
36 |
+
"library": "all",
|
37 |
+
"min_width": "",
|
38 |
+
"min_height": "",
|
39 |
+
"min_size": "",
|
40 |
+
"max_width": "",
|
41 |
+
"max_height": "",
|
42 |
+
"max_size": "",
|
43 |
+
"mime_types": ""
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"key": "field_5cbda572fa5ba",
|
47 |
+
"label": "Image Position",
|
48 |
+
"name": "acfb_team_image_position",
|
49 |
+
"type": "select",
|
50 |
+
"instructions": "",
|
51 |
+
"required": 0,
|
52 |
+
"conditional_logic": 0,
|
53 |
+
"wrapper": {
|
54 |
+
"width": "",
|
55 |
+
"class": "",
|
56 |
+
"id": ""
|
57 |
+
},
|
58 |
+
"choices": {
|
59 |
+
"top": "top",
|
60 |
+
"left": "left"
|
61 |
+
},
|
62 |
+
"default_value": [
|
63 |
+
"top"
|
64 |
+
],
|
65 |
+
"allow_null": 0,
|
66 |
+
"multiple": 0,
|
67 |
+
"ui": 0,
|
68 |
+
"return_format": "value",
|
69 |
+
"ajax": 0,
|
70 |
+
"placeholder": ""
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"key": "field_5cbda70c97bc3",
|
74 |
+
"label": "Image Alt",
|
75 |
+
"name": "acfb_team_image_alt",
|
76 |
+
"type": "text",
|
77 |
+
"instructions": "",
|
78 |
+
"required": 0,
|
79 |
+
"conditional_logic": 0,
|
80 |
+
"wrapper": {
|
81 |
+
"width": "",
|
82 |
+
"class": "",
|
83 |
+
"id": ""
|
84 |
+
},
|
85 |
+
"default_value": "Avatar",
|
86 |
+
"placeholder": "Avatar",
|
87 |
+
"prepend": "",
|
88 |
+
"append": "",
|
89 |
+
"maxlength": ""
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"key": "field_5dcbf676f700e",
|
93 |
+
"label": "Image Alignment",
|
94 |
+
"name": "acfb_team_image_v_alignment",
|
95 |
+
"type": "button_group",
|
96 |
+
"instructions": "",
|
97 |
+
"required": 0,
|
98 |
+
"conditional_logic": [
|
99 |
+
[
|
100 |
+
{
|
101 |
+
"field": "field_5cbda572fa5ba",
|
102 |
+
"operator": "==",
|
103 |
+
"value": "left"
|
104 |
+
}
|
105 |
+
]
|
106 |
+
],
|
107 |
+
"wrapper": {
|
108 |
+
"width": "",
|
109 |
+
"class": "",
|
110 |
+
"id": ""
|
111 |
+
},
|
112 |
+
"choices": {
|
113 |
+
"flex-start": "Top",
|
114 |
+
"center": "Center",
|
115 |
+
"flex-end": "Bottom"
|
116 |
+
},
|
117 |
+
"allow_null": 0,
|
118 |
+
"default_value": "center",
|
119 |
+
"layout": "horizontal",
|
120 |
+
"return_format": "value"
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"key": "field_5cbda67ebd5e2",
|
124 |
+
"label": "Name",
|
125 |
+
"name": "acfb_team_name",
|
126 |
+
"type": "text",
|
127 |
+
"instructions": "",
|
128 |
+
"required": 0,
|
129 |
+
"conditional_logic": 0,
|
130 |
+
"wrapper": {
|
131 |
+
"width": "",
|
132 |
+
"class": "",
|
133 |
+
"id": ""
|
134 |
+
},
|
135 |
+
"default_value": "Name Here",
|
136 |
+
"placeholder": "Name Here",
|
137 |
+
"prepend": "",
|
138 |
+
"append": "",
|
139 |
+
"maxlength": ""
|
140 |
+
},
|
141 |
+
{
|
142 |
+
"key": "field_5cbda699bd5e3",
|
143 |
+
"label": "Position",
|
144 |
+
"name": "acfb_team_position",
|
145 |
+
"type": "text",
|
146 |
+
"instructions": "",
|
147 |
+
"required": 0,
|
148 |
+
"conditional_logic": 0,
|
149 |
+
"wrapper": {
|
150 |
+
"width": "",
|
151 |
+
"class": "",
|
152 |
+
"id": ""
|
153 |
+
},
|
154 |
+
"default_value": "Position",
|
155 |
+
"placeholder": "Position",
|
156 |
+
"prepend": "",
|
157 |
+
"append": "",
|
158 |
+
"maxlength": ""
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"key": "field_5cbda6a8bd5e4",
|
162 |
+
"label": "Description",
|
163 |
+
"name": "acfb_team_description",
|
164 |
+
"type": "textarea",
|
165 |
+
"instructions": "",
|
166 |
+
"required": 0,
|
167 |
+
"conditional_logic": 0,
|
168 |
+
"wrapper": {
|
169 |
+
"width": "",
|
170 |
+
"class": "",
|
171 |
+
"id": ""
|
172 |
+
},
|
173 |
+
"default_value": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris",
|
174 |
+
"placeholder": "",
|
175 |
+
"maxlength": "",
|
176 |
+
"rows": "",
|
177 |
+
"new_lines": ""
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"key": "field_5dcbec4baf510",
|
181 |
+
"label": "Content Horizontal Alignment",
|
182 |
+
"name": "acfb_team_ha",
|
183 |
+
"type": "button_group",
|
184 |
+
"instructions": "",
|
185 |
+
"required": 0,
|
186 |
+
"conditional_logic": [
|
187 |
+
[
|
188 |
+
{
|
189 |
+
"field": "field_5cbda572fa5ba",
|
190 |
+
"operator": "==",
|
191 |
+
"value": "top"
|
192 |
+
}
|
193 |
+
]
|
194 |
+
],
|
195 |
+
"wrapper": {
|
196 |
+
"width": "",
|
197 |
+
"class": "",
|
198 |
+
"id": ""
|
199 |
+
},
|
200 |
+
"choices": {
|
201 |
+
"flex-start": "Left",
|
202 |
+
"center": "Center",
|
203 |
+
"flex-end": "Right"
|
204 |
+
},
|
205 |
+
"allow_null": 0,
|
206 |
+
"default_value": "center",
|
207 |
+
"layout": "horizontal",
|
208 |
+
"return_format": "value"
|
209 |
+
},
|
210 |
+
{
|
211 |
+
"key": "field_5cc8292d4ea07",
|
212 |
+
"label": "Design",
|
213 |
+
"name": "",
|
214 |
+
"type": "tab",
|
215 |
+
"instructions": "",
|
216 |
+
"required": 0,
|
217 |
+
"conditional_logic": 0,
|
218 |
+
"wrapper": {
|
219 |
+
"width": "",
|
220 |
+
"class": "",
|
221 |
+
"id": ""
|
222 |
+
},
|
223 |
+
"placement": "top",
|
224 |
+
"endpoint": 0
|
225 |
+
},
|
226 |
+
{
|
227 |
+
"key": "field_5cbdb1729c361",
|
228 |
+
"label": "Background Color",
|
229 |
+
"name": "acfb_team_background_color",
|
230 |
+
"type": "color_picker",
|
231 |
+
"instructions": "",
|
232 |
+
"required": 0,
|
233 |
+
"conditional_logic": 0,
|
234 |
+
"wrapper": {
|
235 |
+
"width": "",
|
236 |
+
"class": "",
|
237 |
+
"id": ""
|
238 |
+
},
|
239 |
+
"default_value": "#f3f4f5"
|
240 |
+
},
|
241 |
+
{
|
242 |
+
"key": "field_5cbdb1ba9c362",
|
243 |
+
"label": "Image Size",
|
244 |
+
"name": "acfb_team_image_size",
|
245 |
+
"type": "range",
|
246 |
+
"instructions": "",
|
247 |
+
"required": 0,
|
248 |
+
"conditional_logic": 0,
|
249 |
+
"wrapper": {
|
250 |
+
"width": "",
|
251 |
+
"class": "",
|
252 |
+
"id": ""
|
253 |
+
},
|
254 |
+
"default_value": 150,
|
255 |
+
"min": "",
|
256 |
+
"max": 500,
|
257 |
+
"step": "",
|
258 |
+
"prepend": "",
|
259 |
+
"append": "px"
|
260 |
+
},
|
261 |
+
{
|
262 |
+
"key": "field_5dcbeb17af50e",
|
263 |
+
"label": "Image Radius",
|
264 |
+
"name": "acfb_team_image_radius",
|
265 |
+
"type": "range",
|
266 |
+
"instructions": "",
|
267 |
+
"required": 0,
|
268 |
+
"conditional_logic": 0,
|
269 |
+
"wrapper": {
|
270 |
+
"width": "",
|
271 |
+
"class": "",
|
272 |
+
"id": ""
|
273 |
+
},
|
274 |
+
"default_value": 100,
|
275 |
+
"min": "",
|
276 |
+
"max": "",
|
277 |
+
"step": "",
|
278 |
+
"prepend": "",
|
279 |
+
"append": "%"
|
280 |
+
},
|
281 |
+
{
|
282 |
+
"key": "field_5cbdb1fb9c363",
|
283 |
+
"label": "Name Color",
|
284 |
+
"name": "acfb_team_name_color",
|
285 |
+
"type": "color_picker",
|
286 |
+
"instructions": "",
|
287 |
+
"required": 0,
|
288 |
+
"conditional_logic": 0,
|
289 |
+
"wrapper": {
|
290 |
+
"width": "",
|
291 |
+
"class": "",
|
292 |
+
"id": ""
|
293 |
+
},
|
294 |
+
"default_value": "#191e23"
|
295 |
+
},
|
296 |
+
{
|
297 |
+
"key": "field_5cbdb2429c364",
|
298 |
+
"label": "Name Size",
|
299 |
+
"name": "acfb_team_name_size",
|
300 |
+
"type": "range",
|
301 |
+
"instructions": "",
|
302 |
+
"required": 0,
|
303 |
+
"conditional_logic": 0,
|
304 |
+
"wrapper": {
|
305 |
+
"width": "",
|
306 |
+
"class": "",
|
307 |
+
"id": ""
|
308 |
+
},
|
309 |
+
"default_value": 25,
|
310 |
+
"min": "",
|
311 |
+
"max": 200,
|
312 |
+
"step": "",
|
313 |
+
"prepend": "",
|
314 |
+
"append": "px"
|
315 |
+
},
|
316 |
+
{
|
317 |
+
"key": "field_5cbdb2749c365",
|
318 |
+
"label": "Position Color",
|
319 |
+
"name": "acfb_team_position_color",
|
320 |
+
"type": "color_picker",
|
321 |
+
"instructions": "",
|
322 |
+
"required": 0,
|
323 |
+
"conditional_logic": 0,
|
324 |
+
"wrapper": {
|
325 |
+
"width": "",
|
326 |
+
"class": "",
|
327 |
+
"id": ""
|
328 |
+
},
|
329 |
+
"default_value": "#191e23"
|
330 |
+
},
|
331 |
+
{
|
332 |
+
"key": "field_5cbdb2a39c366",
|
333 |
+
"label": "Position Size",
|
334 |
+
"name": "acfb_team_position_size",
|
335 |
+
"type": "range",
|
336 |
+
"instructions": "",
|
337 |
+
"required": 0,
|
338 |
+
"conditional_logic": 0,
|
339 |
+
"wrapper": {
|
340 |
+
"width": "",
|
341 |
+
"class": "",
|
342 |
+
"id": ""
|
343 |
+
},
|
344 |
+
"default_value": 18,
|
345 |
+
"min": "",
|
346 |
+
"max": 200,
|
347 |
+
"step": "",
|
348 |
+
"prepend": "",
|
349 |
+
"append": "px"
|
350 |
+
},
|
351 |
+
{
|
352 |
+
"key": "field_5cbdb2da9c367",
|
353 |
+
"label": "Description Color",
|
354 |
+
"name": "acfb_team_description_color",
|
355 |
+
"type": "color_picker",
|
356 |
+
"instructions": "",
|
357 |
+
"required": 0,
|
358 |
+
"conditional_logic": 0,
|
359 |
+
"wrapper": {
|
360 |
+
"width": "",
|
361 |
+
"class": "",
|
362 |
+
"id": ""
|
363 |
+
},
|
364 |
+
"default_value": "#191e23"
|
365 |
+
},
|
366 |
+
{
|
367 |
+
"key": "field_5cbdb3069c368",
|
368 |
+
"label": "Description Size",
|
369 |
+
"name": "acfb_team_description_size",
|
370 |
+
"type": "range",
|
371 |
+
"instructions": "",
|
372 |
+
"required": 0,
|
373 |
+
"conditional_logic": 0,
|
374 |
+
"wrapper": {
|
375 |
+
"width": "",
|
376 |
+
"class": "",
|
377 |
+
"id": ""
|
378 |
+
},
|
379 |
+
"default_value": 18,
|
380 |
+
"min": "",
|
381 |
+
"max": 200,
|
382 |
+
"step": "",
|
383 |
+
"prepend": "",
|
384 |
+
"append": "px"
|
385 |
+
}
|
386 |
+
],
|
387 |
+
"location": [
|
388 |
+
[
|
389 |
+
{
|
390 |
+
"param": "block",
|
391 |
+
"operator": "==",
|
392 |
+
"value": "acf\/acfb-team"
|
393 |
+
}
|
394 |
+
]
|
395 |
+
],
|
396 |
+
"menu_order": 0,
|
397 |
+
"position": "normal",
|
398 |
+
"style": "default",
|
399 |
+
"label_placement": "top",
|
400 |
+
"instruction_placement": "label",
|
401 |
+
"hide_on_screen": "",
|
402 |
+
"active": 1,
|
403 |
+
"description": "",
|
404 |
+
"modified": 1573649401
|
405 |
+
}
|
acf-json/group_5cbdba3909312.json
CHANGED
@@ -1,193 +1,255 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
"fields": [
|
6 |
-
{
|
7 |
-
"key": "field_5cc84ecff7cb8",
|
8 |
-
"label": "Content",
|
9 |
-
"name": "",
|
10 |
-
"type": "tab",
|
11 |
-
"instructions": "",
|
12 |
-
"required": 0,
|
13 |
-
"conditional_logic": 0,
|
14 |
-
"wrapper": {
|
15 |
-
"width": "",
|
16 |
-
"class": "",
|
17 |
-
"id": ""
|
18 |
-
},
|
19 |
-
"placement": "top",
|
20 |
-
"endpoint": 0
|
21 |
-
},
|
22 |
-
{
|
23 |
-
"key": "field_5cbdc00df082a",
|
24 |
-
"label": "Multi Buttons",
|
25 |
-
"name": "acfb_multi_buttons",
|
26 |
-
"type": "repeater",
|
27 |
-
"instructions": "",
|
28 |
-
"required": 0,
|
29 |
-
"conditional_logic": 0,
|
30 |
-
"wrapper": {
|
31 |
-
"width": "",
|
32 |
-
"class": "",
|
33 |
-
"id": ""
|
34 |
-
},
|
35 |
-
"collapsed": "field_5cbdc09af082b",
|
36 |
-
"min": 1,
|
37 |
-
"max": 0,
|
38 |
-
"layout": "block",
|
39 |
-
"button_label": "Add Button",
|
40 |
-
"sub_fields": [
|
41 |
{
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
"prepend": "",
|
57 |
-
"append": "",
|
58 |
-
"maxlength": ""
|
59 |
},
|
60 |
{
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
},
|
76 |
{
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
},
|
91 |
{
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
|
|
105 |
},
|
106 |
{
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
|
|
|
|
|
|
|
|
|
|
120 |
},
|
121 |
{
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
}
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
"label": "Text Size",
|
157 |
-
"name": "acfb_multibutton_text_size",
|
158 |
-
"type": "range",
|
159 |
-
"instructions": "",
|
160 |
-
"required": 0,
|
161 |
-
"conditional_logic": 0,
|
162 |
-
"wrapper": {
|
163 |
-
"width": "",
|
164 |
-
"class": "",
|
165 |
-
"id": ""
|
166 |
-
},
|
167 |
-
"default_value": 16,
|
168 |
-
"min": "",
|
169 |
-
"max": "",
|
170 |
-
"step": "",
|
171 |
-
"prepend": "",
|
172 |
-
"append": "px"
|
173 |
-
}
|
174 |
-
],
|
175 |
-
"location": [
|
176 |
-
[
|
177 |
-
{
|
178 |
-
"param": "block",
|
179 |
-
"operator": "==",
|
180 |
-
"value": "acf/acfb-multibuttons"
|
181 |
-
}
|
182 |
-
]
|
183 |
-
],
|
184 |
-
"menu_order": 0,
|
185 |
-
"position": "normal",
|
186 |
-
"style": "default",
|
187 |
-
"label_placement": "top",
|
188 |
-
"instruction_placement": "label",
|
189 |
-
"hide_on_screen": "",
|
190 |
-
"active": 1,
|
191 |
-
"description": "",
|
192 |
-
"modified": 1558698477
|
193 |
-
}
|
1 |
{
|
2 |
+
"key": "group_5cbdba3909312",
|
3 |
+
"title": "Multi Buttons",
|
4 |
+
"fields": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
{
|
6 |
+
"key": "field_5cc84ecff7cb8",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
|
|
|
|
|
|
20 |
},
|
21 |
{
|
22 |
+
"key": "field_5cbdc00df082a",
|
23 |
+
"label": "Multi Buttons",
|
24 |
+
"name": "acfb_multi_buttons",
|
25 |
+
"type": "repeater",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"collapsed": "field_5cbdc09af082b",
|
35 |
+
"min": 1,
|
36 |
+
"max": 0,
|
37 |
+
"layout": "block",
|
38 |
+
"button_label": "Add Button",
|
39 |
+
"sub_fields": [
|
40 |
+
{
|
41 |
+
"key": "field_5cbdc09af082b",
|
42 |
+
"label": "Text",
|
43 |
+
"name": "acfb_multibutton_text",
|
44 |
+
"type": "text",
|
45 |
+
"instructions": "",
|
46 |
+
"required": 0,
|
47 |
+
"conditional_logic": 0,
|
48 |
+
"wrapper": {
|
49 |
+
"width": "",
|
50 |
+
"class": "",
|
51 |
+
"id": ""
|
52 |
+
},
|
53 |
+
"default_value": "Button Text",
|
54 |
+
"placeholder": "Button Text",
|
55 |
+
"prepend": "",
|
56 |
+
"append": "",
|
57 |
+
"maxlength": ""
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"key": "field_5cbdc0b8f082c",
|
61 |
+
"label": "Link",
|
62 |
+
"name": "acfb_multibutton_url",
|
63 |
+
"type": "url",
|
64 |
+
"instructions": "",
|
65 |
+
"required": 0,
|
66 |
+
"conditional_logic": 0,
|
67 |
+
"wrapper": {
|
68 |
+
"width": "",
|
69 |
+
"class": "",
|
70 |
+
"id": ""
|
71 |
+
},
|
72 |
+
"default_value": "#",
|
73 |
+
"placeholder": "#"
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"key": "field_5cbdc0f7f082d",
|
77 |
+
"label": "Background Color",
|
78 |
+
"name": "acfb_multibutton_background_color",
|
79 |
+
"type": "color_picker",
|
80 |
+
"instructions": "",
|
81 |
+
"required": 0,
|
82 |
+
"conditional_logic": 0,
|
83 |
+
"wrapper": {
|
84 |
+
"width": "",
|
85 |
+
"class": "",
|
86 |
+
"id": ""
|
87 |
+
},
|
88 |
+
"default_value": "#f3f4f5"
|
89 |
+
},
|
90 |
+
{
|
91 |
+
"key": "field_5cbdc132f082e",
|
92 |
+
"label": "Text Color",
|
93 |
+
"name": "acfb_multibutton_text_color",
|
94 |
+
"type": "color_picker",
|
95 |
+
"instructions": "",
|
96 |
+
"required": 0,
|
97 |
+
"conditional_logic": 0,
|
98 |
+
"wrapper": {
|
99 |
+
"width": "",
|
100 |
+
"class": "",
|
101 |
+
"id": ""
|
102 |
+
},
|
103 |
+
"default_value": "#191e23"
|
104 |
+
},
|
105 |
+
{
|
106 |
+
"key": "field_5cbdc6f9d7da3",
|
107 |
+
"label": "Background Hover Color",
|
108 |
+
"name": "acfb_multibutton_background_hover_color",
|
109 |
+
"type": "color_picker",
|
110 |
+
"instructions": "",
|
111 |
+
"required": 0,
|
112 |
+
"conditional_logic": 0,
|
113 |
+
"wrapper": {
|
114 |
+
"width": "",
|
115 |
+
"class": "",
|
116 |
+
"id": ""
|
117 |
+
},
|
118 |
+
"default_value": "#f3f4f5"
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"key": "field_5cbdc720d7da4",
|
122 |
+
"label": "Text Hover Color",
|
123 |
+
"name": "acfb_multibutton_text_hover_color",
|
124 |
+
"type": "color_picker",
|
125 |
+
"instructions": "",
|
126 |
+
"required": 0,
|
127 |
+
"conditional_logic": 0,
|
128 |
+
"wrapper": {
|
129 |
+
"width": "",
|
130 |
+
"class": "",
|
131 |
+
"id": ""
|
132 |
+
},
|
133 |
+
"default_value": "#191e23"
|
134 |
+
}
|
135 |
+
]
|
136 |
},
|
137 |
{
|
138 |
+
"key": "field_5dee22f43bfce",
|
139 |
+
"label": "Alignment",
|
140 |
+
"name": "acfb_multibutton_alignment",
|
141 |
+
"type": "button_group",
|
142 |
+
"instructions": "",
|
143 |
+
"required": 0,
|
144 |
+
"conditional_logic": 0,
|
145 |
+
"wrapper": {
|
146 |
+
"width": "",
|
147 |
+
"class": "",
|
148 |
+
"id": ""
|
149 |
+
},
|
150 |
+
"choices": {
|
151 |
+
"flex-start": "<span class=\"dashicons dashicons-editor-alignleft\"><\/span>",
|
152 |
+
"center": "<span class=\"dashicons dashicons-editor-aligncenter\"><\/span>",
|
153 |
+
"flex-end": "<span class=\"dashicons dashicons-editor-alignright\"><\/span>"
|
154 |
+
},
|
155 |
+
"allow_null": 0,
|
156 |
+
"default_value": "flex-start",
|
157 |
+
"layout": "horizontal",
|
158 |
+
"return_format": "value"
|
159 |
},
|
160 |
{
|
161 |
+
"key": "field_5cc84ee0f7cb9",
|
162 |
+
"label": "Design",
|
163 |
+
"name": "",
|
164 |
+
"type": "tab",
|
165 |
+
"instructions": "",
|
166 |
+
"required": 0,
|
167 |
+
"conditional_logic": 0,
|
168 |
+
"wrapper": {
|
169 |
+
"width": "",
|
170 |
+
"class": "",
|
171 |
+
"id": ""
|
172 |
+
},
|
173 |
+
"placement": "top",
|
174 |
+
"endpoint": 0
|
175 |
},
|
176 |
{
|
177 |
+
"key": "field_5cbdc740d7da5",
|
178 |
+
"label": "Text Size",
|
179 |
+
"name": "acfb_multibutton_text_size",
|
180 |
+
"type": "range",
|
181 |
+
"instructions": "",
|
182 |
+
"required": 0,
|
183 |
+
"conditional_logic": 0,
|
184 |
+
"wrapper": {
|
185 |
+
"width": "",
|
186 |
+
"class": "",
|
187 |
+
"id": ""
|
188 |
+
},
|
189 |
+
"default_value": 16,
|
190 |
+
"min": "",
|
191 |
+
"max": "",
|
192 |
+
"step": "",
|
193 |
+
"prepend": "",
|
194 |
+
"append": "px"
|
195 |
},
|
196 |
{
|
197 |
+
"key": "field_5dc54face28d5",
|
198 |
+
"label": "Border Radius",
|
199 |
+
"name": "acfb_multibutton_border_radius",
|
200 |
+
"type": "range",
|
201 |
+
"instructions": "",
|
202 |
+
"required": 0,
|
203 |
+
"conditional_logic": 0,
|
204 |
+
"wrapper": {
|
205 |
+
"width": "",
|
206 |
+
"class": "",
|
207 |
+
"id": ""
|
208 |
+
},
|
209 |
+
"default_value": "",
|
210 |
+
"min": "",
|
211 |
+
"max": "",
|
212 |
+
"step": "",
|
213 |
+
"prepend": "",
|
214 |
+
"append": "px"
|
215 |
+
},
|
216 |
+
{
|
217 |
+
"key": "field_5dc550ccd85aa",
|
218 |
+
"label": "Gutter Space",
|
219 |
+
"name": "acfb_multibutton_gutter_space",
|
220 |
+
"type": "range",
|
221 |
+
"instructions": "",
|
222 |
+
"required": 0,
|
223 |
+
"conditional_logic": 0,
|
224 |
+
"wrapper": {
|
225 |
+
"width": "",
|
226 |
+
"class": "",
|
227 |
+
"id": ""
|
228 |
+
},
|
229 |
+
"default_value": 10,
|
230 |
+
"min": "",
|
231 |
+
"max": "",
|
232 |
+
"step": "",
|
233 |
+
"prepend": "",
|
234 |
+
"append": "px"
|
235 |
}
|
236 |
+
],
|
237 |
+
"location": [
|
238 |
+
[
|
239 |
+
{
|
240 |
+
"param": "block",
|
241 |
+
"operator": "==",
|
242 |
+
"value": "acf\/acfb-multibuttons"
|
243 |
+
}
|
244 |
+
]
|
245 |
+
],
|
246 |
+
"menu_order": 0,
|
247 |
+
"position": "normal",
|
248 |
+
"style": "default",
|
249 |
+
"label_placement": "top",
|
250 |
+
"instruction_placement": "label",
|
251 |
+
"hide_on_screen": "",
|
252 |
+
"active": 1,
|
253 |
+
"description": "",
|
254 |
+
"modified": 1575887631
|
255 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
acf-json/group_5cbdd1a0caf81.json
CHANGED
@@ -1,575 +1,574 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
]
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
}
|
1 |
{
|
2 |
+
"key": "group_5cbdd1a0caf81",
|
3 |
+
"title": "Pricing Box",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5cc840c7667b5",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5cbdd1cb5fd85",
|
23 |
+
"label": "Image",
|
24 |
+
"name": "acfb_pricingbox_image",
|
25 |
+
"type": "image",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"return_format": "url",
|
35 |
+
"preview_size": "medium_large",
|
36 |
+
"library": "all",
|
37 |
+
"min_width": "",
|
38 |
+
"min_height": "",
|
39 |
+
"min_size": "",
|
40 |
+
"max_width": "",
|
41 |
+
"max_height": "",
|
42 |
+
"max_size": "",
|
43 |
+
"mime_types": ""
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"key": "field_5cbdd3912af72",
|
47 |
+
"label": "Image Alt",
|
48 |
+
"name": "acfb_pricingbox_image_alt",
|
49 |
+
"type": "text",
|
50 |
+
"instructions": "",
|
51 |
+
"required": 0,
|
52 |
+
"conditional_logic": 0,
|
53 |
+
"wrapper": {
|
54 |
+
"width": "",
|
55 |
+
"class": "",
|
56 |
+
"id": ""
|
57 |
+
},
|
58 |
+
"default_value": "alt Text",
|
59 |
+
"placeholder": "alt Text",
|
60 |
+
"prepend": "",
|
61 |
+
"append": "",
|
62 |
+
"maxlength": ""
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"key": "field_5cbdd2115fd86",
|
66 |
+
"label": "Title",
|
67 |
+
"name": "acfb_pricingbox_title",
|
68 |
+
"type": "text",
|
69 |
+
"instructions": "",
|
70 |
+
"required": 0,
|
71 |
+
"conditional_logic": 0,
|
72 |
+
"wrapper": {
|
73 |
+
"width": "",
|
74 |
+
"class": "",
|
75 |
+
"id": ""
|
76 |
+
},
|
77 |
+
"default_value": "Title",
|
78 |
+
"placeholder": "Title",
|
79 |
+
"prepend": "",
|
80 |
+
"append": "",
|
81 |
+
"maxlength": ""
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"key": "field_5cbddc242af73",
|
85 |
+
"label": "Price Prefix",
|
86 |
+
"name": "acfb_pricingbox_price_prefix",
|
87 |
+
"type": "text",
|
88 |
+
"instructions": "",
|
89 |
+
"required": 0,
|
90 |
+
"conditional_logic": 0,
|
91 |
+
"wrapper": {
|
92 |
+
"width": "",
|
93 |
+
"class": "",
|
94 |
+
"id": ""
|
95 |
+
},
|
96 |
+
"default_value": "$",
|
97 |
+
"placeholder": "$",
|
98 |
+
"prepend": "",
|
99 |
+
"append": "",
|
100 |
+
"maxlength": ""
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"key": "field_5cbdd21c5fd87",
|
104 |
+
"label": "Price",
|
105 |
+
"name": "acfb_pricingbox_price",
|
106 |
+
"type": "number",
|
107 |
+
"instructions": "",
|
108 |
+
"required": 0,
|
109 |
+
"conditional_logic": 0,
|
110 |
+
"wrapper": {
|
111 |
+
"width": "",
|
112 |
+
"class": "",
|
113 |
+
"id": ""
|
114 |
+
},
|
115 |
+
"default_value": 99,
|
116 |
+
"placeholder": ".99",
|
117 |
+
"prepend": "",
|
118 |
+
"append": "",
|
119 |
+
"min": "",
|
120 |
+
"max": "",
|
121 |
+
"step": ""
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"key": "field_5cbddc552af74",
|
125 |
+
"label": "Price Suffix",
|
126 |
+
"name": "acfb_pricingbox_price_suffix",
|
127 |
+
"type": "text",
|
128 |
+
"instructions": "",
|
129 |
+
"required": 0,
|
130 |
+
"conditional_logic": 0,
|
131 |
+
"wrapper": {
|
132 |
+
"width": "",
|
133 |
+
"class": "",
|
134 |
+
"id": ""
|
135 |
+
},
|
136 |
+
"default_value": ".99",
|
137 |
+
"placeholder": ".99",
|
138 |
+
"prepend": "",
|
139 |
+
"append": "",
|
140 |
+
"maxlength": ""
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"key": "field_5cbee0f352a41",
|
144 |
+
"label": "Sub Text",
|
145 |
+
"name": "acfb_pricingbox_sub_text",
|
146 |
+
"type": "text",
|
147 |
+
"instructions": "",
|
148 |
+
"required": 0,
|
149 |
+
"conditional_logic": 0,
|
150 |
+
"wrapper": {
|
151 |
+
"width": "",
|
152 |
+
"class": "",
|
153 |
+
"id": ""
|
154 |
+
},
|
155 |
+
"default_value": "Sub Text Here",
|
156 |
+
"placeholder": "Sub Text Here",
|
157 |
+
"prepend": "",
|
158 |
+
"append": "",
|
159 |
+
"maxlength": ""
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"key": "field_5cbdd25b5fd8a",
|
163 |
+
"label": "Description",
|
164 |
+
"name": "acfb_pricingbox_description",
|
165 |
+
"type": "textarea",
|
166 |
+
"instructions": "",
|
167 |
+
"required": 0,
|
168 |
+
"conditional_logic": 0,
|
169 |
+
"wrapper": {
|
170 |
+
"width": "",
|
171 |
+
"class": "",
|
172 |
+
"id": ""
|
173 |
+
},
|
174 |
+
"default_value": "Description goes here...",
|
175 |
+
"placeholder": "Description goes here...",
|
176 |
+
"maxlength": "",
|
177 |
+
"rows": "",
|
178 |
+
"new_lines": ""
|
179 |
+
},
|
180 |
+
{
|
181 |
+
"key": "field_5cbdd2275fd88",
|
182 |
+
"label": "Button Text",
|
183 |
+
"name": "acfb_pricingbox_button_text",
|
184 |
+
"type": "text",
|
185 |
+
"instructions": "",
|
186 |
+
"required": 0,
|
187 |
+
"conditional_logic": 0,
|
188 |
+
"wrapper": {
|
189 |
+
"width": "",
|
190 |
+
"class": "",
|
191 |
+
"id": ""
|
192 |
+
},
|
193 |
+
"default_value": "Get Now",
|
194 |
+
"placeholder": "Get Now",
|
195 |
+
"prepend": "",
|
196 |
+
"append": "",
|
197 |
+
"maxlength": ""
|
198 |
+
},
|
199 |
+
{
|
200 |
+
"key": "field_5cbdd2445fd89",
|
201 |
+
"label": "Button Url",
|
202 |
+
"name": "acfb_pricingbox_button_url",
|
203 |
+
"type": "link",
|
204 |
+
"instructions": "",
|
205 |
+
"required": 0,
|
206 |
+
"conditional_logic": 0,
|
207 |
+
"wrapper": {
|
208 |
+
"width": "",
|
209 |
+
"class": "",
|
210 |
+
"id": ""
|
211 |
+
},
|
212 |
+
"return_format": "url"
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"key": "field_5cc840de667b6",
|
216 |
+
"label": "Design",
|
217 |
+
"name": "",
|
218 |
+
"type": "tab",
|
219 |
+
"instructions": "",
|
220 |
+
"required": 0,
|
221 |
+
"conditional_logic": 0,
|
222 |
+
"wrapper": {
|
223 |
+
"width": "",
|
224 |
+
"class": "",
|
225 |
+
"id": ""
|
226 |
+
},
|
227 |
+
"placement": "top",
|
228 |
+
"endpoint": 0
|
229 |
+
},
|
230 |
+
{
|
231 |
+
"key": "field_5cbedec77e229",
|
232 |
+
"label": "Background Color",
|
233 |
+
"name": "acfb_pricingbox_background_color",
|
234 |
+
"type": "color_picker",
|
235 |
+
"instructions": "",
|
236 |
+
"required": 0,
|
237 |
+
"conditional_logic": 0,
|
238 |
+
"wrapper": {
|
239 |
+
"width": "",
|
240 |
+
"class": "",
|
241 |
+
"id": ""
|
242 |
+
},
|
243 |
+
"default_value": "#f3f4f5"
|
244 |
+
},
|
245 |
+
{
|
246 |
+
"key": "field_5cbedef97e22a",
|
247 |
+
"label": "Image Size",
|
248 |
+
"name": "acfb_pricingbox_image_size",
|
249 |
+
"type": "range",
|
250 |
+
"instructions": "",
|
251 |
+
"required": 0,
|
252 |
+
"conditional_logic": 0,
|
253 |
+
"wrapper": {
|
254 |
+
"width": "",
|
255 |
+
"class": "",
|
256 |
+
"id": ""
|
257 |
+
},
|
258 |
+
"default_value": 30,
|
259 |
+
"min": "",
|
260 |
+
"max": "",
|
261 |
+
"step": "",
|
262 |
+
"prepend": "",
|
263 |
+
"append": "%"
|
264 |
+
},
|
265 |
+
{
|
266 |
+
"key": "field_5cbedf427e22b",
|
267 |
+
"label": "Title Color",
|
268 |
+
"name": "acfb_pricingbox_title_color",
|
269 |
+
"type": "color_picker",
|
270 |
+
"instructions": "",
|
271 |
+
"required": 0,
|
272 |
+
"conditional_logic": 0,
|
273 |
+
"wrapper": {
|
274 |
+
"width": "",
|
275 |
+
"class": "",
|
276 |
+
"id": ""
|
277 |
+
},
|
278 |
+
"default_value": "#191e23"
|
279 |
+
},
|
280 |
+
{
|
281 |
+
"key": "field_5cbedf607e22c",
|
282 |
+
"label": "Title Size",
|
283 |
+
"name": "acfb_pricingbox_title_size",
|
284 |
+
"type": "range",
|
285 |
+
"instructions": "",
|
286 |
+
"required": 0,
|
287 |
+
"conditional_logic": 0,
|
288 |
+
"wrapper": {
|
289 |
+
"width": "",
|
290 |
+
"class": "",
|
291 |
+
"id": ""
|
292 |
+
},
|
293 |
+
"default_value": 32,
|
294 |
+
"min": "",
|
295 |
+
"max": 200,
|
296 |
+
"step": "",
|
297 |
+
"prepend": "",
|
298 |
+
"append": "px"
|
299 |
+
},
|
300 |
+
{
|
301 |
+
"key": "field_5cbedf8d7e22d",
|
302 |
+
"label": "Prefix Color",
|
303 |
+
"name": "acfb_pricingbox_prefix_color",
|
304 |
+
"type": "color_picker",
|
305 |
+
"instructions": "",
|
306 |
+
"required": 0,
|
307 |
+
"conditional_logic": 0,
|
308 |
+
"wrapper": {
|
309 |
+
"width": "",
|
310 |
+
"class": "",
|
311 |
+
"id": ""
|
312 |
+
},
|
313 |
+
"default_value": "#191e23"
|
314 |
+
},
|
315 |
+
{
|
316 |
+
"key": "field_5cbedfc07e22e",
|
317 |
+
"label": "Prefix Size",
|
318 |
+
"name": "acfb_pricingbox_prefix_size",
|
319 |
+
"type": "range",
|
320 |
+
"instructions": "",
|
321 |
+
"required": 0,
|
322 |
+
"conditional_logic": 0,
|
323 |
+
"wrapper": {
|
324 |
+
"width": "",
|
325 |
+
"class": "",
|
326 |
+
"id": ""
|
327 |
+
},
|
328 |
+
"default_value": 22,
|
329 |
+
"min": "",
|
330 |
+
"max": "",
|
331 |
+
"step": "",
|
332 |
+
"prepend": "",
|
333 |
+
"append": "px"
|
334 |
+
},
|
335 |
+
{
|
336 |
+
"key": "field_5cbee0017e22f",
|
337 |
+
"label": "Price Color",
|
338 |
+
"name": "acfb_pricingbox_price_color",
|
339 |
+
"type": "color_picker",
|
340 |
+
"instructions": "",
|
341 |
+
"required": 0,
|
342 |
+
"conditional_logic": 0,
|
343 |
+
"wrapper": {
|
344 |
+
"width": "",
|
345 |
+
"class": "",
|
346 |
+
"id": ""
|
347 |
+
},
|
348 |
+
"default_value": "#191e23"
|
349 |
+
},
|
350 |
+
{
|
351 |
+
"key": "field_5cbee0227e230",
|
352 |
+
"label": "Price Size",
|
353 |
+
"name": "acfb_pricingbox_price_size",
|
354 |
+
"type": "range",
|
355 |
+
"instructions": "",
|
356 |
+
"required": 0,
|
357 |
+
"conditional_logic": 0,
|
358 |
+
"wrapper": {
|
359 |
+
"width": "",
|
360 |
+
"class": "",
|
361 |
+
"id": ""
|
362 |
+
},
|
363 |
+
"default_value": 65,
|
364 |
+
"min": "",
|
365 |
+
"max": 200,
|
366 |
+
"step": "",
|
367 |
+
"prepend": "",
|
368 |
+
"append": "px"
|
369 |
+
},
|
370 |
+
{
|
371 |
+
"key": "field_5cbee05a7e231",
|
372 |
+
"label": "Suffix Color",
|
373 |
+
"name": "acfb_pricingbox_suffix_color",
|
374 |
+
"type": "color_picker",
|
375 |
+
"instructions": "",
|
376 |
+
"required": 0,
|
377 |
+
"conditional_logic": 0,
|
378 |
+
"wrapper": {
|
379 |
+
"width": "",
|
380 |
+
"class": "",
|
381 |
+
"id": ""
|
382 |
+
},
|
383 |
+
"default_value": "#191e23"
|
384 |
+
},
|
385 |
+
{
|
386 |
+
"key": "field_5cbee06f7e232",
|
387 |
+
"label": "Suffix Size",
|
388 |
+
"name": "acfb_pricingbox_suffix_size",
|
389 |
+
"type": "range",
|
390 |
+
"instructions": "",
|
391 |
+
"required": 0,
|
392 |
+
"conditional_logic": 0,
|
393 |
+
"wrapper": {
|
394 |
+
"width": "",
|
395 |
+
"class": "",
|
396 |
+
"id": ""
|
397 |
+
},
|
398 |
+
"default_value": 28,
|
399 |
+
"min": "",
|
400 |
+
"max": "",
|
401 |
+
"step": "",
|
402 |
+
"prepend": "",
|
403 |
+
"append": "px"
|
404 |
+
},
|
405 |
+
{
|
406 |
+
"key": "field_5cbee14952a42",
|
407 |
+
"label": "Sub Text Color",
|
408 |
+
"name": "acfb_pricingbox_subtext_color",
|
409 |
+
"type": "color_picker",
|
410 |
+
"instructions": "",
|
411 |
+
"required": 0,
|
412 |
+
"conditional_logic": 0,
|
413 |
+
"wrapper": {
|
414 |
+
"width": "",
|
415 |
+
"class": "",
|
416 |
+
"id": ""
|
417 |
+
},
|
418 |
+
"default_value": "rgba(25, 30, 35, 0.3)"
|
419 |
+
},
|
420 |
+
{
|
421 |
+
"key": "field_5cbee16d52a43",
|
422 |
+
"label": "Sub Text Size",
|
423 |
+
"name": "acfb_pricingbox_subtext_size",
|
424 |
+
"type": "range",
|
425 |
+
"instructions": "",
|
426 |
+
"required": 0,
|
427 |
+
"conditional_logic": 0,
|
428 |
+
"wrapper": {
|
429 |
+
"width": "",
|
430 |
+
"class": "",
|
431 |
+
"id": ""
|
432 |
+
},
|
433 |
+
"default_value": 14,
|
434 |
+
"min": "",
|
435 |
+
"max": "",
|
436 |
+
"step": "",
|
437 |
+
"prepend": "",
|
438 |
+
"append": "px"
|
439 |
+
},
|
440 |
+
{
|
441 |
+
"key": "field_5cbee1a752a44",
|
442 |
+
"label": "Button Background Color",
|
443 |
+
"name": "acfb_pricingbox_button_background_color",
|
444 |
+
"type": "color_picker",
|
445 |
+
"instructions": "",
|
446 |
+
"required": 0,
|
447 |
+
"conditional_logic": 0,
|
448 |
+
"wrapper": {
|
449 |
+
"width": "",
|
450 |
+
"class": "",
|
451 |
+
"id": ""
|
452 |
+
},
|
453 |
+
"default_value": "#e0e0e0"
|
454 |
+
},
|
455 |
+
{
|
456 |
+
"key": "field_5cbee26552a47",
|
457 |
+
"label": "Button Text Color",
|
458 |
+
"name": "acfb_pricingbox_button_text_color",
|
459 |
+
"type": "color_picker",
|
460 |
+
"instructions": "",
|
461 |
+
"required": 0,
|
462 |
+
"conditional_logic": 0,
|
463 |
+
"wrapper": {
|
464 |
+
"width": "",
|
465 |
+
"class": "",
|
466 |
+
"id": ""
|
467 |
+
},
|
468 |
+
"default_value": "#191e23"
|
469 |
+
},
|
470 |
+
{
|
471 |
+
"key": "field_5cbee2bb52a49",
|
472 |
+
"label": "Button Background Hover Color",
|
473 |
+
"name": "acfb_pricingbox_button_background_hover_color",
|
474 |
+
"type": "color_picker",
|
475 |
+
"instructions": "",
|
476 |
+
"required": 0,
|
477 |
+
"conditional_logic": 0,
|
478 |
+
"wrapper": {
|
479 |
+
"width": "",
|
480 |
+
"class": "",
|
481 |
+
"id": ""
|
482 |
+
},
|
483 |
+
"default_value": "#e0e0e0"
|
484 |
+
},
|
485 |
+
{
|
486 |
+
"key": "field_5cbee28e52a48",
|
487 |
+
"label": "Button Text Hover Color",
|
488 |
+
"name": "acfb_pricingbox_button_text_hover_color",
|
489 |
+
"type": "color_picker",
|
490 |
+
"instructions": "",
|
491 |
+
"required": 0,
|
492 |
+
"conditional_logic": 0,
|
493 |
+
"wrapper": {
|
494 |
+
"width": "",
|
495 |
+
"class": "",
|
496 |
+
"id": ""
|
497 |
+
},
|
498 |
+
"default_value": "#191e23"
|
499 |
+
},
|
500 |
+
{
|
501 |
+
"key": "field_5cbee1e452a45",
|
502 |
+
"label": "Button Size",
|
503 |
+
"name": "acfb_pricingbox_button_size",
|
504 |
+
"type": "range",
|
505 |
+
"instructions": "",
|
506 |
+
"required": 0,
|
507 |
+
"conditional_logic": 0,
|
508 |
+
"wrapper": {
|
509 |
+
"width": "",
|
510 |
+
"class": "",
|
511 |
+
"id": ""
|
512 |
+
},
|
513 |
+
"default_value": 19,
|
514 |
+
"min": "",
|
515 |
+
"max": "",
|
516 |
+
"step": "",
|
517 |
+
"prepend": "",
|
518 |
+
"append": "px"
|
519 |
+
},
|
520 |
+
{
|
521 |
+
"key": "field_5cbee2f852a4a",
|
522 |
+
"label": "Description Color",
|
523 |
+
"name": "acfb_pricingbox_description_color",
|
524 |
+
"type": "color_picker",
|
525 |
+
"instructions": "",
|
526 |
+
"required": 0,
|
527 |
+
"conditional_logic": 0,
|
528 |
+
"wrapper": {
|
529 |
+
"width": "",
|
530 |
+
"class": "",
|
531 |
+
"id": ""
|
532 |
+
},
|
533 |
+
"default_value": "#191e23"
|
534 |
+
},
|
535 |
+
{
|
536 |
+
"key": "field_5cbee31552a4b",
|
537 |
+
"label": "Description Size",
|
538 |
+
"name": "acfb_pricingbox_description_size",
|
539 |
+
"type": "range",
|
540 |
+
"instructions": "",
|
541 |
+
"required": 0,
|
542 |
+
"conditional_logic": 0,
|
543 |
+
"wrapper": {
|
544 |
+
"width": "",
|
545 |
+
"class": "",
|
546 |
+
"id": ""
|
547 |
+
},
|
548 |
+
"default_value": 18,
|
549 |
+
"min": "",
|
550 |
+
"max": "",
|
551 |
+
"step": "",
|
552 |
+
"prepend": "",
|
553 |
+
"append": "px"
|
554 |
+
}
|
555 |
+
],
|
556 |
+
"location": [
|
557 |
+
[
|
558 |
+
{
|
559 |
+
"param": "block",
|
560 |
+
"operator": "==",
|
561 |
+
"value": "acf\/acfb-pricingbox"
|
562 |
+
}
|
563 |
+
]
|
564 |
+
],
|
565 |
+
"menu_order": 0,
|
566 |
+
"position": "normal",
|
567 |
+
"style": "default",
|
568 |
+
"label_placement": "top",
|
569 |
+
"instruction_placement": "label",
|
570 |
+
"hide_on_screen": "",
|
571 |
+
"active": 1,
|
572 |
+
"description": "",
|
573 |
+
"modified": 1573210941
|
574 |
+
}
|
|
acf-json/group_5cbef16c004be.json
CHANGED
@@ -1,295 +1,297 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
[
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
]
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
"default_value": "one",
|
73 |
-
"layout": "vertical",
|
74 |
-
"return_format": "value",
|
75 |
-
"save_other_choice": 0
|
76 |
-
},
|
77 |
-
{
|
78 |
-
"key": "field_5cdaa7c03c512",
|
79 |
-
"label": "3 Grid Layouts",
|
80 |
-
"name": "3_grid_layouts",
|
81 |
-
"type": "radio",
|
82 |
-
"instructions": "",
|
83 |
-
"required": 0,
|
84 |
-
"conditional_logic": [
|
85 |
-
[
|
86 |
-
{
|
87 |
-
"field": "field_5cd9575b1dc17",
|
88 |
-
"operator": "==",
|
89 |
-
"value": "3"
|
90 |
-
}
|
91 |
-
]
|
92 |
-
],
|
93 |
-
"wrapper": {
|
94 |
-
"width": "",
|
95 |
-
"class": "acfb_radio_image",
|
96 |
-
"id": ""
|
97 |
-
},
|
98 |
-
"choices": {
|
99 |
-
"one": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gthree-one.png\" />",
|
100 |
-
"two": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gthree-two.png\" />",
|
101 |
-
"three": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gthree-three.png\" />",
|
102 |
-
"four": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gthree-four.png\" />",
|
103 |
-
"five": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gthree-five.png\" />",
|
104 |
-
"six": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gthree-six.png\" />"
|
105 |
-
},
|
106 |
-
"allow_null": 0,
|
107 |
-
"other_choice": 0,
|
108 |
-
"default_value": "one",
|
109 |
-
"layout": "vertical",
|
110 |
-
"return_format": "value",
|
111 |
-
"save_other_choice": 0
|
112 |
-
},
|
113 |
-
{
|
114 |
-
"key": "field_5cdaa9ebd0c00",
|
115 |
-
"label": "4 Grid Layouts",
|
116 |
-
"name": "4_grid_layouts",
|
117 |
-
"type": "radio",
|
118 |
-
"instructions": "",
|
119 |
-
"required": 0,
|
120 |
-
"conditional_logic": [
|
121 |
-
[
|
122 |
-
{
|
123 |
-
"field": "field_5cd9575b1dc17",
|
124 |
-
"operator": "==",
|
125 |
-
"value": "4"
|
126 |
-
}
|
127 |
-
]
|
128 |
-
],
|
129 |
-
"wrapper": {
|
130 |
-
"width": "",
|
131 |
-
"class": "acfb_radio_image",
|
132 |
-
"id": ""
|
133 |
-
},
|
134 |
-
"choices": {
|
135 |
-
"one": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gfour-one.png\" />",
|
136 |
-
"two": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gfour-two.png\" />",
|
137 |
-
"three": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gfour-three.png\" />",
|
138 |
-
"four": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gfour-four.png\" />",
|
139 |
-
"five": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gfour-five.png\" />",
|
140 |
-
"six": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gfour-six.png\" />",
|
141 |
-
"seven": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gfour-seven.png\" />",
|
142 |
-
"eight": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gfour-eight.png\" />",
|
143 |
-
"nine": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gfour-nine.png\" />",
|
144 |
-
"ten": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gfour-ten.png\" />",
|
145 |
-
"eleven": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gfour-eleven.png\" />",
|
146 |
-
"twelve": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gfour-twelve.png\" />",
|
147 |
-
"thirteen": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gfour-thirteen.png\" />",
|
148 |
-
"fourteen": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gfour-fourteen.png\" />",
|
149 |
-
"fifteen": "<img src=\"http://localhost/ACFBLOCK/wp-content/plugins/acfblocks-master/img/gfour-fifteen.png\" />"
|
150 |
-
},
|
151 |
-
"allow_null": 0,
|
152 |
-
"other_choice": 0,
|
153 |
-
"default_value": "one",
|
154 |
-
"layout": "vertical",
|
155 |
-
"return_format": "value",
|
156 |
-
"save_other_choice": 0
|
157 |
-
},
|
158 |
-
{
|
159 |
-
"key": "field_5cbf04c294875",
|
160 |
-
"label": "Images",
|
161 |
-
"name": "acfb_photo_collage_images",
|
162 |
-
"type": "gallery",
|
163 |
-
"instructions": "",
|
164 |
-
"required": 0,
|
165 |
-
"conditional_logic": 0,
|
166 |
-
"wrapper": {
|
167 |
-
"width": "",
|
168 |
-
"class": "",
|
169 |
-
"id": ""
|
170 |
-
},
|
171 |
-
"min": 2,
|
172 |
-
"max": 4,
|
173 |
-
"insert": "append",
|
174 |
-
"library": "all",
|
175 |
-
"min_width": "",
|
176 |
-
"min_height": "",
|
177 |
-
"min_size": "",
|
178 |
-
"max_width": "",
|
179 |
-
"max_height": "",
|
180 |
-
"max_size": "",
|
181 |
-
"mime_types": ""
|
182 |
-
},
|
183 |
-
{
|
184 |
-
"key": "field_5cc85dee4e368",
|
185 |
-
"label": "Width",
|
186 |
-
"name": "acfb_photo_collage_layout_width",
|
187 |
-
"type": "range",
|
188 |
-
"instructions": "",
|
189 |
-
"required": 0,
|
190 |
-
"conditional_logic": 0,
|
191 |
-
"wrapper": {
|
192 |
-
"width": "",
|
193 |
-
"class": "",
|
194 |
-
"id": ""
|
195 |
-
},
|
196 |
-
"default_value": 100,
|
197 |
-
"min": "",
|
198 |
-
"max": "",
|
199 |
-
"step": "",
|
200 |
-
"prepend": "",
|
201 |
-
"append": "%"
|
202 |
-
},
|
203 |
-
{
|
204 |
-
"key": "field_5cda77ca5ecee",
|
205 |
-
"label": "Height",
|
206 |
-
"name": "acfb_photo_collage_layout_height",
|
207 |
-
"type": "range",
|
208 |
-
"instructions": "",
|
209 |
-
"required": 0,
|
210 |
-
"conditional_logic": 0,
|
211 |
-
"wrapper": {
|
212 |
-
"width": "",
|
213 |
-
"class": "",
|
214 |
-
"id": ""
|
215 |
-
},
|
216 |
-
"default_value": 500,
|
217 |
-
"min": "",
|
218 |
-
"max": 1000,
|
219 |
-
"step": "",
|
220 |
-
"prepend": "",
|
221 |
-
"append": "px"
|
222 |
-
},
|
223 |
-
{
|
224 |
-
"key": "field_5cc85e1b4e369",
|
225 |
-
"label": "Gutter Space",
|
226 |
-
"name": "acfb_photo_collage_layout_gutter_space",
|
227 |
-
"type": "range",
|
228 |
-
"instructions": "",
|
229 |
-
"required": 0,
|
230 |
-
"conditional_logic": 0,
|
231 |
-
"wrapper": {
|
232 |
-
"width": "",
|
233 |
-
"class": "",
|
234 |
-
"id": ""
|
235 |
-
},
|
236 |
-
"default_value": 10,
|
237 |
-
"min": "",
|
238 |
-
"max": "",
|
239 |
-
"step": "",
|
240 |
-
"prepend": "",
|
241 |
-
"append": "px"
|
242 |
-
},
|
243 |
-
{
|
244 |
-
"key": "field_5cda7f2de757c",
|
245 |
-
"label": "Design",
|
246 |
-
"name": "",
|
247 |
-
"type": "tab",
|
248 |
-
"instructions": "",
|
249 |
-
"required": 0,
|
250 |
-
"conditional_logic": 0,
|
251 |
-
"wrapper": {
|
252 |
-
"width": "",
|
253 |
-
"class": "",
|
254 |
-
"id": ""
|
255 |
-
},
|
256 |
-
"placement": "top",
|
257 |
-
"endpoint": 0
|
258 |
-
},
|
259 |
-
{
|
260 |
-
"key": "field_5cdfc746754f7",
|
261 |
-
"label": "No options available here yet.",
|
262 |
-
"name": "",
|
263 |
-
"type": "message",
|
264 |
-
"instructions": "",
|
265 |
-
"required": 0,
|
266 |
-
"conditional_logic": 0,
|
267 |
-
"wrapper": {
|
268 |
-
"width": "",
|
269 |
-
"class": "",
|
270 |
-
"id": ""
|
271 |
-
},
|
272 |
-
"message": "",
|
273 |
-
"new_lines": "wpautop",
|
274 |
-
"esc_html": 0
|
275 |
-
}
|
276 |
-
],
|
277 |
-
"location": [
|
278 |
-
[
|
279 |
-
{
|
280 |
-
"param": "block",
|
281 |
-
"operator": "==",
|
282 |
-
"value": "acf/acfb-photocollage"
|
283 |
-
}
|
284 |
-
]
|
285 |
-
],
|
286 |
-
"menu_order": 0,
|
287 |
-
"position": "normal",
|
288 |
-
"style": "default",
|
289 |
-
"label_placement": "top",
|
290 |
-
"instruction_placement": "label",
|
291 |
-
"hide_on_screen": "",
|
292 |
-
"active": 1,
|
293 |
-
"description": "",
|
294 |
-
"modified": 1558698483
|
295 |
-
}
|
1 |
{
|
2 |
+
"key": "group_5cbef16c004be",
|
3 |
+
"title": "Photo Collage",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5cda7f02e757b",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5cd9575b1dc17",
|
23 |
+
"label": "Select Grid",
|
24 |
+
"name": "select_grid",
|
25 |
+
"type": "button_group",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"choices": {
|
35 |
+
"2": "2",
|
36 |
+
"3": "3",
|
37 |
+
"4": "4"
|
38 |
+
},
|
39 |
+
"allow_null": 0,
|
40 |
+
"default_value": 2,
|
41 |
+
"layout": "horizontal",
|
42 |
+
"return_format": "value"
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"key": "field_5cda7f5de757d",
|
46 |
+
"label": "2 Grid Layouts",
|
47 |
+
"name": "2_grid_layouts",
|
48 |
+
"type": "radio",
|
49 |
+
"instructions": "",
|
50 |
+
"required": 0,
|
51 |
+
"conditional_logic": [
|
52 |
+
[
|
53 |
+
{
|
54 |
+
"field": "field_5cd9575b1dc17",
|
55 |
+
"operator": "==",
|
56 |
+
"value": "2"
|
57 |
+
}
|
58 |
+
]
|
59 |
+
],
|
60 |
+
"wrapper": {
|
61 |
+
"width": "",
|
62 |
+
"class": "acfb_radio_image",
|
63 |
+
"id": ""
|
64 |
+
},
|
65 |
+
"choices": {
|
66 |
+
"one": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gtwo-one.png\" \/>",
|
67 |
+
"two": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gtwo-two.png\" \/>"
|
68 |
+
},
|
69 |
+
"allow_null": 0,
|
70 |
+
"other_choice": 0,
|
71 |
+
"default_value": "one",
|
72 |
+
"layout": "vertical",
|
73 |
+
"return_format": "value",
|
74 |
+
"save_other_choice": 0
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"key": "field_5cdaa7c03c512",
|
78 |
+
"label": "3 Grid Layouts",
|
79 |
+
"name": "3_grid_layouts",
|
80 |
+
"type": "radio",
|
81 |
+
"instructions": "",
|
82 |
+
"required": 0,
|
83 |
+
"conditional_logic": [
|
84 |
+
[
|
85 |
+
{
|
86 |
+
"field": "field_5cd9575b1dc17",
|
87 |
+
"operator": "==",
|
88 |
+
"value": "3"
|
89 |
+
}
|
90 |
+
]
|
91 |
+
],
|
92 |
+
"wrapper": {
|
93 |
+
"width": "",
|
94 |
+
"class": "acfb_radio_image",
|
95 |
+
"id": ""
|
96 |
+
},
|
97 |
+
"choices": {
|
98 |
+
"one": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gthree-one.png\" \/>",
|
99 |
+
"two": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gthree-two.png\" \/>",
|
100 |
+
"three": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gthree-three.png\" \/>",
|
101 |
+
"four": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gthree-four.png\" \/>",
|
102 |
+
"five": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gthree-five.png\" \/>",
|
103 |
+
"six": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gthree-six.png\" \/>"
|
104 |
+
},
|
105 |
+
"allow_null": 0,
|
106 |
+
"other_choice": 0,
|
107 |
+
"default_value": "one",
|
108 |
+
"layout": "vertical",
|
109 |
+
"return_format": "value",
|
110 |
+
"save_other_choice": 0
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"key": "field_5cdaa9ebd0c00",
|
114 |
+
"label": "4 Grid Layouts",
|
115 |
+
"name": "4_grid_layouts",
|
116 |
+
"type": "radio",
|
117 |
+
"instructions": "",
|
118 |
+
"required": 0,
|
119 |
+
"conditional_logic": [
|
120 |
+
[
|
121 |
+
{
|
122 |
+
"field": "field_5cd9575b1dc17",
|
123 |
+
"operator": "==",
|
124 |
+
"value": "4"
|
125 |
+
}
|
126 |
+
]
|
127 |
+
],
|
128 |
+
"wrapper": {
|
129 |
+
"width": "",
|
130 |
+
"class": "acfb_radio_image",
|
131 |
+
"id": ""
|
132 |
+
},
|
133 |
+
"choices": {
|
134 |
+
"one": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gfour-one.png\" \/>",
|
135 |
+
"two": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gfour-two.png\" \/>",
|
136 |
+
"three": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gfour-three.png\" \/>",
|
137 |
+
"four": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gfour-four.png\" \/>",
|
138 |
+
"five": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gfour-five.png\" \/>",
|
139 |
+
"six": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gfour-six.png\" \/>",
|
140 |
+
"seven": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gfour-seven.png\" \/>",
|
141 |
+
"eight": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gfour-eight.png\" \/>",
|
142 |
+
"nine": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gfour-nine.png\" \/>",
|
143 |
+
"ten": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gfour-ten.png\" \/>",
|
144 |
+
"eleven": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gfour-eleven.png\" \/>",
|
145 |
+
"twelve": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gfour-twelve.png\" \/>",
|
146 |
+
"thirteen": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gfour-thirteen.png\" \/>",
|
147 |
+
"fourteen": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gfour-fourteen.png\" \/>",
|
148 |
+
"fifteen": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gfour-fifteen.png\" \/>"
|
149 |
+
},
|
150 |
+
"allow_null": 0,
|
151 |
+
"other_choice": 0,
|
152 |
+
"default_value": "one",
|
153 |
+
"layout": "vertical",
|
154 |
+
"return_format": "value",
|
155 |
+
"save_other_choice": 0
|
156 |
+
},
|
157 |
+
{
|
158 |
+
"key": "field_5cbf04c294875",
|
159 |
+
"label": "Images",
|
160 |
+
"name": "acfb_photo_collage_images",
|
161 |
+
"type": "gallery",
|
162 |
+
"instructions": "",
|
163 |
+
"required": 0,
|
164 |
+
"conditional_logic": 0,
|
165 |
+
"wrapper": {
|
166 |
+
"width": "",
|
167 |
+
"class": "",
|
168 |
+
"id": ""
|
169 |
+
},
|
170 |
+
"min": 2,
|
171 |
+
"max": 4,
|
172 |
+
"insert": "append",
|
173 |
+
"library": "all",
|
174 |
+
"min_width": "",
|
175 |
+
"min_height": "",
|
176 |
+
"min_size": "",
|
177 |
+
"max_width": "",
|
178 |
+
"max_height": "",
|
179 |
+
"max_size": "",
|
180 |
+
"mime_types": "",
|
181 |
+
"return_format": "array",
|
182 |
+
"preview_size": "medium"
|
183 |
+
},
|
184 |
+
{
|
185 |
+
"key": "field_5cc85dee4e368",
|
186 |
+
"label": "Width",
|
187 |
+
"name": "acfb_photo_collage_layout_width",
|
188 |
+
"type": "range",
|
189 |
+
"instructions": "",
|
190 |
+
"required": 0,
|
191 |
+
"conditional_logic": 0,
|
192 |
+
"wrapper": {
|
193 |
+
"width": "",
|
194 |
+
"class": "",
|
195 |
+
"id": ""
|
196 |
+
},
|
197 |
+
"default_value": 100,
|
198 |
+
"min": "",
|
199 |
+
"max": "",
|
200 |
+
"step": "",
|
201 |
+
"prepend": "",
|
202 |
+
"append": "%"
|
203 |
+
},
|
204 |
+
{
|
205 |
+
"key": "field_5cda77ca5ecee",
|
206 |
+
"label": "Height",
|
207 |
+
"name": "acfb_photo_collage_layout_height",
|
208 |
+
"type": "range",
|
209 |
+
"instructions": "",
|
210 |
+
"required": 0,
|
211 |
+
"conditional_logic": 0,
|
212 |
+
"wrapper": {
|
213 |
+
"width": "",
|
214 |
+
"class": "",
|
215 |
+
"id": ""
|
216 |
+
},
|
217 |
+
"default_value": 500,
|
218 |
+
"min": "",
|
219 |
+
"max": 1000,
|
220 |
+
"step": "",
|
221 |
+
"prepend": "",
|
222 |
+
"append": "px"
|
223 |
+
},
|
224 |
+
{
|
225 |
+
"key": "field_5cc85e1b4e369",
|
226 |
+
"label": "Gutter Space",
|
227 |
+
"name": "acfb_photo_collage_layout_gutter_space",
|
228 |
+
"type": "range",
|
229 |
+
"instructions": "",
|
230 |
+
"required": 0,
|
231 |
+
"conditional_logic": 0,
|
232 |
+
"wrapper": {
|
233 |
+
"width": "",
|
234 |
+
"class": "",
|
235 |
+
"id": ""
|
236 |
+
},
|
237 |
+
"default_value": 10,
|
238 |
+
"min": "",
|
239 |
+
"max": "",
|
240 |
+
"step": "",
|
241 |
+
"prepend": "",
|
242 |
+
"append": "px"
|
243 |
+
},
|
244 |
+
{
|
245 |
+
"key": "field_5cda7f2de757c",
|
246 |
+
"label": "Design",
|
247 |
+
"name": "",
|
248 |
+
"type": "tab",
|
249 |
+
"instructions": "",
|
250 |
+
"required": 0,
|
251 |
+
"conditional_logic": 0,
|
252 |
+
"wrapper": {
|
253 |
+
"width": "",
|
254 |
+
"class": "",
|
255 |
+
"id": ""
|
256 |
+
},
|
257 |
+
"placement": "top",
|
258 |
+
"endpoint": 0
|
259 |
+
},
|
260 |
+
{
|
261 |
+
"key": "field_5cdfc746754f7",
|
262 |
+
"label": "No options available here yet.",
|
263 |
+
"name": "",
|
264 |
+
"type": "message",
|
265 |
+
"instructions": "",
|
266 |
+
"required": 0,
|
267 |
+
"conditional_logic": 0,
|
268 |
+
"wrapper": {
|
269 |
+
"width": "",
|
270 |
+
"class": "",
|
271 |
+
"id": ""
|
272 |
+
},
|
273 |
+
"message": "",
|
274 |
+
"new_lines": "wpautop",
|
275 |
+
"esc_html": 0
|
276 |
+
}
|
277 |
+
],
|
278 |
+
"location": [
|
279 |
[
|
280 |
+
{
|
281 |
+
"param": "block",
|
282 |
+
"operator": "==",
|
283 |
+
"value": "acf\/acfb-photocollage"
|
284 |
+
}
|
285 |
]
|
286 |
+
],
|
287 |
+
"menu_order": 0,
|
288 |
+
"position": "normal",
|
289 |
+
"style": "default",
|
290 |
+
"label_placement": "top",
|
291 |
+
"instruction_placement": "label",
|
292 |
+
"hide_on_screen": "",
|
293 |
+
"active": 1,
|
294 |
+
"description": "",
|
295 |
+
"private": true,
|
296 |
+
"modified": 1568298189
|
297 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
acf-json/group_5cc04e691b1a8.json
CHANGED
@@ -1,201 +1,223 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
{
|
2 |
+
"key": "group_5cc04e691b1a8",
|
3 |
+
"title": "Star Rating",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5cc8304dcc37e",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5cc31aeedf5b7",
|
23 |
+
"label": "Before Text",
|
24 |
+
"name": "acfb_rating_before_text",
|
25 |
+
"type": "text",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"default_value": "Some Text",
|
35 |
+
"placeholder": "Some Text",
|
36 |
+
"prepend": "",
|
37 |
+
"append": "",
|
38 |
+
"maxlength": ""
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"key": "field_5cc0811d81f77",
|
42 |
+
"label": "Rating",
|
43 |
+
"name": "acfb_rating",
|
44 |
+
"type": "range",
|
45 |
+
"instructions": "",
|
46 |
+
"required": 0,
|
47 |
+
"conditional_logic": 0,
|
48 |
+
"wrapper": {
|
49 |
+
"width": "",
|
50 |
+
"class": "",
|
51 |
+
"id": ""
|
52 |
+
},
|
53 |
+
"default_value": 3,
|
54 |
+
"min": 0,
|
55 |
+
"max": 5,
|
56 |
+
"step": "",
|
57 |
+
"prepend": "",
|
58 |
+
"append": ""
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"key": "field_5dc55f44e21a8",
|
62 |
+
"label": "Alignment",
|
63 |
+
"name": "acfb_rating_alignment",
|
64 |
+
"type": "button_group",
|
65 |
+
"instructions": "",
|
66 |
+
"required": 0,
|
67 |
+
"conditional_logic": 0,
|
68 |
+
"wrapper": {
|
69 |
+
"width": "",
|
70 |
+
"class": "",
|
71 |
+
"id": ""
|
72 |
+
},
|
73 |
+
"choices": {
|
74 |
+
"flex-start": "<span class=\"dashicons dashicons-editor-alignleft\"><\/span>",
|
75 |
+
"center": "<span class=\"dashicons dashicons-editor-aligncenter\"><\/span>",
|
76 |
+
"flex-end": "<span class=\"dashicons dashicons-editor-alignright\"><\/span>"
|
77 |
+
},
|
78 |
+
"allow_null": 0,
|
79 |
+
"default_value": "flex-start",
|
80 |
+
"layout": "horizontal",
|
81 |
+
"return_format": "value"
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"key": "field_5cc83066cc37f",
|
85 |
+
"label": "Design",
|
86 |
+
"name": "",
|
87 |
+
"type": "tab",
|
88 |
+
"instructions": "",
|
89 |
+
"required": 0,
|
90 |
+
"conditional_logic": 0,
|
91 |
+
"wrapper": {
|
92 |
+
"width": "",
|
93 |
+
"class": "",
|
94 |
+
"id": ""
|
95 |
+
},
|
96 |
+
"placement": "top",
|
97 |
+
"endpoint": 0
|
98 |
+
},
|
99 |
+
{
|
100 |
+
"key": "field_5cc3207d3a214",
|
101 |
+
"label": "Text Color",
|
102 |
+
"name": "acfb_rating_before_text_color",
|
103 |
+
"type": "color_picker",
|
104 |
+
"instructions": "",
|
105 |
+
"required": 0,
|
106 |
+
"conditional_logic": 0,
|
107 |
+
"wrapper": {
|
108 |
+
"width": "",
|
109 |
+
"class": "",
|
110 |
+
"id": ""
|
111 |
+
},
|
112 |
+
"default_value": "#191e23"
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"key": "field_5cc3203d3a213",
|
116 |
+
"label": "Text Size",
|
117 |
+
"name": "acfb_rating_before_text_size",
|
118 |
+
"type": "range",
|
119 |
+
"instructions": "",
|
120 |
+
"required": 0,
|
121 |
+
"conditional_logic": 0,
|
122 |
+
"wrapper": {
|
123 |
+
"width": "",
|
124 |
+
"class": "",
|
125 |
+
"id": ""
|
126 |
+
},
|
127 |
+
"default_value": 18,
|
128 |
+
"min": "",
|
129 |
+
"max": "",
|
130 |
+
"step": "",
|
131 |
+
"prepend": "",
|
132 |
+
"append": "px"
|
133 |
+
},
|
134 |
+
{
|
135 |
+
"key": "field_5cc3227d434b2",
|
136 |
+
"label": "Text Gap",
|
137 |
+
"name": "acfb_rating_before_text_gap",
|
138 |
+
"type": "range",
|
139 |
+
"instructions": "",
|
140 |
+
"required": 0,
|
141 |
+
"conditional_logic": 0,
|
142 |
+
"wrapper": {
|
143 |
+
"width": "",
|
144 |
+
"class": "",
|
145 |
+
"id": ""
|
146 |
+
},
|
147 |
+
"default_value": 5,
|
148 |
+
"min": "",
|
149 |
+
"max": 40,
|
150 |
+
"step": "",
|
151 |
+
"prepend": "",
|
152 |
+
"append": "px"
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"key": "field_5cc313b63cf21",
|
156 |
+
"label": "Marked Star Color",
|
157 |
+
"name": "acfb_marked_star_color",
|
158 |
+
"type": "color_picker",
|
159 |
+
"instructions": "",
|
160 |
+
"required": 0,
|
161 |
+
"conditional_logic": 0,
|
162 |
+
"wrapper": {
|
163 |
+
"width": "",
|
164 |
+
"class": "",
|
165 |
+
"id": ""
|
166 |
+
},
|
167 |
+
"default_value": "#FFD700"
|
168 |
+
},
|
169 |
+
{
|
170 |
+
"key": "field_5cc313e83cf22",
|
171 |
+
"label": "Unmarked Star Color",
|
172 |
+
"name": "acfb_unmarked_star_color",
|
173 |
+
"type": "color_picker",
|
174 |
+
"instructions": "",
|
175 |
+
"required": 0,
|
176 |
+
"conditional_logic": 0,
|
177 |
+
"wrapper": {
|
178 |
+
"width": "",
|
179 |
+
"class": "",
|
180 |
+
"id": ""
|
181 |
+
},
|
182 |
+
"default_value": "#f3f4f5"
|
183 |
+
},
|
184 |
+
{
|
185 |
+
"key": "field_5cc312a89b1c0",
|
186 |
+
"label": "Star Icon Size",
|
187 |
+
"name": "acfb_star_icon_size",
|
188 |
+
"type": "range",
|
189 |
+
"instructions": "",
|
190 |
+
"required": 0,
|
191 |
+
"conditional_logic": 0,
|
192 |
+
"wrapper": {
|
193 |
+
"width": "",
|
194 |
+
"class": "",
|
195 |
+
"id": ""
|
196 |
+
},
|
197 |
+
"default_value": 20,
|
198 |
+
"min": "",
|
199 |
+
"max": "",
|
200 |
+
"step": "",
|
201 |
+
"prepend": "",
|
202 |
+
"append": "px"
|
203 |
+
}
|
204 |
+
],
|
205 |
+
"location": [
|
206 |
+
[
|
207 |
+
{
|
208 |
+
"param": "block",
|
209 |
+
"operator": "==",
|
210 |
+
"value": "acf\/acfb-starrating"
|
211 |
+
}
|
212 |
+
]
|
213 |
+
],
|
214 |
+
"menu_order": 0,
|
215 |
+
"position": "normal",
|
216 |
+
"style": "default",
|
217 |
+
"label_placement": "top",
|
218 |
+
"instruction_placement": "label",
|
219 |
+
"hide_on_screen": "",
|
220 |
+
"active": 1,
|
221 |
+
"description": "",
|
222 |
+
"modified": 1573216727
|
223 |
+
}
|
acf-json/group_5cc6b8e86e751.json
CHANGED
@@ -1,234 +1,234 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
]
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
}
|
1 |
{
|
2 |
+
"key": "group_5cc6b8e86e751",
|
3 |
+
"title": "Progress Bar",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5cc835ec452d9",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5cc6bdabf9129",
|
23 |
+
"label": "Title",
|
24 |
+
"name": "acfb_progressbar_title",
|
25 |
+
"type": "text",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"default_value": "Title Here",
|
35 |
+
"placeholder": "Title Here",
|
36 |
+
"prepend": "",
|
37 |
+
"append": "",
|
38 |
+
"maxlength": ""
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"key": "field_5cc6bde9f912a",
|
42 |
+
"label": "Percentage",
|
43 |
+
"name": "acfb_progressbar_percentage",
|
44 |
+
"type": "range",
|
45 |
+
"instructions": "",
|
46 |
+
"required": 0,
|
47 |
+
"conditional_logic": 0,
|
48 |
+
"wrapper": {
|
49 |
+
"width": "",
|
50 |
+
"class": "",
|
51 |
+
"id": ""
|
52 |
+
},
|
53 |
+
"default_value": 50,
|
54 |
+
"min": "",
|
55 |
+
"max": "",
|
56 |
+
"step": "",
|
57 |
+
"prepend": "",
|
58 |
+
"append": "%"
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"key": "field_5cc6be0df912b",
|
62 |
+
"label": "Display Percentage",
|
63 |
+
"name": "acfb_progressbar_display_percentage",
|
64 |
+
"type": "true_false",
|
65 |
+
"instructions": "",
|
66 |
+
"required": 0,
|
67 |
+
"conditional_logic": 0,
|
68 |
+
"wrapper": {
|
69 |
+
"width": "",
|
70 |
+
"class": "",
|
71 |
+
"id": ""
|
72 |
+
},
|
73 |
+
"message": "Yes \/ No",
|
74 |
+
"default_value": 1,
|
75 |
+
"ui": 0,
|
76 |
+
"ui_on_text": "",
|
77 |
+
"ui_off_text": ""
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"key": "field_5cc6bee498c0c",
|
81 |
+
"label": "Inner Text",
|
82 |
+
"name": "acfb_progressbar_inner_text",
|
83 |
+
"type": "text",
|
84 |
+
"instructions": "",
|
85 |
+
"required": 0,
|
86 |
+
"conditional_logic": 0,
|
87 |
+
"wrapper": {
|
88 |
+
"width": "",
|
89 |
+
"class": "",
|
90 |
+
"id": ""
|
91 |
+
},
|
92 |
+
"default_value": "Web Designer",
|
93 |
+
"placeholder": "Web Designer",
|
94 |
+
"prepend": "",
|
95 |
+
"append": "",
|
96 |
+
"maxlength": ""
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"key": "field_5cc838e1452da",
|
100 |
+
"label": "Design",
|
101 |
+
"name": "",
|
102 |
+
"type": "tab",
|
103 |
+
"instructions": "",
|
104 |
+
"required": 0,
|
105 |
+
"conditional_logic": 0,
|
106 |
+
"wrapper": {
|
107 |
+
"width": "",
|
108 |
+
"class": "",
|
109 |
+
"id": ""
|
110 |
+
},
|
111 |
+
"placement": "top",
|
112 |
+
"endpoint": 0
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"key": "field_5cc6c8983d17c",
|
116 |
+
"label": "Bar Color",
|
117 |
+
"name": "acfb_progressbar_bg_color",
|
118 |
+
"type": "color_picker",
|
119 |
+
"instructions": "",
|
120 |
+
"required": 0,
|
121 |
+
"conditional_logic": 0,
|
122 |
+
"wrapper": {
|
123 |
+
"width": "",
|
124 |
+
"class": "",
|
125 |
+
"id": ""
|
126 |
+
},
|
127 |
+
"default_value": "#6ec1e4"
|
128 |
+
},
|
129 |
+
{
|
130 |
+
"key": "field_5cc6c8f93d17d",
|
131 |
+
"label": "Background Color",
|
132 |
+
"name": "acfb_progressbar_unactive_bg_color",
|
133 |
+
"type": "color_picker",
|
134 |
+
"instructions": "",
|
135 |
+
"required": 0,
|
136 |
+
"conditional_logic": 0,
|
137 |
+
"wrapper": {
|
138 |
+
"width": "",
|
139 |
+
"class": "",
|
140 |
+
"id": ""
|
141 |
+
},
|
142 |
+
"default_value": "#f3f4f5"
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"key": "field_5cc6c94e3d17e",
|
146 |
+
"label": "Text Color",
|
147 |
+
"name": "acfb_progressbar_text_color",
|
148 |
+
"type": "color_picker",
|
149 |
+
"instructions": "",
|
150 |
+
"required": 0,
|
151 |
+
"conditional_logic": 0,
|
152 |
+
"wrapper": {
|
153 |
+
"width": "",
|
154 |
+
"class": "",
|
155 |
+
"id": ""
|
156 |
+
},
|
157 |
+
"default_value": "#FFFFFF"
|
158 |
+
},
|
159 |
+
{
|
160 |
+
"key": "field_5cc6c98f3d17f",
|
161 |
+
"label": "Text Size",
|
162 |
+
"name": "acfb_progressbar_text_size",
|
163 |
+
"type": "range",
|
164 |
+
"instructions": "",
|
165 |
+
"required": 0,
|
166 |
+
"conditional_logic": 0,
|
167 |
+
"wrapper": {
|
168 |
+
"width": "",
|
169 |
+
"class": "",
|
170 |
+
"id": ""
|
171 |
+
},
|
172 |
+
"default_value": 14,
|
173 |
+
"min": "",
|
174 |
+
"max": "",
|
175 |
+
"step": "",
|
176 |
+
"prepend": "",
|
177 |
+
"append": "px"
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"key": "field_5cc6c9ba3d180",
|
181 |
+
"label": "Title Color",
|
182 |
+
"name": "acfb_progressbar_title_color",
|
183 |
+
"type": "color_picker",
|
184 |
+
"instructions": "",
|
185 |
+
"required": 0,
|
186 |
+
"conditional_logic": 0,
|
187 |
+
"wrapper": {
|
188 |
+
"width": "",
|
189 |
+
"class": "",
|
190 |
+
"id": ""
|
191 |
+
},
|
192 |
+
"default_value": "#191e23"
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"key": "field_5cc6c9d83d181",
|
196 |
+
"label": "Title Size",
|
197 |
+
"name": "acfb_progressbar_title_size",
|
198 |
+
"type": "range",
|
199 |
+
"instructions": "",
|
200 |
+
"required": 0,
|
201 |
+
"conditional_logic": 0,
|
202 |
+
"wrapper": {
|
203 |
+
"width": "",
|
204 |
+
"class": "",
|
205 |
+
"id": ""
|
206 |
+
},
|
207 |
+
"default_value": 16,
|
208 |
+
"min": "",
|
209 |
+
"max": "",
|
210 |
+
"step": "",
|
211 |
+
"prepend": "",
|
212 |
+
"append": "px"
|
213 |
+
}
|
214 |
+
],
|
215 |
+
"location": [
|
216 |
+
[
|
217 |
+
{
|
218 |
+
"param": "block",
|
219 |
+
"operator": "==",
|
220 |
+
"value": "acf\/acfb-progressbar"
|
221 |
+
}
|
222 |
+
]
|
223 |
+
],
|
224 |
+
"menu_order": 0,
|
225 |
+
"position": "normal",
|
226 |
+
"style": "default",
|
227 |
+
"label_placement": "top",
|
228 |
+
"instruction_placement": "label",
|
229 |
+
"hide_on_screen": "",
|
230 |
+
"active": 1,
|
231 |
+
"description": "",
|
232 |
+
"private": true,
|
233 |
+
"modified": 1568298204
|
234 |
+
}
|
acf-json/group_5cc6cf92e231a.json
CHANGED
@@ -1,205 +1,205 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
]
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
}
|
1 |
{
|
2 |
+
"key": "group_5cc6cf92e231a",
|
3 |
+
"title": "Counter Number",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5cc855022aabc",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5cc6d9bdf383d",
|
23 |
+
"label": "Number Prefix",
|
24 |
+
"name": "acfb_counter_number_prefix",
|
25 |
+
"type": "text",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"default_value": "",
|
35 |
+
"placeholder": "",
|
36 |
+
"prepend": "",
|
37 |
+
"append": "",
|
38 |
+
"maxlength": ""
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"key": "field_5cc6d969f383c",
|
42 |
+
"label": "Number",
|
43 |
+
"name": "acfb_counter_number",
|
44 |
+
"type": "number",
|
45 |
+
"instructions": "",
|
46 |
+
"required": 0,
|
47 |
+
"conditional_logic": 0,
|
48 |
+
"wrapper": {
|
49 |
+
"width": "",
|
50 |
+
"class": "",
|
51 |
+
"id": ""
|
52 |
+
},
|
53 |
+
"default_value": 100,
|
54 |
+
"placeholder": "",
|
55 |
+
"prepend": "",
|
56 |
+
"append": "",
|
57 |
+
"min": "",
|
58 |
+
"max": "",
|
59 |
+
"step": ""
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"key": "field_5cc6d9d0f383e",
|
63 |
+
"label": "Number Suffix",
|
64 |
+
"name": "acfb_counter_number_suffix",
|
65 |
+
"type": "text",
|
66 |
+
"instructions": "",
|
67 |
+
"required": 0,
|
68 |
+
"conditional_logic": 0,
|
69 |
+
"wrapper": {
|
70 |
+
"width": "",
|
71 |
+
"class": "",
|
72 |
+
"id": ""
|
73 |
+
},
|
74 |
+
"default_value": "",
|
75 |
+
"placeholder": "",
|
76 |
+
"prepend": "",
|
77 |
+
"append": "",
|
78 |
+
"maxlength": ""
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"key": "field_5cc6d9f2f383f",
|
82 |
+
"label": "Title",
|
83 |
+
"name": "acfb_counter_number_title",
|
84 |
+
"type": "text",
|
85 |
+
"instructions": "",
|
86 |
+
"required": 0,
|
87 |
+
"conditional_logic": 0,
|
88 |
+
"wrapper": {
|
89 |
+
"width": "",
|
90 |
+
"class": "",
|
91 |
+
"id": ""
|
92 |
+
},
|
93 |
+
"default_value": "Title Here",
|
94 |
+
"placeholder": "Title Here",
|
95 |
+
"prepend": "",
|
96 |
+
"append": "",
|
97 |
+
"maxlength": ""
|
98 |
+
},
|
99 |
+
{
|
100 |
+
"key": "field_5cc855162aabd",
|
101 |
+
"label": "Design",
|
102 |
+
"name": "",
|
103 |
+
"type": "tab",
|
104 |
+
"instructions": "",
|
105 |
+
"required": 0,
|
106 |
+
"conditional_logic": 0,
|
107 |
+
"wrapper": {
|
108 |
+
"width": "",
|
109 |
+
"class": "",
|
110 |
+
"id": ""
|
111 |
+
},
|
112 |
+
"placement": "top",
|
113 |
+
"endpoint": 0
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"key": "field_5cc6da54f3840",
|
117 |
+
"label": "Number Color",
|
118 |
+
"name": "acfb_counter_number_color",
|
119 |
+
"type": "color_picker",
|
120 |
+
"instructions": "",
|
121 |
+
"required": 0,
|
122 |
+
"conditional_logic": 0,
|
123 |
+
"wrapper": {
|
124 |
+
"width": "",
|
125 |
+
"class": "",
|
126 |
+
"id": ""
|
127 |
+
},
|
128 |
+
"default_value": "#191e23"
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"key": "field_5cc6da81f3841",
|
132 |
+
"label": "Number Size",
|
133 |
+
"name": "acfb_counter_number_size",
|
134 |
+
"type": "range",
|
135 |
+
"instructions": "",
|
136 |
+
"required": 0,
|
137 |
+
"conditional_logic": 0,
|
138 |
+
"wrapper": {
|
139 |
+
"width": "",
|
140 |
+
"class": "",
|
141 |
+
"id": ""
|
142 |
+
},
|
143 |
+
"default_value": 69,
|
144 |
+
"min": "",
|
145 |
+
"max": "",
|
146 |
+
"step": "",
|
147 |
+
"prepend": "",
|
148 |
+
"append": "px"
|
149 |
+
},
|
150 |
+
{
|
151 |
+
"key": "field_5cc6dab2f3842",
|
152 |
+
"label": "Title Color",
|
153 |
+
"name": "acfb_counter_number_title_color",
|
154 |
+
"type": "color_picker",
|
155 |
+
"instructions": "",
|
156 |
+
"required": 0,
|
157 |
+
"conditional_logic": 0,
|
158 |
+
"wrapper": {
|
159 |
+
"width": "",
|
160 |
+
"class": "",
|
161 |
+
"id": ""
|
162 |
+
},
|
163 |
+
"default_value": "#191e23"
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"key": "field_5cc6dae0f3843",
|
167 |
+
"label": "Title Size",
|
168 |
+
"name": "acfb_counter_number_title_size",
|
169 |
+
"type": "range",
|
170 |
+
"instructions": "",
|
171 |
+
"required": 0,
|
172 |
+
"conditional_logic": 0,
|
173 |
+
"wrapper": {
|
174 |
+
"width": "",
|
175 |
+
"class": "",
|
176 |
+
"id": ""
|
177 |
+
},
|
178 |
+
"default_value": 19,
|
179 |
+
"min": "",
|
180 |
+
"max": "",
|
181 |
+
"step": "",
|
182 |
+
"prepend": "",
|
183 |
+
"append": "px"
|
184 |
+
}
|
185 |
+
],
|
186 |
+
"location": [
|
187 |
+
[
|
188 |
+
{
|
189 |
+
"param": "block",
|
190 |
+
"operator": "==",
|
191 |
+
"value": "acf\/acfb-counternumber"
|
192 |
+
}
|
193 |
+
]
|
194 |
+
],
|
195 |
+
"menu_order": 0,
|
196 |
+
"position": "normal",
|
197 |
+
"style": "default",
|
198 |
+
"label_placement": "top",
|
199 |
+
"instruction_placement": "label",
|
200 |
+
"hide_on_screen": "",
|
201 |
+
"active": 1,
|
202 |
+
"description": "",
|
203 |
+
"private": true,
|
204 |
+
"modified": 1568298211
|
205 |
+
}
|
acf-json/group_5cc6dfe67784b.json
CHANGED
@@ -1,330 +1,354 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
{
|
2 |
+
"key": "group_5cc6dfe67784b",
|
3 |
+
"title": "Price List",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5cc849708d41e",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5dc555a1de272",
|
23 |
+
"label": "Image Position",
|
24 |
+
"name": "acfb_price_list_image_position",
|
25 |
+
"type": "button_group",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"choices": {
|
35 |
+
"acfb_price_list_image_top": "Top",
|
36 |
+
"acfb_price_list_image_left": "Left",
|
37 |
+
"acfb_price_list_image_right": "Right"
|
38 |
+
},
|
39 |
+
"allow_null": 0,
|
40 |
+
"default_value": "acfb_price_list_image_left",
|
41 |
+
"layout": "horizontal",
|
42 |
+
"return_format": "value"
|
43 |
+
},
|
44 |
+
{
|
45 |
+
"key": "field_5cc6fc92492de",
|
46 |
+
"label": "Image",
|
47 |
+
"name": "acfb_price_list_image",
|
48 |
+
"type": "image",
|
49 |
+
"instructions": "",
|
50 |
+
"required": 0,
|
51 |
+
"conditional_logic": 0,
|
52 |
+
"wrapper": {
|
53 |
+
"width": "",
|
54 |
+
"class": "",
|
55 |
+
"id": ""
|
56 |
+
},
|
57 |
+
"return_format": "url",
|
58 |
+
"preview_size": "medium",
|
59 |
+
"library": "all",
|
60 |
+
"min_width": "",
|
61 |
+
"min_height": "",
|
62 |
+
"min_size": "",
|
63 |
+
"max_width": "",
|
64 |
+
"max_height": "",
|
65 |
+
"max_size": "",
|
66 |
+
"mime_types": ""
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"key": "field_5cc6fd6ff9966",
|
70 |
+
"label": "Image Alt",
|
71 |
+
"name": "acfb_price_list_image_alt",
|
72 |
+
"type": "text",
|
73 |
+
"instructions": "",
|
74 |
+
"required": 0,
|
75 |
+
"conditional_logic": 0,
|
76 |
+
"wrapper": {
|
77 |
+
"width": "",
|
78 |
+
"class": "",
|
79 |
+
"id": ""
|
80 |
+
},
|
81 |
+
"default_value": "Alt Text",
|
82 |
+
"placeholder": "Alt Text",
|
83 |
+
"prepend": "",
|
84 |
+
"append": "",
|
85 |
+
"maxlength": ""
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"key": "field_5cc6fc32492dc",
|
89 |
+
"label": "Title",
|
90 |
+
"name": "acfb_price_list_title",
|
91 |
+
"type": "text",
|
92 |
+
"instructions": "",
|
93 |
+
"required": 0,
|
94 |
+
"conditional_logic": 0,
|
95 |
+
"wrapper": {
|
96 |
+
"width": "",
|
97 |
+
"class": "",
|
98 |
+
"id": ""
|
99 |
+
},
|
100 |
+
"default_value": "Item on the list",
|
101 |
+
"placeholder": "Item on the list",
|
102 |
+
"prepend": "",
|
103 |
+
"append": "",
|
104 |
+
"maxlength": ""
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"key": "field_5ccc4630098a1",
|
108 |
+
"label": "Price Prefix",
|
109 |
+
"name": "acfb_price_list_price_prefix",
|
110 |
+
"type": "text",
|
111 |
+
"instructions": "",
|
112 |
+
"required": 0,
|
113 |
+
"conditional_logic": 0,
|
114 |
+
"wrapper": {
|
115 |
+
"width": "",
|
116 |
+
"class": "",
|
117 |
+
"id": ""
|
118 |
+
},
|
119 |
+
"default_value": "$",
|
120 |
+
"placeholder": "$",
|
121 |
+
"prepend": "",
|
122 |
+
"append": "",
|
123 |
+
"maxlength": ""
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"key": "field_5cc6fbe2e8afe",
|
127 |
+
"label": "Price",
|
128 |
+
"name": "acfb_price_list_price",
|
129 |
+
"type": "number",
|
130 |
+
"instructions": "",
|
131 |
+
"required": 0,
|
132 |
+
"conditional_logic": 0,
|
133 |
+
"wrapper": {
|
134 |
+
"width": "",
|
135 |
+
"class": "",
|
136 |
+
"id": ""
|
137 |
+
},
|
138 |
+
"default_value": 10,
|
139 |
+
"placeholder": "",
|
140 |
+
"prepend": "",
|
141 |
+
"append": "",
|
142 |
+
"min": "",
|
143 |
+
"max": "",
|
144 |
+
"step": ""
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"key": "field_5cc6fc63492dd",
|
148 |
+
"label": "Description",
|
149 |
+
"name": "acfb_price_list_description",
|
150 |
+
"type": "textarea",
|
151 |
+
"instructions": "",
|
152 |
+
"required": 0,
|
153 |
+
"conditional_logic": 0,
|
154 |
+
"wrapper": {
|
155 |
+
"width": "",
|
156 |
+
"class": "",
|
157 |
+
"id": ""
|
158 |
+
},
|
159 |
+
"default_value": "I am item content. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
160 |
+
"placeholder": "I am item content. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
161 |
+
"maxlength": "",
|
162 |
+
"rows": "",
|
163 |
+
"new_lines": ""
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"key": "field_5cc6fcb7492df",
|
167 |
+
"label": "Link",
|
168 |
+
"name": "acfb_price_list_link",
|
169 |
+
"type": "text",
|
170 |
+
"instructions": "",
|
171 |
+
"required": 0,
|
172 |
+
"conditional_logic": 0,
|
173 |
+
"wrapper": {
|
174 |
+
"width": "",
|
175 |
+
"class": "",
|
176 |
+
"id": ""
|
177 |
+
},
|
178 |
+
"default_value": "#",
|
179 |
+
"placeholder": "#",
|
180 |
+
"prepend": "",
|
181 |
+
"append": "",
|
182 |
+
"maxlength": ""
|
183 |
+
},
|
184 |
+
{
|
185 |
+
"key": "field_5cc849a38d41f",
|
186 |
+
"label": "Design",
|
187 |
+
"name": "",
|
188 |
+
"type": "tab",
|
189 |
+
"instructions": "",
|
190 |
+
"required": 0,
|
191 |
+
"conditional_logic": 0,
|
192 |
+
"wrapper": {
|
193 |
+
"width": "",
|
194 |
+
"class": "",
|
195 |
+
"id": ""
|
196 |
+
},
|
197 |
+
"placement": "top",
|
198 |
+
"endpoint": 0
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"key": "field_5cc700e89b703",
|
202 |
+
"label": "Title & Price Color",
|
203 |
+
"name": "acfb_price_list_title_&_price_color",
|
204 |
+
"type": "color_picker",
|
205 |
+
"instructions": "",
|
206 |
+
"required": 0,
|
207 |
+
"conditional_logic": 0,
|
208 |
+
"wrapper": {
|
209 |
+
"width": "",
|
210 |
+
"class": "",
|
211 |
+
"id": ""
|
212 |
+
},
|
213 |
+
"default_value": "#191e23"
|
214 |
+
},
|
215 |
+
{
|
216 |
+
"key": "field_5cc701239b704",
|
217 |
+
"label": "Title & Price Size",
|
218 |
+
"name": "acfb_price_list_title_&_price_size",
|
219 |
+
"type": "range",
|
220 |
+
"instructions": "",
|
221 |
+
"required": 0,
|
222 |
+
"conditional_logic": 0,
|
223 |
+
"wrapper": {
|
224 |
+
"width": "",
|
225 |
+
"class": "",
|
226 |
+
"id": ""
|
227 |
+
},
|
228 |
+
"default_value": 19,
|
229 |
+
"min": "",
|
230 |
+
"max": "",
|
231 |
+
"step": "",
|
232 |
+
"prepend": "",
|
233 |
+
"append": "px"
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"key": "field_5cc7020b9b707",
|
237 |
+
"label": "Separator Styles",
|
238 |
+
"name": "acfb_price_list_separator_styles",
|
239 |
+
"type": "select",
|
240 |
+
"instructions": "",
|
241 |
+
"required": 0,
|
242 |
+
"conditional_logic": 0,
|
243 |
+
"wrapper": {
|
244 |
+
"width": "",
|
245 |
+
"class": "",
|
246 |
+
"id": ""
|
247 |
+
},
|
248 |
+
"choices": {
|
249 |
+
"Solid": "Solid",
|
250 |
+
"Dotted": "Dotted",
|
251 |
+
"Dashed": "Dashed",
|
252 |
+
"Double": "Double",
|
253 |
+
"None": "None"
|
254 |
+
},
|
255 |
+
"default_value": [
|
256 |
+
"Dotted"
|
257 |
+
],
|
258 |
+
"allow_null": 0,
|
259 |
+
"multiple": 0,
|
260 |
+
"ui": 0,
|
261 |
+
"return_format": "value",
|
262 |
+
"ajax": 0,
|
263 |
+
"placeholder": ""
|
264 |
+
},
|
265 |
+
{
|
266 |
+
"key": "field_5cc7026a9b708",
|
267 |
+
"label": "Separator Size",
|
268 |
+
"name": "acfb_price_list_separator_size",
|
269 |
+
"type": "range",
|
270 |
+
"instructions": "",
|
271 |
+
"required": 0,
|
272 |
+
"conditional_logic": 0,
|
273 |
+
"wrapper": {
|
274 |
+
"width": "",
|
275 |
+
"class": "",
|
276 |
+
"id": ""
|
277 |
+
},
|
278 |
+
"default_value": 2,
|
279 |
+
"min": "",
|
280 |
+
"max": 10,
|
281 |
+
"step": "",
|
282 |
+
"prepend": "",
|
283 |
+
"append": "px"
|
284 |
+
},
|
285 |
+
{
|
286 |
+
"key": "field_5cc7028b9b709",
|
287 |
+
"label": "Separator Color",
|
288 |
+
"name": "acfb_price_list_separator_color",
|
289 |
+
"type": "color_picker",
|
290 |
+
"instructions": "",
|
291 |
+
"required": 0,
|
292 |
+
"conditional_logic": 0,
|
293 |
+
"wrapper": {
|
294 |
+
"width": "",
|
295 |
+
"class": "",
|
296 |
+
"id": ""
|
297 |
+
},
|
298 |
+
"default_value": "#191e23"
|
299 |
+
},
|
300 |
+
{
|
301 |
+
"key": "field_5cc7015b9b705",
|
302 |
+
"label": "Description Color",
|
303 |
+
"name": "acfb_price_list_description_color",
|
304 |
+
"type": "color_picker",
|
305 |
+
"instructions": "",
|
306 |
+
"required": 0,
|
307 |
+
"conditional_logic": 0,
|
308 |
+
"wrapper": {
|
309 |
+
"width": "",
|
310 |
+
"class": "",
|
311 |
+
"id": ""
|
312 |
+
},
|
313 |
+
"default_value": "#191e23"
|
314 |
+
},
|
315 |
+
{
|
316 |
+
"key": "field_5cc7017a9b706",
|
317 |
+
"label": "Description Size",
|
318 |
+
"name": "acfb_price_list_description_size",
|
319 |
+
"type": "range",
|
320 |
+
"instructions": "",
|
321 |
+
"required": 0,
|
322 |
+
"conditional_logic": 0,
|
323 |
+
"wrapper": {
|
324 |
+
"width": "",
|
325 |
+
"class": "",
|
326 |
+
"id": ""
|
327 |
+
},
|
328 |
+
"default_value": 16,
|
329 |
+
"min": "",
|
330 |
+
"max": "",
|
331 |
+
"step": "",
|
332 |
+
"prepend": "",
|
333 |
+
"append": "px"
|
334 |
+
}
|
335 |
+
],
|
336 |
+
"location": [
|
337 |
+
[
|
338 |
+
{
|
339 |
+
"param": "block",
|
340 |
+
"operator": "==",
|
341 |
+
"value": "acf\/acfb-pricelist"
|
342 |
+
}
|
343 |
+
]
|
344 |
+
],
|
345 |
+
"menu_order": 0,
|
346 |
+
"position": "normal",
|
347 |
+
"style": "default",
|
348 |
+
"label_placement": "top",
|
349 |
+
"instruction_placement": "label",
|
350 |
+
"hide_on_screen": "",
|
351 |
+
"active": 1,
|
352 |
+
"description": "",
|
353 |
+
"modified": 1573213755
|
354 |
+
}
|
acf-json/group_5cc7092c01eb4.json
CHANGED
@@ -1,214 +1,214 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
]
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
}
|
1 |
{
|
2 |
+
"key": "group_5cc7092c01eb4",
|
3 |
+
"title": "Click To Tweet",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5cc859c489bde",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5cc70bff80772",
|
23 |
+
"label": "Twitter Handle",
|
24 |
+
"name": "acfb_click_to_tweet_handler",
|
25 |
+
"type": "text",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"default_value": "acfwpblocks",
|
35 |
+
"placeholder": "acfwpblocks",
|
36 |
+
"prepend": "@",
|
37 |
+
"append": "",
|
38 |
+
"maxlength": ""
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"key": "field_5cc70bcb80771",
|
42 |
+
"label": "Content",
|
43 |
+
"name": "acfb_click_to_tweet_content",
|
44 |
+
"type": "textarea",
|
45 |
+
"instructions": "",
|
46 |
+
"required": 0,
|
47 |
+
"conditional_logic": 0,
|
48 |
+
"wrapper": {
|
49 |
+
"width": "",
|
50 |
+
"class": "",
|
51 |
+
"id": ""
|
52 |
+
},
|
53 |
+
"default_value": "#ACFBlocks is a collection of ready-to-use #Gutenberg Blocks for WordPress. Supercharge your Gutenberg editor with high quality beautiful WordPress blocks. Best of all it’s FREE.",
|
54 |
+
"placeholder": "",
|
55 |
+
"maxlength": "",
|
56 |
+
"rows": "",
|
57 |
+
"new_lines": ""
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"key": "field_5cc7104900845",
|
61 |
+
"label": "Button Text",
|
62 |
+
"name": "acfb_click_to_tweet_button_text",
|
63 |
+
"type": "text",
|
64 |
+
"instructions": "",
|
65 |
+
"required": 0,
|
66 |
+
"conditional_logic": 0,
|
67 |
+
"wrapper": {
|
68 |
+
"width": "",
|
69 |
+
"class": "",
|
70 |
+
"id": ""
|
71 |
+
},
|
72 |
+
"default_value": "Click to Tweet",
|
73 |
+
"placeholder": "Click to Tweet",
|
74 |
+
"prepend": "",
|
75 |
+
"append": "",
|
76 |
+
"maxlength": ""
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"key": "field_5cc859d789bdf",
|
80 |
+
"label": "Design",
|
81 |
+
"name": "",
|
82 |
+
"type": "tab",
|
83 |
+
"instructions": "",
|
84 |
+
"required": 0,
|
85 |
+
"conditional_logic": 0,
|
86 |
+
"wrapper": {
|
87 |
+
"width": "",
|
88 |
+
"class": "",
|
89 |
+
"id": ""
|
90 |
+
},
|
91 |
+
"placement": "top",
|
92 |
+
"endpoint": 0
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"key": "field_5cc70f3700841",
|
96 |
+
"label": "Background Color",
|
97 |
+
"name": "acfb_click_to_tweet_bg_color",
|
98 |
+
"type": "color_picker",
|
99 |
+
"instructions": "",
|
100 |
+
"required": 0,
|
101 |
+
"conditional_logic": 0,
|
102 |
+
"wrapper": {
|
103 |
+
"width": "",
|
104 |
+
"class": "",
|
105 |
+
"id": ""
|
106 |
+
},
|
107 |
+
"default_value": "#f3f4f5"
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"key": "field_5cc70f7c00842",
|
111 |
+
"label": "Text Color",
|
112 |
+
"name": "acfb_click_to_tweet_text_color",
|
113 |
+
"type": "color_picker",
|
114 |
+
"instructions": "",
|
115 |
+
"required": 0,
|
116 |
+
"conditional_logic": 0,
|
117 |
+
"wrapper": {
|
118 |
+
"width": "",
|
119 |
+
"class": "",
|
120 |
+
"id": ""
|
121 |
+
},
|
122 |
+
"default_value": "#191e23"
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"key": "field_5cc70fb000843",
|
126 |
+
"label": "Text Size",
|
127 |
+
"name": "acfb_click_to_tweet_text_size",
|
128 |
+
"type": "range",
|
129 |
+
"instructions": "",
|
130 |
+
"required": 0,
|
131 |
+
"conditional_logic": 0,
|
132 |
+
"wrapper": {
|
133 |
+
"width": "",
|
134 |
+
"class": "",
|
135 |
+
"id": ""
|
136 |
+
},
|
137 |
+
"default_value": 24,
|
138 |
+
"min": "",
|
139 |
+
"max": "",
|
140 |
+
"step": "",
|
141 |
+
"prepend": "",
|
142 |
+
"append": "px"
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"key": "field_5cc7101700844",
|
146 |
+
"label": "Button Color",
|
147 |
+
"name": "acfb_click_to_tweet_button_color",
|
148 |
+
"type": "color_picker",
|
149 |
+
"instructions": "",
|
150 |
+
"required": 0,
|
151 |
+
"conditional_logic": 0,
|
152 |
+
"wrapper": {
|
153 |
+
"width": "",
|
154 |
+
"class": "",
|
155 |
+
"id": ""
|
156 |
+
},
|
157 |
+
"default_value": "rgba(25, 30, 35, 0.6)"
|
158 |
+
},
|
159 |
+
{
|
160 |
+
"key": "field_5cc711a7d4787",
|
161 |
+
"label": "Button Hover Color",
|
162 |
+
"name": "acfb_click_to_tweet_button_hover_color",
|
163 |
+
"type": "color_picker",
|
164 |
+
"instructions": "",
|
165 |
+
"required": 0,
|
166 |
+
"conditional_logic": 0,
|
167 |
+
"wrapper": {
|
168 |
+
"width": "",
|
169 |
+
"class": "",
|
170 |
+
"id": ""
|
171 |
+
},
|
172 |
+
"default_value": "#191e23"
|
173 |
+
},
|
174 |
+
{
|
175 |
+
"key": "field_5cc7108600846",
|
176 |
+
"label": "Button Size",
|
177 |
+
"name": "acfb_click_to_tweet_button_size",
|
178 |
+
"type": "range",
|
179 |
+
"instructions": "",
|
180 |
+
"required": 0,
|
181 |
+
"conditional_logic": 0,
|
182 |
+
"wrapper": {
|
183 |
+
"width": "",
|
184 |
+
"class": "",
|
185 |
+
"id": ""
|
186 |
+
},
|
187 |
+
"default_value": 12,
|
188 |
+
"min": "",
|
189 |
+
"max": "",
|
190 |
+
"step": "",
|
191 |
+
"prepend": "",
|
192 |
+
"append": "px"
|
193 |
+
}
|
194 |
+
],
|
195 |
+
"location": [
|
196 |
+
[
|
197 |
+
{
|
198 |
+
"param": "block",
|
199 |
+
"operator": "==",
|
200 |
+
"value": "acf\/acfb-clicktotweet"
|
201 |
+
}
|
202 |
+
]
|
203 |
+
],
|
204 |
+
"menu_order": 0,
|
205 |
+
"position": "normal",
|
206 |
+
"style": "default",
|
207 |
+
"label_placement": "top",
|
208 |
+
"instruction_placement": "label",
|
209 |
+
"hide_on_screen": "",
|
210 |
+
"active": 1,
|
211 |
+
"description": "",
|
212 |
+
"private": true,
|
213 |
+
"modified": 1568298228
|
214 |
+
}
|
acf-json/group_5cd00bce35670.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"key": "group_5cd00bce35670",
|
3 |
"title": "Posts",
|
4 |
-
"private" : true,
|
5 |
"fields": [
|
6 |
{
|
7 |
"key": "field_5cd3f78c914d2",
|
@@ -714,5 +713,6 @@
|
|
714 |
"hide_on_screen": "",
|
715 |
"active": 1,
|
716 |
"description": "",
|
717 |
-
"
|
|
|
718 |
}
|
1 |
{
|
2 |
"key": "group_5cd00bce35670",
|
3 |
"title": "Posts",
|
|
|
4 |
"fields": [
|
5 |
{
|
6 |
"key": "field_5cd3f78c914d2",
|
713 |
"hide_on_screen": "",
|
714 |
"active": 1,
|
715 |
"description": "",
|
716 |
+
"private": true,
|
717 |
+
"modified": 1568298238
|
718 |
}
|
acf-json/group_5cde975abf269.json
CHANGED
@@ -1,201 +1,207 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
[
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
]
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
"type": "color_picker",
|
164 |
-
"instructions": "",
|
165 |
-
"required": 0,
|
166 |
-
"conditional_logic": [
|
167 |
-
[
|
168 |
-
{
|
169 |
-
"field": "field_5ce00b5254e6a",
|
170 |
-
"operator": "!=",
|
171 |
-
"value": "1"
|
172 |
-
}
|
173 |
-
]
|
174 |
-
],
|
175 |
-
"wrapper": {
|
176 |
-
"width": "",
|
177 |
-
"class": "",
|
178 |
-
"id": ""
|
179 |
-
},
|
180 |
-
"default_value": "#191e23"
|
181 |
-
}
|
182 |
-
],
|
183 |
-
"location": [
|
184 |
-
[
|
185 |
-
{
|
186 |
-
"param": "block",
|
187 |
-
"operator": "==",
|
188 |
-
"value": "acf/acfb-socialsharing"
|
189 |
-
}
|
190 |
-
]
|
191 |
-
],
|
192 |
-
"menu_order": 0,
|
193 |
-
"position": "normal",
|
194 |
-
"style": "default",
|
195 |
-
"label_placement": "top",
|
196 |
-
"instruction_placement": "label",
|
197 |
-
"hide_on_screen": "",
|
198 |
-
"active": 1,
|
199 |
-
"description": "",
|
200 |
-
"modified": 1558698524
|
201 |
-
}
|
1 |
{
|
2 |
+
"key": "group_5cde975abf269",
|
3 |
+
"title": "Social Sharing Block",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5cdff704f1ebf",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5cde9c8672840",
|
23 |
+
"label": "Social Networks",
|
24 |
+
"name": "acfb_social_network",
|
25 |
+
"type": "checkbox",
|
26 |
+
"instructions": "Click on the network icons to enable.",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "acfb_social_networks",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"choices": {
|
35 |
+
"1": "<svg class=\"acfb_social_icons acfb_social_facebook_main\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path d=\"M18.77 7.46H14.5v-1.9c0-.9.6-1.1 1-1.1h3V.5h-4.33C10.24.5 9.5 3.44 9.5 5.32v2.15h-3v4h3v12h5v-12h3.85l.42-4z\" stroke=\"none\" fill=\"#666666\" stroke-width=\"2px\"\/><\/svg>",
|
36 |
+
"2": "<svg class=\"acfb_social_icons acfb_social_twitter_main\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path d=\"M23.44 4.83c-.8.37-1.5.38-2.22.02.93-.56.98-.96 1.32-2.02-.88.52-1.86.9-2.9 1.1-.82-.88-2-1.43-3.3-1.43-2.5 0-4.55 2.04-4.55 4.54 0 .36.03.7.1 1.04-3.77-.2-7.12-2-9.36-4.75-.4.67-.6 1.45-.6 2.3 0 1.56.8 2.95 2 3.77-.74-.03-1.44-.23-2.05-.57v.06c0 2.2 1.56 4.03 3.64 4.44-.67.2-1.37.2-2.06.08.58 1.8 2.26 3.12 4.25 3.16C5.78 18.1 3.37 18.74 1 18.46c2 1.3 4.4 2.04 6.97 2.04 8.35 0 12.92-6.92 12.92-12.93 0-.2 0-.4-.02-.6.9-.63 1.96-1.22 2.56-2.14z\" stroke=\"none\" fill=\"#666666\" stroke-width=\"2px\"\/><\/svg>",
|
37 |
+
"3": "<svg class=\"acfb_social_icons acfb_social_email_main\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path d=\"M22 4H2C.9 4 0 4.9 0 6v12c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM7.25 14.43l-3.5 2c-.08.05-.17.07-.25.07-.17 0-.34-.1-.43-.25-.14-.24-.06-.55.18-.68l3.5-2c.24-.14.55-.06.68.18.14.24.06.55-.18.68zm4.75.07c-.1 0-.2-.03-.27-.08l-8.5-5.5c-.23-.15-.3-.46-.15-.7.15-.22.46-.3.7-.14L12 13.4l8.23-5.32c.23-.15.54-.08.7.15.14.23.07.54-.16.7l-8.5 5.5c-.08.04-.17.07-.27.07zm8.93 1.75c-.1.16-.26.25-.43.25-.08 0-.17-.02-.25-.07l-3.5-2c-.24-.13-.32-.44-.18-.68s.44-.32.68-.18l3.5 2c.24.13.32.44.18.68z\" stroke=\"none\" fill=\"#666666\" stroke-width=\"2px\"\/><\/svg>",
|
38 |
+
"4": "<svg class=\"acfb_social_icons acfb_social_pinterest_main\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path d=\"M12.14.5C5.86.5 2.7 5 2.7 8.75c0 2.27.86 4.3 2.7 5.05.3.12.57 0 .66-.33l.27-1.06c.1-.32.06-.44-.2-.73-.52-.62-.86-1.44-.86-2.6 0-3.33 2.5-6.32 6.5-6.32 3.55 0 5.5 2.17 5.5 5.07 0 3.8-1.7 7.02-4.2 7.02-1.37 0-2.4-1.14-2.07-2.54.4-1.68 1.16-3.48 1.16-4.7 0-1.07-.58-1.98-1.78-1.98-1.4 0-2.55 1.47-2.55 3.42 0 1.25.43 2.1.43 2.1l-1.7 7.2c-.5 2.13-.08 4.75-.04 5 .02.17.22.2.3.1.14-.18 1.82-2.26 2.4-4.33.16-.58.93-3.63.93-3.63.45.88 1.8 1.65 3.22 1.65 4.25 0 7.13-3.87 7.13-9.05C20.5 4.15 17.18.5 12.14.5z\" stroke=\"none\" fill=\"#666666\" stroke-width=\"2px\"\/><\/svg>",
|
39 |
+
"5": "<svg class=\"acfb_social_icons acfb_social_linkedin_main\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path d=\"M6.5 21.5h-5v-13h5v13zM4 6.5C2.5 6.5 1.5 5.3 1.5 4s1-2.4 2.5-2.4c1.6 0 2.5 1 2.6 2.5 0 1.4-1 2.5-2.6 2.5zm11.5 6c-1 0-2 1-2 2v7h-5v-13h5V10s1.6-1.5 4-1.5c3 0 5 2.2 5 6.3v6.7h-5v-7c0-1-1-2-2-2z\" stroke=\"none\" fill=\"#666666\" stroke-width=\"2px\"\/><\/svg>",
|
40 |
+
"6": "<svg class=\"acfb_social_icons acfb_social_reddit_main\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path d=\"M24 11.5c0-1.65-1.35-3-3-3-.96 0-1.86.48-2.42 1.24-1.64-1-3.75-1.64-6.07-1.72.08-1.1.4-3.05 1.52-3.7.72-.4 1.73-.24 3 .5C17.2 6.3 18.46 7.5 20 7.5c1.65 0 3-1.35 3-3s-1.35-3-3-3c-1.38 0-2.54.94-2.88 2.22-1.43-.72-2.64-.8-3.6-.25-1.64.94-1.95 3.47-2 4.55-2.33.08-4.45.7-6.1 1.72C4.86 8.98 3.96 8.5 3 8.5c-1.65 0-3 1.35-3 3 0 1.32.84 2.44 2.05 2.84-.03.22-.05.44-.05.66 0 3.86 4.5 7 10 7s10-3.14 10-7c0-.22-.02-.44-.05-.66 1.2-.4 2.05-1.54 2.05-2.84zM2.3 13.37C1.5 13.07 1 12.35 1 11.5c0-1.1.9-2 2-2 .64 0 1.22.32 1.6.82-1.1.85-1.92 1.9-2.3 3.05zm3.7.13c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zm9.8 4.8c-1.08.63-2.42.96-3.8.96-1.4 0-2.74-.34-3.8-.95-.24-.13-.32-.44-.2-.68.15-.24.46-.32.7-.18 1.83 1.06 4.76 1.06 6.6 0 .23-.13.53-.05.67.2.14.23.06.54-.18.67zm.2-2.8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm5.7-2.13c-.38-1.16-1.2-2.2-2.3-3.05.38-.5.97-.82 1.6-.82 1.1 0 2 .9 2 2 0 .84-.53 1.57-1.3 1.87z\" stroke=\"none\" fill=\"#666666\" stroke-width=\"2px\"\/><\/svg>",
|
41 |
+
"7": "<svg class=\"acfb_social_icons acfb_social_xing_main\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path d=\"M10.2 9.7l-3-5.4C7.2 4 7 4 6.8 4h-5c-.3 0-.4 0-.5.2v.5L4 10 .4 16v.5c0 .2.2.3.4.3h5c.3 0 .4 0 .5-.2l4-6.6v-.5zM24 .2l-.5-.2H18s-.2 0-.3.3l-8 14v.4l5.2 9c0 .2 0 .3.3.3h5.4s.3 0 .4-.2c.2-.2.2-.4 0-.5l-5-8.8L24 .7V.2z\" stroke=\"none\" fill=\"#666666\" stroke-width=\"2px\"\/><\/svg>",
|
42 |
+
"8": "<svg class=\"acfb_social_icons acfb_social_whatsapp_main\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path d=\"M20.1 3.9C17.9 1.7 15 .5 12 .5 5.8.5.7 5.6.7 11.9c0 2 .5 3.9 1.5 5.6L.6 23.4l6-1.6c1.6.9 3.5 1.3 5.4 1.3 6.3 0 11.4-5.1 11.4-11.4-.1-2.8-1.2-5.7-3.3-7.8zM12 21.4c-1.7 0-3.3-.5-4.8-1.3l-.4-.2-3.5 1 1-3.4L4 17c-1-1.5-1.4-3.2-1.4-5.1 0-5.2 4.2-9.4 9.4-9.4 2.5 0 4.9 1 6.7 2.8 1.8 1.8 2.8 4.2 2.8 6.7-.1 5.2-4.3 9.4-9.5 9.4zm5.1-7.1c-.3-.1-1.7-.9-1.9-1-.3-.1-.5-.1-.7.1-.2.3-.8 1-.9 1.1-.2.2-.3.2-.6.1s-1.2-.5-2.3-1.4c-.9-.8-1.4-1.7-1.6-2-.2-.3 0-.5.1-.6s.3-.3.4-.5c.2-.1.3-.3.4-.5.1-.2 0-.4 0-.5C10 9 9.3 7.6 9 7c-.1-.4-.4-.3-.5-.3h-.6s-.4.1-.7.3c-.3.3-1 1-1 2.4s1 2.8 1.1 3c.1.2 2 3.1 4.9 4.3.7.3 1.2.5 1.6.6.7.2 1.3.2 1.8.1.6-.1 1.7-.7 1.9-1.3.2-.7.2-1.2.2-1.3-.1-.3-.3-.4-.6-.5z\" stroke=\"none\" fill=\"#666666\" stroke-width=\"2px\"\/><\/svg>",
|
43 |
+
"9": "<svg class=\"acfb_social_icons acfb_social_hackernews_main\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 140 140\"><path fill-rule=\"evenodd\" d=\"M60.94 82.314L17 0h20.08l25.85 52.093c.397.927.86 1.888 1.39 2.883.53.994.995 2.02 1.393 3.08.265.4.463.764.596 1.095.13.334.262.63.395.898.662 1.325 1.26 2.618 1.79 3.877.53 1.26.993 2.42 1.39 3.48 1.06-2.254 2.22-4.673 3.48-7.258 1.26-2.585 2.552-5.27 3.877-8.052L103.49 0h18.69L77.84 83.308v53.087h-16.9v-54.08z\" stroke=\"none\" fill=\"#666666\" stroke-width=\"2px\"\/><\/svg>",
|
44 |
+
"10": "<svg class=\"acfb_social_icons acfb_social_vk_main\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path d=\"M21.547 7h-3.29a.743.743 0 0 0-.655.392s-1.312 2.416-1.734 3.23C14.734 12.813 14 12.126 14 11.11V7.603A1.104 1.104 0 0 0 12.896 6.5h-2.474a1.982 1.982 0 0 0-1.75.813s1.255-.204 1.255 1.49c0 .42.022 1.626.04 2.64a.73.73 0 0 1-1.272.503 21.54 21.54 0 0 1-2.498-4.543.693.693 0 0 0-.63-.403h-2.99a.508.508 0 0 0-.48.685C3.005 10.175 6.918 18 11.38 18h1.878a.742.742 0 0 0 .742-.742v-1.135a.73.73 0 0 1 1.23-.53l2.247 2.112a1.09 1.09 0 0 0 .746.295h2.953c1.424 0 1.424-.988.647-1.753-.546-.538-2.518-2.617-2.518-2.617a1.02 1.02 0 0 1-.078-1.323c.637-.84 1.68-2.212 2.122-2.8.603-.804 1.697-2.507.197-2.507z\" stroke=\"none\" fill=\"#666666\" stroke-width=\"2px\"\/><\/svg>",
|
45 |
+
"11": "<svg class=\"acfb_social_icons acfb_social_telegram_main\"xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path d=\"M.707 8.475C.275 8.64 0 9.508 0 9.508s.284.867.718 1.03l5.09 1.897 1.986 6.38a1.102 1.102 0 0 0 1.75.527l2.96-2.41a.405.405 0 0 1 .494-.013l5.34 3.87a1.1 1.1 0 0 0 1.046.135 1.1 1.1 0 0 0 .682-.803l3.91-18.795A1.102 1.102 0 0 0 22.5.075L.706 8.475z\" stroke=\"none\" fill=\"#666666\" stroke-width=\"2px\"\/><\/svg>"
|
46 |
+
},
|
47 |
+
"allow_custom": 0,
|
48 |
+
"default_value": [
|
49 |
+
1,
|
50 |
+
2,
|
51 |
+
3
|
52 |
+
],
|
53 |
+
"layout": "vertical",
|
54 |
+
"toggle": 0,
|
55 |
+
"return_format": "value",
|
56 |
+
"save_custom": 0
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"key": "field_5cdff85e00583",
|
60 |
+
"label": "Button Label",
|
61 |
+
"name": "acfb_button_label",
|
62 |
+
"type": "select",
|
63 |
+
"instructions": "",
|
64 |
+
"required": 0,
|
65 |
+
"conditional_logic": 0,
|
66 |
+
"wrapper": {
|
67 |
+
"width": "",
|
68 |
+
"class": "",
|
69 |
+
"id": ""
|
70 |
+
},
|
71 |
+
"choices": {
|
72 |
+
"bi": "Brand Name And Icon",
|
73 |
+
"b": "Brand Name",
|
74 |
+
"i": "Brand Icon"
|
75 |
+
},
|
76 |
+
"default_value": [
|
77 |
+
"Brand Name And Icon"
|
78 |
+
],
|
79 |
+
"allow_null": 0,
|
80 |
+
"multiple": 0,
|
81 |
+
"ui": 0,
|
82 |
+
"return_format": "value",
|
83 |
+
"ajax": 0,
|
84 |
+
"placeholder": ""
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"key": "field_5cdff718f1ec0",
|
88 |
+
"label": "Design",
|
89 |
+
"name": "",
|
90 |
+
"type": "tab",
|
91 |
+
"instructions": "",
|
92 |
+
"required": 0,
|
93 |
+
"conditional_logic": 0,
|
94 |
+
"wrapper": {
|
95 |
+
"width": "",
|
96 |
+
"class": "",
|
97 |
+
"id": ""
|
98 |
+
},
|
99 |
+
"placement": "top",
|
100 |
+
"endpoint": 0
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"key": "field_5ce0083c74945",
|
104 |
+
"label": "Rounded Corners",
|
105 |
+
"name": "acfb_rounded_corners",
|
106 |
+
"type": "range",
|
107 |
+
"instructions": "",
|
108 |
+
"required": 0,
|
109 |
+
"conditional_logic": 0,
|
110 |
+
"wrapper": {
|
111 |
+
"width": "",
|
112 |
+
"class": "",
|
113 |
+
"id": ""
|
114 |
+
},
|
115 |
+
"default_value": 0,
|
116 |
+
"min": "",
|
117 |
+
"max": "",
|
118 |
+
"step": "",
|
119 |
+
"prepend": "",
|
120 |
+
"append": ""
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"key": "field_5ce00b5254e6a",
|
124 |
+
"label": "Buttons Color",
|
125 |
+
"name": "acfb_button_color",
|
126 |
+
"type": "true_false",
|
127 |
+
"instructions": "",
|
128 |
+
"required": 0,
|
129 |
+
"conditional_logic": 0,
|
130 |
+
"wrapper": {
|
131 |
+
"width": "",
|
132 |
+
"class": "",
|
133 |
+
"id": ""
|
134 |
+
},
|
135 |
+
"message": "",
|
136 |
+
"default_value": 0,
|
137 |
+
"ui": 1,
|
138 |
+
"ui_on_text": "Brand",
|
139 |
+
"ui_off_text": "Custom"
|
140 |
+
},
|
141 |
+
{
|
142 |
+
"key": "field_5ce00bb482a7b",
|
143 |
+
"label": "Background Color",
|
144 |
+
"name": "acfb_background_color",
|
145 |
+
"type": "color_picker",
|
146 |
+
"instructions": "",
|
147 |
+
"required": 0,
|
148 |
+
"conditional_logic": [
|
149 |
+
[
|
150 |
+
{
|
151 |
+
"field": "field_5ce00b5254e6a",
|
152 |
+
"operator": "!=",
|
153 |
+
"value": "1"
|
154 |
+
}
|
155 |
+
]
|
156 |
+
],
|
157 |
+
"wrapper": {
|
158 |
+
"width": "",
|
159 |
+
"class": "",
|
160 |
+
"id": ""
|
161 |
+
},
|
162 |
+
"default_value": "#f3f4f5"
|
163 |
+
},
|
164 |
+
{
|
165 |
+
"key": "field_5ce010e9cc5a7",
|
166 |
+
"label": "Text Color",
|
167 |
+
"name": "acfb_text_color",
|
168 |
+
"type": "color_picker",
|
169 |
+
"instructions": "",
|
170 |
+
"required": 0,
|
171 |
+
"conditional_logic": [
|
172 |
+
[
|
173 |
+
{
|
174 |
+
"field": "field_5ce00b5254e6a",
|
175 |
+
"operator": "!=",
|
176 |
+
"value": "1"
|
177 |
+
}
|
178 |
+
]
|
179 |
+
],
|
180 |
+
"wrapper": {
|
181 |
+
"width": "",
|
182 |
+
"class": "",
|
183 |
+
"id": ""
|
184 |
+
},
|
185 |
+
"default_value": "#191e23"
|
186 |
+
}
|
187 |
+
],
|
188 |
+
"location": [
|
189 |
[
|
190 |
+
{
|
191 |
+
"param": "block",
|
192 |
+
"operator": "==",
|
193 |
+
"value": "acf\/acfb-socialsharing"
|
194 |
+
}
|
195 |
]
|
196 |
+
],
|
197 |
+
"menu_order": 0,
|
198 |
+
"position": "normal",
|
199 |
+
"style": "default",
|
200 |
+
"label_placement": "top",
|
201 |
+
"instruction_placement": "label",
|
202 |
+
"hide_on_screen": "",
|
203 |
+
"active": 1,
|
204 |
+
"description": "",
|
205 |
+
"private": true,
|
206 |
+
"modified": 1568298246
|
207 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
acf-json/group_5cf238e5e1203.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"key": "group_5cf238e5e1203",
|
3 |
"title": "Image Slider",
|
4 |
-
"private": true,
|
5 |
"fields": [
|
6 |
{
|
7 |
"key": "field_5cf5203222549",
|
@@ -440,5 +439,6 @@
|
|
440 |
"hide_on_screen": "",
|
441 |
"active": 1,
|
442 |
"description": "",
|
443 |
-
"
|
|
|
444 |
}
|
1 |
{
|
2 |
"key": "group_5cf238e5e1203",
|
3 |
"title": "Image Slider",
|
|
|
4 |
"fields": [
|
5 |
{
|
6 |
"key": "field_5cf5203222549",
|
439 |
"hide_on_screen": "",
|
440 |
"active": 1,
|
441 |
"description": "",
|
442 |
+
"private": true,
|
443 |
+
"modified": 1568298254
|
444 |
}
|
acf-json/group_5cfe3ba49f760.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"key": "group_5cfe3ba49f760",
|
3 |
"title": "Tabs",
|
4 |
-
"private": true,
|
5 |
"fields": [
|
6 |
{
|
7 |
"key": "field_5cfe4727e8c3f",
|
@@ -242,5 +241,6 @@
|
|
242 |
"hide_on_screen": "",
|
243 |
"active": 1,
|
244 |
"description": "",
|
245 |
-
"
|
|
|
246 |
}
|
1 |
{
|
2 |
"key": "group_5cfe3ba49f760",
|
3 |
"title": "Tabs",
|
|
|
4 |
"fields": [
|
5 |
{
|
6 |
"key": "field_5cfe4727e8c3f",
|
241 |
"hide_on_screen": "",
|
242 |
"active": 1,
|
243 |
"description": "",
|
244 |
+
"private": true,
|
245 |
+
"modified": 1568298262
|
246 |
}
|
acf-json/group_5cff80b5c59d1.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"key": "group_5cff80b5c59d1",
|
3 |
"title": "Toggle",
|
4 |
-
"private": true,
|
5 |
"fields": [
|
6 |
{
|
7 |
"key": "field_5cff85bd73eb0",
|
@@ -244,5 +243,6 @@
|
|
244 |
"hide_on_screen": "",
|
245 |
"active": 1,
|
246 |
"description": "",
|
247 |
-
"
|
|
|
248 |
}
|
1 |
{
|
2 |
"key": "group_5cff80b5c59d1",
|
3 |
"title": "Toggle",
|
|
|
4 |
"fields": [
|
5 |
{
|
6 |
"key": "field_5cff85bd73eb0",
|
243 |
"hide_on_screen": "",
|
244 |
"active": 1,
|
245 |
"description": "",
|
246 |
+
"private": true,
|
247 |
+
"modified": 1568298276
|
248 |
}
|
acf-json/group_5cff8a6c26332.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"key": "group_5cff8a6c26332",
|
3 |
"title": "Accordion",
|
4 |
-
"private": true,
|
5 |
"fields": [
|
6 |
{
|
7 |
"key": "field_5cff8f1176b4f",
|
@@ -265,5 +264,6 @@
|
|
265 |
"hide_on_screen": "",
|
266 |
"active": 1,
|
267 |
"description": "",
|
268 |
-
"
|
|
|
269 |
}
|
1 |
{
|
2 |
"key": "group_5cff8a6c26332",
|
3 |
"title": "Accordion",
|
|
|
4 |
"fields": [
|
5 |
{
|
6 |
"key": "field_5cff8f1176b4f",
|
264 |
"hide_on_screen": "",
|
265 |
"active": 1,
|
266 |
"description": "",
|
267 |
+
"private": true,
|
268 |
+
"modified": 1568298269
|
269 |
}
|
acf-json/group_5d7b6d4b9609e.json
ADDED
@@ -0,0 +1,1195 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5d7b6d4b9609e",
|
3 |
+
"title": "Flip Box",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5d81f8dad492a",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5d7b745aa6169",
|
23 |
+
"label": "Effects",
|
24 |
+
"name": "acfb_flip_effects",
|
25 |
+
"type": "select",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"choices": {
|
35 |
+
"acfb_flip": "Flip",
|
36 |
+
"acfb_slide": "Slide",
|
37 |
+
"acfb_push": "Push"
|
38 |
+
},
|
39 |
+
"default_value": [
|
40 |
+
"acfb_flip"
|
41 |
+
],
|
42 |
+
"allow_null": 0,
|
43 |
+
"multiple": 0,
|
44 |
+
"ui": 0,
|
45 |
+
"return_format": "value",
|
46 |
+
"ajax": 0,
|
47 |
+
"placeholder": ""
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"key": "field_5d7b7e3eaf8a9",
|
51 |
+
"label": "Direction",
|
52 |
+
"name": "acfb_flip_direction",
|
53 |
+
"type": "select",
|
54 |
+
"instructions": "",
|
55 |
+
"required": 0,
|
56 |
+
"conditional_logic": [
|
57 |
+
[
|
58 |
+
{
|
59 |
+
"field": "field_5d7b745aa6169",
|
60 |
+
"operator": "==",
|
61 |
+
"value": "acfb_flip"
|
62 |
+
}
|
63 |
+
],
|
64 |
+
[
|
65 |
+
{
|
66 |
+
"field": "field_5d7b745aa6169",
|
67 |
+
"operator": "==",
|
68 |
+
"value": "acfb_slide"
|
69 |
+
}
|
70 |
+
],
|
71 |
+
[
|
72 |
+
{
|
73 |
+
"field": "field_5d7b745aa6169",
|
74 |
+
"operator": "==",
|
75 |
+
"value": "acfb_push"
|
76 |
+
}
|
77 |
+
]
|
78 |
+
],
|
79 |
+
"wrapper": {
|
80 |
+
"width": "",
|
81 |
+
"class": "",
|
82 |
+
"id": ""
|
83 |
+
},
|
84 |
+
"choices": {
|
85 |
+
"acfb_left": "Left",
|
86 |
+
"acfb_right": "Right",
|
87 |
+
"acfb_up": "Up",
|
88 |
+
"acfb_down": "Down"
|
89 |
+
},
|
90 |
+
"default_value": [
|
91 |
+
"acfb_left"
|
92 |
+
],
|
93 |
+
"allow_null": 0,
|
94 |
+
"multiple": 0,
|
95 |
+
"ui": 0,
|
96 |
+
"return_format": "value",
|
97 |
+
"ajax": 0,
|
98 |
+
"placeholder": ""
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"key": "field_5dc417e312f93",
|
102 |
+
"label": "3D Depth",
|
103 |
+
"name": "acfb_flip_3d_depth",
|
104 |
+
"type": "true_false",
|
105 |
+
"instructions": "",
|
106 |
+
"required": 0,
|
107 |
+
"conditional_logic": [
|
108 |
+
[
|
109 |
+
{
|
110 |
+
"field": "field_5d7b745aa6169",
|
111 |
+
"operator": "==",
|
112 |
+
"value": "acfb_flip"
|
113 |
+
}
|
114 |
+
]
|
115 |
+
],
|
116 |
+
"wrapper": {
|
117 |
+
"width": "",
|
118 |
+
"class": "",
|
119 |
+
"id": ""
|
120 |
+
},
|
121 |
+
"message": "",
|
122 |
+
"default_value": 0,
|
123 |
+
"ui": 1,
|
124 |
+
"ui_on_text": "",
|
125 |
+
"ui_off_text": ""
|
126 |
+
},
|
127 |
+
{
|
128 |
+
"key": "field_5d8203956c6fd",
|
129 |
+
"label": "Height",
|
130 |
+
"name": "acfb_flipbox_height",
|
131 |
+
"type": "range",
|
132 |
+
"instructions": "",
|
133 |
+
"required": 0,
|
134 |
+
"conditional_logic": 0,
|
135 |
+
"wrapper": {
|
136 |
+
"width": "",
|
137 |
+
"class": "",
|
138 |
+
"id": ""
|
139 |
+
},
|
140 |
+
"default_value": 300,
|
141 |
+
"min": 100,
|
142 |
+
"max": 1000,
|
143 |
+
"step": "",
|
144 |
+
"prepend": "",
|
145 |
+
"append": "px"
|
146 |
+
},
|
147 |
+
{
|
148 |
+
"key": "field_5d81f93be87c6",
|
149 |
+
"label": "Front",
|
150 |
+
"name": "",
|
151 |
+
"type": "accordion",
|
152 |
+
"instructions": "",
|
153 |
+
"required": 0,
|
154 |
+
"conditional_logic": 0,
|
155 |
+
"wrapper": {
|
156 |
+
"width": "",
|
157 |
+
"class": "",
|
158 |
+
"id": ""
|
159 |
+
},
|
160 |
+
"open": 0,
|
161 |
+
"multi_expand": 0,
|
162 |
+
"endpoint": 0
|
163 |
+
},
|
164 |
+
{
|
165 |
+
"key": "field_5d7f6a450326c",
|
166 |
+
"label": "Image",
|
167 |
+
"name": "acfb_flipbox_front_image",
|
168 |
+
"type": "image",
|
169 |
+
"instructions": "",
|
170 |
+
"required": 0,
|
171 |
+
"conditional_logic": 0,
|
172 |
+
"wrapper": {
|
173 |
+
"width": "",
|
174 |
+
"class": "",
|
175 |
+
"id": ""
|
176 |
+
},
|
177 |
+
"return_format": "url",
|
178 |
+
"preview_size": "medium",
|
179 |
+
"library": "all",
|
180 |
+
"min_width": "",
|
181 |
+
"min_height": "",
|
182 |
+
"min_size": "",
|
183 |
+
"max_width": "",
|
184 |
+
"max_height": "",
|
185 |
+
"max_size": "",
|
186 |
+
"mime_types": ""
|
187 |
+
},
|
188 |
+
{
|
189 |
+
"key": "field_5d7f6c816dd53",
|
190 |
+
"label": "Image Alt",
|
191 |
+
"name": "acfb_flipbox_front_image_alt",
|
192 |
+
"type": "text",
|
193 |
+
"instructions": "",
|
194 |
+
"required": 0,
|
195 |
+
"conditional_logic": 0,
|
196 |
+
"wrapper": {
|
197 |
+
"width": "",
|
198 |
+
"class": "",
|
199 |
+
"id": ""
|
200 |
+
},
|
201 |
+
"default_value": "alt Text",
|
202 |
+
"placeholder": "alt Text",
|
203 |
+
"prepend": "",
|
204 |
+
"append": "",
|
205 |
+
"maxlength": ""
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"key": "field_5d81fb020f451",
|
209 |
+
"label": "Image Size",
|
210 |
+
"name": "acfb_flipbox_front_image_size",
|
211 |
+
"type": "range",
|
212 |
+
"instructions": "",
|
213 |
+
"required": 0,
|
214 |
+
"conditional_logic": 0,
|
215 |
+
"wrapper": {
|
216 |
+
"width": "",
|
217 |
+
"class": "",
|
218 |
+
"id": ""
|
219 |
+
},
|
220 |
+
"default_value": 20,
|
221 |
+
"min": "",
|
222 |
+
"max": "",
|
223 |
+
"step": "",
|
224 |
+
"prepend": "",
|
225 |
+
"append": "%"
|
226 |
+
},
|
227 |
+
{
|
228 |
+
"key": "field_5d7f6abd0326d",
|
229 |
+
"label": "Title",
|
230 |
+
"name": "acfb_flipbox_front_title",
|
231 |
+
"type": "text",
|
232 |
+
"instructions": "",
|
233 |
+
"required": 0,
|
234 |
+
"conditional_logic": 0,
|
235 |
+
"wrapper": {
|
236 |
+
"width": "",
|
237 |
+
"class": "",
|
238 |
+
"id": ""
|
239 |
+
},
|
240 |
+
"default_value": "Title",
|
241 |
+
"placeholder": "Title",
|
242 |
+
"prepend": "",
|
243 |
+
"append": "",
|
244 |
+
"maxlength": ""
|
245 |
+
},
|
246 |
+
{
|
247 |
+
"key": "field_5d7f6ad60326e",
|
248 |
+
"label": "Content",
|
249 |
+
"name": "acfb_flipbox_front_content",
|
250 |
+
"type": "textarea",
|
251 |
+
"instructions": "",
|
252 |
+
"required": 0,
|
253 |
+
"conditional_logic": 0,
|
254 |
+
"wrapper": {
|
255 |
+
"width": "",
|
256 |
+
"class": "",
|
257 |
+
"id": ""
|
258 |
+
},
|
259 |
+
"default_value": "Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem. Cras ultricies ligula sed magna dictum porta.",
|
260 |
+
"placeholder": "",
|
261 |
+
"maxlength": "",
|
262 |
+
"rows": "",
|
263 |
+
"new_lines": ""
|
264 |
+
},
|
265 |
+
{
|
266 |
+
"key": "field_5d81fb250f452",
|
267 |
+
"label": "Vertical Align",
|
268 |
+
"name": "acfb_flipbox_front_content_vertical_align",
|
269 |
+
"type": "button_group",
|
270 |
+
"instructions": "",
|
271 |
+
"required": 0,
|
272 |
+
"conditional_logic": 0,
|
273 |
+
"wrapper": {
|
274 |
+
"width": "",
|
275 |
+
"class": "",
|
276 |
+
"id": ""
|
277 |
+
},
|
278 |
+
"choices": {
|
279 |
+
"flex-start": "Top",
|
280 |
+
"center": "Center",
|
281 |
+
"flex-end": "Bottom"
|
282 |
+
},
|
283 |
+
"allow_null": 0,
|
284 |
+
"default_value": "center",
|
285 |
+
"layout": "horizontal",
|
286 |
+
"return_format": "value"
|
287 |
+
},
|
288 |
+
{
|
289 |
+
"key": "field_5d81fd5b2ab64",
|
290 |
+
"label": "Horizontal Align",
|
291 |
+
"name": "acfb_flipbox_front_content_horizontal_align",
|
292 |
+
"type": "button_group",
|
293 |
+
"instructions": "",
|
294 |
+
"required": 0,
|
295 |
+
"conditional_logic": 0,
|
296 |
+
"wrapper": {
|
297 |
+
"width": "",
|
298 |
+
"class": "",
|
299 |
+
"id": ""
|
300 |
+
},
|
301 |
+
"choices": {
|
302 |
+
"flex-start": "Left",
|
303 |
+
"center": "Center",
|
304 |
+
"flex-end": "Right"
|
305 |
+
},
|
306 |
+
"allow_null": 0,
|
307 |
+
"default_value": "center",
|
308 |
+
"layout": "horizontal",
|
309 |
+
"return_format": "value"
|
310 |
+
},
|
311 |
+
{
|
312 |
+
"key": "field_5d81f9cfe92f0",
|
313 |
+
"label": "Front End",
|
314 |
+
"name": "",
|
315 |
+
"type": "accordion",
|
316 |
+
"instructions": "",
|
317 |
+
"required": 0,
|
318 |
+
"conditional_logic": 0,
|
319 |
+
"wrapper": {
|
320 |
+
"width": "",
|
321 |
+
"class": "",
|
322 |
+
"id": ""
|
323 |
+
},
|
324 |
+
"open": 0,
|
325 |
+
"multi_expand": 0,
|
326 |
+
"endpoint": 1
|
327 |
+
},
|
328 |
+
{
|
329 |
+
"key": "field_5d81fa0fa6b2c",
|
330 |
+
"label": "Back",
|
331 |
+
"name": "",
|
332 |
+
"type": "accordion",
|
333 |
+
"instructions": "",
|
334 |
+
"required": 0,
|
335 |
+
"conditional_logic": 0,
|
336 |
+
"wrapper": {
|
337 |
+
"width": "",
|
338 |
+
"class": "",
|
339 |
+
"id": ""
|
340 |
+
},
|
341 |
+
"open": 0,
|
342 |
+
"multi_expand": 0,
|
343 |
+
"endpoint": 0
|
344 |
+
},
|
345 |
+
{
|
346 |
+
"key": "field_5dc90f968110e",
|
347 |
+
"label": "Image",
|
348 |
+
"name": "acfb_flipbox_back_image",
|
349 |
+
"type": "image",
|
350 |
+
"instructions": "",
|
351 |
+
"required": 0,
|
352 |
+
"conditional_logic": 0,
|
353 |
+
"wrapper": {
|
354 |
+
"width": "",
|
355 |
+
"class": "",
|
356 |
+
"id": ""
|
357 |
+
},
|
358 |
+
"return_format": "url",
|
359 |
+
"preview_size": "medium",
|
360 |
+
"library": "all",
|
361 |
+
"min_width": "",
|
362 |
+
"min_height": "",
|
363 |
+
"min_size": "",
|
364 |
+
"max_width": "",
|
365 |
+
"max_height": "",
|
366 |
+
"max_size": "",
|
367 |
+
"mime_types": ""
|
368 |
+
},
|
369 |
+
{
|
370 |
+
"key": "field_5dc90faa8110f",
|
371 |
+
"label": "Image Alt",
|
372 |
+
"name": "acfb_flipbox_back_image_alt",
|
373 |
+
"type": "text",
|
374 |
+
"instructions": "",
|
375 |
+
"required": 0,
|
376 |
+
"conditional_logic": 0,
|
377 |
+
"wrapper": {
|
378 |
+
"width": "",
|
379 |
+
"class": "",
|
380 |
+
"id": ""
|
381 |
+
},
|
382 |
+
"default_value": "alt Text",
|
383 |
+
"placeholder": "alt Text",
|
384 |
+
"prepend": "",
|
385 |
+
"append": "",
|
386 |
+
"maxlength": ""
|
387 |
+
},
|
388 |
+
{
|
389 |
+
"key": "field_5dc9101781110",
|
390 |
+
"label": "Image Size",
|
391 |
+
"name": "acfb_flipbox_back_image_size",
|
392 |
+
"type": "range",
|
393 |
+
"instructions": "",
|
394 |
+
"required": 0,
|
395 |
+
"conditional_logic": 0,
|
396 |
+
"wrapper": {
|
397 |
+
"width": "",
|
398 |
+
"class": "",
|
399 |
+
"id": ""
|
400 |
+
},
|
401 |
+
"default_value": 20,
|
402 |
+
"min": "",
|
403 |
+
"max": "",
|
404 |
+
"step": "",
|
405 |
+
"prepend": "",
|
406 |
+
"append": "%"
|
407 |
+
},
|
408 |
+
{
|
409 |
+
"key": "field_5d7f6b7b03270",
|
410 |
+
"label": "Title",
|
411 |
+
"name": "acfb_flipbox_back_title",
|
412 |
+
"type": "text",
|
413 |
+
"instructions": "",
|
414 |
+
"required": 0,
|
415 |
+
"conditional_logic": 0,
|
416 |
+
"wrapper": {
|
417 |
+
"width": "",
|
418 |
+
"class": "",
|
419 |
+
"id": ""
|
420 |
+
},
|
421 |
+
"default_value": "Title",
|
422 |
+
"placeholder": "Title",
|
423 |
+
"prepend": "",
|
424 |
+
"append": "",
|
425 |
+
"maxlength": ""
|
426 |
+
},
|
427 |
+
{
|
428 |
+
"key": "field_5d7f6b9403271",
|
429 |
+
"label": "Content",
|
430 |
+
"name": "acfb_flipbox_back_content",
|
431 |
+
"type": "textarea",
|
432 |
+
"instructions": "",
|
433 |
+
"required": 0,
|
434 |
+
"conditional_logic": 0,
|
435 |
+
"wrapper": {
|
436 |
+
"width": "",
|
437 |
+
"class": "",
|
438 |
+
"id": ""
|
439 |
+
},
|
440 |
+
"default_value": "Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem. Cras ultricies ligula sed magna dictum porta.",
|
441 |
+
"placeholder": "",
|
442 |
+
"maxlength": "",
|
443 |
+
"rows": "",
|
444 |
+
"new_lines": ""
|
445 |
+
},
|
446 |
+
{
|
447 |
+
"key": "field_5d7f6ba603272",
|
448 |
+
"label": "Button Text",
|
449 |
+
"name": "acfb_flipbox_back_button_text",
|
450 |
+
"type": "text",
|
451 |
+
"instructions": "",
|
452 |
+
"required": 0,
|
453 |
+
"conditional_logic": 0,
|
454 |
+
"wrapper": {
|
455 |
+
"width": "",
|
456 |
+
"class": "",
|
457 |
+
"id": ""
|
458 |
+
},
|
459 |
+
"default_value": "Button Text",
|
460 |
+
"placeholder": "Button Text",
|
461 |
+
"prepend": "",
|
462 |
+
"append": "",
|
463 |
+
"maxlength": ""
|
464 |
+
},
|
465 |
+
{
|
466 |
+
"key": "field_5d7f6bbc03273",
|
467 |
+
"label": "Button Url",
|
468 |
+
"name": "acfb_flipbox_back_button_url",
|
469 |
+
"type": "text",
|
470 |
+
"instructions": "",
|
471 |
+
"required": 0,
|
472 |
+
"conditional_logic": 0,
|
473 |
+
"wrapper": {
|
474 |
+
"width": "",
|
475 |
+
"class": "",
|
476 |
+
"id": ""
|
477 |
+
},
|
478 |
+
"default_value": "#",
|
479 |
+
"placeholder": "",
|
480 |
+
"prepend": "",
|
481 |
+
"append": "",
|
482 |
+
"maxlength": ""
|
483 |
+
},
|
484 |
+
{
|
485 |
+
"key": "field_5d81fe0f2d77f",
|
486 |
+
"label": "Vertical Align",
|
487 |
+
"name": "acfb_flipbox_back_content_vertical_align",
|
488 |
+
"type": "button_group",
|
489 |
+
"instructions": "",
|
490 |
+
"required": 0,
|
491 |
+
"conditional_logic": 0,
|
492 |
+
"wrapper": {
|
493 |
+
"width": "",
|
494 |
+
"class": "",
|
495 |
+
"id": ""
|
496 |
+
},
|
497 |
+
"choices": {
|
498 |
+
"flex-start": "Top",
|
499 |
+
"center": "Center",
|
500 |
+
"flex-end": "Bottom"
|
501 |
+
},
|
502 |
+
"allow_null": 0,
|
503 |
+
"default_value": "center",
|
504 |
+
"layout": "horizontal",
|
505 |
+
"return_format": "value"
|
506 |
+
},
|
507 |
+
{
|
508 |
+
"key": "field_5d81fe232d780",
|
509 |
+
"label": "Horizontal Align",
|
510 |
+
"name": "acfb_flipbox_back_content_horizontal_align",
|
511 |
+
"type": "button_group",
|
512 |
+
"instructions": "",
|
513 |
+
"required": 0,
|
514 |
+
"conditional_logic": 0,
|
515 |
+
"wrapper": {
|
516 |
+
"width": "",
|
517 |
+
"class": "",
|
518 |
+
"id": ""
|
519 |
+
},
|
520 |
+
"choices": {
|
521 |
+
"flex-start": "Left",
|
522 |
+
"center": "Center",
|
523 |
+
"flex-end": "Right"
|
524 |
+
},
|
525 |
+
"allow_null": 0,
|
526 |
+
"default_value": "center",
|
527 |
+
"layout": "horizontal",
|
528 |
+
"return_format": "value"
|
529 |
+
},
|
530 |
+
{
|
531 |
+
"key": "field_5d81fa1aa6b2d",
|
532 |
+
"label": "Back End",
|
533 |
+
"name": "",
|
534 |
+
"type": "accordion",
|
535 |
+
"instructions": "",
|
536 |
+
"required": 0,
|
537 |
+
"conditional_logic": 0,
|
538 |
+
"wrapper": {
|
539 |
+
"width": "",
|
540 |
+
"class": "",
|
541 |
+
"id": ""
|
542 |
+
},
|
543 |
+
"open": 0,
|
544 |
+
"multi_expand": 0,
|
545 |
+
"endpoint": 1
|
546 |
+
},
|
547 |
+
{
|
548 |
+
"key": "field_5d81f8edd492b",
|
549 |
+
"label": "Design",
|
550 |
+
"name": "",
|
551 |
+
"type": "tab",
|
552 |
+
"instructions": "",
|
553 |
+
"required": 0,
|
554 |
+
"conditional_logic": 0,
|
555 |
+
"wrapper": {
|
556 |
+
"width": "",
|
557 |
+
"class": "",
|
558 |
+
"id": ""
|
559 |
+
},
|
560 |
+
"placement": "top",
|
561 |
+
"endpoint": 0
|
562 |
+
},
|
563 |
+
{
|
564 |
+
"key": "field_5d8219a396034",
|
565 |
+
"label": "Front",
|
566 |
+
"name": "",
|
567 |
+
"type": "accordion",
|
568 |
+
"instructions": "",
|
569 |
+
"required": 0,
|
570 |
+
"conditional_logic": 0,
|
571 |
+
"wrapper": {
|
572 |
+
"width": "",
|
573 |
+
"class": "",
|
574 |
+
"id": ""
|
575 |
+
},
|
576 |
+
"open": 0,
|
577 |
+
"multi_expand": 0,
|
578 |
+
"endpoint": 0
|
579 |
+
},
|
580 |
+
{
|
581 |
+
"key": "field_5dc40d0566254",
|
582 |
+
"label": "Front Background",
|
583 |
+
"name": "acfb_flipbox_front_background_select",
|
584 |
+
"type": "button_group",
|
585 |
+
"instructions": "",
|
586 |
+
"required": 0,
|
587 |
+
"conditional_logic": 0,
|
588 |
+
"wrapper": {
|
589 |
+
"width": "",
|
590 |
+
"class": "",
|
591 |
+
"id": ""
|
592 |
+
},
|
593 |
+
"choices": {
|
594 |
+
"acfb_flipbox_bg_color": "<span class=\"dashicons dashicons-admin-customizer\"><\/span>",
|
595 |
+
"acfb_flipbox_bg_image": "<span class=\"dashicons dashicons-format-image\"><\/span>"
|
596 |
+
},
|
597 |
+
"allow_null": 0,
|
598 |
+
"default_value": "acfb_flipbox_bg_color",
|
599 |
+
"layout": "horizontal",
|
600 |
+
"return_format": "value"
|
601 |
+
},
|
602 |
+
{
|
603 |
+
"key": "field_5d820523dd0d7",
|
604 |
+
"label": "Background Color",
|
605 |
+
"name": "acfb_flipbox_front_background_color",
|
606 |
+
"type": "color_picker",
|
607 |
+
"instructions": "",
|
608 |
+
"required": 0,
|
609 |
+
"conditional_logic": [
|
610 |
+
[
|
611 |
+
{
|
612 |
+
"field": "field_5dc40d0566254",
|
613 |
+
"operator": "==",
|
614 |
+
"value": "acfb_flipbox_bg_color"
|
615 |
+
}
|
616 |
+
]
|
617 |
+
],
|
618 |
+
"wrapper": {
|
619 |
+
"width": "",
|
620 |
+
"class": "",
|
621 |
+
"id": ""
|
622 |
+
},
|
623 |
+
"default_value": "#f3f4f5"
|
624 |
+
},
|
625 |
+
{
|
626 |
+
"key": "field_5dc40d6b66255",
|
627 |
+
"label": "Background Image",
|
628 |
+
"name": "acfb_flipbox_front_background_image",
|
629 |
+
"type": "image",
|
630 |
+
"instructions": "",
|
631 |
+
"required": 0,
|
632 |
+
"conditional_logic": [
|
633 |
+
[
|
634 |
+
{
|
635 |
+
"field": "field_5dc40d0566254",
|
636 |
+
"operator": "==",
|
637 |
+
"value": "acfb_flipbox_bg_image"
|
638 |
+
}
|
639 |
+
]
|
640 |
+
],
|
641 |
+
"wrapper": {
|
642 |
+
"width": "",
|
643 |
+
"class": "",
|
644 |
+
"id": ""
|
645 |
+
},
|
646 |
+
"return_format": "url",
|
647 |
+
"preview_size": "medium",
|
648 |
+
"library": "all",
|
649 |
+
"min_width": "",
|
650 |
+
"min_height": "",
|
651 |
+
"min_size": "",
|
652 |
+
"max_width": "",
|
653 |
+
"max_height": "",
|
654 |
+
"max_size": "",
|
655 |
+
"mime_types": ""
|
656 |
+
},
|
657 |
+
{
|
658 |
+
"key": "field_5dc67443f0a60",
|
659 |
+
"label": "Overlay",
|
660 |
+
"name": "acfb_flipbox_front_background_image_overlay_yesno",
|
661 |
+
"type": "true_false",
|
662 |
+
"instructions": "",
|
663 |
+
"required": 0,
|
664 |
+
"conditional_logic": [
|
665 |
+
[
|
666 |
+
{
|
667 |
+
"field": "field_5dc40d0566254",
|
668 |
+
"operator": "==",
|
669 |
+
"value": "acfb_flipbox_bg_image"
|
670 |
+
}
|
671 |
+
]
|
672 |
+
],
|
673 |
+
"wrapper": {
|
674 |
+
"width": "",
|
675 |
+
"class": "",
|
676 |
+
"id": ""
|
677 |
+
},
|
678 |
+
"message": "",
|
679 |
+
"default_value": 0,
|
680 |
+
"ui": 1,
|
681 |
+
"ui_on_text": "",
|
682 |
+
"ui_off_text": ""
|
683 |
+
},
|
684 |
+
{
|
685 |
+
"key": "field_5dc66e40e83a7",
|
686 |
+
"label": "Background Overlay",
|
687 |
+
"name": "acfb_flipbox_front_background_overlay",
|
688 |
+
"type": "color_picker",
|
689 |
+
"instructions": "",
|
690 |
+
"required": 0,
|
691 |
+
"conditional_logic": [
|
692 |
+
[
|
693 |
+
{
|
694 |
+
"field": "field_5dc40d0566254",
|
695 |
+
"operator": "==",
|
696 |
+
"value": "acfb_flipbox_bg_image"
|
697 |
+
},
|
698 |
+
{
|
699 |
+
"field": "field_5dc67443f0a60",
|
700 |
+
"operator": "==",
|
701 |
+
"value": "1"
|
702 |
+
}
|
703 |
+
]
|
704 |
+
],
|
705 |
+
"wrapper": {
|
706 |
+
"width": "",
|
707 |
+
"class": "",
|
708 |
+
"id": ""
|
709 |
+
},
|
710 |
+
"default_value": "#000000"
|
711 |
+
},
|
712 |
+
{
|
713 |
+
"key": "field_5dc670bd6fce0",
|
714 |
+
"label": "Background Overlay Opacity",
|
715 |
+
"name": "acfb_flipbox_front_background_overlay_opacity",
|
716 |
+
"type": "range",
|
717 |
+
"instructions": "",
|
718 |
+
"required": 0,
|
719 |
+
"conditional_logic": [
|
720 |
+
[
|
721 |
+
{
|
722 |
+
"field": "field_5dc67443f0a60",
|
723 |
+
"operator": "==",
|
724 |
+
"value": "1"
|
725 |
+
}
|
726 |
+
]
|
727 |
+
],
|
728 |
+
"wrapper": {
|
729 |
+
"width": "",
|
730 |
+
"class": "",
|
731 |
+
"id": ""
|
732 |
+
},
|
733 |
+
"default_value": "0.3",
|
734 |
+
"min": "0.1",
|
735 |
+
"max": "0.9",
|
736 |
+
"step": ".1",
|
737 |
+
"prepend": "",
|
738 |
+
"append": ""
|
739 |
+
},
|
740 |
+
{
|
741 |
+
"key": "field_5d820541dd0d8",
|
742 |
+
"label": "Title Color",
|
743 |
+
"name": "acfb_flipbox_front_title_color",
|
744 |
+
"type": "color_picker",
|
745 |
+
"instructions": "",
|
746 |
+
"required": 0,
|
747 |
+
"conditional_logic": 0,
|
748 |
+
"wrapper": {
|
749 |
+
"width": "",
|
750 |
+
"class": "",
|
751 |
+
"id": ""
|
752 |
+
},
|
753 |
+
"default_value": "#191e23"
|
754 |
+
},
|
755 |
+
{
|
756 |
+
"key": "field_5d820b6cbd801",
|
757 |
+
"label": "Title Size",
|
758 |
+
"name": "acfb_flipbox_front_title_size",
|
759 |
+
"type": "range",
|
760 |
+
"instructions": "",
|
761 |
+
"required": 0,
|
762 |
+
"conditional_logic": 0,
|
763 |
+
"wrapper": {
|
764 |
+
"width": "",
|
765 |
+
"class": "",
|
766 |
+
"id": ""
|
767 |
+
},
|
768 |
+
"default_value": 32,
|
769 |
+
"min": "",
|
770 |
+
"max": 200,
|
771 |
+
"step": "",
|
772 |
+
"prepend": "",
|
773 |
+
"append": "px"
|
774 |
+
},
|
775 |
+
{
|
776 |
+
"key": "field_5d82057bdd0d9",
|
777 |
+
"label": "Content Color",
|
778 |
+
"name": "acfb_flipbox_front_content_color",
|
779 |
+
"type": "color_picker",
|
780 |
+
"instructions": "",
|
781 |
+
"required": 0,
|
782 |
+
"conditional_logic": 0,
|
783 |
+
"wrapper": {
|
784 |
+
"width": "",
|
785 |
+
"class": "",
|
786 |
+
"id": ""
|
787 |
+
},
|
788 |
+
"default_value": "#191e23"
|
789 |
+
},
|
790 |
+
{
|
791 |
+
"key": "field_5d820b98bd802",
|
792 |
+
"label": "Content Size",
|
793 |
+
"name": "acfb_flipbox_front_content_size",
|
794 |
+
"type": "range",
|
795 |
+
"instructions": "",
|
796 |
+
"required": 0,
|
797 |
+
"conditional_logic": 0,
|
798 |
+
"wrapper": {
|
799 |
+
"width": "",
|
800 |
+
"class": "",
|
801 |
+
"id": ""
|
802 |
+
},
|
803 |
+
"default_value": 18,
|
804 |
+
"min": "",
|
805 |
+
"max": "",
|
806 |
+
"step": "",
|
807 |
+
"prepend": "",
|
808 |
+
"append": "px"
|
809 |
+
},
|
810 |
+
{
|
811 |
+
"key": "field_5d8219cd96035",
|
812 |
+
"label": "Front End",
|
813 |
+
"name": "",
|
814 |
+
"type": "accordion",
|
815 |
+
"instructions": "",
|
816 |
+
"required": 0,
|
817 |
+
"conditional_logic": 0,
|
818 |
+
"wrapper": {
|
819 |
+
"width": "",
|
820 |
+
"class": "",
|
821 |
+
"id": ""
|
822 |
+
},
|
823 |
+
"open": 0,
|
824 |
+
"multi_expand": 0,
|
825 |
+
"endpoint": 1
|
826 |
+
},
|
827 |
+
{
|
828 |
+
"key": "field_5d821a4cda55b",
|
829 |
+
"label": "Back",
|
830 |
+
"name": "",
|
831 |
+
"type": "accordion",
|
832 |
+
"instructions": "",
|
833 |
+
"required": 0,
|
834 |
+
"conditional_logic": 0,
|
835 |
+
"wrapper": {
|
836 |
+
"width": "",
|
837 |
+
"class": "",
|
838 |
+
"id": ""
|
839 |
+
},
|
840 |
+
"open": 0,
|
841 |
+
"multi_expand": 0,
|
842 |
+
"endpoint": 0
|
843 |
+
},
|
844 |
+
{
|
845 |
+
"key": "field_5dc41755bf956",
|
846 |
+
"label": "Back Background",
|
847 |
+
"name": "acfb_flipbox_back_background_select",
|
848 |
+
"type": "button_group",
|
849 |
+
"instructions": "",
|
850 |
+
"required": 0,
|
851 |
+
"conditional_logic": 0,
|
852 |
+
"wrapper": {
|
853 |
+
"width": "",
|
854 |
+
"class": "",
|
855 |
+
"id": ""
|
856 |
+
},
|
857 |
+
"choices": {
|
858 |
+
"acfb_flipbox_bg_color": "<span class=\"dashicons dashicons-admin-customizer\"><\/span>",
|
859 |
+
"acfb_flipbox_bg_image": "<span class=\"dashicons dashicons-format-image\"><\/span>"
|
860 |
+
},
|
861 |
+
"allow_null": 0,
|
862 |
+
"default_value": "acfb_flipbox_bg_color",
|
863 |
+
"layout": "horizontal",
|
864 |
+
"return_format": "value"
|
865 |
+
},
|
866 |
+
{
|
867 |
+
"key": "field_5d8205f2dd0da",
|
868 |
+
"label": "Background Color",
|
869 |
+
"name": "acfb_flipbox_back_background_color",
|
870 |
+
"type": "color_picker",
|
871 |
+
"instructions": "",
|
872 |
+
"required": 0,
|
873 |
+
"conditional_logic": [
|
874 |
+
[
|
875 |
+
{
|
876 |
+
"field": "field_5dc41755bf956",
|
877 |
+
"operator": "==",
|
878 |
+
"value": "acfb_flipbox_bg_color"
|
879 |
+
}
|
880 |
+
]
|
881 |
+
],
|
882 |
+
"wrapper": {
|
883 |
+
"width": "",
|
884 |
+
"class": "",
|
885 |
+
"id": ""
|
886 |
+
},
|
887 |
+
"default_value": "#f3f4f5"
|
888 |
+
},
|
889 |
+
{
|
890 |
+
"key": "field_5dc4178e95502",
|
891 |
+
"label": "Background Image",
|
892 |
+
"name": "acfb_flipbox_back_background_image",
|
893 |
+
"type": "image",
|
894 |
+
"instructions": "",
|
895 |
+
"required": 0,
|
896 |
+
"conditional_logic": [
|
897 |
+
[
|
898 |
+
{
|
899 |
+
"field": "field_5dc41755bf956",
|
900 |
+
"operator": "==",
|
901 |
+
"value": "acfb_flipbox_bg_image"
|
902 |
+
}
|
903 |
+
]
|
904 |
+
],
|
905 |
+
"wrapper": {
|
906 |
+
"width": "",
|
907 |
+
"class": "",
|
908 |
+
"id": ""
|
909 |
+
},
|
910 |
+
"return_format": "url",
|
911 |
+
"preview_size": "medium",
|
912 |
+
"library": "all",
|
913 |
+
"min_width": "",
|
914 |
+
"min_height": "",
|
915 |
+
"min_size": "",
|
916 |
+
"max_width": "",
|
917 |
+
"max_height": "",
|
918 |
+
"max_size": "",
|
919 |
+
"mime_types": ""
|
920 |
+
},
|
921 |
+
{
|
922 |
+
"key": "field_5dc67ec3b7dee",
|
923 |
+
"label": "Overlay",
|
924 |
+
"name": "acfb_flipbox_back_background_image_overlay_yesno",
|
925 |
+
"type": "true_false",
|
926 |
+
"instructions": "",
|
927 |
+
"required": 0,
|
928 |
+
"conditional_logic": [
|
929 |
+
[
|
930 |
+
{
|
931 |
+
"field": "field_5dc41755bf956",
|
932 |
+
"operator": "==",
|
933 |
+
"value": "acfb_flipbox_bg_image"
|
934 |
+
}
|
935 |
+
]
|
936 |
+
],
|
937 |
+
"wrapper": {
|
938 |
+
"width": "",
|
939 |
+
"class": "",
|
940 |
+
"id": ""
|
941 |
+
},
|
942 |
+
"message": "",
|
943 |
+
"default_value": 0,
|
944 |
+
"ui": 1,
|
945 |
+
"ui_on_text": "",
|
946 |
+
"ui_off_text": ""
|
947 |
+
},
|
948 |
+
{
|
949 |
+
"key": "field_5dc66e6ce83a8",
|
950 |
+
"label": "Background Overlay",
|
951 |
+
"name": "acfb_flipbox_back_background_overlay",
|
952 |
+
"type": "color_picker",
|
953 |
+
"instructions": "",
|
954 |
+
"required": 0,
|
955 |
+
"conditional_logic": [
|
956 |
+
[
|
957 |
+
{
|
958 |
+
"field": "field_5dc41755bf956",
|
959 |
+
"operator": "==",
|
960 |
+
"value": "acfb_flipbox_bg_image"
|
961 |
+
},
|
962 |
+
{
|
963 |
+
"field": "field_5dc67ec3b7dee",
|
964 |
+
"operator": "==",
|
965 |
+
"value": "1"
|
966 |
+
}
|
967 |
+
]
|
968 |
+
],
|
969 |
+
"wrapper": {
|
970 |
+
"width": "",
|
971 |
+
"class": "",
|
972 |
+
"id": ""
|
973 |
+
},
|
974 |
+
"default_value": "#000000"
|
975 |
+
},
|
976 |
+
{
|
977 |
+
"key": "field_5dc671196fce1",
|
978 |
+
"label": "Background Overlay Opacity",
|
979 |
+
"name": "acfb_flipbox_back_background_overlay_opacity",
|
980 |
+
"type": "range",
|
981 |
+
"instructions": "",
|
982 |
+
"required": 0,
|
983 |
+
"conditional_logic": [
|
984 |
+
[
|
985 |
+
{
|
986 |
+
"field": "field_5dc41755bf956",
|
987 |
+
"operator": "==",
|
988 |
+
"value": "acfb_flipbox_bg_image"
|
989 |
+
},
|
990 |
+
{
|
991 |
+
"field": "field_5dc67ec3b7dee",
|
992 |
+
"operator": "==",
|
993 |
+
"value": "1"
|
994 |
+
}
|
995 |
+
]
|
996 |
+
],
|
997 |
+
"wrapper": {
|
998 |
+
"width": "",
|
999 |
+
"class": "",
|
1000 |
+
"id": ""
|
1001 |
+
},
|
1002 |
+
"default_value": "0.3",
|
1003 |
+
"min": "0.1",
|
1004 |
+
"max": "0.9",
|
1005 |
+
"step": ".1",
|
1006 |
+
"prepend": "",
|
1007 |
+
"append": ""
|
1008 |
+
},
|
1009 |
+
{
|
1010 |
+
"key": "field_5d820604dd0db",
|
1011 |
+
"label": "Title Color",
|
1012 |
+
"name": "acfb_flipbox_back_title_color",
|
1013 |
+
"type": "color_picker",
|
1014 |
+
"instructions": "",
|
1015 |
+
"required": 0,
|
1016 |
+
"conditional_logic": 0,
|
1017 |
+
"wrapper": {
|
1018 |
+
"width": "",
|
1019 |
+
"class": "",
|
1020 |
+
"id": ""
|
1021 |
+
},
|
1022 |
+
"default_value": "#191e23"
|
1023 |
+
},
|
1024 |
+
{
|
1025 |
+
"key": "field_5d820bc4bd803",
|
1026 |
+
"label": "Title Size",
|
1027 |
+
"name": "acfb_flipbox_back_title_size",
|
1028 |
+
"type": "range",
|
1029 |
+
"instructions": "",
|
1030 |
+
"required": 0,
|
1031 |
+
"conditional_logic": 0,
|
1032 |
+
"wrapper": {
|
1033 |
+
"width": "",
|
1034 |
+
"class": "",
|
1035 |
+
"id": ""
|
1036 |
+
},
|
1037 |
+
"default_value": 32,
|
1038 |
+
"min": "",
|
1039 |
+
"max": 200,
|
1040 |
+
"step": "",
|
1041 |
+
"prepend": "",
|
1042 |
+
"append": "px"
|
1043 |
+
},
|
1044 |
+
{
|
1045 |
+
"key": "field_5d820619dd0dc",
|
1046 |
+
"label": "Content Color",
|
1047 |
+
"name": "acfb_flipbox_back_content_color",
|
1048 |
+
"type": "color_picker",
|
1049 |
+
"instructions": "",
|
1050 |
+
"required": 0,
|
1051 |
+
"conditional_logic": 0,
|
1052 |
+
"wrapper": {
|
1053 |
+
"width": "",
|
1054 |
+
"class": "",
|
1055 |
+
"id": ""
|
1056 |
+
},
|
1057 |
+
"default_value": "#191e23"
|
1058 |
+
},
|
1059 |
+
{
|
1060 |
+
"key": "field_5d820bdbbd804",
|
1061 |
+
"label": "Content Size",
|
1062 |
+
"name": "acfb_flipbox_back_content_size",
|
1063 |
+
"type": "range",
|
1064 |
+
"instructions": "",
|
1065 |
+
"required": 0,
|
1066 |
+
"conditional_logic": 0,
|
1067 |
+
"wrapper": {
|
1068 |
+
"width": "",
|
1069 |
+
"class": "",
|
1070 |
+
"id": ""
|
1071 |
+
},
|
1072 |
+
"default_value": 18,
|
1073 |
+
"min": "",
|
1074 |
+
"max": "",
|
1075 |
+
"step": "",
|
1076 |
+
"prepend": "",
|
1077 |
+
"append": "px"
|
1078 |
+
},
|
1079 |
+
{
|
1080 |
+
"key": "field_5d820649dd0dd",
|
1081 |
+
"label": "Button Background Color",
|
1082 |
+
"name": "acfb_flipbox_back_button_background",
|
1083 |
+
"type": "color_picker",
|
1084 |
+
"instructions": "",
|
1085 |
+
"required": 0,
|
1086 |
+
"conditional_logic": 0,
|
1087 |
+
"wrapper": {
|
1088 |
+
"width": "",
|
1089 |
+
"class": "",
|
1090 |
+
"id": ""
|
1091 |
+
},
|
1092 |
+
"default_value": "#e0e0e0"
|
1093 |
+
},
|
1094 |
+
{
|
1095 |
+
"key": "field_5d820665dd0de",
|
1096 |
+
"label": "Button Text Color",
|
1097 |
+
"name": "acfb_flipbox_back_button_text_color",
|
1098 |
+
"type": "color_picker",
|
1099 |
+
"instructions": "",
|
1100 |
+
"required": 0,
|
1101 |
+
"conditional_logic": 0,
|
1102 |
+
"wrapper": {
|
1103 |
+
"width": "",
|
1104 |
+
"class": "",
|
1105 |
+
"id": ""
|
1106 |
+
},
|
1107 |
+
"default_value": "#191e23"
|
1108 |
+
},
|
1109 |
+
{
|
1110 |
+
"key": "field_5d82067edd0df",
|
1111 |
+
"label": "Button Background Hover Color",
|
1112 |
+
"name": "acfb_flipbox_back_button_background_hover_color",
|
1113 |
+
"type": "color_picker",
|
1114 |
+
"instructions": "",
|
1115 |
+
"required": 0,
|
1116 |
+
"conditional_logic": 0,
|
1117 |
+
"wrapper": {
|
1118 |
+
"width": "",
|
1119 |
+
"class": "",
|
1120 |
+
"id": ""
|
1121 |
+
},
|
1122 |
+
"default_value": "#e0e0e0"
|
1123 |
+
},
|
1124 |
+
{
|
1125 |
+
"key": "field_5d820699dd0e0",
|
1126 |
+
"label": "Button Text Hover Color",
|
1127 |
+
"name": "acfb_flipbox_back_button_text_hover_color",
|
1128 |
+
"type": "color_picker",
|
1129 |
+
"instructions": "",
|
1130 |
+
"required": 0,
|
1131 |
+
"conditional_logic": 0,
|
1132 |
+
"wrapper": {
|
1133 |
+
"width": "",
|
1134 |
+
"class": "",
|
1135 |
+
"id": ""
|
1136 |
+
},
|
1137 |
+
"default_value": "#191e23"
|
1138 |
+
},
|
1139 |
+
{
|
1140 |
+
"key": "field_5d820bf9bd805",
|
1141 |
+
"label": "Button Size",
|
1142 |
+
"name": "acfb_flipbox_back_button_size",
|
1143 |
+
"type": "range",
|
1144 |
+
"instructions": "",
|
1145 |
+
"required": 0,
|
1146 |
+
"conditional_logic": 0,
|
1147 |
+
"wrapper": {
|
1148 |
+
"width": "",
|
1149 |
+
"class": "",
|
1150 |
+
"id": ""
|
1151 |
+
},
|
1152 |
+
"default_value": 19,
|
1153 |
+
"min": "",
|
1154 |
+
"max": "",
|
1155 |
+
"step": "",
|
1156 |
+
"prepend": "",
|
1157 |
+
"append": "px"
|
1158 |
+
},
|
1159 |
+
{
|
1160 |
+
"key": "field_5d821a57da55c",
|
1161 |
+
"label": "Back End",
|
1162 |
+
"name": "",
|
1163 |
+
"type": "accordion",
|
1164 |
+
"instructions": "",
|
1165 |
+
"required": 0,
|
1166 |
+
"conditional_logic": 0,
|
1167 |
+
"wrapper": {
|
1168 |
+
"width": "",
|
1169 |
+
"class": "",
|
1170 |
+
"id": ""
|
1171 |
+
},
|
1172 |
+
"open": 0,
|
1173 |
+
"multi_expand": 0,
|
1174 |
+
"endpoint": 1
|
1175 |
+
}
|
1176 |
+
],
|
1177 |
+
"location": [
|
1178 |
+
[
|
1179 |
+
{
|
1180 |
+
"param": "block",
|
1181 |
+
"operator": "==",
|
1182 |
+
"value": "acf\/acfb-flipbox"
|
1183 |
+
}
|
1184 |
+
]
|
1185 |
+
],
|
1186 |
+
"menu_order": 0,
|
1187 |
+
"position": "normal",
|
1188 |
+
"style": "default",
|
1189 |
+
"label_placement": "top",
|
1190 |
+
"instruction_placement": "label",
|
1191 |
+
"hide_on_screen": "",
|
1192 |
+
"active": 1,
|
1193 |
+
"description": "",
|
1194 |
+
"modified": 1576332144
|
1195 |
+
}
|
acf-json/group_5d7f7f7dd9f24.json
ADDED
@@ -0,0 +1,556 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5d7f7f7dd9f24",
|
3 |
+
"title": "Content Timeline",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5d7f8da0ac3e0",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5d7f8d388727f",
|
23 |
+
"label": "Styles",
|
24 |
+
"name": "acfb_timeline_style",
|
25 |
+
"type": "select",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"choices": {
|
35 |
+
"acfb_left_timeline": "Left",
|
36 |
+
"acfb_center_timeline": "Center",
|
37 |
+
"acfb_right_timeline": "Right"
|
38 |
+
},
|
39 |
+
"default_value": [
|
40 |
+
"acfb_center_timeline"
|
41 |
+
],
|
42 |
+
"allow_null": 0,
|
43 |
+
"multiple": 0,
|
44 |
+
"ui": 0,
|
45 |
+
"return_format": "value",
|
46 |
+
"ajax": 0,
|
47 |
+
"placeholder": ""
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"key": "field_5d7f8434118d0",
|
51 |
+
"label": "Timeline Items",
|
52 |
+
"name": "acfb_timeline_items",
|
53 |
+
"type": "repeater",
|
54 |
+
"instructions": "",
|
55 |
+
"required": 0,
|
56 |
+
"conditional_logic": 0,
|
57 |
+
"wrapper": {
|
58 |
+
"width": "",
|
59 |
+
"class": "",
|
60 |
+
"id": ""
|
61 |
+
},
|
62 |
+
"collapsed": "",
|
63 |
+
"min": 1,
|
64 |
+
"max": 0,
|
65 |
+
"layout": "block",
|
66 |
+
"button_label": "Add Item",
|
67 |
+
"sub_fields": [
|
68 |
+
{
|
69 |
+
"key": "field_5d7f92ecab97d",
|
70 |
+
"label": "Timeline Content",
|
71 |
+
"name": "acfb_timeline_flexible",
|
72 |
+
"type": "flexible_content",
|
73 |
+
"instructions": "",
|
74 |
+
"required": 0,
|
75 |
+
"conditional_logic": 0,
|
76 |
+
"wrapper": {
|
77 |
+
"width": "",
|
78 |
+
"class": "",
|
79 |
+
"id": ""
|
80 |
+
},
|
81 |
+
"layouts": {
|
82 |
+
"layout_5d7f9bbbd96c1": {
|
83 |
+
"key": "layout_5d7f9bbbd96c1",
|
84 |
+
"name": "acfb_timeline_image_layout",
|
85 |
+
"label": "Image",
|
86 |
+
"display": "block",
|
87 |
+
"sub_fields": [
|
88 |
+
{
|
89 |
+
"key": "field_5d7f9bbbd96c2",
|
90 |
+
"label": "",
|
91 |
+
"name": "acfb_timeline_image",
|
92 |
+
"type": "image",
|
93 |
+
"instructions": "",
|
94 |
+
"required": 0,
|
95 |
+
"conditional_logic": 0,
|
96 |
+
"wrapper": {
|
97 |
+
"width": "",
|
98 |
+
"class": "",
|
99 |
+
"id": ""
|
100 |
+
},
|
101 |
+
"return_format": "url",
|
102 |
+
"preview_size": "medium",
|
103 |
+
"library": "all",
|
104 |
+
"min_width": "",
|
105 |
+
"min_height": "",
|
106 |
+
"min_size": "",
|
107 |
+
"max_width": "",
|
108 |
+
"max_height": "",
|
109 |
+
"max_size": "",
|
110 |
+
"mime_types": ""
|
111 |
+
}
|
112 |
+
],
|
113 |
+
"min": "",
|
114 |
+
"max": "1"
|
115 |
+
},
|
116 |
+
"layout_5d7f9a79c5b24": {
|
117 |
+
"key": "layout_5d7f9a79c5b24",
|
118 |
+
"name": "acfb_timeline_date_layout",
|
119 |
+
"label": "Date",
|
120 |
+
"display": "block",
|
121 |
+
"sub_fields": [
|
122 |
+
{
|
123 |
+
"key": "field_5d7f9a79c5b25",
|
124 |
+
"label": "",
|
125 |
+
"name": "acfb_timeline_date",
|
126 |
+
"type": "date_picker",
|
127 |
+
"instructions": "",
|
128 |
+
"required": 0,
|
129 |
+
"conditional_logic": 0,
|
130 |
+
"wrapper": {
|
131 |
+
"width": "",
|
132 |
+
"class": "",
|
133 |
+
"id": ""
|
134 |
+
},
|
135 |
+
"display_format": "d\/m\/Y",
|
136 |
+
"return_format": "d\/m\/Y",
|
137 |
+
"first_day": 1
|
138 |
+
}
|
139 |
+
],
|
140 |
+
"min": "",
|
141 |
+
"max": "1"
|
142 |
+
},
|
143 |
+
"layout_5d7f92f9f1f2f": {
|
144 |
+
"key": "layout_5d7f92f9f1f2f",
|
145 |
+
"name": "acfb_timeline_title_layout",
|
146 |
+
"label": "Title",
|
147 |
+
"display": "block",
|
148 |
+
"sub_fields": [
|
149 |
+
{
|
150 |
+
"key": "field_5d7f846b118d2",
|
151 |
+
"label": "",
|
152 |
+
"name": "acfb_timeline_title",
|
153 |
+
"type": "text",
|
154 |
+
"instructions": "",
|
155 |
+
"required": 0,
|
156 |
+
"conditional_logic": 0,
|
157 |
+
"wrapper": {
|
158 |
+
"width": "",
|
159 |
+
"class": "",
|
160 |
+
"id": ""
|
161 |
+
},
|
162 |
+
"default_value": "Title",
|
163 |
+
"placeholder": "Title",
|
164 |
+
"prepend": "",
|
165 |
+
"append": "",
|
166 |
+
"maxlength": ""
|
167 |
+
}
|
168 |
+
],
|
169 |
+
"min": "",
|
170 |
+
"max": "1"
|
171 |
+
},
|
172 |
+
"layout_5d7f94539e39b": {
|
173 |
+
"key": "layout_5d7f94539e39b",
|
174 |
+
"name": "acfb_timeline_content_layout",
|
175 |
+
"label": "Content",
|
176 |
+
"display": "block",
|
177 |
+
"sub_fields": [
|
178 |
+
{
|
179 |
+
"key": "field_5d7f847f118d3",
|
180 |
+
"label": "",
|
181 |
+
"name": "acfb_timeline_content",
|
182 |
+
"type": "textarea",
|
183 |
+
"instructions": "",
|
184 |
+
"required": 0,
|
185 |
+
"conditional_logic": 0,
|
186 |
+
"wrapper": {
|
187 |
+
"width": "",
|
188 |
+
"class": "",
|
189 |
+
"id": ""
|
190 |
+
},
|
191 |
+
"default_value": "Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui. Sed porttitor lectus nibh.",
|
192 |
+
"placeholder": "",
|
193 |
+
"maxlength": "",
|
194 |
+
"rows": "",
|
195 |
+
"new_lines": ""
|
196 |
+
}
|
197 |
+
],
|
198 |
+
"min": "",
|
199 |
+
"max": "1"
|
200 |
+
},
|
201 |
+
"layout_5d7f9abbc5b26": {
|
202 |
+
"key": "layout_5d7f9abbc5b26",
|
203 |
+
"name": "acfb_timeline_button_layout",
|
204 |
+
"label": "Button",
|
205 |
+
"display": "block",
|
206 |
+
"sub_fields": [
|
207 |
+
{
|
208 |
+
"key": "field_5d7f9abbc5b27",
|
209 |
+
"label": "",
|
210 |
+
"name": "acfb_timeline_button_text",
|
211 |
+
"type": "text",
|
212 |
+
"instructions": "",
|
213 |
+
"required": 0,
|
214 |
+
"conditional_logic": 0,
|
215 |
+
"wrapper": {
|
216 |
+
"width": "",
|
217 |
+
"class": "",
|
218 |
+
"id": ""
|
219 |
+
},
|
220 |
+
"default_value": "Button Text",
|
221 |
+
"placeholder": "Button Text",
|
222 |
+
"prepend": "",
|
223 |
+
"append": "",
|
224 |
+
"maxlength": ""
|
225 |
+
},
|
226 |
+
{
|
227 |
+
"key": "field_5d7f9b37d96c0",
|
228 |
+
"label": "",
|
229 |
+
"name": "acfb_timeline_button_url",
|
230 |
+
"type": "text",
|
231 |
+
"instructions": "",
|
232 |
+
"required": 0,
|
233 |
+
"conditional_logic": 0,
|
234 |
+
"wrapper": {
|
235 |
+
"width": "",
|
236 |
+
"class": "",
|
237 |
+
"id": ""
|
238 |
+
},
|
239 |
+
"default_value": "#",
|
240 |
+
"placeholder": "#",
|
241 |
+
"prepend": "",
|
242 |
+
"append": "",
|
243 |
+
"maxlength": ""
|
244 |
+
}
|
245 |
+
],
|
246 |
+
"min": "",
|
247 |
+
"max": "1"
|
248 |
+
}
|
249 |
+
},
|
250 |
+
"button_label": "Add Content",
|
251 |
+
"min": "",
|
252 |
+
"max": ""
|
253 |
+
}
|
254 |
+
]
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"key": "field_5d7f8dc5ac3e1",
|
258 |
+
"label": "Design",
|
259 |
+
"name": "",
|
260 |
+
"type": "tab",
|
261 |
+
"instructions": "",
|
262 |
+
"required": 0,
|
263 |
+
"conditional_logic": 0,
|
264 |
+
"wrapper": {
|
265 |
+
"width": "",
|
266 |
+
"class": "",
|
267 |
+
"id": ""
|
268 |
+
},
|
269 |
+
"placement": "top",
|
270 |
+
"endpoint": 0
|
271 |
+
},
|
272 |
+
{
|
273 |
+
"key": "field_5d80c9f0f16d8",
|
274 |
+
"label": "Background Color",
|
275 |
+
"name": "acfb_timeline_background",
|
276 |
+
"type": "color_picker",
|
277 |
+
"instructions": "",
|
278 |
+
"required": 0,
|
279 |
+
"conditional_logic": 0,
|
280 |
+
"wrapper": {
|
281 |
+
"width": "",
|
282 |
+
"class": "",
|
283 |
+
"id": ""
|
284 |
+
},
|
285 |
+
"default_value": "#f3f4f5"
|
286 |
+
},
|
287 |
+
{
|
288 |
+
"key": "field_5d80ca32f16d9",
|
289 |
+
"label": "Image Size",
|
290 |
+
"name": "acfb_timeline_image_size",
|
291 |
+
"type": "range",
|
292 |
+
"instructions": "",
|
293 |
+
"required": 0,
|
294 |
+
"conditional_logic": 0,
|
295 |
+
"wrapper": {
|
296 |
+
"width": "",
|
297 |
+
"class": "",
|
298 |
+
"id": ""
|
299 |
+
},
|
300 |
+
"default_value": 100,
|
301 |
+
"min": "",
|
302 |
+
"max": "",
|
303 |
+
"step": "",
|
304 |
+
"prepend": "",
|
305 |
+
"append": "%"
|
306 |
+
},
|
307 |
+
{
|
308 |
+
"key": "field_5d83410a3f35e",
|
309 |
+
"label": "Date Color",
|
310 |
+
"name": "acfb_timeline_date_color",
|
311 |
+
"type": "color_picker",
|
312 |
+
"instructions": "",
|
313 |
+
"required": 0,
|
314 |
+
"conditional_logic": 0,
|
315 |
+
"wrapper": {
|
316 |
+
"width": "",
|
317 |
+
"class": "",
|
318 |
+
"id": ""
|
319 |
+
},
|
320 |
+
"default_value": "#191e23"
|
321 |
+
},
|
322 |
+
{
|
323 |
+
"key": "field_5d8341503f35f",
|
324 |
+
"label": "Date Size",
|
325 |
+
"name": "acfb_timeline_date_size",
|
326 |
+
"type": "range",
|
327 |
+
"instructions": "",
|
328 |
+
"required": 0,
|
329 |
+
"conditional_logic": 0,
|
330 |
+
"wrapper": {
|
331 |
+
"width": "",
|
332 |
+
"class": "",
|
333 |
+
"id": ""
|
334 |
+
},
|
335 |
+
"default_value": 17,
|
336 |
+
"min": "",
|
337 |
+
"max": "",
|
338 |
+
"step": "",
|
339 |
+
"prepend": "",
|
340 |
+
"append": "px"
|
341 |
+
},
|
342 |
+
{
|
343 |
+
"key": "field_5d80ca4ef16da",
|
344 |
+
"label": "Title Color",
|
345 |
+
"name": "acfb_timeline_title_color",
|
346 |
+
"type": "color_picker",
|
347 |
+
"instructions": "",
|
348 |
+
"required": 0,
|
349 |
+
"conditional_logic": 0,
|
350 |
+
"wrapper": {
|
351 |
+
"width": "",
|
352 |
+
"class": "",
|
353 |
+
"id": ""
|
354 |
+
},
|
355 |
+
"default_value": "#191e23"
|
356 |
+
},
|
357 |
+
{
|
358 |
+
"key": "field_5d80ca72f16db",
|
359 |
+
"label": "Title Size",
|
360 |
+
"name": "acfb_timeline_title_size",
|
361 |
+
"type": "range",
|
362 |
+
"instructions": "",
|
363 |
+
"required": 0,
|
364 |
+
"conditional_logic": 0,
|
365 |
+
"wrapper": {
|
366 |
+
"width": "",
|
367 |
+
"class": "",
|
368 |
+
"id": ""
|
369 |
+
},
|
370 |
+
"default_value": 32,
|
371 |
+
"min": "",
|
372 |
+
"max": 200,
|
373 |
+
"step": "",
|
374 |
+
"prepend": "",
|
375 |
+
"append": "px"
|
376 |
+
},
|
377 |
+
{
|
378 |
+
"key": "field_5d80caa0f16dc",
|
379 |
+
"label": "Content Color",
|
380 |
+
"name": "acfb_timeline_content_color",
|
381 |
+
"type": "color_picker",
|
382 |
+
"instructions": "",
|
383 |
+
"required": 0,
|
384 |
+
"conditional_logic": 0,
|
385 |
+
"wrapper": {
|
386 |
+
"width": "",
|
387 |
+
"class": "",
|
388 |
+
"id": ""
|
389 |
+
},
|
390 |
+
"default_value": "#191e23"
|
391 |
+
},
|
392 |
+
{
|
393 |
+
"key": "field_5d80cab3f16dd",
|
394 |
+
"label": "Content Size",
|
395 |
+
"name": "acfb_timeline_content_size",
|
396 |
+
"type": "range",
|
397 |
+
"instructions": "",
|
398 |
+
"required": 0,
|
399 |
+
"conditional_logic": 0,
|
400 |
+
"wrapper": {
|
401 |
+
"width": "",
|
402 |
+
"class": "",
|
403 |
+
"id": ""
|
404 |
+
},
|
405 |
+
"default_value": 18,
|
406 |
+
"min": "",
|
407 |
+
"max": "",
|
408 |
+
"step": "",
|
409 |
+
"prepend": "",
|
410 |
+
"append": "px"
|
411 |
+
},
|
412 |
+
{
|
413 |
+
"key": "field_5d80cadef16de",
|
414 |
+
"label": "Button Background Color",
|
415 |
+
"name": "acfb_timeline_button_background_color",
|
416 |
+
"type": "color_picker",
|
417 |
+
"instructions": "",
|
418 |
+
"required": 0,
|
419 |
+
"conditional_logic": 0,
|
420 |
+
"wrapper": {
|
421 |
+
"width": "",
|
422 |
+
"class": "",
|
423 |
+
"id": ""
|
424 |
+
},
|
425 |
+
"default_value": "#e0e0e0"
|
426 |
+
},
|
427 |
+
{
|
428 |
+
"key": "field_5d80cafaf16df",
|
429 |
+
"label": "Button Text Color",
|
430 |
+
"name": "acfb_timeline_button_text_color",
|
431 |
+
"type": "color_picker",
|
432 |
+
"instructions": "",
|
433 |
+
"required": 0,
|
434 |
+
"conditional_logic": 0,
|
435 |
+
"wrapper": {
|
436 |
+
"width": "",
|
437 |
+
"class": "",
|
438 |
+
"id": ""
|
439 |
+
},
|
440 |
+
"default_value": "#191e23"
|
441 |
+
},
|
442 |
+
{
|
443 |
+
"key": "field_5d80cb0af16e0",
|
444 |
+
"label": "Button Background Hover Color",
|
445 |
+
"name": "acfb_timeline_button_background_hover_color",
|
446 |
+
"type": "color_picker",
|
447 |
+
"instructions": "",
|
448 |
+
"required": 0,
|
449 |
+
"conditional_logic": 0,
|
450 |
+
"wrapper": {
|
451 |
+
"width": "",
|
452 |
+
"class": "",
|
453 |
+
"id": ""
|
454 |
+
},
|
455 |
+
"default_value": "#e0e0e0"
|
456 |
+
},
|
457 |
+
{
|
458 |
+
"key": "field_5d80cb25f16e1",
|
459 |
+
"label": "Button Text Hover Color",
|
460 |
+
"name": "acfb_timeline_button_text_hover_color",
|
461 |
+
"type": "color_picker",
|
462 |
+
"instructions": "",
|
463 |
+
"required": 0,
|
464 |
+
"conditional_logic": 0,
|
465 |
+
"wrapper": {
|
466 |
+
"width": "",
|
467 |
+
"class": "",
|
468 |
+
"id": ""
|
469 |
+
},
|
470 |
+
"default_value": "#191e23"
|
471 |
+
},
|
472 |
+
{
|
473 |
+
"key": "field_5d80cb38f16e2",
|
474 |
+
"label": "Button Size",
|
475 |
+
"name": "acfb_timeline_button_size",
|
476 |
+
"type": "range",
|
477 |
+
"instructions": "",
|
478 |
+
"required": 0,
|
479 |
+
"conditional_logic": 0,
|
480 |
+
"wrapper": {
|
481 |
+
"width": "",
|
482 |
+
"class": "",
|
483 |
+
"id": ""
|
484 |
+
},
|
485 |
+
"default_value": 19,
|
486 |
+
"min": "",
|
487 |
+
"max": "",
|
488 |
+
"step": "",
|
489 |
+
"prepend": "",
|
490 |
+
"append": "px"
|
491 |
+
},
|
492 |
+
{
|
493 |
+
"key": "field_5d8342dfe5536",
|
494 |
+
"label": "Divider Color",
|
495 |
+
"name": "acfb_timeline_divider_color",
|
496 |
+
"type": "color_picker",
|
497 |
+
"instructions": "",
|
498 |
+
"required": 0,
|
499 |
+
"conditional_logic": 0,
|
500 |
+
"wrapper": {
|
501 |
+
"width": "",
|
502 |
+
"class": "",
|
503 |
+
"id": ""
|
504 |
+
},
|
505 |
+
"default_value": "#e0e0e0"
|
506 |
+
},
|
507 |
+
{
|
508 |
+
"key": "field_5d834332e5537",
|
509 |
+
"label": "Circle Color",
|
510 |
+
"name": "acfb_timeline_circle_color",
|
511 |
+
"type": "color_picker",
|
512 |
+
"instructions": "",
|
513 |
+
"required": 0,
|
514 |
+
"conditional_logic": 0,
|
515 |
+
"wrapper": {
|
516 |
+
"width": "",
|
517 |
+
"class": "",
|
518 |
+
"id": ""
|
519 |
+
},
|
520 |
+
"default_value": "#f3f4f5"
|
521 |
+
},
|
522 |
+
{
|
523 |
+
"key": "field_5d834351e5538",
|
524 |
+
"label": "Circle Border Color",
|
525 |
+
"name": "acfb_timeline_circle_border_color",
|
526 |
+
"type": "color_picker",
|
527 |
+
"instructions": "",
|
528 |
+
"required": 0,
|
529 |
+
"conditional_logic": 0,
|
530 |
+
"wrapper": {
|
531 |
+
"width": "",
|
532 |
+
"class": "",
|
533 |
+
"id": ""
|
534 |
+
},
|
535 |
+
"default_value": "#191e23"
|
536 |
+
}
|
537 |
+
],
|
538 |
+
"location": [
|
539 |
+
[
|
540 |
+
{
|
541 |
+
"param": "block",
|
542 |
+
"operator": "==",
|
543 |
+
"value": "acf\/acfb-content-timeline"
|
544 |
+
}
|
545 |
+
]
|
546 |
+
],
|
547 |
+
"menu_order": 0,
|
548 |
+
"position": "normal",
|
549 |
+
"style": "default",
|
550 |
+
"label_placement": "top",
|
551 |
+
"instruction_placement": "label",
|
552 |
+
"hide_on_screen": "",
|
553 |
+
"active": 1,
|
554 |
+
"description": "",
|
555 |
+
"modified": 1576491910
|
556 |
+
}
|
acf-json/group_5d80d38c44b1c.json
ADDED
@@ -0,0 +1,512 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5d80d38c44b1c",
|
3 |
+
"title": "Image Accordion",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5d8385b527cf8",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5d8375f658a0a",
|
23 |
+
"label": "Styles",
|
24 |
+
"name": "acfb_image_accordion_styles",
|
25 |
+
"type": "select",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"choices": {
|
35 |
+
"row": "Vertical",
|
36 |
+
"column": "Horizontal"
|
37 |
+
},
|
38 |
+
"default_value": [
|
39 |
+
"row"
|
40 |
+
],
|
41 |
+
"allow_null": 0,
|
42 |
+
"multiple": 0,
|
43 |
+
"ui": 0,
|
44 |
+
"return_format": "value",
|
45 |
+
"ajax": 0,
|
46 |
+
"placeholder": ""
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"key": "field_5d8383e2d7d31",
|
50 |
+
"label": "Height",
|
51 |
+
"name": "acfb_image_accordion_height",
|
52 |
+
"type": "range",
|
53 |
+
"instructions": "",
|
54 |
+
"required": 0,
|
55 |
+
"conditional_logic": 0,
|
56 |
+
"wrapper": {
|
57 |
+
"width": "",
|
58 |
+
"class": "",
|
59 |
+
"id": ""
|
60 |
+
},
|
61 |
+
"default_value": 500,
|
62 |
+
"min": "",
|
63 |
+
"max": 1000,
|
64 |
+
"step": "",
|
65 |
+
"prepend": "",
|
66 |
+
"append": "px"
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"key": "field_5d83765c2c181",
|
70 |
+
"label": "Gutter Space",
|
71 |
+
"name": "acfb_image_accordion_gutter",
|
72 |
+
"type": "range",
|
73 |
+
"instructions": "",
|
74 |
+
"required": 0,
|
75 |
+
"conditional_logic": 0,
|
76 |
+
"wrapper": {
|
77 |
+
"width": "",
|
78 |
+
"class": "",
|
79 |
+
"id": ""
|
80 |
+
},
|
81 |
+
"default_value": 0,
|
82 |
+
"min": "",
|
83 |
+
"max": 50,
|
84 |
+
"step": "",
|
85 |
+
"prepend": "",
|
86 |
+
"append": "px"
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"key": "field_5d83757558a04",
|
90 |
+
"label": "Image Accordion",
|
91 |
+
"name": "acfb_image_accordion",
|
92 |
+
"type": "repeater",
|
93 |
+
"instructions": "",
|
94 |
+
"required": 0,
|
95 |
+
"conditional_logic": 0,
|
96 |
+
"wrapper": {
|
97 |
+
"width": "",
|
98 |
+
"class": "",
|
99 |
+
"id": ""
|
100 |
+
},
|
101 |
+
"collapsed": "",
|
102 |
+
"min": 0,
|
103 |
+
"max": 0,
|
104 |
+
"layout": "block",
|
105 |
+
"button_label": "Add Image",
|
106 |
+
"sub_fields": [
|
107 |
+
{
|
108 |
+
"key": "field_5d83758858a05",
|
109 |
+
"label": "Image",
|
110 |
+
"name": "acfb_image_accordion_image",
|
111 |
+
"type": "image",
|
112 |
+
"instructions": "",
|
113 |
+
"required": 0,
|
114 |
+
"conditional_logic": 0,
|
115 |
+
"wrapper": {
|
116 |
+
"width": "",
|
117 |
+
"class": "",
|
118 |
+
"id": ""
|
119 |
+
},
|
120 |
+
"return_format": "url",
|
121 |
+
"preview_size": "medium",
|
122 |
+
"library": "all",
|
123 |
+
"min_width": "",
|
124 |
+
"min_height": "",
|
125 |
+
"min_size": "",
|
126 |
+
"max_width": "",
|
127 |
+
"max_height": "",
|
128 |
+
"max_size": "",
|
129 |
+
"mime_types": ""
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"key": "field_5d8375a258a06",
|
133 |
+
"label": "Title",
|
134 |
+
"name": "acfb_image_accordion_title",
|
135 |
+
"type": "text",
|
136 |
+
"instructions": "",
|
137 |
+
"required": 0,
|
138 |
+
"conditional_logic": 0,
|
139 |
+
"wrapper": {
|
140 |
+
"width": "",
|
141 |
+
"class": "",
|
142 |
+
"id": ""
|
143 |
+
},
|
144 |
+
"default_value": "Title",
|
145 |
+
"placeholder": "Title",
|
146 |
+
"prepend": "",
|
147 |
+
"append": "",
|
148 |
+
"maxlength": ""
|
149 |
+
},
|
150 |
+
{
|
151 |
+
"key": "field_5d8375b558a07",
|
152 |
+
"label": "Content",
|
153 |
+
"name": "acfb_image_accordion_content",
|
154 |
+
"type": "textarea",
|
155 |
+
"instructions": "",
|
156 |
+
"required": 0,
|
157 |
+
"conditional_logic": 0,
|
158 |
+
"wrapper": {
|
159 |
+
"width": "",
|
160 |
+
"class": "",
|
161 |
+
"id": ""
|
162 |
+
},
|
163 |
+
"default_value": "Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.",
|
164 |
+
"placeholder": "",
|
165 |
+
"maxlength": "",
|
166 |
+
"rows": "",
|
167 |
+
"new_lines": ""
|
168 |
+
},
|
169 |
+
{
|
170 |
+
"key": "field_5d8375c358a08",
|
171 |
+
"label": "Button Text",
|
172 |
+
"name": "acfb_image_accordion_button_text",
|
173 |
+
"type": "text",
|
174 |
+
"instructions": "",
|
175 |
+
"required": 0,
|
176 |
+
"conditional_logic": 0,
|
177 |
+
"wrapper": {
|
178 |
+
"width": "",
|
179 |
+
"class": "",
|
180 |
+
"id": ""
|
181 |
+
},
|
182 |
+
"default_value": "Button Text",
|
183 |
+
"placeholder": "Button Text",
|
184 |
+
"prepend": "",
|
185 |
+
"append": "",
|
186 |
+
"maxlength": ""
|
187 |
+
},
|
188 |
+
{
|
189 |
+
"key": "field_5d8375d558a09",
|
190 |
+
"label": "Button Url",
|
191 |
+
"name": "acfb_image_accordion_button_url",
|
192 |
+
"type": "url",
|
193 |
+
"instructions": "",
|
194 |
+
"required": 0,
|
195 |
+
"conditional_logic": 0,
|
196 |
+
"wrapper": {
|
197 |
+
"width": "",
|
198 |
+
"class": "",
|
199 |
+
"id": ""
|
200 |
+
},
|
201 |
+
"default_value": "#",
|
202 |
+
"placeholder": "#"
|
203 |
+
},
|
204 |
+
{
|
205 |
+
"key": "field_5dca8c28bf103",
|
206 |
+
"label": "Content Width",
|
207 |
+
"name": "acfb_image_accordion_cw",
|
208 |
+
"type": "range",
|
209 |
+
"instructions": "",
|
210 |
+
"required": 0,
|
211 |
+
"conditional_logic": 0,
|
212 |
+
"wrapper": {
|
213 |
+
"width": "",
|
214 |
+
"class": "",
|
215 |
+
"id": ""
|
216 |
+
},
|
217 |
+
"default_value": 100,
|
218 |
+
"min": 50,
|
219 |
+
"max": 100,
|
220 |
+
"step": 1,
|
221 |
+
"prepend": "",
|
222 |
+
"append": "%"
|
223 |
+
},
|
224 |
+
{
|
225 |
+
"key": "field_5dca8ba8bf101",
|
226 |
+
"label": "Content Vertical Align",
|
227 |
+
"name": "acfb_image_accordion_cva",
|
228 |
+
"type": "button_group",
|
229 |
+
"instructions": "",
|
230 |
+
"required": 0,
|
231 |
+
"conditional_logic": 0,
|
232 |
+
"wrapper": {
|
233 |
+
"width": "",
|
234 |
+
"class": "",
|
235 |
+
"id": ""
|
236 |
+
},
|
237 |
+
"choices": {
|
238 |
+
"flex-start": "Top",
|
239 |
+
"center": "Center",
|
240 |
+
"flex-end": "Bottom"
|
241 |
+
},
|
242 |
+
"allow_null": 0,
|
243 |
+
"default_value": "center",
|
244 |
+
"layout": "horizontal",
|
245 |
+
"return_format": "value"
|
246 |
+
},
|
247 |
+
{
|
248 |
+
"key": "field_5dca8bfabf102",
|
249 |
+
"label": "Content Horizontal Align",
|
250 |
+
"name": "acfb_image_accordion_cha",
|
251 |
+
"type": "button_group",
|
252 |
+
"instructions": "",
|
253 |
+
"required": 0,
|
254 |
+
"conditional_logic": 0,
|
255 |
+
"wrapper": {
|
256 |
+
"width": "",
|
257 |
+
"class": "",
|
258 |
+
"id": ""
|
259 |
+
},
|
260 |
+
"choices": {
|
261 |
+
"flex-start": "Left",
|
262 |
+
"center": "Center",
|
263 |
+
"flex-end": "Right"
|
264 |
+
},
|
265 |
+
"allow_null": 0,
|
266 |
+
"default_value": "center",
|
267 |
+
"layout": "horizontal",
|
268 |
+
"return_format": "value"
|
269 |
+
}
|
270 |
+
]
|
271 |
+
},
|
272 |
+
{
|
273 |
+
"key": "field_5d8385c527cf9",
|
274 |
+
"label": "Design",
|
275 |
+
"name": "",
|
276 |
+
"type": "tab",
|
277 |
+
"instructions": "",
|
278 |
+
"required": 0,
|
279 |
+
"conditional_logic": 0,
|
280 |
+
"wrapper": {
|
281 |
+
"width": "",
|
282 |
+
"class": "",
|
283 |
+
"id": ""
|
284 |
+
},
|
285 |
+
"placement": "top",
|
286 |
+
"endpoint": 0
|
287 |
+
},
|
288 |
+
{
|
289 |
+
"key": "field_5da98e2f25a0b",
|
290 |
+
"label": "Overlay Color",
|
291 |
+
"name": "acfb_image_accordion_overlay_color",
|
292 |
+
"type": "color_picker",
|
293 |
+
"instructions": "",
|
294 |
+
"required": 0,
|
295 |
+
"conditional_logic": 0,
|
296 |
+
"wrapper": {
|
297 |
+
"width": "",
|
298 |
+
"class": "",
|
299 |
+
"id": ""
|
300 |
+
},
|
301 |
+
"default_value": "#000000"
|
302 |
+
},
|
303 |
+
{
|
304 |
+
"key": "field_5dc96e7eb99e8",
|
305 |
+
"label": "Overlay Active Opacity",
|
306 |
+
"name": "acfb_image_accordion_overlay_active_opacity",
|
307 |
+
"type": "range",
|
308 |
+
"instructions": "",
|
309 |
+
"required": 0,
|
310 |
+
"conditional_logic": 0,
|
311 |
+
"wrapper": {
|
312 |
+
"width": "",
|
313 |
+
"class": "",
|
314 |
+
"id": ""
|
315 |
+
},
|
316 |
+
"default_value": "0.5",
|
317 |
+
"min": "0.1",
|
318 |
+
"max": "0.9",
|
319 |
+
"step": ".1",
|
320 |
+
"prepend": "",
|
321 |
+
"append": ""
|
322 |
+
},
|
323 |
+
{
|
324 |
+
"key": "field_5dc96a88163e5",
|
325 |
+
"label": "Overlay Inactive Opacity",
|
326 |
+
"name": "acfb_image_accordion_overlay_inactive_opacity",
|
327 |
+
"type": "range",
|
328 |
+
"instructions": "",
|
329 |
+
"required": 0,
|
330 |
+
"conditional_logic": 0,
|
331 |
+
"wrapper": {
|
332 |
+
"width": "",
|
333 |
+
"class": "",
|
334 |
+
"id": ""
|
335 |
+
},
|
336 |
+
"default_value": "0.3",
|
337 |
+
"min": "0.1",
|
338 |
+
"max": "0.9",
|
339 |
+
"step": ".1",
|
340 |
+
"prepend": "",
|
341 |
+
"append": ""
|
342 |
+
},
|
343 |
+
{
|
344 |
+
"key": "field_5d8385e527cfa",
|
345 |
+
"label": "Title Color",
|
346 |
+
"name": "acfb_image_accordion_title_color",
|
347 |
+
"type": "color_picker",
|
348 |
+
"instructions": "",
|
349 |
+
"required": 0,
|
350 |
+
"conditional_logic": 0,
|
351 |
+
"wrapper": {
|
352 |
+
"width": "",
|
353 |
+
"class": "",
|
354 |
+
"id": ""
|
355 |
+
},
|
356 |
+
"default_value": "#ffffff"
|
357 |
+
},
|
358 |
+
{
|
359 |
+
"key": "field_5d8385f927cfb",
|
360 |
+
"label": "Title Size",
|
361 |
+
"name": "acfb_image_accordion_title_size",
|
362 |
+
"type": "range",
|
363 |
+
"instructions": "",
|
364 |
+
"required": 0,
|
365 |
+
"conditional_logic": 0,
|
366 |
+
"wrapper": {
|
367 |
+
"width": "",
|
368 |
+
"class": "",
|
369 |
+
"id": ""
|
370 |
+
},
|
371 |
+
"default_value": 32,
|
372 |
+
"min": "",
|
373 |
+
"max": 200,
|
374 |
+
"step": "",
|
375 |
+
"prepend": "",
|
376 |
+
"append": "px"
|
377 |
+
},
|
378 |
+
{
|
379 |
+
"key": "field_5d83863227cfc",
|
380 |
+
"label": "Content Color",
|
381 |
+
"name": "acfb_image_accordion_content_color",
|
382 |
+
"type": "color_picker",
|
383 |
+
"instructions": "",
|
384 |
+
"required": 0,
|
385 |
+
"conditional_logic": 0,
|
386 |
+
"wrapper": {
|
387 |
+
"width": "",
|
388 |
+
"class": "",
|
389 |
+
"id": ""
|
390 |
+
},
|
391 |
+
"default_value": "#ffffff"
|
392 |
+
},
|
393 |
+
{
|
394 |
+
"key": "field_5d83867627cfd",
|
395 |
+
"label": "Content Size",
|
396 |
+
"name": "acfb_image_accordion_content_size",
|
397 |
+
"type": "range",
|
398 |
+
"instructions": "",
|
399 |
+
"required": 0,
|
400 |
+
"conditional_logic": 0,
|
401 |
+
"wrapper": {
|
402 |
+
"width": "",
|
403 |
+
"class": "",
|
404 |
+
"id": ""
|
405 |
+
},
|
406 |
+
"default_value": 18,
|
407 |
+
"min": "",
|
408 |
+
"max": "",
|
409 |
+
"step": "",
|
410 |
+
"prepend": "",
|
411 |
+
"append": "px"
|
412 |
+
},
|
413 |
+
{
|
414 |
+
"key": "field_5d8386a927cfe",
|
415 |
+
"label": "Button Background Color",
|
416 |
+
"name": "acfb_image_accordion_button_background_color",
|
417 |
+
"type": "color_picker",
|
418 |
+
"instructions": "",
|
419 |
+
"required": 0,
|
420 |
+
"conditional_logic": 0,
|
421 |
+
"wrapper": {
|
422 |
+
"width": "",
|
423 |
+
"class": "",
|
424 |
+
"id": ""
|
425 |
+
},
|
426 |
+
"default_value": "#e0e0e0"
|
427 |
+
},
|
428 |
+
{
|
429 |
+
"key": "field_5d8386b927cff",
|
430 |
+
"label": "Button Text Color",
|
431 |
+
"name": "acfb_image_accordion_button_text_color",
|
432 |
+
"type": "color_picker",
|
433 |
+
"instructions": "",
|
434 |
+
"required": 0,
|
435 |
+
"conditional_logic": 0,
|
436 |
+
"wrapper": {
|
437 |
+
"width": "",
|
438 |
+
"class": "",
|
439 |
+
"id": ""
|
440 |
+
},
|
441 |
+
"default_value": "#191e23"
|
442 |
+
},
|
443 |
+
{
|
444 |
+
"key": "field_5d8386c627d00",
|
445 |
+
"label": "Button Background Hover Color",
|
446 |
+
"name": "acfb_image_accordion_button_background_hover_color",
|
447 |
+
"type": "color_picker",
|
448 |
+
"instructions": "",
|
449 |
+
"required": 0,
|
450 |
+
"conditional_logic": 0,
|
451 |
+
"wrapper": {
|
452 |
+
"width": "",
|
453 |
+
"class": "",
|
454 |
+
"id": ""
|
455 |
+
},
|
456 |
+
"default_value": "#e0e0e0"
|
457 |
+
},
|
458 |
+
{
|
459 |
+
"key": "field_5d8386d827d01",
|
460 |
+
"label": "Button Text Hover Color",
|
461 |
+
"name": "acfb_image_accordion_button_text_hover_color",
|
462 |
+
"type": "color_picker",
|
463 |
+
"instructions": "",
|
464 |
+
"required": 0,
|
465 |
+
"conditional_logic": 0,
|
466 |
+
"wrapper": {
|
467 |
+
"width": "",
|
468 |
+
"class": "",
|
469 |
+
"id": ""
|
470 |
+
},
|
471 |
+
"default_value": "#191e23"
|
472 |
+
},
|
473 |
+
{
|
474 |
+
"key": "field_5d8386ee27d02",
|
475 |
+
"label": "Button Size",
|
476 |
+
"name": "acfb_image_accordion_button_size",
|
477 |
+
"type": "range",
|
478 |
+
"instructions": "",
|
479 |
+
"required": 0,
|
480 |
+
"conditional_logic": 0,
|
481 |
+
"wrapper": {
|
482 |
+
"width": "",
|
483 |
+
"class": "",
|
484 |
+
"id": ""
|
485 |
+
},
|
486 |
+
"default_value": 19,
|
487 |
+
"min": "",
|
488 |
+
"max": "",
|
489 |
+
"step": "",
|
490 |
+
"prepend": "",
|
491 |
+
"append": "px"
|
492 |
+
}
|
493 |
+
],
|
494 |
+
"location": [
|
495 |
+
[
|
496 |
+
{
|
497 |
+
"param": "block",
|
498 |
+
"operator": "==",
|
499 |
+
"value": "acf\/acfb-image-accordion"
|
500 |
+
}
|
501 |
+
]
|
502 |
+
],
|
503 |
+
"menu_order": 0,
|
504 |
+
"position": "normal",
|
505 |
+
"style": "default",
|
506 |
+
"label_placement": "top",
|
507 |
+
"instruction_placement": "label",
|
508 |
+
"hide_on_screen": "",
|
509 |
+
"active": 1,
|
510 |
+
"description": "",
|
511 |
+
"modified": 1576492026
|
512 |
+
}
|
acf-json/group_5d85f76783fa0.json
ADDED
@@ -0,0 +1,596 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5d85f76783fa0",
|
3 |
+
"title": "Call To Action",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5d86087b64fc8",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5d86004e7d7b7",
|
23 |
+
"label": "Skins",
|
24 |
+
"name": "acfb_cta_skins",
|
25 |
+
"type": "select",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"choices": {
|
35 |
+
"acfb_cta_skin_classic": "Classic",
|
36 |
+
"acfb_cta_skin_cover": "Cover"
|
37 |
+
},
|
38 |
+
"default_value": [
|
39 |
+
"acfb_cta_skin_classic"
|
40 |
+
],
|
41 |
+
"allow_null": 0,
|
42 |
+
"multiple": 0,
|
43 |
+
"ui": 0,
|
44 |
+
"return_format": "value",
|
45 |
+
"ajax": 0,
|
46 |
+
"placeholder": ""
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"key": "field_5d86090164fcb",
|
50 |
+
"label": "Image Position",
|
51 |
+
"name": "acfb_cta_image_position",
|
52 |
+
"type": "button_group",
|
53 |
+
"instructions": "",
|
54 |
+
"required": 0,
|
55 |
+
"conditional_logic": [
|
56 |
+
[
|
57 |
+
{
|
58 |
+
"field": "field_5d86004e7d7b7",
|
59 |
+
"operator": "==",
|
60 |
+
"value": "acfb_cta_skin_classic"
|
61 |
+
}
|
62 |
+
]
|
63 |
+
],
|
64 |
+
"wrapper": {
|
65 |
+
"width": "",
|
66 |
+
"class": "",
|
67 |
+
"id": ""
|
68 |
+
},
|
69 |
+
"choices": {
|
70 |
+
"acfb_cta_image_left": "Left",
|
71 |
+
"acfb_cta_image_center": "Center",
|
72 |
+
"acfb_cta_image_right": "Right"
|
73 |
+
},
|
74 |
+
"allow_null": 0,
|
75 |
+
"default_value": "acfb_cta_image_center",
|
76 |
+
"layout": "horizontal",
|
77 |
+
"return_format": "value"
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"key": "field_5d86095064fcc",
|
81 |
+
"label": "Image",
|
82 |
+
"name": "acfb_cta_image",
|
83 |
+
"type": "image",
|
84 |
+
"instructions": "",
|
85 |
+
"required": 0,
|
86 |
+
"conditional_logic": 0,
|
87 |
+
"wrapper": {
|
88 |
+
"width": "",
|
89 |
+
"class": "",
|
90 |
+
"id": ""
|
91 |
+
},
|
92 |
+
"return_format": "url",
|
93 |
+
"preview_size": "medium",
|
94 |
+
"library": "all",
|
95 |
+
"min_width": "",
|
96 |
+
"min_height": "",
|
97 |
+
"min_size": "",
|
98 |
+
"max_width": "",
|
99 |
+
"max_height": "",
|
100 |
+
"max_size": "",
|
101 |
+
"mime_types": ""
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"key": "field_5d8609990395b",
|
105 |
+
"label": "Title",
|
106 |
+
"name": "acfb_cta_title",
|
107 |
+
"type": "text",
|
108 |
+
"instructions": "",
|
109 |
+
"required": 0,
|
110 |
+
"conditional_logic": 0,
|
111 |
+
"wrapper": {
|
112 |
+
"width": "",
|
113 |
+
"class": "",
|
114 |
+
"id": ""
|
115 |
+
},
|
116 |
+
"default_value": "This is Heading",
|
117 |
+
"placeholder": "This is Heading",
|
118 |
+
"prepend": "",
|
119 |
+
"append": "",
|
120 |
+
"maxlength": ""
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"key": "field_5d8609b30395c",
|
124 |
+
"label": "Description",
|
125 |
+
"name": "acfb_cta_description",
|
126 |
+
"type": "textarea",
|
127 |
+
"instructions": "",
|
128 |
+
"required": 0,
|
129 |
+
"conditional_logic": 0,
|
130 |
+
"wrapper": {
|
131 |
+
"width": "",
|
132 |
+
"class": "",
|
133 |
+
"id": ""
|
134 |
+
},
|
135 |
+
"default_value": "Click edit button to change this text. Lorem ipsum dolor sit amet consectetur adipiscing elit dolor",
|
136 |
+
"placeholder": "",
|
137 |
+
"maxlength": "",
|
138 |
+
"rows": "",
|
139 |
+
"new_lines": ""
|
140 |
+
},
|
141 |
+
{
|
142 |
+
"key": "field_5d8609c90395d",
|
143 |
+
"label": "Button Text",
|
144 |
+
"name": "acfb_cta_button_text",
|
145 |
+
"type": "text",
|
146 |
+
"instructions": "",
|
147 |
+
"required": 0,
|
148 |
+
"conditional_logic": 0,
|
149 |
+
"wrapper": {
|
150 |
+
"width": "",
|
151 |
+
"class": "",
|
152 |
+
"id": ""
|
153 |
+
},
|
154 |
+
"default_value": "Button Text",
|
155 |
+
"placeholder": "Button Text",
|
156 |
+
"prepend": "",
|
157 |
+
"append": "",
|
158 |
+
"maxlength": ""
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"key": "field_5d8609df0395e",
|
162 |
+
"label": "Button Url",
|
163 |
+
"name": "acfb_cta_button_url",
|
164 |
+
"type": "url",
|
165 |
+
"instructions": "",
|
166 |
+
"required": 0,
|
167 |
+
"conditional_logic": 0,
|
168 |
+
"wrapper": {
|
169 |
+
"width": "",
|
170 |
+
"class": "",
|
171 |
+
"id": ""
|
172 |
+
},
|
173 |
+
"default_value": "#",
|
174 |
+
"placeholder": "#"
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"key": "field_5d860a0a0395f",
|
178 |
+
"label": "Ribbon Text",
|
179 |
+
"name": "acfb_cta_ribbon_text",
|
180 |
+
"type": "text",
|
181 |
+
"instructions": "",
|
182 |
+
"required": 0,
|
183 |
+
"conditional_logic": 0,
|
184 |
+
"wrapper": {
|
185 |
+
"width": "",
|
186 |
+
"class": "",
|
187 |
+
"id": ""
|
188 |
+
},
|
189 |
+
"default_value": "Ribbon",
|
190 |
+
"placeholder": "Ribbon",
|
191 |
+
"prepend": "",
|
192 |
+
"append": "",
|
193 |
+
"maxlength": ""
|
194 |
+
},
|
195 |
+
{
|
196 |
+
"key": "field_5d860a1e03960",
|
197 |
+
"label": "Ribbon Position",
|
198 |
+
"name": "acfb_cta_ribbon_position",
|
199 |
+
"type": "button_group",
|
200 |
+
"instructions": "",
|
201 |
+
"required": 0,
|
202 |
+
"conditional_logic": 0,
|
203 |
+
"wrapper": {
|
204 |
+
"width": "",
|
205 |
+
"class": "",
|
206 |
+
"id": ""
|
207 |
+
},
|
208 |
+
"choices": {
|
209 |
+
"acfb_cta_ribbon_left": "Left",
|
210 |
+
"acfb_cta_ribbon_right": "Right"
|
211 |
+
},
|
212 |
+
"allow_null": 0,
|
213 |
+
"default_value": "acfb_cta_ribbon_right",
|
214 |
+
"layout": "horizontal",
|
215 |
+
"return_format": "value"
|
216 |
+
},
|
217 |
+
{
|
218 |
+
"key": "field_5d88a1d6e42a2",
|
219 |
+
"label": "Content Height",
|
220 |
+
"name": "acfb_cta_content_height",
|
221 |
+
"type": "range",
|
222 |
+
"instructions": "",
|
223 |
+
"required": 0,
|
224 |
+
"conditional_logic": 0,
|
225 |
+
"wrapper": {
|
226 |
+
"width": "",
|
227 |
+
"class": "",
|
228 |
+
"id": ""
|
229 |
+
},
|
230 |
+
"default_value": 350,
|
231 |
+
"min": "",
|
232 |
+
"max": 1000,
|
233 |
+
"step": "",
|
234 |
+
"prepend": "",
|
235 |
+
"append": "px"
|
236 |
+
},
|
237 |
+
{
|
238 |
+
"key": "field_5d888c3cb8983",
|
239 |
+
"label": "Content Padding",
|
240 |
+
"name": "acfb_cta_content_padding",
|
241 |
+
"type": "range",
|
242 |
+
"instructions": "",
|
243 |
+
"required": 0,
|
244 |
+
"conditional_logic": 0,
|
245 |
+
"wrapper": {
|
246 |
+
"width": "",
|
247 |
+
"class": "",
|
248 |
+
"id": ""
|
249 |
+
},
|
250 |
+
"default_value": 25,
|
251 |
+
"min": "",
|
252 |
+
"max": 100,
|
253 |
+
"step": "",
|
254 |
+
"prepend": "",
|
255 |
+
"append": "px"
|
256 |
+
},
|
257 |
+
{
|
258 |
+
"key": "field_5d88874cf81e0",
|
259 |
+
"label": "Content Vertical Align",
|
260 |
+
"name": "acfb_cta_content_vertical_align",
|
261 |
+
"type": "button_group",
|
262 |
+
"instructions": "",
|
263 |
+
"required": 0,
|
264 |
+
"conditional_logic": 0,
|
265 |
+
"wrapper": {
|
266 |
+
"width": "",
|
267 |
+
"class": "",
|
268 |
+
"id": ""
|
269 |
+
},
|
270 |
+
"choices": {
|
271 |
+
"flex-start": "Top",
|
272 |
+
"center": "Center",
|
273 |
+
"flex-end": "Bottom"
|
274 |
+
},
|
275 |
+
"allow_null": 0,
|
276 |
+
"default_value": "center",
|
277 |
+
"layout": "horizontal",
|
278 |
+
"return_format": "value"
|
279 |
+
},
|
280 |
+
{
|
281 |
+
"key": "field_5d888797f81e1",
|
282 |
+
"label": "Content Horizontal Align",
|
283 |
+
"name": "acfb_cta_content_horizontal_align",
|
284 |
+
"type": "button_group",
|
285 |
+
"instructions": "",
|
286 |
+
"required": 0,
|
287 |
+
"conditional_logic": 0,
|
288 |
+
"wrapper": {
|
289 |
+
"width": "",
|
290 |
+
"class": "",
|
291 |
+
"id": ""
|
292 |
+
},
|
293 |
+
"choices": {
|
294 |
+
"flex-start": "Left",
|
295 |
+
"center": "Center",
|
296 |
+
"flex-end": "Right"
|
297 |
+
},
|
298 |
+
"allow_null": 0,
|
299 |
+
"default_value": "center",
|
300 |
+
"layout": "horizontal",
|
301 |
+
"return_format": "value"
|
302 |
+
},
|
303 |
+
{
|
304 |
+
"key": "field_5d86088864fc9",
|
305 |
+
"label": "Design",
|
306 |
+
"name": "",
|
307 |
+
"type": "tab",
|
308 |
+
"instructions": "",
|
309 |
+
"required": 0,
|
310 |
+
"conditional_logic": 0,
|
311 |
+
"wrapper": {
|
312 |
+
"width": "",
|
313 |
+
"class": "",
|
314 |
+
"id": ""
|
315 |
+
},
|
316 |
+
"placement": "top",
|
317 |
+
"endpoint": 0
|
318 |
+
},
|
319 |
+
{
|
320 |
+
"key": "field_5da9a7fd3e372",
|
321 |
+
"label": "Image Overlay Color",
|
322 |
+
"name": "acfb_cta_image_overlay_color",
|
323 |
+
"type": "color_picker",
|
324 |
+
"instructions": "",
|
325 |
+
"required": 0,
|
326 |
+
"conditional_logic": 0,
|
327 |
+
"wrapper": {
|
328 |
+
"width": "",
|
329 |
+
"class": "",
|
330 |
+
"id": ""
|
331 |
+
},
|
332 |
+
"default_value": "#000000"
|
333 |
+
},
|
334 |
+
{
|
335 |
+
"key": "field_5dcaa23dc859f",
|
336 |
+
"label": "Image Overlay Opacity",
|
337 |
+
"name": "acfb_cta_image_overlay_opacity",
|
338 |
+
"type": "range",
|
339 |
+
"instructions": "",
|
340 |
+
"required": 0,
|
341 |
+
"conditional_logic": 0,
|
342 |
+
"wrapper": {
|
343 |
+
"width": "",
|
344 |
+
"class": "",
|
345 |
+
"id": ""
|
346 |
+
},
|
347 |
+
"default_value": "0.3",
|
348 |
+
"min": "0.1",
|
349 |
+
"max": "0.9",
|
350 |
+
"step": "0.1",
|
351 |
+
"prepend": "",
|
352 |
+
"append": ""
|
353 |
+
},
|
354 |
+
{
|
355 |
+
"key": "field_5d8888366493d",
|
356 |
+
"label": "Content Background Color",
|
357 |
+
"name": "acfb_cta_content_background_color",
|
358 |
+
"type": "color_picker",
|
359 |
+
"instructions": "",
|
360 |
+
"required": 0,
|
361 |
+
"conditional_logic": [
|
362 |
+
[
|
363 |
+
{
|
364 |
+
"field": "field_5d86004e7d7b7",
|
365 |
+
"operator": "==",
|
366 |
+
"value": "acfb_cta_skin_classic"
|
367 |
+
}
|
368 |
+
]
|
369 |
+
],
|
370 |
+
"wrapper": {
|
371 |
+
"width": "",
|
372 |
+
"class": "",
|
373 |
+
"id": ""
|
374 |
+
},
|
375 |
+
"default_value": "#f3f4f5"
|
376 |
+
},
|
377 |
+
{
|
378 |
+
"key": "field_5d8888686493e",
|
379 |
+
"label": "Title Color",
|
380 |
+
"name": "acfb_cta_title_color",
|
381 |
+
"type": "color_picker",
|
382 |
+
"instructions": "",
|
383 |
+
"required": 0,
|
384 |
+
"conditional_logic": 0,
|
385 |
+
"wrapper": {
|
386 |
+
"width": "",
|
387 |
+
"class": "",
|
388 |
+
"id": ""
|
389 |
+
},
|
390 |
+
"default_value": "#191e23"
|
391 |
+
},
|
392 |
+
{
|
393 |
+
"key": "field_5d8888926493f",
|
394 |
+
"label": "Title Size",
|
395 |
+
"name": "acfb_cta_title_size",
|
396 |
+
"type": "range",
|
397 |
+
"instructions": "",
|
398 |
+
"required": 0,
|
399 |
+
"conditional_logic": 0,
|
400 |
+
"wrapper": {
|
401 |
+
"width": "",
|
402 |
+
"class": "",
|
403 |
+
"id": ""
|
404 |
+
},
|
405 |
+
"default_value": 32,
|
406 |
+
"min": "",
|
407 |
+
"max": 200,
|
408 |
+
"step": "",
|
409 |
+
"prepend": "",
|
410 |
+
"append": "px"
|
411 |
+
},
|
412 |
+
{
|
413 |
+
"key": "field_5d8888bb64940",
|
414 |
+
"label": "Description Color",
|
415 |
+
"name": "acfb_cta_description_color",
|
416 |
+
"type": "color_picker",
|
417 |
+
"instructions": "",
|
418 |
+
"required": 0,
|
419 |
+
"conditional_logic": 0,
|
420 |
+
"wrapper": {
|
421 |
+
"width": "",
|
422 |
+
"class": "",
|
423 |
+
"id": ""
|
424 |
+
},
|
425 |
+
"default_value": "#191e23"
|
426 |
+
},
|
427 |
+
{
|
428 |
+
"key": "field_5d88893e64941",
|
429 |
+
"label": "Description Size",
|
430 |
+
"name": "acfb_cta_description_size",
|
431 |
+
"type": "range",
|
432 |
+
"instructions": "",
|
433 |
+
"required": 0,
|
434 |
+
"conditional_logic": 0,
|
435 |
+
"wrapper": {
|
436 |
+
"width": "",
|
437 |
+
"class": "",
|
438 |
+
"id": ""
|
439 |
+
},
|
440 |
+
"default_value": 18,
|
441 |
+
"min": "",
|
442 |
+
"max": "",
|
443 |
+
"step": "",
|
444 |
+
"prepend": "",
|
445 |
+
"append": "px"
|
446 |
+
},
|
447 |
+
{
|
448 |
+
"key": "field_5d88898f64942",
|
449 |
+
"label": "Button Background Color",
|
450 |
+
"name": "acfb_cta_button_background_color",
|
451 |
+
"type": "color_picker",
|
452 |
+
"instructions": "",
|
453 |
+
"required": 0,
|
454 |
+
"conditional_logic": 0,
|
455 |
+
"wrapper": {
|
456 |
+
"width": "",
|
457 |
+
"class": "",
|
458 |
+
"id": ""
|
459 |
+
},
|
460 |
+
"default_value": "#e0e0e0"
|
461 |
+
},
|
462 |
+
{
|
463 |
+
"key": "field_5d8889a464943",
|
464 |
+
"label": "Button Text Color",
|
465 |
+
"name": "acfb_cta_button_text_color",
|
466 |
+
"type": "color_picker",
|
467 |
+
"instructions": "",
|
468 |
+
"required": 0,
|
469 |
+
"conditional_logic": 0,
|
470 |
+
"wrapper": {
|
471 |
+
"width": "",
|
472 |
+
"class": "",
|
473 |
+
"id": ""
|
474 |
+
},
|
475 |
+
"default_value": "#191e23"
|
476 |
+
},
|
477 |
+
{
|
478 |
+
"key": "field_5d8889d164944",
|
479 |
+
"label": "Button Background Hover Color",
|
480 |
+
"name": "acfb_cta_button_background_hover_color",
|
481 |
+
"type": "color_picker",
|
482 |
+
"instructions": "",
|
483 |
+
"required": 0,
|
484 |
+
"conditional_logic": 0,
|
485 |
+
"wrapper": {
|
486 |
+
"width": "",
|
487 |
+
"class": "",
|
488 |
+
"id": ""
|
489 |
+
},
|
490 |
+
"default_value": "#e0e0e0"
|
491 |
+
},
|
492 |
+
{
|
493 |
+
"key": "field_5d8889e364945",
|
494 |
+
"label": "Button Text Hover Color",
|
495 |
+
"name": "acfb_cta_button_text_hover_color",
|
496 |
+
"type": "color_picker",
|
497 |
+
"instructions": "",
|
498 |
+
"required": 0,
|
499 |
+
"conditional_logic": 0,
|
500 |
+
"wrapper": {
|
501 |
+
"width": "",
|
502 |
+
"class": "",
|
503 |
+
"id": ""
|
504 |
+
},
|
505 |
+
"default_value": "#191e23"
|
506 |
+
},
|
507 |
+
{
|
508 |
+
"key": "field_5d888b61359d1",
|
509 |
+
"label": "Button Size",
|
510 |
+
"name": "acfb_cta_button_size",
|
511 |
+
"type": "range",
|
512 |
+
"instructions": "",
|
513 |
+
"required": 0,
|
514 |
+
"conditional_logic": 0,
|
515 |
+
"wrapper": {
|
516 |
+
"width": "",
|
517 |
+
"class": "",
|
518 |
+
"id": ""
|
519 |
+
},
|
520 |
+
"default_value": 19,
|
521 |
+
"min": "",
|
522 |
+
"max": "",
|
523 |
+
"step": "",
|
524 |
+
"prepend": "",
|
525 |
+
"append": "px"
|
526 |
+
},
|
527 |
+
{
|
528 |
+
"key": "field_5d888af2359cf",
|
529 |
+
"label": "Ribbon Background Color",
|
530 |
+
"name": "acfb_cta_ribbon_background_color",
|
531 |
+
"type": "color_picker",
|
532 |
+
"instructions": "",
|
533 |
+
"required": 0,
|
534 |
+
"conditional_logic": 0,
|
535 |
+
"wrapper": {
|
536 |
+
"width": "",
|
537 |
+
"class": "",
|
538 |
+
"id": ""
|
539 |
+
},
|
540 |
+
"default_value": "#000000"
|
541 |
+
},
|
542 |
+
{
|
543 |
+
"key": "field_5d888b20359d0",
|
544 |
+
"label": "Ribbon Text Color",
|
545 |
+
"name": "acfb_cta_ribbon_text_color",
|
546 |
+
"type": "color_picker",
|
547 |
+
"instructions": "",
|
548 |
+
"required": 0,
|
549 |
+
"conditional_logic": 0,
|
550 |
+
"wrapper": {
|
551 |
+
"width": "",
|
552 |
+
"class": "",
|
553 |
+
"id": ""
|
554 |
+
},
|
555 |
+
"default_value": "#ffffff"
|
556 |
+
},
|
557 |
+
{
|
558 |
+
"key": "field_5d888b85359d2",
|
559 |
+
"label": "Ribbon Size",
|
560 |
+
"name": "acfb_cta_ribbon_size",
|
561 |
+
"type": "range",
|
562 |
+
"instructions": "",
|
563 |
+
"required": 0,
|
564 |
+
"conditional_logic": 0,
|
565 |
+
"wrapper": {
|
566 |
+
"width": "",
|
567 |
+
"class": "",
|
568 |
+
"id": ""
|
569 |
+
},
|
570 |
+
"default_value": 13,
|
571 |
+
"min": "",
|
572 |
+
"max": 50,
|
573 |
+
"step": "",
|
574 |
+
"prepend": "",
|
575 |
+
"append": "px"
|
576 |
+
}
|
577 |
+
],
|
578 |
+
"location": [
|
579 |
+
[
|
580 |
+
{
|
581 |
+
"param": "block",
|
582 |
+
"operator": "==",
|
583 |
+
"value": "acf\/acfb-call-to-action"
|
584 |
+
}
|
585 |
+
]
|
586 |
+
],
|
587 |
+
"menu_order": 0,
|
588 |
+
"position": "normal",
|
589 |
+
"style": "default",
|
590 |
+
"label_placement": "top",
|
591 |
+
"instruction_placement": "label",
|
592 |
+
"hide_on_screen": "",
|
593 |
+
"active": 1,
|
594 |
+
"description": "",
|
595 |
+
"modified": 1573560984
|
596 |
+
}
|
acf-json/group_5d88ac7ea4495.json
ADDED
@@ -0,0 +1,379 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5d88ac7ea4495",
|
3 |
+
"title": "Before After Image",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5d89ca3358a01",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5d88c8ec2e3df",
|
23 |
+
"label": "Before Image",
|
24 |
+
"name": "acfb_ba_before_image",
|
25 |
+
"type": "image",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"return_format": "url",
|
35 |
+
"preview_size": "medium",
|
36 |
+
"library": "all",
|
37 |
+
"min_width": "",
|
38 |
+
"min_height": "",
|
39 |
+
"min_size": "",
|
40 |
+
"max_width": "",
|
41 |
+
"max_height": "",
|
42 |
+
"max_size": "",
|
43 |
+
"mime_types": ""
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"key": "field_5d89ca4f58a03",
|
47 |
+
"label": "Before Image Alt",
|
48 |
+
"name": "acfb_ba_before_image_alt",
|
49 |
+
"type": "text",
|
50 |
+
"instructions": "",
|
51 |
+
"required": 0,
|
52 |
+
"conditional_logic": 0,
|
53 |
+
"wrapper": {
|
54 |
+
"width": "",
|
55 |
+
"class": "",
|
56 |
+
"id": ""
|
57 |
+
},
|
58 |
+
"default_value": "alt text",
|
59 |
+
"placeholder": "alt text",
|
60 |
+
"prepend": "",
|
61 |
+
"append": "",
|
62 |
+
"maxlength": ""
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"key": "field_5d88c9132e3e1",
|
66 |
+
"label": "Before Label",
|
67 |
+
"name": "acfb_ba_before_label",
|
68 |
+
"type": "text",
|
69 |
+
"instructions": "",
|
70 |
+
"required": 0,
|
71 |
+
"conditional_logic": 0,
|
72 |
+
"wrapper": {
|
73 |
+
"width": "",
|
74 |
+
"class": "",
|
75 |
+
"id": ""
|
76 |
+
},
|
77 |
+
"default_value": "Before",
|
78 |
+
"placeholder": "Before",
|
79 |
+
"prepend": "",
|
80 |
+
"append": "",
|
81 |
+
"maxlength": ""
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"key": "field_5d88c8ff2e3e0",
|
85 |
+
"label": "After Image",
|
86 |
+
"name": "acfb_ba_after_image",
|
87 |
+
"type": "image",
|
88 |
+
"instructions": "",
|
89 |
+
"required": 0,
|
90 |
+
"conditional_logic": 0,
|
91 |
+
"wrapper": {
|
92 |
+
"width": "",
|
93 |
+
"class": "",
|
94 |
+
"id": ""
|
95 |
+
},
|
96 |
+
"return_format": "url",
|
97 |
+
"preview_size": "medium",
|
98 |
+
"library": "all",
|
99 |
+
"min_width": "",
|
100 |
+
"min_height": "",
|
101 |
+
"min_size": "",
|
102 |
+
"max_width": "",
|
103 |
+
"max_height": "",
|
104 |
+
"max_size": "",
|
105 |
+
"mime_types": ""
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"key": "field_5d89cafd58a04",
|
109 |
+
"label": "After Image Alt",
|
110 |
+
"name": "acfb_ba_after_image_alt",
|
111 |
+
"type": "text",
|
112 |
+
"instructions": "",
|
113 |
+
"required": 0,
|
114 |
+
"conditional_logic": 0,
|
115 |
+
"wrapper": {
|
116 |
+
"width": "",
|
117 |
+
"class": "",
|
118 |
+
"id": ""
|
119 |
+
},
|
120 |
+
"default_value": "alt text",
|
121 |
+
"placeholder": "alt text",
|
122 |
+
"prepend": "",
|
123 |
+
"append": "",
|
124 |
+
"maxlength": ""
|
125 |
+
},
|
126 |
+
{
|
127 |
+
"key": "field_5d88c9332e3e2",
|
128 |
+
"label": "After Label",
|
129 |
+
"name": "acfb_ba_after_label",
|
130 |
+
"type": "text",
|
131 |
+
"instructions": "",
|
132 |
+
"required": 0,
|
133 |
+
"conditional_logic": 0,
|
134 |
+
"wrapper": {
|
135 |
+
"width": "",
|
136 |
+
"class": "",
|
137 |
+
"id": ""
|
138 |
+
},
|
139 |
+
"default_value": "After",
|
140 |
+
"placeholder": "After",
|
141 |
+
"prepend": "",
|
142 |
+
"append": "",
|
143 |
+
"maxlength": ""
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"key": "field_5d88c95c2e3e3",
|
147 |
+
"label": "Default Handle Position",
|
148 |
+
"name": "acfb_ba_default_offset",
|
149 |
+
"type": "range",
|
150 |
+
"instructions": "",
|
151 |
+
"required": 0,
|
152 |
+
"conditional_logic": 0,
|
153 |
+
"wrapper": {
|
154 |
+
"width": "",
|
155 |
+
"class": "",
|
156 |
+
"id": ""
|
157 |
+
},
|
158 |
+
"default_value": "0.5",
|
159 |
+
"min": "",
|
160 |
+
"max": "0.9",
|
161 |
+
"step": "0.1",
|
162 |
+
"prepend": "",
|
163 |
+
"append": ""
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"key": "field_5d88c9c42e3e4",
|
167 |
+
"label": "Orientation",
|
168 |
+
"name": "acfb_ba_orientation",
|
169 |
+
"type": "button_group",
|
170 |
+
"instructions": "",
|
171 |
+
"required": 0,
|
172 |
+
"conditional_logic": 0,
|
173 |
+
"wrapper": {
|
174 |
+
"width": "",
|
175 |
+
"class": "",
|
176 |
+
"id": ""
|
177 |
+
},
|
178 |
+
"choices": {
|
179 |
+
"horizontal": "Horizontal",
|
180 |
+
"vertical": "Vertical"
|
181 |
+
},
|
182 |
+
"allow_null": 0,
|
183 |
+
"default_value": "horizontal",
|
184 |
+
"layout": "horizontal",
|
185 |
+
"return_format": "value"
|
186 |
+
},
|
187 |
+
{
|
188 |
+
"key": "field_5d88ca382e3e5",
|
189 |
+
"label": "Overlay",
|
190 |
+
"name": "acfb_ba_overlay",
|
191 |
+
"type": "true_false",
|
192 |
+
"instructions": "",
|
193 |
+
"required": 0,
|
194 |
+
"conditional_logic": 0,
|
195 |
+
"wrapper": {
|
196 |
+
"width": "",
|
197 |
+
"class": "",
|
198 |
+
"id": ""
|
199 |
+
},
|
200 |
+
"message": "",
|
201 |
+
"default_value": 1,
|
202 |
+
"ui": 1,
|
203 |
+
"ui_on_text": "",
|
204 |
+
"ui_off_text": ""
|
205 |
+
},
|
206 |
+
{
|
207 |
+
"key": "field_5d88ca622e3e6",
|
208 |
+
"label": "Move Slider On Hover",
|
209 |
+
"name": "acfb_ba_move_slider_on_hover",
|
210 |
+
"type": "true_false",
|
211 |
+
"instructions": "",
|
212 |
+
"required": 0,
|
213 |
+
"conditional_logic": 0,
|
214 |
+
"wrapper": {
|
215 |
+
"width": "",
|
216 |
+
"class": "",
|
217 |
+
"id": ""
|
218 |
+
},
|
219 |
+
"message": "This fields only work if move slider on click is false",
|
220 |
+
"default_value": 0,
|
221 |
+
"ui": 1,
|
222 |
+
"ui_on_text": "",
|
223 |
+
"ui_off_text": ""
|
224 |
+
},
|
225 |
+
{
|
226 |
+
"key": "field_5d88cacd2e3e7",
|
227 |
+
"label": "Move Slider On Click",
|
228 |
+
"name": "acfb_ba_move_slider_on_click",
|
229 |
+
"type": "true_false",
|
230 |
+
"instructions": "",
|
231 |
+
"required": 0,
|
232 |
+
"conditional_logic": 0,
|
233 |
+
"wrapper": {
|
234 |
+
"width": "",
|
235 |
+
"class": "",
|
236 |
+
"id": ""
|
237 |
+
},
|
238 |
+
"message": "This fields only work if move slider on hover is false",
|
239 |
+
"default_value": 0,
|
240 |
+
"ui": 1,
|
241 |
+
"ui_on_text": "",
|
242 |
+
"ui_off_text": ""
|
243 |
+
},
|
244 |
+
{
|
245 |
+
"key": "field_5d89ca4458a02",
|
246 |
+
"label": "Design",
|
247 |
+
"name": "",
|
248 |
+
"type": "tab",
|
249 |
+
"instructions": "",
|
250 |
+
"required": 0,
|
251 |
+
"conditional_logic": 0,
|
252 |
+
"wrapper": {
|
253 |
+
"width": "",
|
254 |
+
"class": "",
|
255 |
+
"id": ""
|
256 |
+
},
|
257 |
+
"placement": "top",
|
258 |
+
"endpoint": 0
|
259 |
+
},
|
260 |
+
{
|
261 |
+
"key": "field_5dbd45e0662f9",
|
262 |
+
"label": "Overlay Color",
|
263 |
+
"name": "acfb_ba_overlay_color",
|
264 |
+
"type": "color_picker",
|
265 |
+
"instructions": "",
|
266 |
+
"required": 0,
|
267 |
+
"conditional_logic": 0,
|
268 |
+
"wrapper": {
|
269 |
+
"width": "",
|
270 |
+
"class": "",
|
271 |
+
"id": ""
|
272 |
+
},
|
273 |
+
"default_value": "#000000"
|
274 |
+
},
|
275 |
+
{
|
276 |
+
"key": "field_5dcbde2cff4fd",
|
277 |
+
"label": "Overlay Opacity",
|
278 |
+
"name": "acfb_ba_overlay_opacity",
|
279 |
+
"type": "range",
|
280 |
+
"instructions": "",
|
281 |
+
"required": 0,
|
282 |
+
"conditional_logic": 0,
|
283 |
+
"wrapper": {
|
284 |
+
"width": "",
|
285 |
+
"class": "",
|
286 |
+
"id": ""
|
287 |
+
},
|
288 |
+
"default_value": "0.3",
|
289 |
+
"min": "0.1",
|
290 |
+
"max": "0.9",
|
291 |
+
"step": "0.1",
|
292 |
+
"prepend": "",
|
293 |
+
"append": ""
|
294 |
+
},
|
295 |
+
{
|
296 |
+
"key": "field_5dbd48f5cd663",
|
297 |
+
"label": "Handler Color",
|
298 |
+
"name": "acfb_ba_handler_color",
|
299 |
+
"type": "color_picker",
|
300 |
+
"instructions": "",
|
301 |
+
"required": 0,
|
302 |
+
"conditional_logic": 0,
|
303 |
+
"wrapper": {
|
304 |
+
"width": "",
|
305 |
+
"class": "",
|
306 |
+
"id": ""
|
307 |
+
},
|
308 |
+
"default_value": "#ffffff"
|
309 |
+
},
|
310 |
+
{
|
311 |
+
"key": "field_5d89cb3258a05",
|
312 |
+
"label": "Labels Background Color",
|
313 |
+
"name": "acfb_ba_labels_background_color",
|
314 |
+
"type": "color_picker",
|
315 |
+
"instructions": "",
|
316 |
+
"required": 0,
|
317 |
+
"conditional_logic": 0,
|
318 |
+
"wrapper": {
|
319 |
+
"width": "",
|
320 |
+
"class": "",
|
321 |
+
"id": ""
|
322 |
+
},
|
323 |
+
"default_value": "#ffffff"
|
324 |
+
},
|
325 |
+
{
|
326 |
+
"key": "field_5d89cb8d58a06",
|
327 |
+
"label": "Labels Color",
|
328 |
+
"name": "acfb_ba_labels_color",
|
329 |
+
"type": "color_picker",
|
330 |
+
"instructions": "",
|
331 |
+
"required": 0,
|
332 |
+
"conditional_logic": 0,
|
333 |
+
"wrapper": {
|
334 |
+
"width": "",
|
335 |
+
"class": "",
|
336 |
+
"id": ""
|
337 |
+
},
|
338 |
+
"default_value": "#ffffff"
|
339 |
+
},
|
340 |
+
{
|
341 |
+
"key": "field_5d89cd9df0f59",
|
342 |
+
"label": "Labels Size",
|
343 |
+
"name": "acfb_ba_labels_size",
|
344 |
+
"type": "range",
|
345 |
+
"instructions": "",
|
346 |
+
"required": 0,
|
347 |
+
"conditional_logic": 0,
|
348 |
+
"wrapper": {
|
349 |
+
"width": "",
|
350 |
+
"class": "",
|
351 |
+
"id": ""
|
352 |
+
},
|
353 |
+
"default_value": 13,
|
354 |
+
"min": "",
|
355 |
+
"max": "",
|
356 |
+
"step": "",
|
357 |
+
"prepend": "",
|
358 |
+
"append": "px"
|
359 |
+
}
|
360 |
+
],
|
361 |
+
"location": [
|
362 |
+
[
|
363 |
+
{
|
364 |
+
"param": "block",
|
365 |
+
"operator": "==",
|
366 |
+
"value": "acf\/acfb-before-after-image"
|
367 |
+
}
|
368 |
+
]
|
369 |
+
],
|
370 |
+
"menu_order": 0,
|
371 |
+
"position": "normal",
|
372 |
+
"style": "default",
|
373 |
+
"label_placement": "top",
|
374 |
+
"instruction_placement": "label",
|
375 |
+
"hide_on_screen": "",
|
376 |
+
"active": 1,
|
377 |
+
"description": "",
|
378 |
+
"modified": 1576492282
|
379 |
+
}
|
acf-json/group_5d89edcb99f5e.json
ADDED
@@ -0,0 +1,541 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5d89edcb99f5e",
|
3 |
+
"title": "Image Hotspot",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5d89fe09e2c84",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5d89fe24e2c86",
|
23 |
+
"label": "Image",
|
24 |
+
"name": "acfb_ih_image",
|
25 |
+
"type": "image",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"return_format": "url",
|
35 |
+
"preview_size": "medium",
|
36 |
+
"library": "all",
|
37 |
+
"min_width": "",
|
38 |
+
"min_height": "",
|
39 |
+
"min_size": "",
|
40 |
+
"max_width": "",
|
41 |
+
"max_height": "",
|
42 |
+
"max_size": "",
|
43 |
+
"mime_types": ""
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"key": "field_5d89fe43e2c87",
|
47 |
+
"label": "Image Alt",
|
48 |
+
"name": "acfb_ih_image_alt_text",
|
49 |
+
"type": "text",
|
50 |
+
"instructions": "",
|
51 |
+
"required": 0,
|
52 |
+
"conditional_logic": 0,
|
53 |
+
"wrapper": {
|
54 |
+
"width": "",
|
55 |
+
"class": "",
|
56 |
+
"id": ""
|
57 |
+
},
|
58 |
+
"default_value": "alt text",
|
59 |
+
"placeholder": "alt text",
|
60 |
+
"prepend": "",
|
61 |
+
"append": "",
|
62 |
+
"maxlength": ""
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"key": "field_5dad828a3ac8a",
|
66 |
+
"label": "Icon Size",
|
67 |
+
"name": "acfb_ih_icon_size",
|
68 |
+
"type": "range",
|
69 |
+
"instructions": "",
|
70 |
+
"required": 0,
|
71 |
+
"conditional_logic": 0,
|
72 |
+
"wrapper": {
|
73 |
+
"width": "",
|
74 |
+
"class": "",
|
75 |
+
"id": ""
|
76 |
+
},
|
77 |
+
"default_value": 24,
|
78 |
+
"min": "",
|
79 |
+
"max": 200,
|
80 |
+
"step": "",
|
81 |
+
"prepend": "",
|
82 |
+
"append": "px"
|
83 |
+
},
|
84 |
+
{
|
85 |
+
"key": "field_5dad82cf3ac8b",
|
86 |
+
"label": "Tooltip Width",
|
87 |
+
"name": "acfb_ih_tooltip_width",
|
88 |
+
"type": "range",
|
89 |
+
"instructions": "",
|
90 |
+
"required": 0,
|
91 |
+
"conditional_logic": 0,
|
92 |
+
"wrapper": {
|
93 |
+
"width": "",
|
94 |
+
"class": "",
|
95 |
+
"id": ""
|
96 |
+
},
|
97 |
+
"default_value": 250,
|
98 |
+
"min": "",
|
99 |
+
"max": 500,
|
100 |
+
"step": "",
|
101 |
+
"prepend": "",
|
102 |
+
"append": "px"
|
103 |
+
},
|
104 |
+
{
|
105 |
+
"key": "field_5d89feabe2c88",
|
106 |
+
"label": "Image Spots",
|
107 |
+
"name": "acfb_ih_image_spots",
|
108 |
+
"type": "repeater",
|
109 |
+
"instructions": "",
|
110 |
+
"required": 0,
|
111 |
+
"conditional_logic": 0,
|
112 |
+
"wrapper": {
|
113 |
+
"width": "",
|
114 |
+
"class": "",
|
115 |
+
"id": ""
|
116 |
+
},
|
117 |
+
"collapsed": "",
|
118 |
+
"min": 0,
|
119 |
+
"max": 0,
|
120 |
+
"layout": "block",
|
121 |
+
"button_label": "Add Spot",
|
122 |
+
"sub_fields": [
|
123 |
+
{
|
124 |
+
"key": "field_5d8a047901507",
|
125 |
+
"label": "Spot Vertical Position",
|
126 |
+
"name": "acfb_ih_spot_vertical_position",
|
127 |
+
"type": "range",
|
128 |
+
"instructions": "",
|
129 |
+
"required": 0,
|
130 |
+
"conditional_logic": 0,
|
131 |
+
"wrapper": {
|
132 |
+
"width": "",
|
133 |
+
"class": "",
|
134 |
+
"id": ""
|
135 |
+
},
|
136 |
+
"default_value": 20,
|
137 |
+
"min": "",
|
138 |
+
"max": "",
|
139 |
+
"step": 0,
|
140 |
+
"prepend": "",
|
141 |
+
"append": "%"
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"key": "field_5d8a04bb01508",
|
145 |
+
"label": "Spot Horizontal Position",
|
146 |
+
"name": "acfb_ih_spot_horizontal_position",
|
147 |
+
"type": "range",
|
148 |
+
"instructions": "",
|
149 |
+
"required": 0,
|
150 |
+
"conditional_logic": 0,
|
151 |
+
"wrapper": {
|
152 |
+
"width": "",
|
153 |
+
"class": "",
|
154 |
+
"id": ""
|
155 |
+
},
|
156 |
+
"default_value": 33,
|
157 |
+
"min": "",
|
158 |
+
"max": "",
|
159 |
+
"step": 0,
|
160 |
+
"prepend": "",
|
161 |
+
"append": "%"
|
162 |
+
},
|
163 |
+
{
|
164 |
+
"key": "field_5daaee7597ba7",
|
165 |
+
"label": "Tooltip Position",
|
166 |
+
"name": "acfb_ih_tooltip_position",
|
167 |
+
"type": "select",
|
168 |
+
"instructions": "",
|
169 |
+
"required": 0,
|
170 |
+
"conditional_logic": 0,
|
171 |
+
"wrapper": {
|
172 |
+
"width": "",
|
173 |
+
"class": "",
|
174 |
+
"id": ""
|
175 |
+
},
|
176 |
+
"choices": {
|
177 |
+
"acfb_ih_top": "Top",
|
178 |
+
"acfb_ih_bottom": "Bottom",
|
179 |
+
"acfb_ih_left": "left",
|
180 |
+
"acfb_ih_right": "Right"
|
181 |
+
},
|
182 |
+
"default_value": [
|
183 |
+
"acfb_ih_bottom"
|
184 |
+
],
|
185 |
+
"allow_null": 0,
|
186 |
+
"multiple": 0,
|
187 |
+
"ui": 0,
|
188 |
+
"return_format": "value",
|
189 |
+
"ajax": 0,
|
190 |
+
"placeholder": ""
|
191 |
+
},
|
192 |
+
{
|
193 |
+
"key": "field_5d89fed3e2c89",
|
194 |
+
"label": "Image",
|
195 |
+
"name": "acfb_ih_spot_image",
|
196 |
+
"type": "image",
|
197 |
+
"instructions": "",
|
198 |
+
"required": 0,
|
199 |
+
"conditional_logic": 0,
|
200 |
+
"wrapper": {
|
201 |
+
"width": "",
|
202 |
+
"class": "",
|
203 |
+
"id": ""
|
204 |
+
},
|
205 |
+
"return_format": "url",
|
206 |
+
"preview_size": "medium",
|
207 |
+
"library": "all",
|
208 |
+
"min_width": "",
|
209 |
+
"min_height": "",
|
210 |
+
"min_size": "",
|
211 |
+
"max_width": "",
|
212 |
+
"max_height": "",
|
213 |
+
"max_size": "",
|
214 |
+
"mime_types": ""
|
215 |
+
},
|
216 |
+
{
|
217 |
+
"key": "field_5d8a05e7f74d1",
|
218 |
+
"label": "Image Size",
|
219 |
+
"name": "acfb_ih_spot_image_size",
|
220 |
+
"type": "range",
|
221 |
+
"instructions": "",
|
222 |
+
"required": 0,
|
223 |
+
"conditional_logic": 0,
|
224 |
+
"wrapper": {
|
225 |
+
"width": "",
|
226 |
+
"class": "",
|
227 |
+
"id": ""
|
228 |
+
},
|
229 |
+
"default_value": 50,
|
230 |
+
"min": "",
|
231 |
+
"max": "",
|
232 |
+
"step": "",
|
233 |
+
"prepend": "",
|
234 |
+
"append": "%"
|
235 |
+
},
|
236 |
+
{
|
237 |
+
"key": "field_5d8a0034e2c8a",
|
238 |
+
"label": "Title",
|
239 |
+
"name": "acfb_ih_spot_title",
|
240 |
+
"type": "text",
|
241 |
+
"instructions": "",
|
242 |
+
"required": 0,
|
243 |
+
"conditional_logic": 0,
|
244 |
+
"wrapper": {
|
245 |
+
"width": "",
|
246 |
+
"class": "",
|
247 |
+
"id": ""
|
248 |
+
},
|
249 |
+
"default_value": "Title",
|
250 |
+
"placeholder": "Title",
|
251 |
+
"prepend": "",
|
252 |
+
"append": "",
|
253 |
+
"maxlength": ""
|
254 |
+
},
|
255 |
+
{
|
256 |
+
"key": "field_5d8a0058e2c8c",
|
257 |
+
"label": "Content",
|
258 |
+
"name": "acfb_ih_spot_content",
|
259 |
+
"type": "textarea",
|
260 |
+
"instructions": "",
|
261 |
+
"required": 0,
|
262 |
+
"conditional_logic": 0,
|
263 |
+
"wrapper": {
|
264 |
+
"width": "",
|
265 |
+
"class": "",
|
266 |
+
"id": ""
|
267 |
+
},
|
268 |
+
"default_value": "Lorem ipsum dolor sit amet, consectetur adipisicing elit.",
|
269 |
+
"placeholder": "",
|
270 |
+
"maxlength": "",
|
271 |
+
"rows": "",
|
272 |
+
"new_lines": ""
|
273 |
+
},
|
274 |
+
{
|
275 |
+
"key": "field_5d8a0097e2c8d",
|
276 |
+
"label": "Button Text",
|
277 |
+
"name": "acfb_ih_spot_button_text",
|
278 |
+
"type": "text",
|
279 |
+
"instructions": "",
|
280 |
+
"required": 0,
|
281 |
+
"conditional_logic": 0,
|
282 |
+
"wrapper": {
|
283 |
+
"width": "",
|
284 |
+
"class": "",
|
285 |
+
"id": ""
|
286 |
+
},
|
287 |
+
"default_value": "Button Text",
|
288 |
+
"placeholder": "Button Text",
|
289 |
+
"prepend": "",
|
290 |
+
"append": "",
|
291 |
+
"maxlength": ""
|
292 |
+
},
|
293 |
+
{
|
294 |
+
"key": "field_5d8a00b7e2c8e",
|
295 |
+
"label": "Button Url",
|
296 |
+
"name": "acfb_ih_spot_button_url",
|
297 |
+
"type": "url",
|
298 |
+
"instructions": "",
|
299 |
+
"required": 0,
|
300 |
+
"conditional_logic": 0,
|
301 |
+
"wrapper": {
|
302 |
+
"width": "",
|
303 |
+
"class": "",
|
304 |
+
"id": ""
|
305 |
+
},
|
306 |
+
"default_value": "#",
|
307 |
+
"placeholder": "#"
|
308 |
+
}
|
309 |
+
]
|
310 |
+
},
|
311 |
+
{
|
312 |
+
"key": "field_5d89fe14e2c85",
|
313 |
+
"label": "Design",
|
314 |
+
"name": "",
|
315 |
+
"type": "tab",
|
316 |
+
"instructions": "",
|
317 |
+
"required": 0,
|
318 |
+
"conditional_logic": 0,
|
319 |
+
"wrapper": {
|
320 |
+
"width": "",
|
321 |
+
"class": "",
|
322 |
+
"id": ""
|
323 |
+
},
|
324 |
+
"placement": "top",
|
325 |
+
"endpoint": 0
|
326 |
+
},
|
327 |
+
{
|
328 |
+
"key": "field_5d8a110bf2154",
|
329 |
+
"label": "Icon Color",
|
330 |
+
"name": "acfb_ih_icon_color",
|
331 |
+
"type": "color_picker",
|
332 |
+
"instructions": "",
|
333 |
+
"required": 0,
|
334 |
+
"conditional_logic": 0,
|
335 |
+
"wrapper": {
|
336 |
+
"width": "",
|
337 |
+
"class": "",
|
338 |
+
"id": ""
|
339 |
+
},
|
340 |
+
"default_value": "#ff6000"
|
341 |
+
},
|
342 |
+
{
|
343 |
+
"key": "field_5d8a112cf2155",
|
344 |
+
"label": "Icon Border Color",
|
345 |
+
"name": "acfb_ih_icon_border_color",
|
346 |
+
"type": "color_picker",
|
347 |
+
"instructions": "",
|
348 |
+
"required": 0,
|
349 |
+
"conditional_logic": 0,
|
350 |
+
"wrapper": {
|
351 |
+
"width": "",
|
352 |
+
"class": "",
|
353 |
+
"id": ""
|
354 |
+
},
|
355 |
+
"default_value": "#ffffff"
|
356 |
+
},
|
357 |
+
{
|
358 |
+
"key": "field_5d8a1150f2156",
|
359 |
+
"label": "Tooltip Background Color",
|
360 |
+
"name": "acfb_ih_tooltip_background_color",
|
361 |
+
"type": "color_picker",
|
362 |
+
"instructions": "",
|
363 |
+
"required": 0,
|
364 |
+
"conditional_logic": 0,
|
365 |
+
"wrapper": {
|
366 |
+
"width": "",
|
367 |
+
"class": "",
|
368 |
+
"id": ""
|
369 |
+
},
|
370 |
+
"default_value": "#ffffff"
|
371 |
+
},
|
372 |
+
{
|
373 |
+
"key": "field_5d8a12f4f2157",
|
374 |
+
"label": "Tooltip Title Color",
|
375 |
+
"name": "acfb_ih_tooltip_title_color",
|
376 |
+
"type": "color_picker",
|
377 |
+
"instructions": "",
|
378 |
+
"required": 0,
|
379 |
+
"conditional_logic": 0,
|
380 |
+
"wrapper": {
|
381 |
+
"width": "",
|
382 |
+
"class": "",
|
383 |
+
"id": ""
|
384 |
+
},
|
385 |
+
"default_value": "#191e23"
|
386 |
+
},
|
387 |
+
{
|
388 |
+
"key": "field_5d8a131df2158",
|
389 |
+
"label": "Tooltip Title Size",
|
390 |
+
"name": "acfb_ih_tooltip_title_size",
|
391 |
+
"type": "range",
|
392 |
+
"instructions": "",
|
393 |
+
"required": 0,
|
394 |
+
"conditional_logic": 0,
|
395 |
+
"wrapper": {
|
396 |
+
"width": "",
|
397 |
+
"class": "",
|
398 |
+
"id": ""
|
399 |
+
},
|
400 |
+
"default_value": 32,
|
401 |
+
"min": "",
|
402 |
+
"max": "",
|
403 |
+
"step": "",
|
404 |
+
"prepend": "",
|
405 |
+
"append": "px"
|
406 |
+
},
|
407 |
+
{
|
408 |
+
"key": "field_5d8a1339f2159",
|
409 |
+
"label": "Tooltip Content Color",
|
410 |
+
"name": "acfb_ih_tooltip_content_color",
|
411 |
+
"type": "color_picker",
|
412 |
+
"instructions": "",
|
413 |
+
"required": 0,
|
414 |
+
"conditional_logic": 0,
|
415 |
+
"wrapper": {
|
416 |
+
"width": "",
|
417 |
+
"class": "",
|
418 |
+
"id": ""
|
419 |
+
},
|
420 |
+
"default_value": "#191e23"
|
421 |
+
},
|
422 |
+
{
|
423 |
+
"key": "field_5d8a135ef215a",
|
424 |
+
"label": "Tooltip Content Size",
|
425 |
+
"name": "acfb_ih_tooltip_content_size",
|
426 |
+
"type": "range",
|
427 |
+
"instructions": "",
|
428 |
+
"required": 0,
|
429 |
+
"conditional_logic": 0,
|
430 |
+
"wrapper": {
|
431 |
+
"width": "",
|
432 |
+
"class": "",
|
433 |
+
"id": ""
|
434 |
+
},
|
435 |
+
"default_value": 18,
|
436 |
+
"min": "",
|
437 |
+
"max": "",
|
438 |
+
"step": "",
|
439 |
+
"prepend": "",
|
440 |
+
"append": "px"
|
441 |
+
},
|
442 |
+
{
|
443 |
+
"key": "field_5d8a1398f215b",
|
444 |
+
"label": "Tooltip Button Background Color",
|
445 |
+
"name": "acfb_ih_tooltip_button_background_color",
|
446 |
+
"type": "color_picker",
|
447 |
+
"instructions": "",
|
448 |
+
"required": 0,
|
449 |
+
"conditional_logic": 0,
|
450 |
+
"wrapper": {
|
451 |
+
"width": "",
|
452 |
+
"class": "",
|
453 |
+
"id": ""
|
454 |
+
},
|
455 |
+
"default_value": "#e0e0e0"
|
456 |
+
},
|
457 |
+
{
|
458 |
+
"key": "field_5d8a13b9f215c",
|
459 |
+
"label": "Tooltip Button Text Color",
|
460 |
+
"name": "acfb_ih_tooltip_button_text_color",
|
461 |
+
"type": "color_picker",
|
462 |
+
"instructions": "",
|
463 |
+
"required": 0,
|
464 |
+
"conditional_logic": 0,
|
465 |
+
"wrapper": {
|
466 |
+
"width": "",
|
467 |
+
"class": "",
|
468 |
+
"id": ""
|
469 |
+
},
|
470 |
+
"default_value": "#191e23"
|
471 |
+
},
|
472 |
+
{
|
473 |
+
"key": "field_5d8a13daf215d",
|
474 |
+
"label": "Tooltip Button Background Hover Color",
|
475 |
+
"name": "acfb_ih_tooltip_button_background_hover_color",
|
476 |
+
"type": "color_picker",
|
477 |
+
"instructions": "",
|
478 |
+
"required": 0,
|
479 |
+
"conditional_logic": 0,
|
480 |
+
"wrapper": {
|
481 |
+
"width": "",
|
482 |
+
"class": "",
|
483 |
+
"id": ""
|
484 |
+
},
|
485 |
+
"default_value": "#e0e0e0"
|
486 |
+
},
|
487 |
+
{
|
488 |
+
"key": "field_5d8a13fef215e",
|
489 |
+
"label": "Tooltip Button Text Hover Color",
|
490 |
+
"name": "acfb_ih_tooltip_button_text_hover_color",
|
491 |
+
"type": "color_picker",
|
492 |
+
"instructions": "",
|
493 |
+
"required": 0,
|
494 |
+
"conditional_logic": 0,
|
495 |
+
"wrapper": {
|
496 |
+
"width": "",
|
497 |
+
"class": "",
|
498 |
+
"id": ""
|
499 |
+
},
|
500 |
+
"default_value": "#191e23"
|
501 |
+
},
|
502 |
+
{
|
503 |
+
"key": "field_5d8a1431f215f",
|
504 |
+
"label": "Tooltip Button Size",
|
505 |
+
"name": "acfb_ih_tooltip_button_size",
|
506 |
+
"type": "range",
|
507 |
+
"instructions": "",
|
508 |
+
"required": 0,
|
509 |
+
"conditional_logic": 0,
|
510 |
+
"wrapper": {
|
511 |
+
"width": "",
|
512 |
+
"class": "",
|
513 |
+
"id": ""
|
514 |
+
},
|
515 |
+
"default_value": 19,
|
516 |
+
"min": "",
|
517 |
+
"max": "",
|
518 |
+
"step": "",
|
519 |
+
"prepend": "",
|
520 |
+
"append": "px"
|
521 |
+
}
|
522 |
+
],
|
523 |
+
"location": [
|
524 |
+
[
|
525 |
+
{
|
526 |
+
"param": "block",
|
527 |
+
"operator": "==",
|
528 |
+
"value": "acf\/acfb-image-hotspot"
|
529 |
+
}
|
530 |
+
]
|
531 |
+
],
|
532 |
+
"menu_order": 0,
|
533 |
+
"position": "normal",
|
534 |
+
"style": "default",
|
535 |
+
"label_placement": "top",
|
536 |
+
"instruction_placement": "label",
|
537 |
+
"hide_on_screen": "",
|
538 |
+
"active": 1,
|
539 |
+
"description": "",
|
540 |
+
"modified": 1576492561
|
541 |
+
}
|
acf-json/group_5d8c7aea13336.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"key": "group_5d8c7aea13336",
|
3 |
"title": "Scrollable Image",
|
4 |
-
"private": true,
|
5 |
"fields": [
|
6 |
{
|
7 |
"key": "field_5d8c805fe9908",
|
@@ -134,5 +133,6 @@
|
|
134 |
"hide_on_screen": "",
|
135 |
"active": 1,
|
136 |
"description": "",
|
137 |
-
"
|
|
|
138 |
}
|
1 |
{
|
2 |
"key": "group_5d8c7aea13336",
|
3 |
"title": "Scrollable Image",
|
|
|
4 |
"fields": [
|
5 |
{
|
6 |
"key": "field_5d8c805fe9908",
|
133 |
"hide_on_screen": "",
|
134 |
"active": 1,
|
135 |
"description": "",
|
136 |
+
"private": true,
|
137 |
+
"modified": 1570446489
|
138 |
}
|
acf-json/group_5d9c6dc7208c4.json
ADDED
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5d9c6dc7208c4",
|
3 |
+
"title": "Devices",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5d9c6ddbcf1d0",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5d9c6df4cf1d2",
|
23 |
+
"label": "Device Type",
|
24 |
+
"name": "acfb_device_type",
|
25 |
+
"type": "select",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"choices": {
|
35 |
+
"laptop": "Laptop",
|
36 |
+
"tablet": "Tablet",
|
37 |
+
"mobile": "Mobile"
|
38 |
+
},
|
39 |
+
"default_value": [
|
40 |
+
"laptop"
|
41 |
+
],
|
42 |
+
"allow_null": 0,
|
43 |
+
"multiple": 0,
|
44 |
+
"ui": 0,
|
45 |
+
"return_format": "value",
|
46 |
+
"ajax": 0,
|
47 |
+
"placeholder": ""
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"key": "field_5d9c6efc17798",
|
51 |
+
"label": "Image",
|
52 |
+
"name": "acfb_device_image",
|
53 |
+
"type": "image",
|
54 |
+
"instructions": "",
|
55 |
+
"required": 0,
|
56 |
+
"conditional_logic": 0,
|
57 |
+
"wrapper": {
|
58 |
+
"width": "",
|
59 |
+
"class": "",
|
60 |
+
"id": ""
|
61 |
+
},
|
62 |
+
"return_format": "url",
|
63 |
+
"preview_size": "medium",
|
64 |
+
"library": "all",
|
65 |
+
"min_width": "",
|
66 |
+
"min_height": "",
|
67 |
+
"min_size": "",
|
68 |
+
"max_width": "",
|
69 |
+
"max_height": "",
|
70 |
+
"max_size": "",
|
71 |
+
"mime_types": ""
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"key": "field_5daec5384fc6e",
|
75 |
+
"label": "Image Alt",
|
76 |
+
"name": "acfb_device_image_alt",
|
77 |
+
"type": "text",
|
78 |
+
"instructions": "",
|
79 |
+
"required": 0,
|
80 |
+
"conditional_logic": 0,
|
81 |
+
"wrapper": {
|
82 |
+
"width": "",
|
83 |
+
"class": "",
|
84 |
+
"id": ""
|
85 |
+
},
|
86 |
+
"default_value": "alt text",
|
87 |
+
"placeholder": "alt text",
|
88 |
+
"prepend": "",
|
89 |
+
"append": "",
|
90 |
+
"maxlength": ""
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"key": "field_5df76fc1aa96c",
|
94 |
+
"label": "Image Vertical Position",
|
95 |
+
"name": "acfb_device_image_vposition",
|
96 |
+
"type": "range",
|
97 |
+
"instructions": "",
|
98 |
+
"required": 0,
|
99 |
+
"conditional_logic": 0,
|
100 |
+
"wrapper": {
|
101 |
+
"width": "",
|
102 |
+
"class": "",
|
103 |
+
"id": ""
|
104 |
+
},
|
105 |
+
"default_value": 50,
|
106 |
+
"min": "",
|
107 |
+
"max": "",
|
108 |
+
"step": "",
|
109 |
+
"prepend": "",
|
110 |
+
"append": "%"
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"key": "field_5df76fefaa96d",
|
114 |
+
"label": "Image Horizontal Position",
|
115 |
+
"name": "acfb_device_image_hposition",
|
116 |
+
"type": "range",
|
117 |
+
"instructions": "",
|
118 |
+
"required": 0,
|
119 |
+
"conditional_logic": 0,
|
120 |
+
"wrapper": {
|
121 |
+
"width": "",
|
122 |
+
"class": "",
|
123 |
+
"id": ""
|
124 |
+
},
|
125 |
+
"default_value": 50,
|
126 |
+
"min": "",
|
127 |
+
"max": "",
|
128 |
+
"step": "",
|
129 |
+
"prepend": "",
|
130 |
+
"append": "%"
|
131 |
+
},
|
132 |
+
{
|
133 |
+
"key": "field_5d9c6de9cf1d1",
|
134 |
+
"label": "Design",
|
135 |
+
"name": "",
|
136 |
+
"type": "tab",
|
137 |
+
"instructions": "",
|
138 |
+
"required": 0,
|
139 |
+
"conditional_logic": 0,
|
140 |
+
"wrapper": {
|
141 |
+
"width": "",
|
142 |
+
"class": "",
|
143 |
+
"id": ""
|
144 |
+
},
|
145 |
+
"placement": "top",
|
146 |
+
"endpoint": 0
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"key": "field_5daeb94990028",
|
150 |
+
"label": "Device Width",
|
151 |
+
"name": "acfb_device_width",
|
152 |
+
"type": "range",
|
153 |
+
"instructions": "",
|
154 |
+
"required": 0,
|
155 |
+
"conditional_logic": 0,
|
156 |
+
"wrapper": {
|
157 |
+
"width": "",
|
158 |
+
"class": "",
|
159 |
+
"id": ""
|
160 |
+
},
|
161 |
+
"default_value": 100,
|
162 |
+
"min": "",
|
163 |
+
"max": "",
|
164 |
+
"step": "",
|
165 |
+
"prepend": "",
|
166 |
+
"append": "%"
|
167 |
+
},
|
168 |
+
{
|
169 |
+
"key": "field_5daec29167598",
|
170 |
+
"label": "Device Alignment",
|
171 |
+
"name": "acfb_device_alignment",
|
172 |
+
"type": "button_group",
|
173 |
+
"instructions": "",
|
174 |
+
"required": 0,
|
175 |
+
"conditional_logic": 0,
|
176 |
+
"wrapper": {
|
177 |
+
"width": "",
|
178 |
+
"class": "",
|
179 |
+
"id": ""
|
180 |
+
},
|
181 |
+
"choices": {
|
182 |
+
"flex-start": "Left",
|
183 |
+
"center": "Center",
|
184 |
+
"flex-end": "Right"
|
185 |
+
},
|
186 |
+
"allow_null": 0,
|
187 |
+
"default_value": "flex-start",
|
188 |
+
"layout": "horizontal",
|
189 |
+
"return_format": "value"
|
190 |
+
}
|
191 |
+
],
|
192 |
+
"location": [
|
193 |
+
[
|
194 |
+
{
|
195 |
+
"param": "block",
|
196 |
+
"operator": "==",
|
197 |
+
"value": "acf\/acfb-device"
|
198 |
+
}
|
199 |
+
]
|
200 |
+
],
|
201 |
+
"menu_order": 0,
|
202 |
+
"position": "normal",
|
203 |
+
"style": "default",
|
204 |
+
"label_placement": "top",
|
205 |
+
"instruction_placement": "label",
|
206 |
+
"hide_on_screen": "",
|
207 |
+
"active": 1,
|
208 |
+
"description": "",
|
209 |
+
"modified": 1576497185
|
210 |
+
}
|
acf-json/group_5d9c78624c0c3.json
ADDED
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5d9c78624c0c3",
|
3 |
+
"title": "Shape Divider",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5d9c7e10ce684",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5d9c7e24ce686",
|
23 |
+
"label": "Styles",
|
24 |
+
"name": "acfb_shape_divider_styles",
|
25 |
+
"type": "select",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"choices": {
|
35 |
+
"acfb_shape_mountains": "Mountains",
|
36 |
+
"acfb_shape_drops": "Drops",
|
37 |
+
"acfb_shape_clouds": "Clouds",
|
38 |
+
"acfb_shape_zigzag": "Zigzag",
|
39 |
+
"acfb_shape_pyramids": "Pyramids",
|
40 |
+
"acfb_shape_triangle": "Triangle",
|
41 |
+
"acfb_shape_triangle_asymmetrical": "Triangle Asymmetrical",
|
42 |
+
"acfb_shape_tilt": "Tilt",
|
43 |
+
"acfb_shape_tilt_opacity": "Tilt Opacity",
|
44 |
+
"acfb_shape_fan_opacity": "Fan Opacity",
|
45 |
+
"acfb_shape_curve": "Curve",
|
46 |
+
"acfb_shape_curve_asymmetrical": "Curve Asymmetrical",
|
47 |
+
"acfb_shape_waves": "Waves",
|
48 |
+
"acfb_shape_waves_brush": "Waves Brush",
|
49 |
+
"acfb_shape_waves_pattern": "Waves Pattern",
|
50 |
+
"acfb_shape_arrow": "Arrow",
|
51 |
+
"acfb_shape_split": "Split",
|
52 |
+
"acfb_shape_book": "Book"
|
53 |
+
},
|
54 |
+
"default_value": [
|
55 |
+
"acfb_shape_mountains"
|
56 |
+
],
|
57 |
+
"allow_null": 0,
|
58 |
+
"multiple": 0,
|
59 |
+
"ui": 0,
|
60 |
+
"return_format": "value",
|
61 |
+
"ajax": 0,
|
62 |
+
"placeholder": ""
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"key": "field_5daecd3a7c3a6",
|
66 |
+
"label": "Flip Vertical",
|
67 |
+
"name": "acfb_shape_divider_flip_vertical",
|
68 |
+
"type": "true_false",
|
69 |
+
"instructions": "",
|
70 |
+
"required": 0,
|
71 |
+
"conditional_logic": 0,
|
72 |
+
"wrapper": {
|
73 |
+
"width": "",
|
74 |
+
"class": "",
|
75 |
+
"id": ""
|
76 |
+
},
|
77 |
+
"message": "",
|
78 |
+
"default_value": 0,
|
79 |
+
"ui": 1,
|
80 |
+
"ui_on_text": "",
|
81 |
+
"ui_off_text": ""
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"key": "field_5df7768684073",
|
85 |
+
"label": "Flip Horizontal",
|
86 |
+
"name": "acfb_shape_divider_flip_horizontal",
|
87 |
+
"type": "true_false",
|
88 |
+
"instructions": "",
|
89 |
+
"required": 0,
|
90 |
+
"conditional_logic": 0,
|
91 |
+
"wrapper": {
|
92 |
+
"width": "",
|
93 |
+
"class": "",
|
94 |
+
"id": ""
|
95 |
+
},
|
96 |
+
"message": "",
|
97 |
+
"default_value": 0,
|
98 |
+
"ui": 1,
|
99 |
+
"ui_on_text": "",
|
100 |
+
"ui_off_text": ""
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"key": "field_5d9c80d5ce688",
|
104 |
+
"label": "Width",
|
105 |
+
"name": "acfb_shape_divider_width",
|
106 |
+
"type": "range",
|
107 |
+
"instructions": "",
|
108 |
+
"required": 0,
|
109 |
+
"conditional_logic": 0,
|
110 |
+
"wrapper": {
|
111 |
+
"width": "",
|
112 |
+
"class": "",
|
113 |
+
"id": ""
|
114 |
+
},
|
115 |
+
"default_value": 100,
|
116 |
+
"min": 100,
|
117 |
+
"max": 300,
|
118 |
+
"step": "",
|
119 |
+
"prepend": "",
|
120 |
+
"append": "%"
|
121 |
+
},
|
122 |
+
{
|
123 |
+
"key": "field_5d9c8106ce689",
|
124 |
+
"label": "Height",
|
125 |
+
"name": "acfb_shape_divider_height",
|
126 |
+
"type": "range",
|
127 |
+
"instructions": "",
|
128 |
+
"required": 0,
|
129 |
+
"conditional_logic": 0,
|
130 |
+
"wrapper": {
|
131 |
+
"width": "",
|
132 |
+
"class": "",
|
133 |
+
"id": ""
|
134 |
+
},
|
135 |
+
"default_value": 100,
|
136 |
+
"min": "",
|
137 |
+
"max": 500,
|
138 |
+
"step": "",
|
139 |
+
"prepend": "",
|
140 |
+
"append": "px"
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"key": "field_5d9c7e1bce685",
|
144 |
+
"label": "Design",
|
145 |
+
"name": "",
|
146 |
+
"type": "tab",
|
147 |
+
"instructions": "",
|
148 |
+
"required": 0,
|
149 |
+
"conditional_logic": 0,
|
150 |
+
"wrapper": {
|
151 |
+
"width": "",
|
152 |
+
"class": "",
|
153 |
+
"id": ""
|
154 |
+
},
|
155 |
+
"placement": "top",
|
156 |
+
"endpoint": 0
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"key": "field_5d9c80a4ce687",
|
160 |
+
"label": "Color",
|
161 |
+
"name": "acfb_shape_divider_color",
|
162 |
+
"type": "color_picker",
|
163 |
+
"instructions": "",
|
164 |
+
"required": 0,
|
165 |
+
"conditional_logic": 0,
|
166 |
+
"wrapper": {
|
167 |
+
"width": "",
|
168 |
+
"class": "",
|
169 |
+
"id": ""
|
170 |
+
},
|
171 |
+
"default_value": "#000000"
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"key": "field_5d9c9c544bca0",
|
175 |
+
"label": "Background Color",
|
176 |
+
"name": "acfb_shape_divider_background_color",
|
177 |
+
"type": "color_picker",
|
178 |
+
"instructions": "",
|
179 |
+
"required": 0,
|
180 |
+
"conditional_logic": 0,
|
181 |
+
"wrapper": {
|
182 |
+
"width": "",
|
183 |
+
"class": "",
|
184 |
+
"id": ""
|
185 |
+
},
|
186 |
+
"default_value": "#ffffff"
|
187 |
+
}
|
188 |
+
],
|
189 |
+
"location": [
|
190 |
+
[
|
191 |
+
{
|
192 |
+
"param": "block",
|
193 |
+
"operator": "==",
|
194 |
+
"value": "acf\/acfb-shape-divider"
|
195 |
+
}
|
196 |
+
]
|
197 |
+
],
|
198 |
+
"menu_order": 0,
|
199 |
+
"position": "normal",
|
200 |
+
"style": "default",
|
201 |
+
"label_placement": "top",
|
202 |
+
"instruction_placement": "label",
|
203 |
+
"hide_on_screen": "",
|
204 |
+
"active": 1,
|
205 |
+
"description": "",
|
206 |
+
"modified": 1576498844
|
207 |
+
}
|
acf-json/group_5d9f3016200d1.json
ADDED
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5d9f3016200d1",
|
3 |
+
"title": "Post Ticker",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5d9f30d327cef",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5db0582ff4d29",
|
23 |
+
"label": "Post Type",
|
24 |
+
"name": "acfb_post_type",
|
25 |
+
"type": "select",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"choices": {
|
35 |
+
"post": "post",
|
36 |
+
"page": "page",
|
37 |
+
"products": "products"
|
38 |
+
},
|
39 |
+
"default_value": [
|
40 |
+
0
|
41 |
+
],
|
42 |
+
"allow_null": 0,
|
43 |
+
"multiple": 0,
|
44 |
+
"ui": 0,
|
45 |
+
"return_format": "value",
|
46 |
+
"ajax": 0,
|
47 |
+
"placeholder": ""
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"key": "field_5df892e323a29",
|
51 |
+
"label": "Number of Posts",
|
52 |
+
"name": "post_ticker_nop",
|
53 |
+
"type": "range",
|
54 |
+
"instructions": "",
|
55 |
+
"required": 0,
|
56 |
+
"conditional_logic": 0,
|
57 |
+
"wrapper": {
|
58 |
+
"width": "",
|
59 |
+
"class": "",
|
60 |
+
"id": ""
|
61 |
+
},
|
62 |
+
"default_value": 3,
|
63 |
+
"min": 1,
|
64 |
+
"max": "",
|
65 |
+
"step": "",
|
66 |
+
"prepend": "",
|
67 |
+
"append": ""
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"key": "field_5db6e08a4e68c",
|
71 |
+
"label": "Delay (seconds)",
|
72 |
+
"name": "acfb_post_ticker_slide_delay",
|
73 |
+
"type": "range",
|
74 |
+
"instructions": "",
|
75 |
+
"required": 0,
|
76 |
+
"conditional_logic": 0,
|
77 |
+
"wrapper": {
|
78 |
+
"width": "",
|
79 |
+
"class": "",
|
80 |
+
"id": ""
|
81 |
+
},
|
82 |
+
"default_value": 3,
|
83 |
+
"min": "",
|
84 |
+
"max": 10,
|
85 |
+
"step": "",
|
86 |
+
"prepend": "",
|
87 |
+
"append": ""
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"key": "field_5d9f308e27ced",
|
91 |
+
"label": "Label",
|
92 |
+
"name": "post_ticker_label",
|
93 |
+
"type": "text",
|
94 |
+
"instructions": "",
|
95 |
+
"required": 0,
|
96 |
+
"conditional_logic": 0,
|
97 |
+
"wrapper": {
|
98 |
+
"width": "",
|
99 |
+
"class": "",
|
100 |
+
"id": ""
|
101 |
+
},
|
102 |
+
"default_value": "Latest Post",
|
103 |
+
"placeholder": "Latest Post",
|
104 |
+
"prepend": "",
|
105 |
+
"append": "",
|
106 |
+
"maxlength": ""
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"key": "field_5d9f30e127cf0",
|
110 |
+
"label": "Design",
|
111 |
+
"name": "",
|
112 |
+
"type": "tab",
|
113 |
+
"instructions": "",
|
114 |
+
"required": 0,
|
115 |
+
"conditional_logic": 0,
|
116 |
+
"wrapper": {
|
117 |
+
"width": "",
|
118 |
+
"class": "",
|
119 |
+
"id": ""
|
120 |
+
},
|
121 |
+
"placement": "top",
|
122 |
+
"endpoint": 0
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"key": "field_5db171f0c3654",
|
126 |
+
"label": "Label Background Color",
|
127 |
+
"name": "post_ticker_label_background_color",
|
128 |
+
"type": "color_picker",
|
129 |
+
"instructions": "",
|
130 |
+
"required": 0,
|
131 |
+
"conditional_logic": 0,
|
132 |
+
"wrapper": {
|
133 |
+
"width": "",
|
134 |
+
"class": "",
|
135 |
+
"id": ""
|
136 |
+
},
|
137 |
+
"default_value": "#e0e0e0"
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"key": "field_5db17273c3655",
|
141 |
+
"label": "Label Color",
|
142 |
+
"name": "post_ticker_label_color",
|
143 |
+
"type": "color_picker",
|
144 |
+
"instructions": "",
|
145 |
+
"required": 0,
|
146 |
+
"conditional_logic": 0,
|
147 |
+
"wrapper": {
|
148 |
+
"width": "",
|
149 |
+
"class": "",
|
150 |
+
"id": ""
|
151 |
+
},
|
152 |
+
"default_value": "#191e23"
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"key": "field_5db193850f1e1",
|
156 |
+
"label": "Label Size",
|
157 |
+
"name": "post_ticker_label_size",
|
158 |
+
"type": "range",
|
159 |
+
"instructions": "",
|
160 |
+
"required": 0,
|
161 |
+
"conditional_logic": 0,
|
162 |
+
"wrapper": {
|
163 |
+
"width": "",
|
164 |
+
"class": "",
|
165 |
+
"id": ""
|
166 |
+
},
|
167 |
+
"default_value": 18,
|
168 |
+
"min": "",
|
169 |
+
"max": "",
|
170 |
+
"step": "",
|
171 |
+
"prepend": "",
|
172 |
+
"append": "px"
|
173 |
+
},
|
174 |
+
{
|
175 |
+
"key": "field_5db1927f0f1dd",
|
176 |
+
"label": "Content Background Color",
|
177 |
+
"name": "post_ticker_content_background_color",
|
178 |
+
"type": "color_picker",
|
179 |
+
"instructions": "",
|
180 |
+
"required": 0,
|
181 |
+
"conditional_logic": 0,
|
182 |
+
"wrapper": {
|
183 |
+
"width": "",
|
184 |
+
"class": "",
|
185 |
+
"id": ""
|
186 |
+
},
|
187 |
+
"default_value": "#f3f4f5"
|
188 |
+
},
|
189 |
+
{
|
190 |
+
"key": "field_5db192c90f1de",
|
191 |
+
"label": "Content Color",
|
192 |
+
"name": "post_ticker_content_color",
|
193 |
+
"type": "color_picker",
|
194 |
+
"instructions": "",
|
195 |
+
"required": 0,
|
196 |
+
"conditional_logic": 0,
|
197 |
+
"wrapper": {
|
198 |
+
"width": "",
|
199 |
+
"class": "",
|
200 |
+
"id": ""
|
201 |
+
},
|
202 |
+
"default_value": "#191e23"
|
203 |
+
},
|
204 |
+
{
|
205 |
+
"key": "field_5db193250f1e0",
|
206 |
+
"label": "Content Size",
|
207 |
+
"name": "post_ticker_content_size",
|
208 |
+
"type": "range",
|
209 |
+
"instructions": "",
|
210 |
+
"required": 0,
|
211 |
+
"conditional_logic": 0,
|
212 |
+
"wrapper": {
|
213 |
+
"width": "",
|
214 |
+
"class": "",
|
215 |
+
"id": ""
|
216 |
+
},
|
217 |
+
"default_value": 18,
|
218 |
+
"min": "",
|
219 |
+
"max": 200,
|
220 |
+
"step": "",
|
221 |
+
"prepend": "",
|
222 |
+
"append": "px"
|
223 |
+
}
|
224 |
+
],
|
225 |
+
"location": [
|
226 |
+
[
|
227 |
+
{
|
228 |
+
"param": "block",
|
229 |
+
"operator": "==",
|
230 |
+
"value": "acf\/acfb-post-ticker"
|
231 |
+
}
|
232 |
+
]
|
233 |
+
],
|
234 |
+
"menu_order": 0,
|
235 |
+
"position": "normal",
|
236 |
+
"style": "default",
|
237 |
+
"label_placement": "top",
|
238 |
+
"instruction_placement": "label",
|
239 |
+
"hide_on_screen": "",
|
240 |
+
"active": 1,
|
241 |
+
"description": "",
|
242 |
+
"modified": 1576571897
|
243 |
+
}
|
acf-json/group_5d9f3dcad2c3d.json
ADDED
@@ -0,0 +1,1183 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5d9f3dcad2c3d",
|
3 |
+
"title": "Posts Tiled",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5d9f3dcb4663d",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5db808ca13d14",
|
23 |
+
"label": "Post Type",
|
24 |
+
"name": "acfb_post_type",
|
25 |
+
"type": "select",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"choices": {
|
35 |
+
"post": "post",
|
36 |
+
"page": "page",
|
37 |
+
"products": "products"
|
38 |
+
},
|
39 |
+
"default_value": [
|
40 |
+
0
|
41 |
+
],
|
42 |
+
"allow_null": 0,
|
43 |
+
"multiple": 0,
|
44 |
+
"ui": 0,
|
45 |
+
"return_format": "value",
|
46 |
+
"ajax": 0,
|
47 |
+
"placeholder": ""
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"key": "field_5d9f3dcb46a25",
|
51 |
+
"label": "Select a Layout",
|
52 |
+
"name": "acfb_post_tiled_layout",
|
53 |
+
"type": "button_group",
|
54 |
+
"instructions": "",
|
55 |
+
"required": 0,
|
56 |
+
"conditional_logic": 0,
|
57 |
+
"wrapper": {
|
58 |
+
"width": "",
|
59 |
+
"class": "",
|
60 |
+
"id": ""
|
61 |
+
},
|
62 |
+
"choices": {
|
63 |
+
"grid": "<span class=\"dashicons dashicons-screenoptions\"><\/span> Grid",
|
64 |
+
"collage": "<span class=\"dashicons dashicons-schedule\"><\/span> Collage"
|
65 |
+
},
|
66 |
+
"allow_null": 0,
|
67 |
+
"default_value": "grid",
|
68 |
+
"layout": "horizontal",
|
69 |
+
"return_format": "value"
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"key": "field_5d9f3dcc4d7c0",
|
73 |
+
"label": "Number of Posts",
|
74 |
+
"name": "acfb_post_tiled_grid_number_of_posts",
|
75 |
+
"type": "range",
|
76 |
+
"instructions": "",
|
77 |
+
"required": 0,
|
78 |
+
"conditional_logic": [
|
79 |
+
[
|
80 |
+
{
|
81 |
+
"field": "field_5d9f3dcb46a25",
|
82 |
+
"operator": "==",
|
83 |
+
"value": "grid"
|
84 |
+
}
|
85 |
+
]
|
86 |
+
],
|
87 |
+
"wrapper": {
|
88 |
+
"width": "",
|
89 |
+
"class": "",
|
90 |
+
"id": ""
|
91 |
+
},
|
92 |
+
"default_value": 2,
|
93 |
+
"min": 1,
|
94 |
+
"max": "",
|
95 |
+
"step": "",
|
96 |
+
"prepend": "",
|
97 |
+
"append": ""
|
98 |
+
},
|
99 |
+
{
|
100 |
+
"key": "field_5d9f3dcc5dd7c",
|
101 |
+
"label": "Columns",
|
102 |
+
"name": "acfb_posts_tiled_columns",
|
103 |
+
"type": "range",
|
104 |
+
"instructions": "",
|
105 |
+
"required": 0,
|
106 |
+
"conditional_logic": [
|
107 |
+
[
|
108 |
+
{
|
109 |
+
"field": "field_5d9f3dcb46a25",
|
110 |
+
"operator": "==",
|
111 |
+
"value": "grid"
|
112 |
+
}
|
113 |
+
]
|
114 |
+
],
|
115 |
+
"wrapper": {
|
116 |
+
"width": "",
|
117 |
+
"class": "",
|
118 |
+
"id": ""
|
119 |
+
},
|
120 |
+
"default_value": 2,
|
121 |
+
"min": 2,
|
122 |
+
"max": 6,
|
123 |
+
"step": "",
|
124 |
+
"prepend": "",
|
125 |
+
"append": ""
|
126 |
+
},
|
127 |
+
{
|
128 |
+
"key": "field_5da0520beb8d1",
|
129 |
+
"label": "Height",
|
130 |
+
"name": "acfb_post_tiled_height",
|
131 |
+
"type": "range",
|
132 |
+
"instructions": "",
|
133 |
+
"required": 0,
|
134 |
+
"conditional_logic": 0,
|
135 |
+
"wrapper": {
|
136 |
+
"width": "",
|
137 |
+
"class": "",
|
138 |
+
"id": ""
|
139 |
+
},
|
140 |
+
"default_value": 400,
|
141 |
+
"min": "",
|
142 |
+
"max": 1000,
|
143 |
+
"step": "",
|
144 |
+
"prepend": "",
|
145 |
+
"append": "px"
|
146 |
+
},
|
147 |
+
{
|
148 |
+
"key": "field_5da06ca0027d2",
|
149 |
+
"label": "Select Grid",
|
150 |
+
"name": "acfb_post_tiled_collage_grid",
|
151 |
+
"type": "button_group",
|
152 |
+
"instructions": "",
|
153 |
+
"required": 0,
|
154 |
+
"conditional_logic": [
|
155 |
+
[
|
156 |
+
{
|
157 |
+
"field": "field_5d9f3dcb46a25",
|
158 |
+
"operator": "==",
|
159 |
+
"value": "collage"
|
160 |
+
}
|
161 |
+
]
|
162 |
+
],
|
163 |
+
"wrapper": {
|
164 |
+
"width": "",
|
165 |
+
"class": "",
|
166 |
+
"id": ""
|
167 |
+
},
|
168 |
+
"choices": {
|
169 |
+
"3": "3",
|
170 |
+
"4": "4",
|
171 |
+
"5": "5"
|
172 |
+
},
|
173 |
+
"allow_null": 0,
|
174 |
+
"default_value": 3,
|
175 |
+
"layout": "horizontal",
|
176 |
+
"return_format": "value"
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"key": "field_5da07a9982cb1",
|
180 |
+
"label": "3 Grid Layouts",
|
181 |
+
"name": "acfb_post_tiled_collage_three_grid_layouts",
|
182 |
+
"type": "radio",
|
183 |
+
"instructions": "",
|
184 |
+
"required": 0,
|
185 |
+
"conditional_logic": [
|
186 |
+
[
|
187 |
+
{
|
188 |
+
"field": "field_5d9f3dcb46a25",
|
189 |
+
"operator": "==",
|
190 |
+
"value": "collage"
|
191 |
+
},
|
192 |
+
{
|
193 |
+
"field": "field_5da06ca0027d2",
|
194 |
+
"operator": "==",
|
195 |
+
"value": "3"
|
196 |
+
}
|
197 |
+
]
|
198 |
+
],
|
199 |
+
"wrapper": {
|
200 |
+
"width": "",
|
201 |
+
"class": "acfb_radio_image",
|
202 |
+
"id": ""
|
203 |
+
},
|
204 |
+
"choices": {
|
205 |
+
"one": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/gthree-three.png\" \/>"
|
206 |
+
},
|
207 |
+
"allow_null": 0,
|
208 |
+
"other_choice": 0,
|
209 |
+
"default_value": "one",
|
210 |
+
"layout": "vertical",
|
211 |
+
"return_format": "value",
|
212 |
+
"save_other_choice": 0
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"key": "field_5da07ab982cb2",
|
216 |
+
"label": "4 Grid Layouts",
|
217 |
+
"name": "acfb_post_tiled_collage_four_grid_layouts",
|
218 |
+
"type": "radio",
|
219 |
+
"instructions": "",
|
220 |
+
"required": 0,
|
221 |
+
"conditional_logic": [
|
222 |
+
[
|
223 |
+
{
|
224 |
+
"field": "field_5d9f3dcb46a25",
|
225 |
+
"operator": "==",
|
226 |
+
"value": "collage"
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"field": "field_5da06ca0027d2",
|
230 |
+
"operator": "==",
|
231 |
+
"value": "4"
|
232 |
+
}
|
233 |
+
]
|
234 |
+
],
|
235 |
+
"wrapper": {
|
236 |
+
"width": "",
|
237 |
+
"class": "acfb_radio_image",
|
238 |
+
"id": ""
|
239 |
+
},
|
240 |
+
"choices": {
|
241 |
+
"one": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/c-gfour-1.png\" \/>",
|
242 |
+
"two": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/c-gfour-2.png\" \/>"
|
243 |
+
},
|
244 |
+
"allow_null": 0,
|
245 |
+
"other_choice": 0,
|
246 |
+
"default_value": "one",
|
247 |
+
"layout": "vertical",
|
248 |
+
"return_format": "value",
|
249 |
+
"save_other_choice": 0
|
250 |
+
},
|
251 |
+
{
|
252 |
+
"key": "field_5da07ad982cb3",
|
253 |
+
"label": "5 Grid Layouts",
|
254 |
+
"name": "acfb_post_tiled_collage_five_grid_layouts",
|
255 |
+
"type": "radio",
|
256 |
+
"instructions": "",
|
257 |
+
"required": 0,
|
258 |
+
"conditional_logic": [
|
259 |
+
[
|
260 |
+
{
|
261 |
+
"field": "field_5d9f3dcb46a25",
|
262 |
+
"operator": "==",
|
263 |
+
"value": "collage"
|
264 |
+
},
|
265 |
+
{
|
266 |
+
"field": "field_5da06ca0027d2",
|
267 |
+
"operator": "==",
|
268 |
+
"value": "5"
|
269 |
+
}
|
270 |
+
]
|
271 |
+
],
|
272 |
+
"wrapper": {
|
273 |
+
"width": "",
|
274 |
+
"class": "acfb_radio_image",
|
275 |
+
"id": ""
|
276 |
+
},
|
277 |
+
"choices": {
|
278 |
+
"one": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/c-gfive-1.png\" \/>",
|
279 |
+
"two": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/c-gfive-2.png\" \/>",
|
280 |
+
"three": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acf-blocks\/img\/c-gfive-3.png\" \/>"
|
281 |
+
},
|
282 |
+
"allow_null": 0,
|
283 |
+
"other_choice": 0,
|
284 |
+
"default_value": "one",
|
285 |
+
"layout": "vertical",
|
286 |
+
"return_format": "value",
|
287 |
+
"save_other_choice": 0
|
288 |
+
},
|
289 |
+
{
|
290 |
+
"key": "field_5da053e025113",
|
291 |
+
"label": "Top Elements",
|
292 |
+
"name": "",
|
293 |
+
"type": "accordion",
|
294 |
+
"instructions": "",
|
295 |
+
"required": 0,
|
296 |
+
"conditional_logic": 0,
|
297 |
+
"wrapper": {
|
298 |
+
"width": "",
|
299 |
+
"class": "",
|
300 |
+
"id": ""
|
301 |
+
},
|
302 |
+
"open": 0,
|
303 |
+
"multi_expand": 0,
|
304 |
+
"endpoint": 0
|
305 |
+
},
|
306 |
+
{
|
307 |
+
"key": "field_5da1873fa41e1",
|
308 |
+
"label": "Top Elements Vertical Align",
|
309 |
+
"name": "acfb_post_tiled_top_elements_v_align",
|
310 |
+
"type": "button_group",
|
311 |
+
"instructions": "",
|
312 |
+
"required": 0,
|
313 |
+
"conditional_logic": 0,
|
314 |
+
"wrapper": {
|
315 |
+
"width": "",
|
316 |
+
"class": "",
|
317 |
+
"id": ""
|
318 |
+
},
|
319 |
+
"choices": {
|
320 |
+
"flex-start": "Top",
|
321 |
+
"center": "Center",
|
322 |
+
"flex-end": "Bottom"
|
323 |
+
},
|
324 |
+
"allow_null": 0,
|
325 |
+
"default_value": "flex-start",
|
326 |
+
"layout": "horizontal",
|
327 |
+
"return_format": "value"
|
328 |
+
},
|
329 |
+
{
|
330 |
+
"key": "field_5da05ad8a5ec6",
|
331 |
+
"label": "Top Elements Horizontal Align",
|
332 |
+
"name": "acfb_post_tiled_top_elements_h_align",
|
333 |
+
"type": "button_group",
|
334 |
+
"instructions": "",
|
335 |
+
"required": 0,
|
336 |
+
"conditional_logic": 0,
|
337 |
+
"wrapper": {
|
338 |
+
"width": "",
|
339 |
+
"class": "",
|
340 |
+
"id": ""
|
341 |
+
},
|
342 |
+
"choices": {
|
343 |
+
"flex-start": "Left",
|
344 |
+
"center": "Center",
|
345 |
+
"flex-end": "Right"
|
346 |
+
},
|
347 |
+
"allow_null": 0,
|
348 |
+
"default_value": "flex-start",
|
349 |
+
"layout": "horizontal",
|
350 |
+
"return_format": "value"
|
351 |
+
},
|
352 |
+
{
|
353 |
+
"key": "field_5da0541b25115",
|
354 |
+
"label": "Post Top Elements",
|
355 |
+
"name": "acfb_post_tiled_top_elements",
|
356 |
+
"type": "flexible_content",
|
357 |
+
"instructions": "",
|
358 |
+
"required": 0,
|
359 |
+
"conditional_logic": 0,
|
360 |
+
"wrapper": {
|
361 |
+
"width": "",
|
362 |
+
"class": "",
|
363 |
+
"id": ""
|
364 |
+
},
|
365 |
+
"layouts": {
|
366 |
+
"layout_5cd3e15f431ae": {
|
367 |
+
"key": "layout_5cd3e15f431ae",
|
368 |
+
"name": "post_tiled_title",
|
369 |
+
"label": "Title",
|
370 |
+
"display": "block",
|
371 |
+
"sub_fields": [],
|
372 |
+
"min": "1",
|
373 |
+
"max": "1"
|
374 |
+
},
|
375 |
+
"layout_5cd40088e4c2e": {
|
376 |
+
"key": "layout_5cd40088e4c2e",
|
377 |
+
"name": "post_tiled_meta_data",
|
378 |
+
"label": "Meta Data",
|
379 |
+
"display": "block",
|
380 |
+
"sub_fields": [],
|
381 |
+
"min": "1",
|
382 |
+
"max": "1"
|
383 |
+
},
|
384 |
+
"layout_5cd3e2cb3fc27": {
|
385 |
+
"key": "layout_5cd3e2cb3fc27",
|
386 |
+
"name": "post_tiled_content",
|
387 |
+
"label": "Content",
|
388 |
+
"display": "block",
|
389 |
+
"sub_fields": [],
|
390 |
+
"min": "1",
|
391 |
+
"max": "1"
|
392 |
+
},
|
393 |
+
"layout_5cd3fc02f65a2": {
|
394 |
+
"key": "layout_5cd3fc02f65a2",
|
395 |
+
"name": "post_tiled_read_more_button",
|
396 |
+
"label": "Post Read More Button",
|
397 |
+
"display": "block",
|
398 |
+
"sub_fields": [],
|
399 |
+
"min": "1",
|
400 |
+
"max": "1"
|
401 |
+
}
|
402 |
+
},
|
403 |
+
"button_label": "Add Post Element",
|
404 |
+
"min": "",
|
405 |
+
"max": ""
|
406 |
+
},
|
407 |
+
{
|
408 |
+
"key": "field_5da053f925114",
|
409 |
+
"label": "Top Elements End",
|
410 |
+
"name": "",
|
411 |
+
"type": "accordion",
|
412 |
+
"instructions": "",
|
413 |
+
"required": 0,
|
414 |
+
"conditional_logic": 0,
|
415 |
+
"wrapper": {
|
416 |
+
"width": "",
|
417 |
+
"class": "",
|
418 |
+
"id": ""
|
419 |
+
},
|
420 |
+
"open": 0,
|
421 |
+
"multi_expand": 0,
|
422 |
+
"endpoint": 1
|
423 |
+
},
|
424 |
+
{
|
425 |
+
"key": "field_5da0547a25116",
|
426 |
+
"label": "Center Elements",
|
427 |
+
"name": "",
|
428 |
+
"type": "accordion",
|
429 |
+
"instructions": "",
|
430 |
+
"required": 0,
|
431 |
+
"conditional_logic": 0,
|
432 |
+
"wrapper": {
|
433 |
+
"width": "",
|
434 |
+
"class": "",
|
435 |
+
"id": ""
|
436 |
+
},
|
437 |
+
"open": 0,
|
438 |
+
"multi_expand": 0,
|
439 |
+
"endpoint": 0
|
440 |
+
},
|
441 |
+
{
|
442 |
+
"key": "field_5da1878aa41e2",
|
443 |
+
"label": "Center Elements Vertical Align",
|
444 |
+
"name": "acfb_post_tiled_center_elements_v_align",
|
445 |
+
"type": "button_group",
|
446 |
+
"instructions": "",
|
447 |
+
"required": 0,
|
448 |
+
"conditional_logic": 0,
|
449 |
+
"wrapper": {
|
450 |
+
"width": "",
|
451 |
+
"class": "",
|
452 |
+
"id": ""
|
453 |
+
},
|
454 |
+
"choices": {
|
455 |
+
"flex-start": "Top",
|
456 |
+
"center": "Center",
|
457 |
+
"flex-end": "Bottom"
|
458 |
+
},
|
459 |
+
"allow_null": 0,
|
460 |
+
"default_value": "flex-start",
|
461 |
+
"layout": "horizontal",
|
462 |
+
"return_format": "value"
|
463 |
+
},
|
464 |
+
{
|
465 |
+
"key": "field_5da05c0ada39b",
|
466 |
+
"label": "Center Elements Horizontal Align",
|
467 |
+
"name": "acfb_post_tiled_center_elements_h_align",
|
468 |
+
"type": "button_group",
|
469 |
+
"instructions": "",
|
470 |
+
"required": 0,
|
471 |
+
"conditional_logic": 0,
|
472 |
+
"wrapper": {
|
473 |
+
"width": "",
|
474 |
+
"class": "",
|
475 |
+
"id": ""
|
476 |
+
},
|
477 |
+
"choices": {
|
478 |
+
"flex-start": "Left",
|
479 |
+
"center": "Center",
|
480 |
+
"flex-end": "Right"
|
481 |
+
},
|
482 |
+
"allow_null": 0,
|
483 |
+
"default_value": "flex-start",
|
484 |
+
"layout": "horizontal",
|
485 |
+
"return_format": "value"
|
486 |
+
},
|
487 |
+
{
|
488 |
+
"key": "field_5da0549a25118",
|
489 |
+
"label": "Post Center Elements",
|
490 |
+
"name": "acfb_post_tiled_center_elements",
|
491 |
+
"type": "flexible_content",
|
492 |
+
"instructions": "",
|
493 |
+
"required": 0,
|
494 |
+
"conditional_logic": 0,
|
495 |
+
"wrapper": {
|
496 |
+
"width": "",
|
497 |
+
"class": "",
|
498 |
+
"id": ""
|
499 |
+
},
|
500 |
+
"layouts": {
|
501 |
+
"layout_5cd3e15f431ae": {
|
502 |
+
"key": "layout_5cd3e15f431ae",
|
503 |
+
"name": "post_tiled_title",
|
504 |
+
"label": "Title",
|
505 |
+
"display": "block",
|
506 |
+
"sub_fields": [],
|
507 |
+
"min": "1",
|
508 |
+
"max": "1"
|
509 |
+
},
|
510 |
+
"layout_5cd40088e4c2e": {
|
511 |
+
"key": "layout_5cd40088e4c2e",
|
512 |
+
"name": "post_tiled_meta_data",
|
513 |
+
"label": "Meta Data",
|
514 |
+
"display": "block",
|
515 |
+
"sub_fields": [],
|
516 |
+
"min": "1",
|
517 |
+
"max": "1"
|
518 |
+
},
|
519 |
+
"layout_5cd3e2cb3fc27": {
|
520 |
+
"key": "layout_5cd3e2cb3fc27",
|
521 |
+
"name": "post_tiled_content",
|
522 |
+
"label": "Content",
|
523 |
+
"display": "block",
|
524 |
+
"sub_fields": [],
|
525 |
+
"min": "1",
|
526 |
+
"max": "1"
|
527 |
+
},
|
528 |
+
"layout_5cd3fc02f65a2": {
|
529 |
+
"key": "layout_5cd3fc02f65a2",
|
530 |
+
"name": "post_tiled_read_more_button",
|
531 |
+
"label": "Post Read More Button",
|
532 |
+
"display": "block",
|
533 |
+
"sub_fields": [],
|
534 |
+
"min": "1",
|
535 |
+
"max": "1"
|
536 |
+
}
|
537 |
+
},
|
538 |
+
"button_label": "Add Post Element",
|
539 |
+
"min": "",
|
540 |
+
"max": ""
|
541 |
+
},
|
542 |
+
{
|
543 |
+
"key": "field_5da0548625117",
|
544 |
+
"label": "Center Elements End",
|
545 |
+
"name": "",
|
546 |
+
"type": "accordion",
|
547 |
+
"instructions": "",
|
548 |
+
"required": 0,
|
549 |
+
"conditional_logic": 0,
|
550 |
+
"wrapper": {
|
551 |
+
"width": "",
|
552 |
+
"class": "",
|
553 |
+
"id": ""
|
554 |
+
},
|
555 |
+
"open": 0,
|
556 |
+
"multi_expand": 0,
|
557 |
+
"endpoint": 1
|
558 |
+
},
|
559 |
+
{
|
560 |
+
"key": "field_5da054cd25119",
|
561 |
+
"label": "Bottom Elements",
|
562 |
+
"name": "",
|
563 |
+
"type": "accordion",
|
564 |
+
"instructions": "",
|
565 |
+
"required": 0,
|
566 |
+
"conditional_logic": 0,
|
567 |
+
"wrapper": {
|
568 |
+
"width": "",
|
569 |
+
"class": "",
|
570 |
+
"id": ""
|
571 |
+
},
|
572 |
+
"open": 0,
|
573 |
+
"multi_expand": 0,
|
574 |
+
"endpoint": 0
|
575 |
+
},
|
576 |
+
{
|
577 |
+
"key": "field_5da18805a41e3",
|
578 |
+
"label": "Bottom Elements Vertical Align",
|
579 |
+
"name": "acfb_post_tiled_bottom_elements_v_align",
|
580 |
+
"type": "button_group",
|
581 |
+
"instructions": "",
|
582 |
+
"required": 0,
|
583 |
+
"conditional_logic": 0,
|
584 |
+
"wrapper": {
|
585 |
+
"width": "",
|
586 |
+
"class": "",
|
587 |
+
"id": ""
|
588 |
+
},
|
589 |
+
"choices": {
|
590 |
+
"flex-start": "Top",
|
591 |
+
"center": "Center",
|
592 |
+
"flex-end": "Bottom"
|
593 |
+
},
|
594 |
+
"allow_null": 0,
|
595 |
+
"default_value": "flex-start",
|
596 |
+
"layout": "horizontal",
|
597 |
+
"return_format": "value"
|
598 |
+
},
|
599 |
+
{
|
600 |
+
"key": "field_5da05c33da39c",
|
601 |
+
"label": "Bottom Elements Horizontal Align",
|
602 |
+
"name": "acfb_post_tiled_bottom_elements_h_align",
|
603 |
+
"type": "button_group",
|
604 |
+
"instructions": "",
|
605 |
+
"required": 0,
|
606 |
+
"conditional_logic": 0,
|
607 |
+
"wrapper": {
|
608 |
+
"width": "",
|
609 |
+
"class": "",
|
610 |
+
"id": ""
|
611 |
+
},
|
612 |
+
"choices": {
|
613 |
+
"flex-start": "Left",
|
614 |
+
"center": "Center",
|
615 |
+
"flex-end": "Right"
|
616 |
+
},
|
617 |
+
"allow_null": 0,
|
618 |
+
"default_value": "flex-start",
|
619 |
+
"layout": "horizontal",
|
620 |
+
"return_format": "value"
|
621 |
+
},
|
622 |
+
{
|
623 |
+
"key": "field_5da054f52511b",
|
624 |
+
"label": "Post Bottom Elements",
|
625 |
+
"name": "acfb_post_tiled_bottom_elements",
|
626 |
+
"type": "flexible_content",
|
627 |
+
"instructions": "",
|
628 |
+
"required": 0,
|
629 |
+
"conditional_logic": 0,
|
630 |
+
"wrapper": {
|
631 |
+
"width": "",
|
632 |
+
"class": "",
|
633 |
+
"id": ""
|
634 |
+
},
|
635 |
+
"layouts": {
|
636 |
+
"layout_5cd3e15f431ae": {
|
637 |
+
"key": "layout_5cd3e15f431ae",
|
638 |
+
"name": "post_tiled_title",
|
639 |
+
"label": "Title",
|
640 |
+
"display": "block",
|
641 |
+
"sub_fields": [],
|
642 |
+
"min": "1",
|
643 |
+
"max": "1"
|
644 |
+
},
|
645 |
+
"layout_5cd40088e4c2e": {
|
646 |
+
"key": "layout_5cd40088e4c2e",
|
647 |
+
"name": "post_tiled_meta_data",
|
648 |
+
"label": "Meta Data",
|
649 |
+
"display": "block",
|
650 |
+
"sub_fields": [],
|
651 |
+
"min": "1",
|
652 |
+
"max": "1"
|
653 |
+
},
|
654 |
+
"layout_5cd3e2cb3fc27": {
|
655 |
+
"key": "layout_5cd3e2cb3fc27",
|
656 |
+
"name": "post_tiled_content",
|
657 |
+
"label": "Content",
|
658 |
+
"display": "block",
|
659 |
+
"sub_fields": [],
|
660 |
+
"min": "1",
|
661 |
+
"max": "1"
|
662 |
+
},
|
663 |
+
"layout_5cd3fc02f65a2": {
|
664 |
+
"key": "layout_5cd3fc02f65a2",
|
665 |
+
"name": "post_tiled_read_more_button",
|
666 |
+
"label": "Post Read More Button",
|
667 |
+
"display": "block",
|
668 |
+
"sub_fields": [],
|
669 |
+
"min": "1",
|
670 |
+
"max": "1"
|
671 |
+
}
|
672 |
+
},
|
673 |
+
"button_label": "Add Post Element",
|
674 |
+
"min": "",
|
675 |
+
"max": ""
|
676 |
+
},
|
677 |
+
{
|
678 |
+
"key": "field_5da054e92511a",
|
679 |
+
"label": "Bottom Elements End",
|
680 |
+
"name": "",
|
681 |
+
"type": "accordion",
|
682 |
+
"instructions": "",
|
683 |
+
"required": 0,
|
684 |
+
"conditional_logic": 0,
|
685 |
+
"wrapper": {
|
686 |
+
"width": "",
|
687 |
+
"class": "",
|
688 |
+
"id": ""
|
689 |
+
},
|
690 |
+
"open": 0,
|
691 |
+
"multi_expand": 0,
|
692 |
+
"endpoint": 1
|
693 |
+
},
|
694 |
+
{
|
695 |
+
"key": "field_5d9f3dcc37c13",
|
696 |
+
"label": "Title HTML Tag",
|
697 |
+
"name": "acfb_post_tiled_title_html_tag",
|
698 |
+
"type": "button_group",
|
699 |
+
"instructions": "",
|
700 |
+
"required": 0,
|
701 |
+
"conditional_logic": 0,
|
702 |
+
"wrapper": {
|
703 |
+
"width": "",
|
704 |
+
"class": "",
|
705 |
+
"id": ""
|
706 |
+
},
|
707 |
+
"choices": {
|
708 |
+
"h1": "H1",
|
709 |
+
"h2": "H2",
|
710 |
+
"h3": "H3",
|
711 |
+
"h4": "H4",
|
712 |
+
"h5": "H5",
|
713 |
+
"h6": "H6"
|
714 |
+
},
|
715 |
+
"allow_null": 0,
|
716 |
+
"default_value": "h3",
|
717 |
+
"layout": "horizontal",
|
718 |
+
"return_format": "value"
|
719 |
+
},
|
720 |
+
{
|
721 |
+
"key": "field_5d9f3dcc70e30",
|
722 |
+
"label": "Excerpt Length",
|
723 |
+
"name": "acfb_post_tiled_excerpt_length",
|
724 |
+
"type": "number",
|
725 |
+
"instructions": "",
|
726 |
+
"required": 0,
|
727 |
+
"conditional_logic": 0,
|
728 |
+
"wrapper": {
|
729 |
+
"width": "",
|
730 |
+
"class": "",
|
731 |
+
"id": ""
|
732 |
+
},
|
733 |
+
"default_value": 20,
|
734 |
+
"placeholder": "",
|
735 |
+
"prepend": "",
|
736 |
+
"append": "",
|
737 |
+
"min": "",
|
738 |
+
"max": "",
|
739 |
+
"step": ""
|
740 |
+
},
|
741 |
+
{
|
742 |
+
"key": "field_5d9f3dcc869dd",
|
743 |
+
"label": "Design",
|
744 |
+
"name": "",
|
745 |
+
"type": "tab",
|
746 |
+
"instructions": "",
|
747 |
+
"required": 0,
|
748 |
+
"conditional_logic": 0,
|
749 |
+
"wrapper": {
|
750 |
+
"width": "",
|
751 |
+
"class": "",
|
752 |
+
"id": ""
|
753 |
+
},
|
754 |
+
"placement": "top",
|
755 |
+
"endpoint": 0
|
756 |
+
},
|
757 |
+
{
|
758 |
+
"key": "field_5db9820b39c34",
|
759 |
+
"label": "Overlay Color",
|
760 |
+
"name": "acfb_post_tiled_overlay_color",
|
761 |
+
"type": "color_picker",
|
762 |
+
"instructions": "",
|
763 |
+
"required": 0,
|
764 |
+
"conditional_logic": 0,
|
765 |
+
"wrapper": {
|
766 |
+
"width": "",
|
767 |
+
"class": "",
|
768 |
+
"id": ""
|
769 |
+
},
|
770 |
+
"default_value": "#000000"
|
771 |
+
},
|
772 |
+
{
|
773 |
+
"key": "field_5df89ce0e922c",
|
774 |
+
"label": "Overlay Opacity",
|
775 |
+
"name": "acfb_post_tiled_overlay_opacity",
|
776 |
+
"type": "range",
|
777 |
+
"instructions": "",
|
778 |
+
"required": 0,
|
779 |
+
"conditional_logic": 0,
|
780 |
+
"wrapper": {
|
781 |
+
"width": "",
|
782 |
+
"class": "",
|
783 |
+
"id": ""
|
784 |
+
},
|
785 |
+
"default_value": "0.5",
|
786 |
+
"min": "0.1",
|
787 |
+
"max": "0.9",
|
788 |
+
"step": ".1",
|
789 |
+
"prepend": "",
|
790 |
+
"append": ""
|
791 |
+
},
|
792 |
+
{
|
793 |
+
"key": "field_5d9f3dccb30d8",
|
794 |
+
"label": "Title Custom Styles",
|
795 |
+
"name": "acfb_post_tiled_title_custom_styles",
|
796 |
+
"type": "true_false",
|
797 |
+
"instructions": "",
|
798 |
+
"required": 0,
|
799 |
+
"conditional_logic": 0,
|
800 |
+
"wrapper": {
|
801 |
+
"width": "",
|
802 |
+
"class": "",
|
803 |
+
"id": ""
|
804 |
+
},
|
805 |
+
"message": "",
|
806 |
+
"default_value": 0,
|
807 |
+
"ui": 1,
|
808 |
+
"ui_on_text": "",
|
809 |
+
"ui_off_text": ""
|
810 |
+
},
|
811 |
+
{
|
812 |
+
"key": "field_5d9f3dcce038a",
|
813 |
+
"label": "Title Color",
|
814 |
+
"name": "acfb_post_tiled_title_color",
|
815 |
+
"type": "color_picker",
|
816 |
+
"instructions": "",
|
817 |
+
"required": 0,
|
818 |
+
"conditional_logic": [
|
819 |
+
[
|
820 |
+
{
|
821 |
+
"field": "field_5d9f3dccb30d8",
|
822 |
+
"operator": "==",
|
823 |
+
"value": "1"
|
824 |
+
}
|
825 |
+
]
|
826 |
+
],
|
827 |
+
"wrapper": {
|
828 |
+
"width": "",
|
829 |
+
"class": "",
|
830 |
+
"id": ""
|
831 |
+
},
|
832 |
+
"default_value": "#ffffff"
|
833 |
+
},
|
834 |
+
{
|
835 |
+
"key": "field_5d9f3dcd10373",
|
836 |
+
"label": "Title Hover Color",
|
837 |
+
"name": "acfb_post_tiled_title_hover_color",
|
838 |
+
"type": "color_picker",
|
839 |
+
"instructions": "",
|
840 |
+
"required": 0,
|
841 |
+
"conditional_logic": [
|
842 |
+
[
|
843 |
+
{
|
844 |
+
"field": "field_5d9f3dccb30d8",
|
845 |
+
"operator": "==",
|
846 |
+
"value": "1"
|
847 |
+
}
|
848 |
+
]
|
849 |
+
],
|
850 |
+
"wrapper": {
|
851 |
+
"width": "",
|
852 |
+
"class": "",
|
853 |
+
"id": ""
|
854 |
+
},
|
855 |
+
"default_value": "#ffffff"
|
856 |
+
},
|
857 |
+
{
|
858 |
+
"key": "field_5d9f3dcd8a4af",
|
859 |
+
"label": "Title Size",
|
860 |
+
"name": "acfb_post_tiled_title_size",
|
861 |
+
"type": "range",
|
862 |
+
"instructions": "",
|
863 |
+
"required": 0,
|
864 |
+
"conditional_logic": [
|
865 |
+
[
|
866 |
+
{
|
867 |
+
"field": "field_5d9f3dccb30d8",
|
868 |
+
"operator": "==",
|
869 |
+
"value": "1"
|
870 |
+
}
|
871 |
+
]
|
872 |
+
],
|
873 |
+
"wrapper": {
|
874 |
+
"width": "",
|
875 |
+
"class": "",
|
876 |
+
"id": ""
|
877 |
+
},
|
878 |
+
"default_value": 25,
|
879 |
+
"min": "",
|
880 |
+
"max": 100,
|
881 |
+
"step": "",
|
882 |
+
"prepend": "",
|
883 |
+
"append": "px"
|
884 |
+
},
|
885 |
+
{
|
886 |
+
"key": "field_5d9f3dcdc4e3d",
|
887 |
+
"label": "Meta Custom Styles",
|
888 |
+
"name": "acfb_post_tiled_meta_custom_styles",
|
889 |
+
"type": "true_false",
|
890 |
+
"instructions": "",
|
891 |
+
"required": 0,
|
892 |
+
"conditional_logic": 0,
|
893 |
+
"wrapper": {
|
894 |
+
"width": "",
|
895 |
+
"class": "",
|
896 |
+
"id": ""
|
897 |
+
},
|
898 |
+
"message": "",
|
899 |
+
"default_value": 0,
|
900 |
+
"ui": 1,
|
901 |
+
"ui_on_text": "",
|
902 |
+
"ui_off_text": ""
|
903 |
+
},
|
904 |
+
{
|
905 |
+
"key": "field_5d9f3dcdd53f9",
|
906 |
+
"label": "Meta Color",
|
907 |
+
"name": "acfb_post_tiled_meta_color",
|
908 |
+
"type": "color_picker",
|
909 |
+
"instructions": "",
|
910 |
+
"required": 0,
|
911 |
+
"conditional_logic": [
|
912 |
+
[
|
913 |
+
{
|
914 |
+
"field": "field_5d9f3dcdc4e3d",
|
915 |
+
"operator": "==",
|
916 |
+
"value": "1"
|
917 |
+
}
|
918 |
+
]
|
919 |
+
],
|
920 |
+
"wrapper": {
|
921 |
+
"width": "",
|
922 |
+
"class": "",
|
923 |
+
"id": ""
|
924 |
+
},
|
925 |
+
"default_value": "#ffffff"
|
926 |
+
},
|
927 |
+
{
|
928 |
+
"key": "field_5d9f3dce3e5ff",
|
929 |
+
"label": "Meta Size",
|
930 |
+
"name": "acfb_post_tiled_meta_size",
|
931 |
+
"type": "range",
|
932 |
+
"instructions": "",
|
933 |
+
"required": 0,
|
934 |
+
"conditional_logic": [
|
935 |
+
[
|
936 |
+
{
|
937 |
+
"field": "field_5d9f3dcdc4e3d",
|
938 |
+
"operator": "==",
|
939 |
+
"value": "1"
|
940 |
+
}
|
941 |
+
]
|
942 |
+
],
|
943 |
+
"wrapper": {
|
944 |
+
"width": "",
|
945 |
+
"class": "",
|
946 |
+
"id": ""
|
947 |
+
},
|
948 |
+
"default_value": 16,
|
949 |
+
"min": "",
|
950 |
+
"max": "",
|
951 |
+
"step": "",
|
952 |
+
"prepend": "",
|
953 |
+
"append": "px"
|
954 |
+
},
|
955 |
+
{
|
956 |
+
"key": "field_5d9f3dcee0fb5",
|
957 |
+
"label": "Excerpt Custom Styles",
|
958 |
+
"name": "acfb_post_tiled_excerpt_custom_styles",
|
959 |
+
"type": "true_false",
|
960 |
+
"instructions": "",
|
961 |
+
"required": 0,
|
962 |
+
"conditional_logic": 0,
|
963 |
+
"wrapper": {
|
964 |
+
"width": "",
|
965 |
+
"class": "",
|
966 |
+
"id": ""
|
967 |
+
},
|
968 |
+
"message": "",
|
969 |
+
"default_value": 0,
|
970 |
+
"ui": 1,
|
971 |
+
"ui_on_text": "",
|
972 |
+
"ui_off_text": ""
|
973 |
+
},
|
974 |
+
{
|
975 |
+
"key": "field_5d9f3dcef4069",
|
976 |
+
"label": "Excerpt Color",
|
977 |
+
"name": "acfb_post_tiled_excerpt_color",
|
978 |
+
"type": "color_picker",
|
979 |
+
"instructions": "",
|
980 |
+
"required": 0,
|
981 |
+
"conditional_logic": [
|
982 |
+
[
|
983 |
+
{
|
984 |
+
"field": "field_5d9f3dcee0fb5",
|
985 |
+
"operator": "==",
|
986 |
+
"value": "1"
|
987 |
+
}
|
988 |
+
]
|
989 |
+
],
|
990 |
+
"wrapper": {
|
991 |
+
"width": "",
|
992 |
+
"class": "",
|
993 |
+
"id": ""
|
994 |
+
},
|
995 |
+
"default_value": "#191e23"
|
996 |
+
},
|
997 |
+
{
|
998 |
+
"key": "field_5d9f3dcf136ae",
|
999 |
+
"label": "Excerpt Size",
|
1000 |
+
"name": "acfb_post_tiled_excerpt_size",
|
1001 |
+
"type": "range",
|
1002 |
+
"instructions": "",
|
1003 |
+
"required": 0,
|
1004 |
+
"conditional_logic": [
|
1005 |
+
[
|
1006 |
+
{
|
1007 |
+
"field": "field_5d9f3dccb30d8",
|
1008 |
+
"operator": "==",
|
1009 |
+
"value": "1"
|
1010 |
+
}
|
1011 |
+
]
|
1012 |
+
],
|
1013 |
+
"wrapper": {
|
1014 |
+
"width": "",
|
1015 |
+
"class": "",
|
1016 |
+
"id": ""
|
1017 |
+
},
|
1018 |
+
"default_value": 17,
|
1019 |
+
"min": "",
|
1020 |
+
"max": "",
|
1021 |
+
"step": "",
|
1022 |
+
"prepend": "",
|
1023 |
+
"append": "px"
|
1024 |
+
},
|
1025 |
+
{
|
1026 |
+
"key": "field_5d9f3dcf25f92",
|
1027 |
+
"label": "Button Custom Styles",
|
1028 |
+
"name": "acfb_post_tiled_button_custom_styles",
|
1029 |
+
"type": "true_false",
|
1030 |
+
"instructions": "",
|
1031 |
+
"required": 0,
|
1032 |
+
"conditional_logic": 0,
|
1033 |
+
"wrapper": {
|
1034 |
+
"width": "",
|
1035 |
+
"class": "",
|
1036 |
+
"id": ""
|
1037 |
+
},
|
1038 |
+
"message": "",
|
1039 |
+
"default_value": 0,
|
1040 |
+
"ui": 1,
|
1041 |
+
"ui_on_text": "",
|
1042 |
+
"ui_off_text": ""
|
1043 |
+
},
|
1044 |
+
{
|
1045 |
+
"key": "field_5d9f3dcf38c5e",
|
1046 |
+
"label": "Button Background Color",
|
1047 |
+
"name": "acfb_post_tiled_button_background_color",
|
1048 |
+
"type": "color_picker",
|
1049 |
+
"instructions": "",
|
1050 |
+
"required": 0,
|
1051 |
+
"conditional_logic": [
|
1052 |
+
[
|
1053 |
+
{
|
1054 |
+
"field": "field_5d9f3dcf25f92",
|
1055 |
+
"operator": "==",
|
1056 |
+
"value": "1"
|
1057 |
+
}
|
1058 |
+
]
|
1059 |
+
],
|
1060 |
+
"wrapper": {
|
1061 |
+
"width": "",
|
1062 |
+
"class": "",
|
1063 |
+
"id": ""
|
1064 |
+
},
|
1065 |
+
"default_value": "#191e23"
|
1066 |
+
},
|
1067 |
+
{
|
1068 |
+
"key": "field_5d9f3dcf5f597",
|
1069 |
+
"label": "Button Text Color",
|
1070 |
+
"name": "acfb_post_tiled_button_text_color",
|
1071 |
+
"type": "color_picker",
|
1072 |
+
"instructions": "",
|
1073 |
+
"required": 0,
|
1074 |
+
"conditional_logic": [
|
1075 |
+
[
|
1076 |
+
{
|
1077 |
+
"field": "field_5d9f3dcf25f92",
|
1078 |
+
"operator": "==",
|
1079 |
+
"value": "1"
|
1080 |
+
}
|
1081 |
+
]
|
1082 |
+
],
|
1083 |
+
"wrapper": {
|
1084 |
+
"width": "",
|
1085 |
+
"class": "",
|
1086 |
+
"id": ""
|
1087 |
+
},
|
1088 |
+
"default_value": "#ffffff"
|
1089 |
+
},
|
1090 |
+
{
|
1091 |
+
"key": "field_5d9f3dcf6ef9b",
|
1092 |
+
"label": "Button Background Hover Color",
|
1093 |
+
"name": "acfb_post_tiled_button_background_hover_color",
|
1094 |
+
"type": "color_picker",
|
1095 |
+
"instructions": "",
|
1096 |
+
"required": 0,
|
1097 |
+
"conditional_logic": [
|
1098 |
+
[
|
1099 |
+
{
|
1100 |
+
"field": "field_5d9f3dcf25f92",
|
1101 |
+
"operator": "==",
|
1102 |
+
"value": "1"
|
1103 |
+
}
|
1104 |
+
]
|
1105 |
+
],
|
1106 |
+
"wrapper": {
|
1107 |
+
"width": "",
|
1108 |
+
"class": "",
|
1109 |
+
"id": ""
|
1110 |
+
},
|
1111 |
+
"default_value": "#191e23"
|
1112 |
+
},
|
1113 |
+
{
|
1114 |
+
"key": "field_5d9f3dcf7f557",
|
1115 |
+
"label": "Button Text Hover Color",
|
1116 |
+
"name": "acfb_post_tiled_button_text_hover_color",
|
1117 |
+
"type": "color_picker",
|
1118 |
+
"instructions": "",
|
1119 |
+
"required": 0,
|
1120 |
+
"conditional_logic": [
|
1121 |
+
[
|
1122 |
+
{
|
1123 |
+
"field": "field_5d9f3dcf25f92",
|
1124 |
+
"operator": "==",
|
1125 |
+
"value": "1"
|
1126 |
+
}
|
1127 |
+
]
|
1128 |
+
],
|
1129 |
+
"wrapper": {
|
1130 |
+
"width": "",
|
1131 |
+
"class": "",
|
1132 |
+
"id": ""
|
1133 |
+
},
|
1134 |
+
"default_value": "#ffffff"
|
1135 |
+
},
|
1136 |
+
{
|
1137 |
+
"key": "field_5d9f3dcf902e3",
|
1138 |
+
"label": "Button Size",
|
1139 |
+
"name": "acfb_post_tiled_button_size",
|
1140 |
+
"type": "range",
|
1141 |
+
"instructions": "",
|
1142 |
+
"required": 0,
|
1143 |
+
"conditional_logic": [
|
1144 |
+
[
|
1145 |
+
{
|
1146 |
+
"field": "field_5d9f3dcf25f92",
|
1147 |
+
"operator": "==",
|
1148 |
+
"value": "1"
|
1149 |
+
}
|
1150 |
+
]
|
1151 |
+
],
|
1152 |
+
"wrapper": {
|
1153 |
+
"width": "",
|
1154 |
+
"class": "",
|
1155 |
+
"id": ""
|
1156 |
+
},
|
1157 |
+
"default_value": 16,
|
1158 |
+
"min": "",
|
1159 |
+
"max": "",
|
1160 |
+
"step": "",
|
1161 |
+
"prepend": "",
|
1162 |
+
"append": "px"
|
1163 |
+
}
|
1164 |
+
],
|
1165 |
+
"location": [
|
1166 |
+
[
|
1167 |
+
{
|
1168 |
+
"param": "block",
|
1169 |
+
"operator": "==",
|
1170 |
+
"value": "acf\/acfb-post-tiled"
|
1171 |
+
}
|
1172 |
+
]
|
1173 |
+
],
|
1174 |
+
"menu_order": 0,
|
1175 |
+
"position": "normal",
|
1176 |
+
"style": "default",
|
1177 |
+
"label_placement": "top",
|
1178 |
+
"instruction_placement": "label",
|
1179 |
+
"hide_on_screen": "",
|
1180 |
+
"active": 1,
|
1181 |
+
"description": "",
|
1182 |
+
"modified": 1576574233
|
1183 |
+
}
|
acf-json/group_5da1986955b15.json
ADDED
@@ -0,0 +1,1405 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5da1986955b15",
|
3 |
+
"title": "Posts Timeline",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5da1986c35431",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5da6f567787c1",
|
23 |
+
"label": "Post Type",
|
24 |
+
"name": "acfb_post_type",
|
25 |
+
"type": "select",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"choices": {
|
35 |
+
"post": "post",
|
36 |
+
"page": "page",
|
37 |
+
"products": "products"
|
38 |
+
},
|
39 |
+
"default_value": [
|
40 |
+
0
|
41 |
+
],
|
42 |
+
"allow_null": 0,
|
43 |
+
"multiple": 0,
|
44 |
+
"ui": 0,
|
45 |
+
"return_format": "value",
|
46 |
+
"ajax": 0,
|
47 |
+
"placeholder": ""
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"key": "field_5da19870502cc",
|
51 |
+
"label": "Number of Posts",
|
52 |
+
"name": "acfb_post_timeline_number_of_posts",
|
53 |
+
"type": "range",
|
54 |
+
"instructions": "",
|
55 |
+
"required": 0,
|
56 |
+
"conditional_logic": 0,
|
57 |
+
"wrapper": {
|
58 |
+
"width": "",
|
59 |
+
"class": "",
|
60 |
+
"id": ""
|
61 |
+
},
|
62 |
+
"default_value": 2,
|
63 |
+
"min": 1,
|
64 |
+
"max": "",
|
65 |
+
"step": "",
|
66 |
+
"prepend": "",
|
67 |
+
"append": ""
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"key": "field_5da1986c35819",
|
71 |
+
"label": "Select a Layout",
|
72 |
+
"name": "acfb_post_timeline_layout",
|
73 |
+
"type": "button_group",
|
74 |
+
"instructions": "",
|
75 |
+
"required": 0,
|
76 |
+
"conditional_logic": 0,
|
77 |
+
"wrapper": {
|
78 |
+
"width": "",
|
79 |
+
"class": "",
|
80 |
+
"id": ""
|
81 |
+
},
|
82 |
+
"choices": {
|
83 |
+
"acfb_post_timeline_left": "Left",
|
84 |
+
"acfb_post_timeline_center": "Center",
|
85 |
+
"acfb_post_timeline_right": "Right"
|
86 |
+
},
|
87 |
+
"allow_null": 0,
|
88 |
+
"default_value": "acfb_post_timeline_center",
|
89 |
+
"layout": "horizontal",
|
90 |
+
"return_format": "value"
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"key": "field_5da1986c3775a",
|
94 |
+
"label": "Top Elements",
|
95 |
+
"name": "",
|
96 |
+
"type": "accordion",
|
97 |
+
"instructions": "",
|
98 |
+
"required": 0,
|
99 |
+
"conditional_logic": 0,
|
100 |
+
"wrapper": {
|
101 |
+
"width": "",
|
102 |
+
"class": "",
|
103 |
+
"id": ""
|
104 |
+
},
|
105 |
+
"open": 0,
|
106 |
+
"multi_expand": 0,
|
107 |
+
"endpoint": 0
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"key": "field_5da1986c38312",
|
111 |
+
"label": "Post Top Elements",
|
112 |
+
"name": "acfb_post_timeline_top_elements",
|
113 |
+
"type": "flexible_content",
|
114 |
+
"instructions": "",
|
115 |
+
"required": 0,
|
116 |
+
"conditional_logic": 0,
|
117 |
+
"wrapper": {
|
118 |
+
"width": "",
|
119 |
+
"class": "",
|
120 |
+
"id": ""
|
121 |
+
},
|
122 |
+
"layouts": {
|
123 |
+
"layout_5da1c097d94b5": {
|
124 |
+
"key": "layout_5da1c097d94b5",
|
125 |
+
"name": "post_timeline_image",
|
126 |
+
"label": "Image",
|
127 |
+
"display": "block",
|
128 |
+
"sub_fields": [],
|
129 |
+
"min": "1",
|
130 |
+
"max": "1"
|
131 |
+
},
|
132 |
+
"layout_5cd3e15f431ae": {
|
133 |
+
"key": "layout_5cd3e15f431ae",
|
134 |
+
"name": "post_timeline_title",
|
135 |
+
"label": "Title",
|
136 |
+
"display": "block",
|
137 |
+
"sub_fields": [],
|
138 |
+
"min": "1",
|
139 |
+
"max": "1"
|
140 |
+
},
|
141 |
+
"layout_5cd40088e4c2e": {
|
142 |
+
"key": "layout_5cd40088e4c2e",
|
143 |
+
"name": "post_timeline_meta_data",
|
144 |
+
"label": "Meta Data",
|
145 |
+
"display": "block",
|
146 |
+
"sub_fields": [],
|
147 |
+
"min": "1",
|
148 |
+
"max": "1"
|
149 |
+
},
|
150 |
+
"layout_5cd3e2cb3fc27": {
|
151 |
+
"key": "layout_5cd3e2cb3fc27",
|
152 |
+
"name": "post_timeline_content",
|
153 |
+
"label": "Content",
|
154 |
+
"display": "block",
|
155 |
+
"sub_fields": [],
|
156 |
+
"min": "1",
|
157 |
+
"max": "1"
|
158 |
+
},
|
159 |
+
"layout_5cd3fc02f65a2": {
|
160 |
+
"key": "layout_5cd3fc02f65a2",
|
161 |
+
"name": "post_timeline_read_more_button",
|
162 |
+
"label": "Post Read More Button",
|
163 |
+
"display": "block",
|
164 |
+
"sub_fields": [],
|
165 |
+
"min": "1",
|
166 |
+
"max": "1"
|
167 |
+
}
|
168 |
+
},
|
169 |
+
"button_label": "Add Post Element",
|
170 |
+
"min": "",
|
171 |
+
"max": ""
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"key": "field_5da1986e442ef",
|
175 |
+
"label": "Top Elements End",
|
176 |
+
"name": "",
|
177 |
+
"type": "accordion",
|
178 |
+
"instructions": "",
|
179 |
+
"required": 0,
|
180 |
+
"conditional_logic": 0,
|
181 |
+
"wrapper": {
|
182 |
+
"width": "",
|
183 |
+
"class": "",
|
184 |
+
"id": ""
|
185 |
+
},
|
186 |
+
"open": 0,
|
187 |
+
"multi_expand": 0,
|
188 |
+
"endpoint": 1
|
189 |
+
},
|
190 |
+
{
|
191 |
+
"key": "field_5da1986e57f5c",
|
192 |
+
"label": "Center Elements",
|
193 |
+
"name": "",
|
194 |
+
"type": "accordion",
|
195 |
+
"instructions": "",
|
196 |
+
"required": 0,
|
197 |
+
"conditional_logic": 0,
|
198 |
+
"wrapper": {
|
199 |
+
"width": "",
|
200 |
+
"class": "",
|
201 |
+
"id": ""
|
202 |
+
},
|
203 |
+
"open": 0,
|
204 |
+
"multi_expand": 0,
|
205 |
+
"endpoint": 0
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"key": "field_5da1986e8b7a0",
|
209 |
+
"label": "Post Center Elements",
|
210 |
+
"name": "acfb_post_timeline_center_elements",
|
211 |
+
"type": "flexible_content",
|
212 |
+
"instructions": "",
|
213 |
+
"required": 0,
|
214 |
+
"conditional_logic": 0,
|
215 |
+
"wrapper": {
|
216 |
+
"width": "",
|
217 |
+
"class": "",
|
218 |
+
"id": ""
|
219 |
+
},
|
220 |
+
"layouts": {
|
221 |
+
"layout_5da1c0bfd94b6": {
|
222 |
+
"key": "layout_5da1c0bfd94b6",
|
223 |
+
"name": "post_timeline_image",
|
224 |
+
"label": "Image",
|
225 |
+
"display": "block",
|
226 |
+
"sub_fields": [],
|
227 |
+
"min": "1",
|
228 |
+
"max": "1"
|
229 |
+
},
|
230 |
+
"layout_5cd3e15f431ae": {
|
231 |
+
"key": "layout_5cd3e15f431ae",
|
232 |
+
"name": "post_timeline_title",
|
233 |
+
"label": "Title",
|
234 |
+
"display": "block",
|
235 |
+
"sub_fields": [],
|
236 |
+
"min": "1",
|
237 |
+
"max": "1"
|
238 |
+
},
|
239 |
+
"layout_5cd40088e4c2e": {
|
240 |
+
"key": "layout_5cd40088e4c2e",
|
241 |
+
"name": "post_timeline_meta_data",
|
242 |
+
"label": "Meta Data",
|
243 |
+
"display": "block",
|
244 |
+
"sub_fields": [],
|
245 |
+
"min": "1",
|
246 |
+
"max": "1"
|
247 |
+
},
|
248 |
+
"layout_5cd3e2cb3fc27": {
|
249 |
+
"key": "layout_5cd3e2cb3fc27",
|
250 |
+
"name": "post_timeline_content",
|
251 |
+
"label": "Content",
|
252 |
+
"display": "block",
|
253 |
+
"sub_fields": [],
|
254 |
+
"min": "1",
|
255 |
+
"max": "1"
|
256 |
+
},
|
257 |
+
"layout_5cd3fc02f65a2": {
|
258 |
+
"key": "layout_5cd3fc02f65a2",
|
259 |
+
"name": "post_timeline_read_more_button",
|
260 |
+
"label": "Post Read More Button",
|
261 |
+
"display": "block",
|
262 |
+
"sub_fields": [],
|
263 |
+
"min": "1",
|
264 |
+
"max": "1"
|
265 |
+
}
|
266 |
+
},
|
267 |
+
"button_label": "Add Post Element",
|
268 |
+
"min": "",
|
269 |
+
"max": ""
|
270 |
+
},
|
271 |
+
{
|
272 |
+
"key": "field_5da1986f479d9",
|
273 |
+
"label": "Center Elements End",
|
274 |
+
"name": "",
|
275 |
+
"type": "accordion",
|
276 |
+
"instructions": "",
|
277 |
+
"required": 0,
|
278 |
+
"conditional_logic": 0,
|
279 |
+
"wrapper": {
|
280 |
+
"width": "",
|
281 |
+
"class": "",
|
282 |
+
"id": ""
|
283 |
+
},
|
284 |
+
"open": 0,
|
285 |
+
"multi_expand": 0,
|
286 |
+
"endpoint": 1
|
287 |
+
},
|
288 |
+
{
|
289 |
+
"key": "field_5da1986f748a4",
|
290 |
+
"label": "Bottom Elements",
|
291 |
+
"name": "",
|
292 |
+
"type": "accordion",
|
293 |
+
"instructions": "",
|
294 |
+
"required": 0,
|
295 |
+
"conditional_logic": 0,
|
296 |
+
"wrapper": {
|
297 |
+
"width": "",
|
298 |
+
"class": "",
|
299 |
+
"id": ""
|
300 |
+
},
|
301 |
+
"open": 0,
|
302 |
+
"multi_expand": 0,
|
303 |
+
"endpoint": 0
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"key": "field_5da1986fc460e",
|
307 |
+
"label": "Post Bottom Elements",
|
308 |
+
"name": "acfb_post_timeline_bottom_elements",
|
309 |
+
"type": "flexible_content",
|
310 |
+
"instructions": "",
|
311 |
+
"required": 0,
|
312 |
+
"conditional_logic": 0,
|
313 |
+
"wrapper": {
|
314 |
+
"width": "",
|
315 |
+
"class": "",
|
316 |
+
"id": ""
|
317 |
+
},
|
318 |
+
"layouts": {
|
319 |
+
"layout_5da1c0f7d94b7": {
|
320 |
+
"key": "layout_5da1c0f7d94b7",
|
321 |
+
"name": "post_timeline_image",
|
322 |
+
"label": "Image",
|
323 |
+
"display": "block",
|
324 |
+
"sub_fields": [],
|
325 |
+
"min": "1",
|
326 |
+
"max": "1"
|
327 |
+
},
|
328 |
+
"layout_5cd3e15f431ae": {
|
329 |
+
"key": "layout_5cd3e15f431ae",
|
330 |
+
"name": "post_timeline_title",
|
331 |
+
"label": "Title",
|
332 |
+
"display": "block",
|
333 |
+
"sub_fields": [],
|
334 |
+
"min": "1",
|
335 |
+
"max": "1"
|
336 |
+
},
|
337 |
+
"layout_5cd40088e4c2e": {
|
338 |
+
"key": "layout_5cd40088e4c2e",
|
339 |
+
"name": "post_timeline_meta_data",
|
340 |
+
"label": "Meta Data",
|
341 |
+
"display": "block",
|
342 |
+
"sub_fields": [],
|
343 |
+
"min": "1",
|
344 |
+
"max": "1"
|
345 |
+
},
|
346 |
+
"layout_5cd3e2cb3fc27": {
|
347 |
+
"key": "layout_5cd3e2cb3fc27",
|
348 |
+
"name": "post_timeline_content",
|
349 |
+
"label": "Content",
|
350 |
+
"display": "block",
|
351 |
+
"sub_fields": [],
|
352 |
+
"min": "1",
|
353 |
+
"max": "1"
|
354 |
+
},
|
355 |
+
"layout_5cd3fc02f65a2": {
|
356 |
+
"key": "layout_5cd3fc02f65a2",
|
357 |
+
"name": "post_timeline_read_more_button",
|
358 |
+
"label": "Post Read More Button",
|
359 |
+
"display": "block",
|
360 |
+
"sub_fields": [],
|
361 |
+
"min": "1",
|
362 |
+
"max": "1"
|
363 |
+
}
|
364 |
+
},
|
365 |
+
"button_label": "Add Post Element",
|
366 |
+
"min": "",
|
367 |
+
"max": ""
|
368 |
+
},
|
369 |
+
{
|
370 |
+
"key": "field_5da1986feb717",
|
371 |
+
"label": "Bottom Elements End",
|
372 |
+
"name": "",
|
373 |
+
"type": "accordion",
|
374 |
+
"instructions": "",
|
375 |
+
"required": 0,
|
376 |
+
"conditional_logic": 0,
|
377 |
+
"wrapper": {
|
378 |
+
"width": "",
|
379 |
+
"class": "",
|
380 |
+
"id": ""
|
381 |
+
},
|
382 |
+
"open": 0,
|
383 |
+
"multi_expand": 0,
|
384 |
+
"endpoint": 1
|
385 |
+
},
|
386 |
+
{
|
387 |
+
"key": "field_5da1ca3008f75",
|
388 |
+
"label": "Opposite Elements",
|
389 |
+
"name": "",
|
390 |
+
"type": "accordion",
|
391 |
+
"instructions": "",
|
392 |
+
"required": 0,
|
393 |
+
"conditional_logic": 0,
|
394 |
+
"wrapper": {
|
395 |
+
"width": "",
|
396 |
+
"class": "",
|
397 |
+
"id": ""
|
398 |
+
},
|
399 |
+
"open": 0,
|
400 |
+
"multi_expand": 0,
|
401 |
+
"endpoint": 0
|
402 |
+
},
|
403 |
+
{
|
404 |
+
"key": "field_5da1ca5808f77",
|
405 |
+
"label": "Post Opposite Elements",
|
406 |
+
"name": "acfb_post_timeline_opposite_elements",
|
407 |
+
"type": "flexible_content",
|
408 |
+
"instructions": "",
|
409 |
+
"required": 0,
|
410 |
+
"conditional_logic": 0,
|
411 |
+
"wrapper": {
|
412 |
+
"width": "",
|
413 |
+
"class": "",
|
414 |
+
"id": ""
|
415 |
+
},
|
416 |
+
"layouts": {
|
417 |
+
"layout_5da1c0f7d94b7": {
|
418 |
+
"key": "layout_5da1c0f7d94b7",
|
419 |
+
"name": "post_timeline_image",
|
420 |
+
"label": "Image",
|
421 |
+
"display": "block",
|
422 |
+
"sub_fields": [],
|
423 |
+
"min": "1",
|
424 |
+
"max": "1"
|
425 |
+
},
|
426 |
+
"layout_5cd3e15f431ae": {
|
427 |
+
"key": "layout_5cd3e15f431ae",
|
428 |
+
"name": "post_timeline_title",
|
429 |
+
"label": "Title",
|
430 |
+
"display": "block",
|
431 |
+
"sub_fields": [],
|
432 |
+
"min": "1",
|
433 |
+
"max": "1"
|
434 |
+
},
|
435 |
+
"layout_5cd40088e4c2e": {
|
436 |
+
"key": "layout_5cd40088e4c2e",
|
437 |
+
"name": "post_timeline_meta_data",
|
438 |
+
"label": "Meta Data",
|
439 |
+
"display": "block",
|
440 |
+
"sub_fields": [],
|
441 |
+
"min": "1",
|
442 |
+
"max": "1"
|
443 |
+
},
|
444 |
+
"layout_5cd3e2cb3fc27": {
|
445 |
+
"key": "layout_5cd3e2cb3fc27",
|
446 |
+
"name": "post_timeline_content",
|
447 |
+
"label": "Content",
|
448 |
+
"display": "block",
|
449 |
+
"sub_fields": [],
|
450 |
+
"min": "1",
|
451 |
+
"max": "1"
|
452 |
+
},
|
453 |
+
"layout_5cd3fc02f65a2": {
|
454 |
+
"key": "layout_5cd3fc02f65a2",
|
455 |
+
"name": "post_timeline_read_more_button",
|
456 |
+
"label": "Post Read More Button",
|
457 |
+
"display": "block",
|
458 |
+
"sub_fields": [],
|
459 |
+
"min": "1",
|
460 |
+
"max": "1"
|
461 |
+
}
|
462 |
+
},
|
463 |
+
"button_label": "Add Post Element",
|
464 |
+
"min": "",
|
465 |
+
"max": ""
|
466 |
+
},
|
467 |
+
{
|
468 |
+
"key": "field_5da1ca4908f76",
|
469 |
+
"label": "Opposite Elements End",
|
470 |
+
"name": "",
|
471 |
+
"type": "accordion",
|
472 |
+
"instructions": "",
|
473 |
+
"required": 0,
|
474 |
+
"conditional_logic": 0,
|
475 |
+
"wrapper": {
|
476 |
+
"width": "",
|
477 |
+
"class": "",
|
478 |
+
"id": ""
|
479 |
+
},
|
480 |
+
"open": 0,
|
481 |
+
"multi_expand": 0,
|
482 |
+
"endpoint": 1
|
483 |
+
},
|
484 |
+
{
|
485 |
+
"key": "field_5da1987016cc7",
|
486 |
+
"label": "Title HTML Tag",
|
487 |
+
"name": "acfb_post_timeline_title_html_tag",
|
488 |
+
"type": "button_group",
|
489 |
+
"instructions": "",
|
490 |
+
"required": 0,
|
491 |
+
"conditional_logic": 0,
|
492 |
+
"wrapper": {
|
493 |
+
"width": "",
|
494 |
+
"class": "",
|
495 |
+
"id": ""
|
496 |
+
},
|
497 |
+
"choices": {
|
498 |
+
"h1": "H1",
|
499 |
+
"h2": "H2",
|
500 |
+
"h3": "H3",
|
501 |
+
"h4": "H4",
|
502 |
+
"h5": "H5",
|
503 |
+
"h6": "H6"
|
504 |
+
},
|
505 |
+
"allow_null": 0,
|
506 |
+
"default_value": "h3",
|
507 |
+
"layout": "horizontal",
|
508 |
+
"return_format": "value"
|
509 |
+
},
|
510 |
+
{
|
511 |
+
"key": "field_5da19870df7e6",
|
512 |
+
"label": "Excerpt Length",
|
513 |
+
"name": "acfb_post_timeline_excerpt_length",
|
514 |
+
"type": "number",
|
515 |
+
"instructions": "",
|
516 |
+
"required": 0,
|
517 |
+
"conditional_logic": 0,
|
518 |
+
"wrapper": {
|
519 |
+
"width": "",
|
520 |
+
"class": "",
|
521 |
+
"id": ""
|
522 |
+
},
|
523 |
+
"default_value": 20,
|
524 |
+
"placeholder": "",
|
525 |
+
"prepend": "",
|
526 |
+
"append": "",
|
527 |
+
"min": "",
|
528 |
+
"max": "",
|
529 |
+
"step": ""
|
530 |
+
},
|
531 |
+
{
|
532 |
+
"key": "field_5da198714ff1d",
|
533 |
+
"label": "Design",
|
534 |
+
"name": "",
|
535 |
+
"type": "tab",
|
536 |
+
"instructions": "",
|
537 |
+
"required": 0,
|
538 |
+
"conditional_logic": 0,
|
539 |
+
"wrapper": {
|
540 |
+
"width": "",
|
541 |
+
"class": "",
|
542 |
+
"id": ""
|
543 |
+
},
|
544 |
+
"placement": "top",
|
545 |
+
"endpoint": 0
|
546 |
+
},
|
547 |
+
{
|
548 |
+
"key": "field_5dbad6591549c",
|
549 |
+
"label": "Timeline Background Color",
|
550 |
+
"name": "acfb_post_timeline_background",
|
551 |
+
"type": "color_picker",
|
552 |
+
"instructions": "",
|
553 |
+
"required": 0,
|
554 |
+
"conditional_logic": 0,
|
555 |
+
"wrapper": {
|
556 |
+
"width": "",
|
557 |
+
"class": "",
|
558 |
+
"id": ""
|
559 |
+
},
|
560 |
+
"default_value": "#f3f4f5"
|
561 |
+
},
|
562 |
+
{
|
563 |
+
"key": "field_5df49f8b266f0",
|
564 |
+
"label": "Timeline Image Size",
|
565 |
+
"name": "acfb_post_timeline_image_size",
|
566 |
+
"type": "range",
|
567 |
+
"instructions": "",
|
568 |
+
"required": 0,
|
569 |
+
"conditional_logic": 0,
|
570 |
+
"wrapper": {
|
571 |
+
"width": "",
|
572 |
+
"class": "",
|
573 |
+
"id": ""
|
574 |
+
},
|
575 |
+
"default_value": 100,
|
576 |
+
"min": "",
|
577 |
+
"max": "",
|
578 |
+
"step": "",
|
579 |
+
"prepend": "",
|
580 |
+
"append": "%"
|
581 |
+
},
|
582 |
+
{
|
583 |
+
"key": "field_5da198716f325",
|
584 |
+
"label": "Title Custom Styles",
|
585 |
+
"name": "acfb_post_timeline_title_custom_styles",
|
586 |
+
"type": "true_false",
|
587 |
+
"instructions": "",
|
588 |
+
"required": 0,
|
589 |
+
"conditional_logic": 0,
|
590 |
+
"wrapper": {
|
591 |
+
"width": "",
|
592 |
+
"class": "",
|
593 |
+
"id": ""
|
594 |
+
},
|
595 |
+
"message": "",
|
596 |
+
"default_value": 0,
|
597 |
+
"ui": 1,
|
598 |
+
"ui_on_text": "",
|
599 |
+
"ui_off_text": ""
|
600 |
+
},
|
601 |
+
{
|
602 |
+
"key": "field_5da198717f4f8",
|
603 |
+
"label": "Title Color",
|
604 |
+
"name": "acfb_post_timeline_title_color",
|
605 |
+
"type": "color_picker",
|
606 |
+
"instructions": "",
|
607 |
+
"required": 0,
|
608 |
+
"conditional_logic": [
|
609 |
+
[
|
610 |
+
{
|
611 |
+
"field": "field_5da198716f325",
|
612 |
+
"operator": "==",
|
613 |
+
"value": "1"
|
614 |
+
}
|
615 |
+
]
|
616 |
+
],
|
617 |
+
"wrapper": {
|
618 |
+
"width": "",
|
619 |
+
"class": "",
|
620 |
+
"id": ""
|
621 |
+
},
|
622 |
+
"default_value": "#191e23"
|
623 |
+
},
|
624 |
+
{
|
625 |
+
"key": "field_5da19871a798a",
|
626 |
+
"label": "Title Hover Color",
|
627 |
+
"name": "acfb_post_timeline_title_hover_color",
|
628 |
+
"type": "color_picker",
|
629 |
+
"instructions": "",
|
630 |
+
"required": 0,
|
631 |
+
"conditional_logic": [
|
632 |
+
[
|
633 |
+
{
|
634 |
+
"field": "field_5da198716f325",
|
635 |
+
"operator": "==",
|
636 |
+
"value": "1"
|
637 |
+
}
|
638 |
+
]
|
639 |
+
],
|
640 |
+
"wrapper": {
|
641 |
+
"width": "",
|
642 |
+
"class": "",
|
643 |
+
"id": ""
|
644 |
+
},
|
645 |
+
"default_value": "#191e23"
|
646 |
+
},
|
647 |
+
{
|
648 |
+
"key": "field_5da19871ca05a",
|
649 |
+
"label": "Title Size",
|
650 |
+
"name": "acfb_post_timeline_title_size",
|
651 |
+
"type": "range",
|
652 |
+
"instructions": "",
|
653 |
+
"required": 0,
|
654 |
+
"conditional_logic": [
|
655 |
+
[
|
656 |
+
{
|
657 |
+
"field": "field_5da198716f325",
|
658 |
+
"operator": "==",
|
659 |
+
"value": "1"
|
660 |
+
}
|
661 |
+
]
|
662 |
+
],
|
663 |
+
"wrapper": {
|
664 |
+
"width": "",
|
665 |
+
"class": "",
|
666 |
+
"id": ""
|
667 |
+
},
|
668 |
+
"default_value": 25,
|
669 |
+
"min": "",
|
670 |
+
"max": 100,
|
671 |
+
"step": "",
|
672 |
+
"prepend": "",
|
673 |
+
"append": "px"
|
674 |
+
},
|
675 |
+
{
|
676 |
+
"key": "field_5da19871f154b",
|
677 |
+
"label": "Meta Custom Styles",
|
678 |
+
"name": "acfb_post_timeline_meta_custom_styles",
|
679 |
+
"type": "true_false",
|
680 |
+
"instructions": "",
|
681 |
+
"required": 0,
|
682 |
+
"conditional_logic": 0,
|
683 |
+
"wrapper": {
|
684 |
+
"width": "",
|
685 |
+
"class": "",
|
686 |
+
"id": ""
|
687 |
+
},
|
688 |
+
"message": "",
|
689 |
+
"default_value": 0,
|
690 |
+
"ui": 1,
|
691 |
+
"ui_on_text": "",
|
692 |
+
"ui_off_text": ""
|
693 |
+
},
|
694 |
+
{
|
695 |
+
"key": "field_5da19872958af",
|
696 |
+
"label": "Meta Color",
|
697 |
+
"name": "acfb_post_timeline_meta_color",
|
698 |
+
"type": "color_picker",
|
699 |
+
"instructions": "",
|
700 |
+
"required": 0,
|
701 |
+
"conditional_logic": [
|
702 |
+
[
|
703 |
+
{
|
704 |
+
"field": "field_5da19871f154b",
|
705 |
+
"operator": "==",
|
706 |
+
"value": "1"
|
707 |
+
}
|
708 |
+
]
|
709 |
+
],
|
710 |
+
"wrapper": {
|
711 |
+
"width": "",
|
712 |
+
"class": "",
|
713 |
+
"id": ""
|
714 |
+
},
|
715 |
+
"default_value": "#191e23"
|
716 |
+
},
|
717 |
+
{
|
718 |
+
"key": "field_5da19872e2351",
|
719 |
+
"label": "Meta Size",
|
720 |
+
"name": "acfb_post_timeline_meta_size",
|
721 |
+
"type": "range",
|
722 |
+
"instructions": "",
|
723 |
+
"required": 0,
|
724 |
+
"conditional_logic": [
|
725 |
+
[
|
726 |
+
{
|
727 |
+
"field": "field_5da19871f154b",
|
728 |
+
"operator": "==",
|
729 |
+
"value": "1"
|
730 |
+
}
|
731 |
+
]
|
732 |
+
],
|
733 |
+
"wrapper": {
|
734 |
+
"width": "",
|
735 |
+
"class": "",
|
736 |
+
"id": ""
|
737 |
+
},
|
738 |
+
"default_value": 16,
|
739 |
+
"min": "",
|
740 |
+
"max": "",
|
741 |
+
"step": "",
|
742 |
+
"prepend": "",
|
743 |
+
"append": "px"
|
744 |
+
},
|
745 |
+
{
|
746 |
+
"key": "field_5da19873428b5",
|
747 |
+
"label": "Excerpt Custom Styles",
|
748 |
+
"name": "acfb_post_timeline_excerpt_custom_styles",
|
749 |
+
"type": "true_false",
|
750 |
+
"instructions": "",
|
751 |
+
"required": 0,
|
752 |
+
"conditional_logic": 0,
|
753 |
+
"wrapper": {
|
754 |
+
"width": "",
|
755 |
+
"class": "",
|
756 |
+
"id": ""
|
757 |
+
},
|
758 |
+
"message": "",
|
759 |
+
"default_value": 0,
|
760 |
+
"ui": 1,
|
761 |
+
"ui_on_text": "",
|
762 |
+
"ui_off_text": ""
|
763 |
+
},
|
764 |
+
{
|
765 |
+
"key": "field_5da19873bf102",
|
766 |
+
"label": "Excerpt Color",
|
767 |
+
"name": "acfb_post_timeline_excerpt_color",
|
768 |
+
"type": "color_picker",
|
769 |
+
"instructions": "",
|
770 |
+
"required": 0,
|
771 |
+
"conditional_logic": [
|
772 |
+
[
|
773 |
+
{
|
774 |
+
"field": "field_5da19873428b5",
|
775 |
+
"operator": "==",
|
776 |
+
"value": "1"
|
777 |
+
}
|
778 |
+
]
|
779 |
+
],
|
780 |
+
"wrapper": {
|
781 |
+
"width": "",
|
782 |
+
"class": "",
|
783 |
+
"id": ""
|
784 |
+
},
|
785 |
+
"default_value": "#191e23"
|
786 |
+
},
|
787 |
+
{
|
788 |
+
"key": "field_5da1987403cf7",
|
789 |
+
"label": "Excerpt Size",
|
790 |
+
"name": "acfb_post_timeline_excerpt_size",
|
791 |
+
"type": "range",
|
792 |
+
"instructions": "",
|
793 |
+
"required": 0,
|
794 |
+
"conditional_logic": [
|
795 |
+
[
|
796 |
+
{
|
797 |
+
"field": "field_5da19873428b5",
|
798 |
+
"operator": "==",
|
799 |
+
"value": "1"
|
800 |
+
}
|
801 |
+
]
|
802 |
+
],
|
803 |
+
"wrapper": {
|
804 |
+
"width": "",
|
805 |
+
"class": "",
|
806 |
+
"id": ""
|
807 |
+
},
|
808 |
+
"default_value": 17,
|
809 |
+
"min": "",
|
810 |
+
"max": "",
|
811 |
+
"step": "",
|
812 |
+
"prepend": "",
|
813 |
+
"append": "px"
|
814 |
+
},
|
815 |
+
{
|
816 |
+
"key": "field_5da1987431f4a",
|
817 |
+
"label": "Button Custom Styles",
|
818 |
+
"name": "acfb_post_timeline_button_custom_styles",
|
819 |
+
"type": "true_false",
|
820 |
+
"instructions": "",
|
821 |
+
"required": 0,
|
822 |
+
"conditional_logic": 0,
|
823 |
+
"wrapper": {
|
824 |
+
"width": "",
|
825 |
+
"class": "",
|
826 |
+
"id": ""
|
827 |
+
},
|
828 |
+
"message": "",
|
829 |
+
"default_value": 0,
|
830 |
+
"ui": 1,
|
831 |
+
"ui_on_text": "",
|
832 |
+
"ui_off_text": ""
|
833 |
+
},
|
834 |
+
{
|
835 |
+
"key": "field_5da19874551d2",
|
836 |
+
"label": "Button Background Color",
|
837 |
+
"name": "acfb_post_timeline_button_background_color",
|
838 |
+
"type": "color_picker",
|
839 |
+
"instructions": "",
|
840 |
+
"required": 0,
|
841 |
+
"conditional_logic": [
|
842 |
+
[
|
843 |
+
{
|
844 |
+
"field": "field_5da1987431f4a",
|
845 |
+
"operator": "==",
|
846 |
+
"value": "1"
|
847 |
+
}
|
848 |
+
]
|
849 |
+
],
|
850 |
+
"wrapper": {
|
851 |
+
"width": "",
|
852 |
+
"class": "",
|
853 |
+
"id": ""
|
854 |
+
},
|
855 |
+
"default_value": "#e0e0e0"
|
856 |
+
},
|
857 |
+
{
|
858 |
+
"key": "field_5da1987469ddf",
|
859 |
+
"label": "Button Text Color",
|
860 |
+
"name": "acfb_post_timeline_button_text_color",
|
861 |
+
"type": "color_picker",
|
862 |
+
"instructions": "",
|
863 |
+
"required": 0,
|
864 |
+
"conditional_logic": [
|
865 |
+
[
|
866 |
+
{
|
867 |
+
"field": "field_5da1987431f4a",
|
868 |
+
"operator": "==",
|
869 |
+
"value": "1"
|
870 |
+
}
|
871 |
+
]
|
872 |
+
],
|
873 |
+
"wrapper": {
|
874 |
+
"width": "",
|
875 |
+
"class": "",
|
876 |
+
"id": ""
|
877 |
+
},
|
878 |
+
"default_value": "#191e23"
|
879 |
+
},
|
880 |
+
{
|
881 |
+
"key": "field_5da1987479fb3",
|
882 |
+
"label": "Button Background Hover Color",
|
883 |
+
"name": "acfb_post_timeline_button_background_hover_color",
|
884 |
+
"type": "color_picker",
|
885 |
+
"instructions": "",
|
886 |
+
"required": 0,
|
887 |
+
"conditional_logic": [
|
888 |
+
[
|
889 |
+
{
|
890 |
+
"field": "field_5da1987431f4a",
|
891 |
+
"operator": "==",
|
892 |
+
"value": "1"
|
893 |
+
}
|
894 |
+
]
|
895 |
+
],
|
896 |
+
"wrapper": {
|
897 |
+
"width": "",
|
898 |
+
"class": "",
|
899 |
+
"id": ""
|
900 |
+
},
|
901 |
+
"default_value": "#e0e0e0"
|
902 |
+
},
|
903 |
+
{
|
904 |
+
"key": "field_5da1987490ee8",
|
905 |
+
"label": "Button Text Hover Color",
|
906 |
+
"name": "acfb_post_timeline_button_text_hover_color",
|
907 |
+
"type": "color_picker",
|
908 |
+
"instructions": "",
|
909 |
+
"required": 0,
|
910 |
+
"conditional_logic": [
|
911 |
+
[
|
912 |
+
{
|
913 |
+
"field": "field_5da1987431f4a",
|
914 |
+
"operator": "==",
|
915 |
+
"value": "1"
|
916 |
+
}
|
917 |
+
]
|
918 |
+
],
|
919 |
+
"wrapper": {
|
920 |
+
"width": "",
|
921 |
+
"class": "",
|
922 |
+
"id": ""
|
923 |
+
},
|
924 |
+
"default_value": "#191e23"
|
925 |
+
},
|
926 |
+
{
|
927 |
+
"key": "field_5da19874a2c14",
|
928 |
+
"label": "Button Size",
|
929 |
+
"name": "acfb_post_timeline_button_size",
|
930 |
+
"type": "range",
|
931 |
+
"instructions": "",
|
932 |
+
"required": 0,
|
933 |
+
"conditional_logic": [
|
934 |
+
[
|
935 |
+
{
|
936 |
+
"field": "field_5da1987431f4a",
|
937 |
+
"operator": "==",
|
938 |
+
"value": "1"
|
939 |
+
}
|
940 |
+
]
|
941 |
+
],
|
942 |
+
"wrapper": {
|
943 |
+
"width": "",
|
944 |
+
"class": "",
|
945 |
+
"id": ""
|
946 |
+
},
|
947 |
+
"default_value": 16,
|
948 |
+
"min": "",
|
949 |
+
"max": "",
|
950 |
+
"step": "",
|
951 |
+
"prepend": "",
|
952 |
+
"append": "px"
|
953 |
+
},
|
954 |
+
{
|
955 |
+
"key": "field_5dbad92eaae41",
|
956 |
+
"label": "Divider Color",
|
957 |
+
"name": "acfb_post_timeline_divider_color",
|
958 |
+
"type": "color_picker",
|
959 |
+
"instructions": "",
|
960 |
+
"required": 0,
|
961 |
+
"conditional_logic": 0,
|
962 |
+
"wrapper": {
|
963 |
+
"width": "",
|
964 |
+
"class": "",
|
965 |
+
"id": ""
|
966 |
+
},
|
967 |
+
"default_value": "#f3f4f5"
|
968 |
+
},
|
969 |
+
{
|
970 |
+
"key": "field_5dbad9c8aae42",
|
971 |
+
"label": "Circle Color",
|
972 |
+
"name": "acfb_post_timeline_circle_color",
|
973 |
+
"type": "color_picker",
|
974 |
+
"instructions": "",
|
975 |
+
"required": 0,
|
976 |
+
"conditional_logic": 0,
|
977 |
+
"wrapper": {
|
978 |
+
"width": "",
|
979 |
+
"class": "",
|
980 |
+
"id": ""
|
981 |
+
},
|
982 |
+
"default_value": "#f3f4f5"
|
983 |
+
},
|
984 |
+
{
|
985 |
+
"key": "field_5dbc20622b75e",
|
986 |
+
"label": "Circle Border Color",
|
987 |
+
"name": "acfb_post_timeline_circle_border_color",
|
988 |
+
"type": "color_picker",
|
989 |
+
"instructions": "",
|
990 |
+
"required": 0,
|
991 |
+
"conditional_logic": 0,
|
992 |
+
"wrapper": {
|
993 |
+
"width": "",
|
994 |
+
"class": "",
|
995 |
+
"id": ""
|
996 |
+
},
|
997 |
+
"default_value": "#191e23"
|
998 |
+
},
|
999 |
+
{
|
1000 |
+
"key": "field_5dbc126adadc4",
|
1001 |
+
"label": "Timeline Opposite Background Color",
|
1002 |
+
"name": "acfb_post_timeline_opposite_background",
|
1003 |
+
"type": "color_picker",
|
1004 |
+
"instructions": "",
|
1005 |
+
"required": 0,
|
1006 |
+
"conditional_logic": 0,
|
1007 |
+
"wrapper": {
|
1008 |
+
"width": "",
|
1009 |
+
"class": "",
|
1010 |
+
"id": ""
|
1011 |
+
},
|
1012 |
+
"default_value": "#f3f4f5"
|
1013 |
+
},
|
1014 |
+
{
|
1015 |
+
"key": "field_5dbc220a91493",
|
1016 |
+
"label": "Opposite Title Custom Styles",
|
1017 |
+
"name": "acfb_post_timeline_opposite_title_custom_styles",
|
1018 |
+
"type": "true_false",
|
1019 |
+
"instructions": "",
|
1020 |
+
"required": 0,
|
1021 |
+
"conditional_logic": 0,
|
1022 |
+
"wrapper": {
|
1023 |
+
"width": "",
|
1024 |
+
"class": "",
|
1025 |
+
"id": ""
|
1026 |
+
},
|
1027 |
+
"message": "",
|
1028 |
+
"default_value": 0,
|
1029 |
+
"ui": 1,
|
1030 |
+
"ui_on_text": "",
|
1031 |
+
"ui_off_text": ""
|
1032 |
+
},
|
1033 |
+
{
|
1034 |
+
"key": "field_5dbc223591494",
|
1035 |
+
"label": "Title Color",
|
1036 |
+
"name": "acfb_post_timeline_opposite_title_color",
|
1037 |
+
"type": "color_picker",
|
1038 |
+
"instructions": "",
|
1039 |
+
"required": 0,
|
1040 |
+
"conditional_logic": [
|
1041 |
+
[
|
1042 |
+
{
|
1043 |
+
"field": "field_5dbc220a91493",
|
1044 |
+
"operator": "==",
|
1045 |
+
"value": "1"
|
1046 |
+
}
|
1047 |
+
]
|
1048 |
+
],
|
1049 |
+
"wrapper": {
|
1050 |
+
"width": "",
|
1051 |
+
"class": "",
|
1052 |
+
"id": ""
|
1053 |
+
},
|
1054 |
+
"default_value": "#191e23"
|
1055 |
+
},
|
1056 |
+
{
|
1057 |
+
"key": "field_5dbc223991495",
|
1058 |
+
"label": "Title Hover Color",
|
1059 |
+
"name": "acfb_post_timeline_opposite_title_hover_color",
|
1060 |
+
"type": "color_picker",
|
1061 |
+
"instructions": "",
|
1062 |
+
"required": 0,
|
1063 |
+
"conditional_logic": [
|
1064 |
+
[
|
1065 |
+
{
|
1066 |
+
"field": "field_5dbc220a91493",
|
1067 |
+
"operator": "==",
|
1068 |
+
"value": "1"
|
1069 |
+
}
|
1070 |
+
]
|
1071 |
+
],
|
1072 |
+
"wrapper": {
|
1073 |
+
"width": "",
|
1074 |
+
"class": "",
|
1075 |
+
"id": ""
|
1076 |
+
},
|
1077 |
+
"default_value": "#191e23"
|
1078 |
+
},
|
1079 |
+
{
|
1080 |
+
"key": "field_5dbc224791496",
|
1081 |
+
"label": "Title Size",
|
1082 |
+
"name": "acfb_post_timeline_opposite_title_size",
|
1083 |
+
"type": "range",
|
1084 |
+
"instructions": "",
|
1085 |
+
"required": 0,
|
1086 |
+
"conditional_logic": [
|
1087 |
+
[
|
1088 |
+
{
|
1089 |
+
"field": "field_5dbc220a91493",
|
1090 |
+
"operator": "==",
|
1091 |
+
"value": "1"
|
1092 |
+
}
|
1093 |
+
]
|
1094 |
+
],
|
1095 |
+
"wrapper": {
|
1096 |
+
"width": "",
|
1097 |
+
"class": "",
|
1098 |
+
"id": ""
|
1099 |
+
},
|
1100 |
+
"default_value": 25,
|
1101 |
+
"min": "",
|
1102 |
+
"max": 100,
|
1103 |
+
"step": "",
|
1104 |
+
"prepend": "",
|
1105 |
+
"append": "px"
|
1106 |
+
},
|
1107 |
+
{
|
1108 |
+
"key": "field_5dbc224f91497",
|
1109 |
+
"label": "Opposite Meta Custom Styles",
|
1110 |
+
"name": "acfb_post_timeline_opposite_meta_custom_styles",
|
1111 |
+
"type": "true_false",
|
1112 |
+
"instructions": "",
|
1113 |
+
"required": 0,
|
1114 |
+
"conditional_logic": 0,
|
1115 |
+
"wrapper": {
|
1116 |
+
"width": "",
|
1117 |
+
"class": "",
|
1118 |
+
"id": ""
|
1119 |
+
},
|
1120 |
+
"message": "",
|
1121 |
+
"default_value": 0,
|
1122 |
+
"ui": 1,
|
1123 |
+
"ui_on_text": "",
|
1124 |
+
"ui_off_text": ""
|
1125 |
+
},
|
1126 |
+
{
|
1127 |
+
"key": "field_5dbc22b691498",
|
1128 |
+
"label": "Meta Color",
|
1129 |
+
"name": "acfb_post_timeline_opposite_meta_color",
|
1130 |
+
"type": "color_picker",
|
1131 |
+
"instructions": "",
|
1132 |
+
"required": 0,
|
1133 |
+
"conditional_logic": [
|
1134 |
+
[
|
1135 |
+
{
|
1136 |
+
"field": "field_5dbc224f91497",
|
1137 |
+
"operator": "==",
|
1138 |
+
"value": "1"
|
1139 |
+
}
|
1140 |
+
]
|
1141 |
+
],
|
1142 |
+
"wrapper": {
|
1143 |
+
"width": "",
|
1144 |
+
"class": "",
|
1145 |
+
"id": ""
|
1146 |
+
},
|
1147 |
+
"default_value": "#191e23"
|
1148 |
+
},
|
1149 |
+
{
|
1150 |
+
"key": "field_5dbc22cb91499",
|
1151 |
+
"label": "Meta Size",
|
1152 |
+
"name": "acfb_post_timeline_opposite_meta_size",
|
1153 |
+
"type": "range",
|
1154 |
+
"instructions": "",
|
1155 |
+
"required": 0,
|
1156 |
+
"conditional_logic": [
|
1157 |
+
[
|
1158 |
+
{
|
1159 |
+
"field": "field_5dbc224f91497",
|
1160 |
+
"operator": "==",
|
1161 |
+
"value": "1"
|
1162 |
+
}
|
1163 |
+
]
|
1164 |
+
],
|
1165 |
+
"wrapper": {
|
1166 |
+
"width": "",
|
1167 |
+
"class": "",
|
1168 |
+
"id": ""
|
1169 |
+
},
|
1170 |
+
"default_value": 16,
|
1171 |
+
"min": "",
|
1172 |
+
"max": "",
|
1173 |
+
"step": "",
|
1174 |
+
"prepend": "",
|
1175 |
+
"append": "px"
|
1176 |
+
},
|
1177 |
+
{
|
1178 |
+
"key": "field_5dbc22f09149a",
|
1179 |
+
"label": "Opposite Excerpt Custom Styles",
|
1180 |
+
"name": "acfb_post_timeline_opposite_excerpt_custom_styles",
|
1181 |
+
"type": "true_false",
|
1182 |
+
"instructions": "",
|
1183 |
+
"required": 0,
|
1184 |
+
"conditional_logic": 0,
|
1185 |
+
"wrapper": {
|
1186 |
+
"width": "",
|
1187 |
+
"class": "",
|
1188 |
+
"id": ""
|
1189 |
+
},
|
1190 |
+
"message": "",
|
1191 |
+
"default_value": 0,
|
1192 |
+
"ui": 1,
|
1193 |
+
"ui_on_text": "",
|
1194 |
+
"ui_off_text": ""
|
1195 |
+
},
|
1196 |
+
{
|
1197 |
+
"key": "field_5dbc230b9149b",
|
1198 |
+
"label": "Excerpt Color",
|
1199 |
+
"name": "acfb_post_timeline_opposite_excerpt_color",
|
1200 |
+
"type": "color_picker",
|
1201 |
+
"instructions": "",
|
1202 |
+
"required": 0,
|
1203 |
+
"conditional_logic": [
|
1204 |
+
[
|
1205 |
+
{
|
1206 |
+
"field": "field_5dbc22f09149a",
|
1207 |
+
"operator": "==",
|
1208 |
+
"value": "1"
|
1209 |
+
}
|
1210 |
+
]
|
1211 |
+
],
|
1212 |
+
"wrapper": {
|
1213 |
+
"width": "",
|
1214 |
+
"class": "",
|
1215 |
+
"id": ""
|
1216 |
+
},
|
1217 |
+
"default_value": "#191e23"
|
1218 |
+
},
|
1219 |
+
{
|
1220 |
+
"key": "field_5dbc231e9149c",
|
1221 |
+
"label": "Excerpt Size",
|
1222 |
+
"name": "acfb_post_timeline_opposite_excerpt_size",
|
1223 |
+
"type": "range",
|
1224 |
+
"instructions": "",
|
1225 |
+
"required": 0,
|
1226 |
+
"conditional_logic": [
|
1227 |
+
[
|
1228 |
+
{
|
1229 |
+
"field": "field_5dbc22f09149a",
|
1230 |
+
"operator": "==",
|
1231 |
+
"value": "1"
|
1232 |
+
}
|
1233 |
+
]
|
1234 |
+
],
|
1235 |
+
"wrapper": {
|
1236 |
+
"width": "",
|
1237 |
+
"class": "",
|
1238 |
+
"id": ""
|
1239 |
+
},
|
1240 |
+
"default_value": 17,
|
1241 |
+
"min": "",
|
1242 |
+
"max": "",
|
1243 |
+
"step": "",
|
1244 |
+
"prepend": "",
|
1245 |
+
"append": "px"
|
1246 |
+
},
|
1247 |
+
{
|
1248 |
+
"key": "field_5dbc23569149d",
|
1249 |
+
"label": "Opposite Button Custom Styles",
|
1250 |
+
"name": "acfb_post_timeline_opposite_button_custom_styles",
|
1251 |
+
"type": "true_false",
|
1252 |
+
"instructions": "",
|
1253 |
+
"required": 0,
|
1254 |
+
"conditional_logic": 0,
|
1255 |
+
"wrapper": {
|
1256 |
+
"width": "",
|
1257 |
+
"class": "",
|
1258 |
+
"id": ""
|
1259 |
+
},
|
1260 |
+
"message": "",
|
1261 |
+
"default_value": 0,
|
1262 |
+
"ui": 1,
|
1263 |
+
"ui_on_text": "",
|
1264 |
+
"ui_off_text": ""
|
1265 |
+
},
|
1266 |
+
{
|
1267 |
+
"key": "field_5dbc23829149e",
|
1268 |
+
"label": "Button Background Color",
|
1269 |
+
"name": "acfb_post_timeline_opposite_button_background_color",
|
1270 |
+
"type": "color_picker",
|
1271 |
+
"instructions": "",
|
1272 |
+
"required": 0,
|
1273 |
+
"conditional_logic": [
|
1274 |
+
[
|
1275 |
+
{
|
1276 |
+
"field": "field_5dbc23569149d",
|
1277 |
+
"operator": "==",
|
1278 |
+
"value": "1"
|
1279 |
+
}
|
1280 |
+
]
|
1281 |
+
],
|
1282 |
+
"wrapper": {
|
1283 |
+
"width": "",
|
1284 |
+
"class": "",
|
1285 |
+
"id": ""
|
1286 |
+
},
|
1287 |
+
"default_value": "#e0e0e0"
|
1288 |
+
},
|
1289 |
+
{
|
1290 |
+
"key": "field_5dbc23949149f",
|
1291 |
+
"label": "Button Text Color",
|
1292 |
+
"name": "acfb_post_timeline_opposite_button_text_color",
|
1293 |
+
"type": "color_picker",
|
1294 |
+
"instructions": "",
|
1295 |
+
"required": 0,
|
1296 |
+
"conditional_logic": [
|
1297 |
+
[
|
1298 |
+
{
|
1299 |
+
"field": "field_5dbc23569149d",
|
1300 |
+
"operator": "==",
|
1301 |
+
"value": "1"
|
1302 |
+
}
|
1303 |
+
]
|
1304 |
+
],
|
1305 |
+
"wrapper": {
|
1306 |
+
"width": "",
|
1307 |
+
"class": "",
|
1308 |
+
"id": ""
|
1309 |
+
},
|
1310 |
+
"default_value": "#191e23"
|
1311 |
+
},
|
1312 |
+
{
|
1313 |
+
"key": "field_5dbc23a8914a0",
|
1314 |
+
"label": "Button Background Hover Color",
|
1315 |
+
"name": "acfb_post_timeline_opposite_button_background_hover_color",
|
1316 |
+
"type": "color_picker",
|
1317 |
+
"instructions": "",
|
1318 |
+
"required": 0,
|
1319 |
+
"conditional_logic": [
|
1320 |
+
[
|
1321 |
+
{
|
1322 |
+
"field": "field_5dbc23569149d",
|
1323 |
+
"operator": "==",
|
1324 |
+
"value": "1"
|
1325 |
+
}
|
1326 |
+
]
|
1327 |
+
],
|
1328 |
+
"wrapper": {
|
1329 |
+
"width": "",
|
1330 |
+
"class": "",
|
1331 |
+
"id": ""
|
1332 |
+
},
|
1333 |
+
"default_value": "#e0e0e0"
|
1334 |
+
},
|
1335 |
+
{
|
1336 |
+
"key": "field_5dbc23c2914a1",
|
1337 |
+
"label": "Button Text Hover Color",
|
1338 |
+
"name": "acfb_post_timeline_opposite_button_text_hover_color",
|
1339 |
+
"type": "color_picker",
|
1340 |
+
"instructions": "",
|
1341 |
+
"required": 0,
|
1342 |
+
"conditional_logic": [
|
1343 |
+
[
|
1344 |
+
{
|
1345 |
+
"field": "field_5dbc23569149d",
|
1346 |
+
"operator": "==",
|
1347 |
+
"value": "1"
|
1348 |
+
}
|
1349 |
+
]
|
1350 |
+
],
|
1351 |
+
"wrapper": {
|
1352 |
+
"width": "",
|
1353 |
+
"class": "",
|
1354 |
+
"id": ""
|
1355 |
+
},
|
1356 |
+
"default_value": "#191e23"
|
1357 |
+
},
|
1358 |
+
{
|
1359 |
+
"key": "field_5dbc23e5914a2",
|
1360 |
+
"label": "Button Size",
|
1361 |
+
"name": "acfb_post_timeline_opposite_button_size",
|
1362 |
+
"type": "range",
|
1363 |
+
"instructions": "",
|
1364 |
+
"required": 0,
|
1365 |
+
"conditional_logic": [
|
1366 |
+
[
|
1367 |
+
{
|
1368 |
+
"field": "field_5dbc23569149d",
|
1369 |
+
"operator": "==",
|
1370 |
+
"value": "1"
|
1371 |
+
}
|
1372 |
+
]
|
1373 |
+
],
|
1374 |
+
"wrapper": {
|
1375 |
+
"width": "",
|
1376 |
+
"class": "",
|
1377 |
+
"id": ""
|
1378 |
+
},
|
1379 |
+
"default_value": 16,
|
1380 |
+
"min": "",
|
1381 |
+
"max": "",
|
1382 |
+
"step": "",
|
1383 |
+
"prepend": "",
|
1384 |
+
"append": "px"
|
1385 |
+
}
|
1386 |
+
],
|
1387 |
+
"location": [
|
1388 |
+
[
|
1389 |
+
{
|
1390 |
+
"param": "block",
|
1391 |
+
"operator": "==",
|
1392 |
+
"value": "acf\/acfb-post-timeline"
|
1393 |
+
}
|
1394 |
+
]
|
1395 |
+
],
|
1396 |
+
"menu_order": 0,
|
1397 |
+
"position": "normal",
|
1398 |
+
"style": "default",
|
1399 |
+
"label_placement": "top",
|
1400 |
+
"instruction_placement": "label",
|
1401 |
+
"hide_on_screen": "",
|
1402 |
+
"active": 1,
|
1403 |
+
"description": "",
|
1404 |
+
"modified": 1576581421
|
1405 |
+
}
|
acf-json/group_5db1a62d812f2.json
ADDED
@@ -0,0 +1,1404 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"key": "group_5db1a62d812f2",
|
3 |
+
"title": "Posts Slider",
|
4 |
+
"fields": [
|
5 |
+
{
|
6 |
+
"key": "field_5db1a62e3b9b5",
|
7 |
+
"label": "Content",
|
8 |
+
"name": "",
|
9 |
+
"type": "tab",
|
10 |
+
"instructions": "",
|
11 |
+
"required": 0,
|
12 |
+
"conditional_logic": 0,
|
13 |
+
"wrapper": {
|
14 |
+
"width": "",
|
15 |
+
"class": "",
|
16 |
+
"id": ""
|
17 |
+
},
|
18 |
+
"placement": "top",
|
19 |
+
"endpoint": 0
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"key": "field_5db95c292e4aa",
|
23 |
+
"label": "Post Type",
|
24 |
+
"name": "acfb_post_type",
|
25 |
+
"type": "select",
|
26 |
+
"instructions": "",
|
27 |
+
"required": 0,
|
28 |
+
"conditional_logic": 0,
|
29 |
+
"wrapper": {
|
30 |
+
"width": "",
|
31 |
+
"class": "",
|
32 |
+
"id": ""
|
33 |
+
},
|
34 |
+
"choices": {
|
35 |
+
"post": "post",
|
36 |
+
"page": "page",
|
37 |
+
"products": "products"
|
38 |
+
},
|
39 |
+
"default_value": [
|
40 |
+
0
|
41 |
+
],
|
42 |
+
"allow_null": 0,
|
43 |
+
"multiple": 0,
|
44 |
+
"ui": 0,
|
45 |
+
"return_format": "value",
|
46 |
+
"ajax": 0,
|
47 |
+
"placeholder": ""
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"key": "field_5df8adda4b399",
|
51 |
+
"label": "Number of Posts",
|
52 |
+
"name": "acfb_post_slider_nop",
|
53 |
+
"type": "range",
|
54 |
+
"instructions": "",
|
55 |
+
"required": 0,
|
56 |
+
"conditional_logic": 0,
|
57 |
+
"wrapper": {
|
58 |
+
"width": "",
|
59 |
+
"class": "",
|
60 |
+
"id": ""
|
61 |
+
},
|
62 |
+
"default_value": 3,
|
63 |
+
"min": 1,
|
64 |
+
"max": "",
|
65 |
+
"step": "",
|
66 |
+
"prepend": "",
|
67 |
+
"append": ""
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"key": "field_5db1a62e3c379",
|
71 |
+
"label": "Select a Layout",
|
72 |
+
"name": "acfb_post_slider_layout",
|
73 |
+
"type": "button_group",
|
74 |
+
"instructions": "",
|
75 |
+
"required": 0,
|
76 |
+
"conditional_logic": 0,
|
77 |
+
"wrapper": {
|
78 |
+
"width": "",
|
79 |
+
"class": "",
|
80 |
+
"id": ""
|
81 |
+
},
|
82 |
+
"choices": {
|
83 |
+
"acfb_post_slider_tiled": "Tiled",
|
84 |
+
"acfb_post_slider_card": "Card"
|
85 |
+
},
|
86 |
+
"allow_null": 0,
|
87 |
+
"default_value": "acfb_post_slider_tiled",
|
88 |
+
"layout": "horizontal",
|
89 |
+
"return_format": "value"
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"key": "field_5db2e36714288",
|
93 |
+
"label": "Slides Per View",
|
94 |
+
"name": "acfb_post_slider_spv",
|
95 |
+
"type": "range",
|
96 |
+
"instructions": "",
|
97 |
+
"required": 0,
|
98 |
+
"conditional_logic": 0,
|
99 |
+
"wrapper": {
|
100 |
+
"width": "",
|
101 |
+
"class": "",
|
102 |
+
"id": ""
|
103 |
+
},
|
104 |
+
"default_value": 1,
|
105 |
+
"min": 1,
|
106 |
+
"max": 6,
|
107 |
+
"step": "",
|
108 |
+
"prepend": "",
|
109 |
+
"append": ""
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"key": "field_5db2e3a914289",
|
113 |
+
"label": "Gutter Space",
|
114 |
+
"name": "acfb_post_slider_gutter",
|
115 |
+
"type": "range",
|
116 |
+
"instructions": "",
|
117 |
+
"required": 0,
|
118 |
+
"conditional_logic": [
|
119 |
+
[
|
120 |
+
{
|
121 |
+
"field": "field_5db2e36714288",
|
122 |
+
"operator": ">",
|
123 |
+
"value": "1"
|
124 |
+
}
|
125 |
+
]
|
126 |
+
],
|
127 |
+
"wrapper": {
|
128 |
+
"width": "",
|
129 |
+
"class": "",
|
130 |
+
"id": ""
|
131 |
+
},
|
132 |
+
"default_value": 10,
|
133 |
+
"min": "",
|
134 |
+
"max": "",
|
135 |
+
"step": "",
|
136 |
+
"prepend": "",
|
137 |
+
"append": ""
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"key": "field_5db2e3d71428a",
|
141 |
+
"label": "Transition Effect",
|
142 |
+
"name": "acfb_post_slider_teffect",
|
143 |
+
"type": "select",
|
144 |
+
"instructions": "\"Fade\", \"Cube\" and \"3D Flip\" effects only works if the number of slides per view is set to 1.",
|
145 |
+
"required": 0,
|
146 |
+
"conditional_logic": 0,
|
147 |
+
"wrapper": {
|
148 |
+
"width": "",
|
149 |
+
"class": "",
|
150 |
+
"id": ""
|
151 |
+
},
|
152 |
+
"choices": {
|
153 |
+
"slide": "Slide",
|
154 |
+
"fade": "Fade",
|
155 |
+
"cube": "Cube",
|
156 |
+
"coverflow": "3D Coverflow",
|
157 |
+
"flip": "3D Flip"
|
158 |
+
},
|
159 |
+
"default_value": [
|
160 |
+
"slide"
|
161 |
+
],
|
162 |
+
"allow_null": 0,
|
163 |
+
"multiple": 0,
|
164 |
+
"ui": 0,
|
165 |
+
"return_format": "value",
|
166 |
+
"ajax": 0,
|
167 |
+
"placeholder": ""
|
168 |
+
},
|
169 |
+
{
|
170 |
+
"key": "field_5db2e4581428c",
|
171 |
+
"label": "Center Slide",
|
172 |
+
"name": "acfb_post_slider_centerslide",
|
173 |
+
"type": "true_false",
|
174 |
+
"instructions": "",
|
175 |
+
"required": 0,
|
176 |
+
"conditional_logic": [
|
177 |
+
[
|
178 |
+
{
|
179 |
+
"field": "field_5db2e36714288",
|
180 |
+
"operator": ">",
|
181 |
+
"value": "1"
|
182 |
+
}
|
183 |
+
]
|
184 |
+
],
|
185 |
+
"wrapper": {
|
186 |
+
"width": "",
|
187 |
+
"class": "",
|
188 |
+
"id": ""
|
189 |
+
},
|
190 |
+
"message": "",
|
191 |
+
"default_value": 0,
|
192 |
+
"ui": 1,
|
193 |
+
"ui_on_text": "",
|
194 |
+
"ui_off_text": ""
|
195 |
+
},
|
196 |
+
{
|
197 |
+
"key": "field_5db2e4131428b",
|
198 |
+
"label": "Autoplay",
|
199 |
+
"name": "acfb_post_slider_autoplay",
|
200 |
+
"type": "true_false",
|
201 |
+
"instructions": "",
|
202 |
+
"required": 0,
|
203 |
+
"conditional_logic": 0,
|
204 |
+
"wrapper": {
|
205 |
+
"width": "",
|
206 |
+
"class": "",
|
207 |
+
"id": ""
|
208 |
+
},
|
209 |
+
"message": "",
|
210 |
+
"default_value": 1,
|
211 |
+
"ui": 1,
|
212 |
+
"ui_on_text": "",
|
213 |
+
"ui_off_text": ""
|
214 |
+
},
|
215 |
+
{
|
216 |
+
"key": "field_5db2e4851428d",
|
217 |
+
"label": "Slide Delay (seconds)",
|
218 |
+
"name": "acfb_post_slider_delay",
|
219 |
+
"type": "range",
|
220 |
+
"instructions": "",
|
221 |
+
"required": 0,
|
222 |
+
"conditional_logic": [
|
223 |
+
[
|
224 |
+
{
|
225 |
+
"field": "field_5db2e4131428b",
|
226 |
+
"operator": "==",
|
227 |
+
"value": "1"
|
228 |
+
}
|
229 |
+
]
|
230 |
+
],
|
231 |
+
"wrapper": {
|
232 |
+
"width": "",
|
233 |
+
"class": "",
|
234 |
+
"id": ""
|
235 |
+
},
|
236 |
+
"default_value": 2,
|
237 |
+
"min": "",
|
238 |
+
"max": 10,
|
239 |
+
"step": 1,
|
240 |
+
"prepend": "",
|
241 |
+
"append": ""
|
242 |
+
},
|
243 |
+
{
|
244 |
+
"key": "field_5db2e50c14290",
|
245 |
+
"label": "Auto Height",
|
246 |
+
"name": "acfb_post_slider_autoheight",
|
247 |
+
"type": "true_false",
|
248 |
+
"instructions": "",
|
249 |
+
"required": 0,
|
250 |
+
"conditional_logic": 0,
|
251 |
+
"wrapper": {
|
252 |
+
"width": "",
|
253 |
+
"class": "",
|
254 |
+
"id": ""
|
255 |
+
},
|
256 |
+
"message": "",
|
257 |
+
"default_value": 0,
|
258 |
+
"ui": 1,
|
259 |
+
"ui_on_text": "",
|
260 |
+
"ui_off_text": ""
|
261 |
+
},
|
262 |
+
{
|
263 |
+
"key": "field_5db1a62e3cd3d",
|
264 |
+
"label": "Height",
|
265 |
+
"name": "acfb_post_slider_height",
|
266 |
+
"type": "range",
|
267 |
+
"instructions": "",
|
268 |
+
"required": 0,
|
269 |
+
"conditional_logic": [
|
270 |
+
[
|
271 |
+
{
|
272 |
+
"field": "field_5db2e50c14290",
|
273 |
+
"operator": "!=",
|
274 |
+
"value": "1"
|
275 |
+
}
|
276 |
+
]
|
277 |
+
],
|
278 |
+
"wrapper": {
|
279 |
+
"width": "",
|
280 |
+
"class": "",
|
281 |
+
"id": ""
|
282 |
+
},
|
283 |
+
"default_value": 250,
|
284 |
+
"min": "",
|
285 |
+
"max": 1000,
|
286 |
+
"step": "",
|
287 |
+
"prepend": "",
|
288 |
+
"append": "px"
|
289 |
+
},
|
290 |
+
{
|
291 |
+
"key": "field_5db2e4ce1428e",
|
292 |
+
"label": "Arrow Control",
|
293 |
+
"name": "acfb_post_slider_arrow",
|
294 |
+
"type": "true_false",
|
295 |
+
"instructions": "",
|
296 |
+
"required": 0,
|
297 |
+
"conditional_logic": 0,
|
298 |
+
"wrapper": {
|
299 |
+
"width": "",
|
300 |
+
"class": "",
|
301 |
+
"id": ""
|
302 |
+
},
|
303 |
+
"message": "",
|
304 |
+
"default_value": 1,
|
305 |
+
"ui": 1,
|
306 |
+
"ui_on_text": "",
|
307 |
+
"ui_off_text": ""
|
308 |
+
},
|
309 |
+
{
|
310 |
+
"key": "field_5db2e4e61428f",
|
311 |
+
"label": "Dot Control",
|
312 |
+
"name": "acfb_post_slider_dots",
|
313 |
+
"type": "true_false",
|
314 |
+
"instructions": "",
|
315 |
+
"required": 0,
|
316 |
+
"conditional_logic": 0,
|
317 |
+
"wrapper": {
|
318 |
+
"width": "",
|
319 |
+
"class": "",
|
320 |
+
"id": ""
|
321 |
+
},
|
322 |
+
"message": "",
|
323 |
+
"default_value": 1,
|
324 |
+
"ui": 1,
|
325 |
+
"ui_on_text": "",
|
326 |
+
"ui_off_text": ""
|
327 |
+
},
|
328 |
+
{
|
329 |
+
"key": "field_5db1a62e41199",
|
330 |
+
"label": "Top Elements",
|
331 |
+
"name": "",
|
332 |
+
"type": "accordion",
|
333 |
+
"instructions": "",
|
334 |
+
"required": 0,
|
335 |
+
"conditional_logic": 0,
|
336 |
+
"wrapper": {
|
337 |
+
"width": "",
|
338 |
+
"class": "",
|
339 |
+
"id": ""
|
340 |
+
},
|
341 |
+
"open": 0,
|
342 |
+
"multi_expand": 0,
|
343 |
+
"endpoint": 0
|
344 |
+
},
|
345 |
+
{
|
346 |
+
"key": "field_5db1a62e41b5d",
|
347 |
+
"label": "Top Elements Vertical Align",
|
348 |
+
"name": "acfb_post_slider_top_elements_v_align",
|
349 |
+
"type": "button_group",
|
350 |
+
"instructions": "",
|
351 |
+
"required": 0,
|
352 |
+
"conditional_logic": 0,
|
353 |
+
"wrapper": {
|
354 |
+
"width": "",
|
355 |
+
"class": "",
|
356 |
+
"id": ""
|
357 |
+
},
|
358 |
+
"choices": {
|
359 |
+
"flex-start": "Top",
|
360 |
+
"center": "Center",
|
361 |
+
"flex-end": "Bottom"
|
362 |
+
},
|
363 |
+
"allow_null": 0,
|
364 |
+
"default_value": "flex-start",
|
365 |
+
"layout": "horizontal",
|
366 |
+
"return_format": "value"
|
367 |
+
},
|
368 |
+
{
|
369 |
+
"key": "field_5db1a62e42521",
|
370 |
+
"label": "Top Elements Horizontal Align",
|
371 |
+
"name": "acfb_post_slider_top_elements_h_align",
|
372 |
+
"type": "button_group",
|
373 |
+
"instructions": "",
|
374 |
+
"required": 0,
|
375 |
+
"conditional_logic": 0,
|
376 |
+
"wrapper": {
|
377 |
+
"width": "",
|
378 |
+
"class": "",
|
379 |
+
"id": ""
|
380 |
+
},
|
381 |
+
"choices": {
|
382 |
+
"flex-start": "Left",
|
383 |
+
"center": "Center",
|
384 |
+
"flex-end": "Right"
|
385 |
+
},
|
386 |
+
"allow_null": 0,
|
387 |
+
"default_value": "flex-start",
|
388 |
+
"layout": "horizontal",
|
389 |
+
"return_format": "value"
|
390 |
+
},
|
391 |
+
{
|
392 |
+
"key": "field_5db1a62e42ee5",
|
393 |
+
"label": "Post Top Elements",
|
394 |
+
"name": "acfb_post_slider_top_elements",
|
395 |
+
"type": "flexible_content",
|
396 |
+
"instructions": "",
|
397 |
+
"required": 0,
|
398 |
+
"conditional_logic": 0,
|
399 |
+
"wrapper": {
|
400 |
+
"width": "",
|
401 |
+
"class": "",
|
402 |
+
"id": ""
|
403 |
+
},
|
404 |
+
"layouts": {
|
405 |
+
"layout_5db2f761749f5": {
|
406 |
+
"key": "layout_5db2f761749f5",
|
407 |
+
"name": "post_slider_image",
|
408 |
+
"label": "Image",
|
409 |
+
"display": "block",
|
410 |
+
"sub_fields": [],
|
411 |
+
"min": "1",
|
412 |
+
"max": "1"
|
413 |
+
},
|
414 |
+
"layout_5cd3e15f431ae": {
|
415 |
+
"key": "layout_5cd3e15f431ae",
|
416 |
+
"name": "post_slider_title",
|
417 |
+
"label": "Title",
|
418 |
+
"display": "block",
|
419 |
+
"sub_fields": [],
|
420 |
+
"min": "1",
|
421 |
+
"max": "1"
|
422 |
+
},
|
423 |
+
"layout_5cd40088e4c2e": {
|
424 |
+
"key": "layout_5cd40088e4c2e",
|
425 |
+
"name": "post_slider_meta_data",
|
426 |
+
"label": "Meta Data",
|
427 |
+
"display": "block",
|
428 |
+
"sub_fields": [],
|
429 |
+
"min": "1",
|
430 |
+
"max": "1"
|
431 |
+
},
|
432 |
+
"layout_5cd3e2cb3fc27": {
|
433 |
+
"key": "layout_5cd3e2cb3fc27",
|
434 |
+
"name": "post_slider_content",
|
435 |
+
"label": "Content",
|
436 |
+
"display": "block",
|
437 |
+
"sub_fields": [],
|
438 |
+
"min": "1",
|
439 |
+
"max": "1"
|
440 |
+
},
|
441 |
+
"layout_5cd3fc02f65a2": {
|
442 |
+
"key": "layout_5cd3fc02f65a2",
|
443 |
+
"name": "post_slider_read_more_button",
|
444 |
+
"label": "Post Read More Button",
|
445 |
+
"display": "block",
|
446 |
+
"sub_fields": [],
|
447 |
+
"min": "1",
|
448 |
+
"max": "1"
|
449 |
+
}
|
450 |
+
},
|
451 |
+
"button_label": "Add Post Element",
|
452 |
+
"min": "",
|
453 |
+
"max": ""
|
454 |
+
},
|
455 |
+
{
|
456 |
+
"key": "field_5db1a63038174",
|
457 |
+
"label": "Top Elements End",
|
458 |
+
"name": "",
|
459 |
+
"type": "accordion",
|
460 |
+
"instructions": "",
|
461 |
+
"required": 0,
|
462 |
+
"conditional_logic": 0,
|
463 |
+
"wrapper": {
|
464 |
+
"width": "",
|
465 |
+
"class": "",
|
466 |
+
"id": ""
|
467 |
+
},
|
468 |
+
"open": 0,
|
469 |
+
"multi_expand": 0,
|
470 |
+
"endpoint": 1
|
471 |
+
},
|
472 |
+
{
|
473 |
+
"key": "field_5db1a6304dd21",
|
474 |
+
"label": "Center Elements",
|
475 |
+
"name": "",
|
476 |
+
"type": "accordion",
|
477 |
+
"instructions": "",
|
478 |
+
"required": 0,
|
479 |
+
"conditional_logic": 0,
|
480 |
+
"wrapper": {
|
481 |
+
"width": "",
|
482 |
+
"class": "",
|
483 |
+
"id": ""
|
484 |
+
},
|
485 |
+
"open": 0,
|
486 |
+
"multi_expand": 0,
|
487 |
+
"endpoint": 0
|
488 |
+
},
|
489 |
+
{
|
490 |
+
"key": "field_5db1a63064486",
|
491 |
+
"label": "Center Elements Vertical Align",
|
492 |
+
"name": "acfb_post_slider_center_elements_v_align",
|
493 |
+
"type": "button_group",
|
494 |
+
"instructions": "",
|
495 |
+
"required": 0,
|
496 |
+
"conditional_logic": 0,
|
497 |
+
"wrapper": {
|
498 |
+
"width": "",
|
499 |
+
"class": "",
|
500 |
+
"id": ""
|
501 |
+
},
|
502 |
+
"choices": {
|
503 |
+
"flex-start": "Top",
|
504 |
+
"center": "Center",
|
505 |
+
"flex-end": "Bottom"
|
506 |
+
},
|
507 |
+
"allow_null": 0,
|
508 |
+
"default_value": "flex-start",
|
509 |
+
"layout": "horizontal",
|
510 |
+
"return_format": "value"
|
511 |
+
},
|
512 |
+
{
|
513 |
+
"key": "field_5db1a6318d121",
|
514 |
+
"label": "Center Elements Horizontal Align",
|
515 |
+
"name": "acfb_post_slider_center_elements_h_align",
|
516 |
+
"type": "button_group",
|
517 |
+
"instructions": "",
|
518 |
+
"required": 0,
|
519 |
+
"conditional_logic": 0,
|
520 |
+
"wrapper": {
|
521 |
+
"width": "",
|
522 |
+
"class": "",
|
523 |
+
"id": ""
|
524 |
+
},
|
525 |
+
"choices": {
|
526 |
+
"flex-start": "Left",
|
527 |
+
"center": "Center",
|
528 |
+
"flex-end": "Right"
|
529 |
+
},
|
530 |
+
"allow_null": 0,
|
531 |
+
"default_value": "flex-start",
|
532 |
+
"layout": "horizontal",
|
533 |
+
"return_format": "value"
|
534 |
+
},
|
535 |
+
{
|
536 |
+
"key": "field_5db1a631ac911",
|
537 |
+
"label": "Post Center Elements",
|
538 |
+
"name": "acfb_post_slider_center_elements",
|
539 |
+
"type": "flexible_content",
|
540 |
+
"instructions": "",
|
541 |
+
"required": 0,
|
542 |
+
"conditional_logic": 0,
|
543 |
+
"wrapper": {
|
544 |
+
"width": "",
|
545 |
+
"class": "",
|
546 |
+
"id": ""
|
547 |
+
},
|
548 |
+
"layouts": {
|
549 |
+
"layout_5db2f78f749f6": {
|
550 |
+
"key": "layout_5db2f78f749f6",
|
551 |
+
"name": "post_slider_image",
|
552 |
+
"label": "Image",
|
553 |
+
"display": "block",
|
554 |
+
"sub_fields": [],
|
555 |
+
"min": "1",
|
556 |
+
"max": "1"
|
557 |
+
},
|
558 |
+
"layout_5cd3e15f431ae": {
|
559 |
+
"key": "layout_5cd3e15f431ae",
|
560 |
+
"name": "post_slider_title",
|
561 |
+
"label": "Title",
|
562 |
+
"display": "block",
|
563 |
+
"sub_fields": [],
|
564 |
+
"min": "1",
|
565 |
+
"max": "1"
|
566 |
+
},
|
567 |
+
"layout_5cd40088e4c2e": {
|
568 |
+
"key": "layout_5cd40088e4c2e",
|
569 |
+
"name": "post_slider_meta_data",
|
570 |
+
"label": "Meta Data",
|
571 |
+
"display": "block",
|
572 |
+
"sub_fields": [],
|
573 |
+
"min": "1",
|
574 |
+
"max": "1"
|
575 |
+
},
|
576 |
+
"layout_5cd3e2cb3fc27": {
|
577 |
+
"key": "layout_5cd3e2cb3fc27",
|
578 |
+
"name": "post_slider_content",
|
579 |
+
"label": "Content",
|
580 |
+
"display": "block",
|
581 |
+
"sub_fields": [],
|
582 |
+
"min": "1",
|
583 |
+
"max": "1"
|
584 |
+
},
|
585 |
+
"layout_5cd3fc02f65a2": {
|
586 |
+
"key": "layout_5cd3fc02f65a2",
|
587 |
+
"name": "post_slider_read_more_button",
|
588 |
+
"label": "Post Read More Button",
|
589 |
+
"display": "block",
|
590 |
+
"sub_fields": [],
|
591 |
+
"min": "1",
|
592 |
+
"max": "1"
|
593 |
+
}
|
594 |
+
},
|
595 |
+
"button_label": "Add Post Element",
|
596 |
+
"min": "",
|
597 |
+
"max": ""
|
598 |
+
},
|
599 |
+
{
|
600 |
+
"key": "field_5db1a631dbb04",
|
601 |
+
"label": "Center Elements End",
|
602 |
+
"name": "",
|
603 |
+
"type": "accordion",
|
604 |
+
"instructions": "",
|
605 |
+
"required": 0,
|
606 |
+
"conditional_logic": 0,
|
607 |
+
"wrapper": {
|
608 |
+
"width": "",
|
609 |
+
"class": "",
|
610 |
+
"id": ""
|
611 |
+
},
|
612 |
+
"open": 0,
|
613 |
+
"multi_expand": 0,
|
614 |
+
"endpoint": 1
|
615 |
+
},
|
616 |
+
{
|
617 |
+
"key": "field_5db1a6320361a",
|
618 |
+
"label": "Bottom Elements",
|
619 |
+
"name": "",
|
620 |
+
"type": "accordion",
|
621 |
+
"instructions": "",
|
622 |
+
"required": 0,
|
623 |
+
"conditional_logic": 0,
|
624 |
+
"wrapper": {
|
625 |
+
"width": "",
|
626 |
+
"class": "",
|
627 |
+
"id": ""
|
628 |
+
},
|
629 |
+
"open": 0,
|
630 |
+
"multi_expand": 0,
|
631 |
+
"endpoint": 0
|
632 |
+
},
|
633 |
+
{
|
634 |
+
"key": "field_5db1a6321a167",
|
635 |
+
"label": "Bottom Elements Vertical Align",
|
636 |
+
"name": "acfb_post_slider_bottom_elements_v_align",
|
637 |
+
"type": "button_group",
|
638 |
+
"instructions": "",
|
639 |
+
"required": 0,
|
640 |
+
"conditional_logic": 0,
|
641 |
+
"wrapper": {
|
642 |
+
"width": "",
|
643 |
+
"class": "",
|
644 |
+
"id": ""
|
645 |
+
},
|
646 |
+
"choices": {
|
647 |
+
"flex-start": "Top",
|
648 |
+
"center": "Center",
|
649 |
+
"flex-end": "Bottom"
|
650 |
+
},
|
651 |
+
"allow_null": 0,
|
652 |
+
"default_value": "flex-start",
|
653 |
+
"layout": "horizontal",
|
654 |
+
"return_format": "value"
|
655 |
+
},
|
656 |
+
{
|
657 |
+
"key": "field_5db1a63232fdd",
|
658 |
+
"label": "Bottom Elements Horizontal Align",
|
659 |
+
"name": "acfb_post_slider_bottom_elements_h_align",
|
660 |
+
"type": "button_group",
|
661 |
+
"instructions": "",
|
662 |
+
"required": 0,
|
663 |
+
"conditional_logic": 0,
|
664 |
+
"wrapper": {
|
665 |
+
"width": "",
|
666 |
+
"class": "",
|
667 |
+
"id": ""
|
668 |
+
},
|
669 |
+
"choices": {
|
670 |
+
"flex-start": "Left",
|
671 |
+
"center": "Center",
|
672 |
+
"flex-end": "Right"
|
673 |
+
},
|
674 |
+
"allow_null": 0,
|
675 |
+
"default_value": "flex-start",
|
676 |
+
"layout": "horizontal",
|
677 |
+
"return_format": "value"
|
678 |
+
},
|
679 |
+
{
|
680 |
+
"key": "field_5db1a63246092",
|
681 |
+
"label": "Post Bottom Elements",
|
682 |
+
"name": "acfb_post_slider_bottom_elements",
|
683 |
+
"type": "flexible_content",
|
684 |
+
"instructions": "",
|
685 |
+
"required": 0,
|
686 |
+
"conditional_logic": 0,
|
687 |
+
"wrapper": {
|
688 |
+
"width": "",
|
689 |
+
"class": "",
|
690 |
+
"id": ""
|
691 |
+
},
|
692 |
+
"layouts": {
|
693 |
+
"layout_5db2f7a8749f7": {
|
694 |
+
"key": "layout_5db2f7a8749f7",
|
695 |
+
"name": "post_slider_image",
|
696 |
+
"label": "Image",
|
697 |
+
"display": "block",
|
698 |
+
"sub_fields": [],
|
699 |
+
"min": "1",
|
700 |
+
"max": "1"
|
701 |
+
},
|
702 |
+
"layout_5cd3e15f431ae": {
|
703 |
+
"key": "layout_5cd3e15f431ae",
|
704 |
+
"name": "post_slider_title",
|
705 |
+
"label": "Title",
|
706 |
+
"display": "block",
|
707 |
+
"sub_fields": [],
|
708 |
+
"min": "1",
|
709 |
+
"max": "1"
|
710 |
+
},
|
711 |
+
"layout_5cd40088e4c2e": {
|
712 |
+
"key": "layout_5cd40088e4c2e",
|
713 |
+
"name": "post_slider_meta_data",
|
714 |
+
"label": "Meta Data",
|
715 |
+
"display": "block",
|
716 |
+
"sub_fields": [],
|
717 |
+
"min": "1",
|
718 |
+
"max": "1"
|
719 |
+
},
|
720 |
+
"layout_5cd3e2cb3fc27": {
|
721 |
+
"key": "layout_5cd3e2cb3fc27",
|
722 |
+
"name": "post_slider_content",
|
723 |
+
"label": "Content",
|
724 |
+
"display": "block",
|
725 |
+
"sub_fields": [],
|
726 |
+
"min": "1",
|
727 |
+
"max": "1"
|
728 |
+
},
|
729 |
+
"layout_5cd3fc02f65a2": {
|
730 |
+
"key": "layout_5cd3fc02f65a2",
|
731 |
+
"name": "post_slider_read_more_button",
|
732 |
+
"label": "Post Read More Button",
|
733 |
+
"display": "block",
|
734 |
+
"sub_fields": [],
|
735 |
+
"min": "1",
|
736 |
+
"max": "1"
|
737 |
+
}
|
738 |
+
},
|
739 |
+
"button_label": "Add Post Element",
|
740 |
+
"min": "",
|
741 |
+
"max": ""
|
742 |
+
},
|
743 |
+
{
|
744 |
+
"key": "field_5db1a63263559",
|
745 |
+
"label": "Bottom Elements End",
|
746 |
+
"name": "",
|
747 |
+
"type": "accordion",
|
748 |
+
"instructions": "",
|
749 |
+
"required": 0,
|
750 |
+
"conditional_logic": 0,
|
751 |
+
"wrapper": {
|
752 |
+
"width": "",
|
753 |
+
"class": "",
|
754 |
+
"id": ""
|
755 |
+
},
|
756 |
+
"open": 0,
|
757 |
+
"multi_expand": 0,
|
758 |
+
"endpoint": 1
|
759 |
+
},
|
760 |
+
{
|
761 |
+
"key": "field_5db1a63280e07",
|
762 |
+
"label": "Title HTML Tag",
|
763 |
+
"name": "acfb_post_slider_title_html_tag",
|
764 |
+
"type": "button_group",
|
765 |
+
"instructions": "",
|
766 |
+
"required": 0,
|
767 |
+
"conditional_logic": 0,
|
768 |
+
"wrapper": {
|
769 |
+
"width": "",
|
770 |
+
"class": "",
|
771 |
+
"id": ""
|
772 |
+
},
|
773 |
+
"choices": {
|
774 |
+
"h1": "H1",
|
775 |
+
"h2": "H2",
|
776 |
+
"h3": "H3",
|
777 |
+
"h4": "H4",
|
778 |
+
"h5": "H5",
|
779 |
+
"h6": "H6"
|
780 |
+
},
|
781 |
+
"allow_null": 0,
|
782 |
+
"default_value": "h3",
|
783 |
+
"layout": "horizontal",
|
784 |
+
"return_format": "value"
|
785 |
+
},
|
786 |
+
{
|
787 |
+
"key": "field_5db1a63297955",
|
788 |
+
"label": "Number of Posts",
|
789 |
+
"name": "acfb_post_slider_grid_number_of_posts",
|
790 |
+
"type": "range",
|
791 |
+
"instructions": "",
|
792 |
+
"required": 0,
|
793 |
+
"conditional_logic": [
|
794 |
+
[
|
795 |
+
{
|
796 |
+
"field": "field_5db1a62e3c379",
|
797 |
+
"operator": "==",
|
798 |
+
"value": "slider_image"
|
799 |
+
}
|
800 |
+
]
|
801 |
+
],
|
802 |
+
"wrapper": {
|
803 |
+
"width": "",
|
804 |
+
"class": "",
|
805 |
+
"id": ""
|
806 |
+
},
|
807 |
+
"default_value": 2,
|
808 |
+
"min": 1,
|
809 |
+
"max": "",
|
810 |
+
"step": "",
|
811 |
+
"prepend": "",
|
812 |
+
"append": ""
|
813 |
+
},
|
814 |
+
{
|
815 |
+
"key": "field_5db1a632aaa09",
|
816 |
+
"label": "Columns",
|
817 |
+
"name": "acfb_posts_slider_columns",
|
818 |
+
"type": "range",
|
819 |
+
"instructions": "",
|
820 |
+
"required": 0,
|
821 |
+
"conditional_logic": [
|
822 |
+
[
|
823 |
+
{
|
824 |
+
"field": "field_5db1a62e3c379",
|
825 |
+
"operator": "==",
|
826 |
+
"value": "slider_image"
|
827 |
+
}
|
828 |
+
]
|
829 |
+
],
|
830 |
+
"wrapper": {
|
831 |
+
"width": "",
|
832 |
+
"class": "",
|
833 |
+
"id": ""
|
834 |
+
},
|
835 |
+
"default_value": 2,
|
836 |
+
"min": 2,
|
837 |
+
"max": 6,
|
838 |
+
"step": "",
|
839 |
+
"prepend": "",
|
840 |
+
"append": ""
|
841 |
+
},
|
842 |
+
{
|
843 |
+
"key": "field_5db1a632c210f",
|
844 |
+
"label": "Excerpt Length",
|
845 |
+
"name": "acfb_post_slider_excerpt_length",
|
846 |
+
"type": "number",
|
847 |
+
"instructions": "",
|
848 |
+
"required": 0,
|
849 |
+
"conditional_logic": 0,
|
850 |
+
"wrapper": {
|
851 |
+
"width": "",
|
852 |
+
"class": "",
|
853 |
+
"id": ""
|
854 |
+
},
|
855 |
+
"default_value": 20,
|
856 |
+
"placeholder": "",
|
857 |
+
"prepend": "",
|
858 |
+
"append": "",
|
859 |
+
"min": "",
|
860 |
+
"max": "",
|
861 |
+
"step": ""
|
862 |
+
},
|
863 |
+
{
|
864 |
+
"key": "field_5db1a632d51c3",
|
865 |
+
"label": "Design",
|
866 |
+
"name": "",
|
867 |
+
"type": "tab",
|
868 |
+
"instructions": "",
|
869 |
+
"required": 0,
|
870 |
+
"conditional_logic": 0,
|
871 |
+
"wrapper": {
|
872 |
+
"width": "",
|
873 |
+
"class": "",
|
874 |
+
"id": ""
|
875 |
+
},
|
876 |
+
"placement": "top",
|
877 |
+
"endpoint": 0
|
878 |
+
},
|
879 |
+
{
|
880 |
+
"key": "field_5db96dddfbbd2",
|
881 |
+
"label": "Overlay Color",
|
882 |
+
"name": "acfb_post_slider_tile_overlay_color",
|
883 |
+
"type": "color_picker",
|
884 |
+
"instructions": "",
|
885 |
+
"required": 0,
|
886 |
+
"conditional_logic": [
|
887 |
+
[
|
888 |
+
{
|
889 |
+
"field": "field_5db1a62e3c379",
|
890 |
+
"operator": "==",
|
891 |
+
"value": "acfb_post_slider_tiled"
|
892 |
+
}
|
893 |
+
]
|
894 |
+
],
|
895 |
+
"wrapper": {
|
896 |
+
"width": "",
|
897 |
+
"class": "",
|
898 |
+
"id": ""
|
899 |
+
},
|
900 |
+
"default_value": "#000000"
|
901 |
+
},
|
902 |
+
{
|
903 |
+
"key": "field_5df8b2dae0c6c",
|
904 |
+
"label": "Overlay Opacity",
|
905 |
+
"name": "acfb_post_slider_tile_overlay_opacity",
|
906 |
+
"type": "range",
|
907 |
+
"instructions": "",
|
908 |
+
"required": 0,
|
909 |
+
"conditional_logic": [
|
910 |
+
[
|
911 |
+
{
|
912 |
+
"field": "field_5db1a62e3c379",
|
913 |
+
"operator": "==",
|
914 |
+
"value": "acfb_post_slider_tiled"
|
915 |
+
}
|
916 |
+
]
|
917 |
+
],
|
918 |
+
"wrapper": {
|
919 |
+
"width": "",
|
920 |
+
"class": "",
|
921 |
+
"id": ""
|
922 |
+
},
|
923 |
+
"default_value": "0.5",
|
924 |
+
"min": "0.1",
|
925 |
+
"max": "0.9",
|
926 |
+
"step": "0.1",
|
927 |
+
"prepend": "",
|
928 |
+
"append": ""
|
929 |
+
},
|
930 |
+
{
|
931 |
+
"key": "field_5db2fa8d35ba4",
|
932 |
+
"label": "Background Color",
|
933 |
+
"name": "acfb_post_slider_bg_color",
|
934 |
+
"type": "color_picker",
|
935 |
+
"instructions": "",
|
936 |
+
"required": 0,
|
937 |
+
"conditional_logic": [
|
938 |
+
[
|
939 |
+
{
|
940 |
+
"field": "field_5db1a62e3c379",
|
941 |
+
"operator": "==",
|
942 |
+
"value": "acfb_post_slider_card"
|
943 |
+
}
|
944 |
+
]
|
945 |
+
],
|
946 |
+
"wrapper": {
|
947 |
+
"width": "",
|
948 |
+
"class": "",
|
949 |
+
"id": ""
|
950 |
+
},
|
951 |
+
"default_value": "#f3f4f5"
|
952 |
+
},
|
953 |
+
{
|
954 |
+
"key": "field_5db1a632ee421",
|
955 |
+
"label": "Title Custom Styles",
|
956 |
+
"name": "acfb_post_slider_title_custom_styles",
|
957 |
+
"type": "true_false",
|
958 |
+
"instructions": "",
|
959 |
+
"required": 0,
|
960 |
+
"conditional_logic": 0,
|
961 |
+
"wrapper": {
|
962 |
+
"width": "",
|
963 |
+
"class": "",
|
964 |
+
"id": ""
|
965 |
+
},
|
966 |
+
"message": "",
|
967 |
+
"default_value": 0,
|
968 |
+
"ui": 1,
|
969 |
+
"ui_on_text": "",
|
970 |
+
"ui_off_text": ""
|
971 |
+
},
|
972 |
+
{
|
973 |
+
"key": "field_5db1a633147c7",
|
974 |
+
"label": "Title Color",
|
975 |
+
"name": "acfb_post_slider_title_color",
|
976 |
+
"type": "color_picker",
|
977 |
+
"instructions": "",
|
978 |
+
"required": 0,
|
979 |
+
"conditional_logic": [
|
980 |
+
[
|
981 |
+
{
|
982 |
+
"field": "field_5db1a632ee421",
|
983 |
+
"operator": "==",
|
984 |
+
"value": "1"
|
985 |
+
}
|
986 |
+
]
|
987 |
+
],
|
988 |
+
"wrapper": {
|
989 |
+
"width": "",
|
990 |
+
"class": "",
|
991 |
+
"id": ""
|
992 |
+
},
|
993 |
+
"default_value": "#ffffff"
|
994 |
+
},
|
995 |
+
{
|
996 |
+
"key": "field_5db1a6332787c",
|
997 |
+
"label": "Title Hover Color",
|
998 |
+
"name": "acfb_post_slider_title_hover_color",
|
999 |
+
"type": "color_picker",
|
1000 |
+
"instructions": "",
|
1001 |
+
"required": 0,
|
1002 |
+
"conditional_logic": [
|
1003 |
+
[
|
1004 |
+
{
|
1005 |
+
"field": "field_5db1a632ee421",
|
1006 |
+
"operator": "==",
|
1007 |
+
"value": "1"
|
1008 |
+
}
|
1009 |
+
]
|
1010 |
+
],
|
1011 |
+
"wrapper": {
|
1012 |
+
"width": "",
|
1013 |
+
"class": "",
|
1014 |
+
"id": ""
|
1015 |
+
},
|
1016 |
+
"default_value": "#ffffff"
|
1017 |
+
},
|
1018 |
+
{
|
1019 |
+
"key": "field_5db1a6333d429",
|
1020 |
+
"label": "Title Size",
|
1021 |
+
"name": "acfb_post_slider_title_size",
|
1022 |
+
"type": "range",
|
1023 |
+
"instructions": "",
|
1024 |
+
"required": 0,
|
1025 |
+
"conditional_logic": [
|
1026 |
+
[
|
1027 |
+
{
|
1028 |
+
"field": "field_5db1a632ee421",
|
1029 |
+
"operator": "==",
|
1030 |
+
"value": "1"
|
1031 |
+
}
|
1032 |
+
]
|
1033 |
+
],
|
1034 |
+
"wrapper": {
|
1035 |
+
"width": "",
|
1036 |
+
"class": "",
|
1037 |
+
"id": ""
|
1038 |
+
},
|
1039 |
+
"default_value": 25,
|
1040 |
+
"min": "",
|
1041 |
+
"max": 100,
|
1042 |
+
"step": "",
|
1043 |
+
"prepend": "",
|
1044 |
+
"append": "px"
|
1045 |
+
},
|
1046 |
+
{
|
1047 |
+
"key": "field_5db1a633500f5",
|
1048 |
+
"label": "Meta Custom Styles",
|
1049 |
+
"name": "acfb_post_slider_meta_custom_styles",
|
1050 |
+
"type": "true_false",
|
1051 |
+
"instructions": "",
|
1052 |
+
"required": 0,
|
1053 |
+
"conditional_logic": 0,
|
1054 |
+
"wrapper": {
|
1055 |
+
"width": "",
|
1056 |
+
"class": "",
|
1057 |
+
"id": ""
|
1058 |
+
},
|
1059 |
+
"message": "",
|
1060 |
+
"default_value": 0,
|
1061 |
+
"ui": 1,
|
1062 |
+
"ui_on_text": "",
|
1063 |
+
"ui_off_text": ""
|
1064 |
+
},
|
1065 |
+
{
|
1066 |
+
"key": "field_5db1a63363592",
|
1067 |
+
"label": "Meta Color",
|
1068 |
+
"name": "acfb_post_slider_meta_color",
|
1069 |
+
"type": "color_picker",
|
1070 |
+
"instructions": "",
|
1071 |
+
"required": 0,
|
1072 |
+
"conditional_logic": [
|
1073 |
+
[
|
1074 |
+
{
|
1075 |
+
"field": "field_5db1a633500f5",
|
1076 |
+
"operator": "==",
|
1077 |
+
"value": "1"
|
1078 |
+
}
|
1079 |
+
]
|
1080 |
+
],
|
1081 |
+
"wrapper": {
|
1082 |
+
"width": "",
|
1083 |
+
"class": "",
|
1084 |
+
"id": ""
|
1085 |
+
},
|
1086 |
+
"default_value": "#ffffff"
|
1087 |
+
},
|
1088 |
+
{
|
1089 |
+
"key": "field_5db1a63389313",
|
1090 |
+
"label": "Meta Size",
|
1091 |
+
"name": "acfb_post_slider_meta_size",
|
1092 |
+
"type": "range",
|
1093 |
+
"instructions": "",
|
1094 |
+
"required": 0,
|
1095 |
+
"conditional_logic": [
|
1096 |
+
[
|
1097 |
+
{
|
1098 |
+
"field": "field_5db1a633500f5",
|
1099 |
+
"operator": "==",
|
1100 |
+
"value": "1"
|
1101 |
+
}
|
1102 |
+
]
|
1103 |
+
],
|
1104 |
+
"wrapper": {
|
1105 |
+
"width": "",
|
1106 |
+
"class": "",
|
1107 |
+
"id": ""
|
1108 |
+
},
|
1109 |
+
"default_value": 16,
|
1110 |
+
"min": "",
|
1111 |
+
"max": "",
|
1112 |
+
"step": "",
|
1113 |
+
"prepend": "",
|
1114 |
+
"append": "px"
|
1115 |
+
},
|
1116 |
+
{
|
1117 |
+
"key": "field_5db1a633b90be",
|
1118 |
+
"label": "Excerpt Custom Styles",
|
1119 |
+
"name": "acfb_post_slider_excerpt_custom_styles",
|
1120 |
+
"type": "true_false",
|
1121 |
+
"instructions": "",
|
1122 |
+
"required": 0,
|
1123 |
+
"conditional_logic": 0,
|
1124 |
+
"wrapper": {
|
1125 |
+
"width": "",
|
1126 |
+
"class": "",
|
1127 |
+
"id": ""
|
1128 |
+
},
|
1129 |
+
"message": "",
|
1130 |
+
"default_value": 0,
|
1131 |
+
"ui": 1,
|
1132 |
+
"ui_on_text": "",
|
1133 |
+
"ui_off_text": ""
|
1134 |
+
},
|
1135 |
+
{
|
1136 |
+
"key": "field_5db1a633d619d",
|
1137 |
+
"label": "Excerpt Color",
|
1138 |
+
"name": "acfb_post_slider_excerpt_color",
|
1139 |
+
"type": "color_picker",
|
1140 |
+
"instructions": "",
|
1141 |
+
"required": 0,
|
1142 |
+
"conditional_logic": [
|
1143 |
+
[
|
1144 |
+
{
|
1145 |
+
"field": "field_5db1a633b90be",
|
1146 |
+
"operator": "==",
|
1147 |
+
"value": "1"
|
1148 |
+
}
|
1149 |
+
]
|
1150 |
+
],
|
1151 |
+
"wrapper": {
|
1152 |
+
"width": "",
|
1153 |
+
"class": "",
|
1154 |
+
"id": ""
|
1155 |
+
},
|
1156 |
+
"default_value": "#ffffff"
|
1157 |
+
},
|
1158 |
+
{
|
1159 |
+
"key": "field_5db1a633eb962",
|
1160 |
+
"label": "Excerpt Size",
|
1161 |
+
"name": "acfb_post_slider_excerpt_size",
|
1162 |
+
"type": "range",
|
1163 |
+
"instructions": "",
|
1164 |
+
"required": 0,
|
1165 |
+
"conditional_logic": [
|
1166 |
+
[
|
1167 |
+
{
|
1168 |
+
"field": "field_5db1a633b90be",
|
1169 |
+
"operator": "==",
|
1170 |
+
"value": "1"
|
1171 |
+
}
|
1172 |
+
]
|
1173 |
+
],
|
1174 |
+
"wrapper": {
|
1175 |
+
"width": "",
|
1176 |
+
"class": "",
|
1177 |
+
"id": ""
|
1178 |
+
},
|
1179 |
+
"default_value": 17,
|
1180 |
+
"min": "",
|
1181 |
+
"max": "",
|
1182 |
+
"step": "",
|
1183 |
+
"prepend": "",
|
1184 |
+
"append": "px"
|
1185 |
+
},
|
1186 |
+
{
|
1187 |
+
"key": "field_5db1a6340a7d6",
|
1188 |
+
"label": "Button Custom Styles",
|
1189 |
+
"name": "acfb_post_slider_button_custom_styles",
|
1190 |
+
"type": "true_false",
|
1191 |
+
"instructions": "",
|
1192 |
+
"required": 0,
|
1193 |
+
"conditional_logic": 0,
|
1194 |
+
"wrapper": {
|
1195 |
+
"width": "",
|
1196 |
+
"class": "",
|
1197 |
+
"id": ""
|
1198 |
+
},
|
1199 |
+
"message": "",
|
1200 |
+
"default_value": 0,
|
1201 |
+
"ui": 1,
|
1202 |
+
"ui_on_text": "",
|
1203 |
+
"ui_off_text": ""
|
1204 |
+
},
|
1205 |
+
{
|
1206 |
+
"key": "field_5db1a6341d88b",
|
1207 |
+
"label": "Button Background Color",
|
1208 |
+
"name": "acfb_post_slider_button_background_color",
|
1209 |
+
"type": "color_picker",
|
1210 |
+
"instructions": "",
|
1211 |
+
"required": 0,
|
1212 |
+
"conditional_logic": [
|
1213 |
+
[
|
1214 |
+
{
|
1215 |
+
"field": "field_5db1a6340a7d6",
|
1216 |
+
"operator": "==",
|
1217 |
+
"value": "1"
|
1218 |
+
}
|
1219 |
+
]
|
1220 |
+
],
|
1221 |
+
"wrapper": {
|
1222 |
+
"width": "",
|
1223 |
+
"class": "",
|
1224 |
+
"id": ""
|
1225 |
+
},
|
1226 |
+
"default_value": "#191e23"
|
1227 |
+
},
|
1228 |
+
{
|
1229 |
+
"key": "field_5db1a63442a53",
|
1230 |
+
"label": "Button Text Color",
|
1231 |
+
"name": "acfb_post_slider_button_text_color",
|
1232 |
+
"type": "color_picker",
|
1233 |
+
"instructions": "",
|
1234 |
+
"required": 0,
|
1235 |
+
"conditional_logic": [
|
1236 |
+
[
|
1237 |
+
{
|
1238 |
+
"field": "field_5db1a6340a7d6",
|
1239 |
+
"operator": "==",
|
1240 |
+
"value": "1"
|
1241 |
+
}
|
1242 |
+
]
|
1243 |
+
],
|
1244 |
+
"wrapper": {
|
1245 |
+
"width": "",
|
1246 |
+
"class": "",
|
1247 |
+
"id": ""
|
1248 |
+
},
|
1249 |
+
"default_value": "#ffffff"
|
1250 |
+
},
|
1251 |
+
{
|
1252 |
+
"key": "field_5db1a63456aa8",
|
1253 |
+
"label": "Button Background Hover Color",
|
1254 |
+
"name": "acfb_post_slider_button_background_hover_color",
|
1255 |
+
"type": "color_picker",
|
1256 |
+
"instructions": "",
|
1257 |
+
"required": 0,
|
1258 |
+
"conditional_logic": [
|
1259 |
+
[
|
1260 |
+
{
|
1261 |
+
"field": "field_5db1a6340a7d6",
|
1262 |
+
"operator": "==",
|
1263 |
+
"value": "1"
|
1264 |
+
}
|
1265 |
+
]
|
1266 |
+
],
|
1267 |
+
"wrapper": {
|
1268 |
+
"width": "",
|
1269 |
+
"class": "",
|
1270 |
+
"id": ""
|
1271 |
+
},
|
1272 |
+
"default_value": "#191e23"
|
1273 |
+
},
|
1274 |
+
{
|
1275 |
+
"key": "field_5db1a6346c26d",
|
1276 |
+
"label": "Button Text Hover Color",
|
1277 |
+
"name": "acfb_post_slider_button_text_hover_color",
|
1278 |
+
"type": "color_picker",
|
1279 |
+
"instructions": "",
|
1280 |
+
"required": 0,
|
1281 |
+
"conditional_logic": [
|
1282 |
+
[
|
1283 |
+
{
|
1284 |
+
"field": "field_5db1a6340a7d6",
|
1285 |
+
"operator": "==",
|
1286 |
+
"value": "1"
|
1287 |
+
}
|
1288 |
+
]
|
1289 |
+
],
|
1290 |
+
"wrapper": {
|
1291 |
+
"width": "",
|
1292 |
+
"class": "",
|
1293 |
+
"id": ""
|
1294 |
+
},
|
1295 |
+
"default_value": "#ffffff"
|
1296 |
+
},
|
1297 |
+
{
|
1298 |
+
"key": "field_5db1a63481e1a",
|
1299 |
+
"label": "Button Size",
|
1300 |
+
"name": "acfb_post_slider_button_size",
|
1301 |
+
"type": "range",
|
1302 |
+
"instructions": "",
|
1303 |
+
"required": 0,
|
1304 |
+
"conditional_logic": [
|
1305 |
+
[
|
1306 |
+
{
|
1307 |
+
"field": "field_5db1a6340a7d6",
|
1308 |
+
"operator": "==",
|
1309 |
+
"value": "1"
|
1310 |
+
}
|
1311 |
+
]
|
1312 |
+
],
|
1313 |
+
"wrapper": {
|
1314 |
+
"width": "",
|
1315 |
+
"class": "",
|
1316 |
+
"id": ""
|
1317 |
+
},
|
1318 |
+
"default_value": 16,
|
1319 |
+
"min": "",
|
1320 |
+
"max": "",
|
1321 |
+
"step": "",
|
1322 |
+
"prepend": "",
|
1323 |
+
"append": "px"
|
1324 |
+
},
|
1325 |
+
{
|
1326 |
+
"key": "field_5db9784c05f35",
|
1327 |
+
"label": "Navigation Background Color",
|
1328 |
+
"name": "acfb_post_slider_navigation_background_color",
|
1329 |
+
"type": "color_picker",
|
1330 |
+
"instructions": "",
|
1331 |
+
"required": 0,
|
1332 |
+
"conditional_logic": 0,
|
1333 |
+
"wrapper": {
|
1334 |
+
"width": "",
|
1335 |
+
"class": "",
|
1336 |
+
"id": ""
|
1337 |
+
},
|
1338 |
+
"default_value": "#ffffff"
|
1339 |
+
},
|
1340 |
+
{
|
1341 |
+
"key": "field_5db978ad05f36",
|
1342 |
+
"label": "Navigation Color",
|
1343 |
+
"name": "acfb_post_slider_navigation_color",
|
1344 |
+
"type": "color_picker",
|
1345 |
+
"instructions": "",
|
1346 |
+
"required": 0,
|
1347 |
+
"conditional_logic": 0,
|
1348 |
+
"wrapper": {
|
1349 |
+
"width": "",
|
1350 |
+
"class": "",
|
1351 |
+
"id": ""
|
1352 |
+
},
|
1353 |
+
"default_value": "#191e23"
|
1354 |
+
},
|
1355 |
+
{
|
1356 |
+
"key": "field_5db978f505f37",
|
1357 |
+
"label": "Pagination Active Color",
|
1358 |
+
"name": "acfb_post_slider_pagination_active_color",
|
1359 |
+
"type": "color_picker",
|
1360 |
+
"instructions": "",
|
1361 |
+
"required": 0,
|
1362 |
+
"conditional_logic": 0,
|
1363 |
+
"wrapper": {
|
1364 |
+
"width": "",
|
1365 |
+
"class": "",
|
1366 |
+
"id": ""
|
1367 |
+
},
|
1368 |
+
"default_value": "#007aff"
|
1369 |
+
},
|
1370 |
+
{
|
1371 |
+
"key": "field_5db979a405f39",
|
1372 |
+
"label": "Pagination Unactive Color",
|
1373 |
+
"name": "acfb_post_slider_pagination_unactive_color_copy",
|
1374 |
+
"type": "color_picker",
|
1375 |
+
"instructions": "",
|
1376 |
+
"required": 0,
|
1377 |
+
"conditional_logic": 0,
|
1378 |
+
"wrapper": {
|
1379 |
+
"width": "",
|
1380 |
+
"class": "",
|
1381 |
+
"id": ""
|
1382 |
+
},
|
1383 |
+
"default_value": "#000000"
|
1384 |
+
}
|
1385 |
+
],
|
1386 |
+
"location": [
|
1387 |
+
[
|
1388 |
+
{
|
1389 |
+
"param": "block",
|
1390 |
+
"operator": "==",
|
1391 |
+
"value": "acf\/acfb-post-slider"
|
1392 |
+
}
|
1393 |
+
]
|
1394 |
+
],
|
1395 |
+
"menu_order": 0,
|
1396 |
+
"position": "normal",
|
1397 |
+
"style": "default",
|
1398 |
+
"label_placement": "top",
|
1399 |
+
"instruction_placement": "label",
|
1400 |
+
"hide_on_screen": "",
|
1401 |
+
"active": 1,
|
1402 |
+
"description": "",
|
1403 |
+
"modified": 1576579877
|
1404 |
+
}
|
acf-json/index.php
CHANGED
File without changes
|
admin/admin-styles.css
ADDED
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.settings_page_editorskit-getting-started #wpcontent {
|
2 |
+
padding-left: 0
|
3 |
+
}
|
4 |
+
|
5 |
+
.acfb-settings-wrap {
|
6 |
+
color: #111
|
7 |
+
}
|
8 |
+
|
9 |
+
.acfb-settings-wrap .components-panel {
|
10 |
+
min-height: 100vh
|
11 |
+
}
|
12 |
+
|
13 |
+
.acfb-settings-wrap .components-panel .components-panel__header {
|
14 |
+
border: 0;
|
15 |
+
padding: 0;
|
16 |
+
display: block;
|
17 |
+
height: auto
|
18 |
+
}
|
19 |
+
|
20 |
+
.acfb-settings-wrap .components-panel .components-panel__header h2 {
|
21 |
+
font-size: 45px;
|
22 |
+
line-height: 1;
|
23 |
+
font-weight: 300;
|
24 |
+
padding-bottom: 10px;
|
25 |
+
margin: 0;
|
26 |
+
text-align: center;
|
27 |
+
}
|
28 |
+
|
29 |
+
.acfb-settings-wrap .components-panel .components-panel__header code {
|
30 |
+
margin-left: 5px;
|
31 |
+
border-radius: 2px;
|
32 |
+
font-size: 11px;
|
33 |
+
font-weight: 400;
|
34 |
+
font-family: inherit;
|
35 |
+
background-color: #e5e5e5;
|
36 |
+
color: #000;
|
37 |
+
opacity: .7
|
38 |
+
}
|
39 |
+
|
40 |
+
.acfb-settings-wrap .components-panel .components-panel__header p {
|
41 |
+
color: #333;
|
42 |
+
font-size: 18px;
|
43 |
+
margin-bottom: 50px;
|
44 |
+
text-align: center;
|
45 |
+
width: 80%;
|
46 |
+
margin: 20px auto 40px auto;
|
47 |
+
}
|
48 |
+
|
49 |
+
.acfb-settings-wrap .components-panel .components-panel__header .acfb-panel__header-hint {
|
50 |
+
font-size: 12px;
|
51 |
+
opacity: .4;
|
52 |
+
margin: 0 0 40px;
|
53 |
+
padding: 0
|
54 |
+
}
|
55 |
+
|
56 |
+
.acfb-settings-wrap .components-panel .components-panel__header iframe{
|
57 |
+
display: block;
|
58 |
+
margin: auto;
|
59 |
+
}
|
60 |
+
|
61 |
+
.acfb-settings-wrap .components-panel .components-panel__body {
|
62 |
+
padding: 25px 50px 50px
|
63 |
+
}
|
64 |
+
|
65 |
+
.acfb_admin_call_to {
|
66 |
+
background: #ffffff;
|
67 |
+
margin: 50px;
|
68 |
+
padding: 50px;
|
69 |
+
font-size: 18px;
|
70 |
+
line-height: 1.5;
|
71 |
+
text-align: center;
|
72 |
+
color: #444
|
73 |
+
}
|
74 |
+
|
75 |
+
@media screen and (max-width:768px) {
|
76 |
+
.acfb_admin_call_to {
|
77 |
+
margin-left: 0;
|
78 |
+
margin-right: 0
|
79 |
+
}
|
80 |
+
}
|
81 |
+
|
82 |
+
|
83 |
+
.acfb_admin_button{
|
84 |
+
padding: 20px 30px;
|
85 |
+
background: #23282d;
|
86 |
+
color: white;
|
87 |
+
font-family: inherit;
|
88 |
+
text-decoration: none;
|
89 |
+
width: max-content;
|
90 |
+
margin: 20px auto 0 auto;
|
91 |
+
display: block;
|
92 |
+
font-size: 22px;
|
93 |
+
border-radius: 100px;
|
94 |
+
}
|
95 |
+
|
96 |
+
.acfb_admin_button:hover{
|
97 |
+
background: #1d2125;
|
98 |
+
color: white;
|
99 |
+
}
|
admin/class-acf-admin-page.php
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
class acfb_Settings_Page {
|
3 |
+
public function __construct() {
|
4 |
+
add_action( 'admin_menu', array( $this, 'acfb_settings' ), 10 );
|
5 |
+
}
|
6 |
+
public function acfb_settings() {
|
7 |
+
$page_title = 'Acf Blocks Dashboard';
|
8 |
+
$menu_title = 'Acf Blocks';
|
9 |
+
$capability = 'manage_options';
|
10 |
+
$slug = 'acf-blocks';
|
11 |
+
$callback = array($this, 'acfb_settings_content');
|
12 |
+
$icon_url = 'dashicons-admin-plugins';
|
13 |
+
add_menu_page($page_title, $menu_title, $capability, $slug, $callback, $icon_url);
|
14 |
+
}
|
15 |
+
public function acfb_settings_content() {
|
16 |
+
?>
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
<div class="acfb-settings-wrap">
|
21 |
+
<div class="components-panel">
|
22 |
+
<div class="components-panel__body is-opened">
|
23 |
+
<div class="components-panel__header">
|
24 |
+
<h2>Getting Started with <strong>AcfBlocks</strong><code>1.7.0</code></h2>
|
25 |
+
<p>Congratulations! You've just added awesome Gutenberg blocks. Check more information about the plugin below. ACF Blocks is built on top of ACF Pro, please make sure you have ACF Pro plugin installed & activated to use ACF Blocks Free.</p>
|
26 |
+
<iframe width="650" height="380" src="https://www.youtube.com/embed/zupr0fl_qAw" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
27 |
+
<?php if(acfb_fs()->is_free_plan()){ ?>
|
28 |
+
<a href="<?php menu_page_url('acf-blocks-pricing'); ?>" class="acfb_admin_button">Upgrade To Pro</a>
|
29 |
+
<?php } ?>
|
30 |
+
<div class="acfb_admin_call_to">
|
31 |
+
<div>If you have any questions or suggestion, let us know through <a href="https://twitter.com/acfwpblocks" target="_blank">Twitter</a> or our <a href="https://www.facebook.com/acfwpblocks/" target="_blank">Facebook community </a>. Also, <a href="https://acfblocks.com/subscribe" target="_blank">subscribe to our newsletter</a> if you want to stay up to date with what's new and upcoming at AcfBlocks.
|
32 |
+
<br>
|
33 |
+
<br>
|
34 |
+
<span style="text-align: left;">For bug reporting please use the contact form <a href="<?php menu_page_url('acf-blocks-contact'); ?>">here</a>.</span>
|
35 |
+
</div>
|
36 |
+
</div>
|
37 |
+
</div>
|
38 |
+
</div>
|
39 |
+
</div>
|
40 |
+
</div>
|
41 |
+
|
42 |
+
|
43 |
+
<?php
|
44 |
+
}
|
45 |
+
|
46 |
+
}
|
47 |
+
new acfb_Settings_Page();
|
block-templates/{accordion.php → free/acfb-accordion.php}
RENAMED
File without changes
|
block-templates/{click-to-tweet.php → free/acfb-clicktotweet.php}
RENAMED
File without changes
|
block-templates/{counter-number.php → free/acfb-counternumber.php}
RENAMED
File without changes
|
block-templates/{image-slider.php → free/acfb-image-slider.php}
RENAMED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
$uid = $block['id'];
|
3 |
$acfb_slider_images = get_field('acfb_slider_images');
|
4 |
-
$acfb_slide_placeholder =
|
5 |
|
6 |
$className = 'acfb_slider_block';
|
7 |
if( !empty($block['className']) ) {
|
1 |
<?php
|
2 |
$uid = $block['id'];
|
3 |
$acfb_slider_images = get_field('acfb_slider_images');
|
4 |
+
$acfb_slide_placeholder = plugins_url() . '/acf-blocks/img/placeholder-image.jpg';
|
5 |
|
6 |
$className = 'acfb_slider_block';
|
7 |
if( !empty($block['className']) ) {
|
block-templates/{multi-buttons.php → free/acfb-multibuttons.php}
RENAMED
@@ -12,8 +12,14 @@ if( !empty($block['align']) ) {
|
|
12 |
?>
|
13 |
<div class="<?php echo $uid; ?> <?php echo esc_attr($className); ?>">
|
14 |
<style type="text/css">
|
|
|
|
|
|
|
|
|
15 |
.<?php echo $uid; ?> .acfb_multibuttons_wrap .acfb_button{
|
16 |
font-size: <?php the_field('acfb_multibutton_text_size'); ?>px;
|
|
|
|
|
17 |
}
|
18 |
</style>
|
19 |
|
@@ -35,7 +41,6 @@ if( have_rows('acfb_multi_buttons') ):
|
|
35 |
|
36 |
</style>
|
37 |
|
38 |
-
|
39 |
<a href="<?php the_sub_field('acfb_multibutton_url'); ?>" class="acfb_button acfb_order_<?php echo get_row_index(); ?>">
|
40 |
<?php the_sub_field('acfb_multibutton_text'); ?>
|
41 |
</a>
|
@@ -46,6 +51,4 @@ endif;
|
|
46 |
?>
|
47 |
|
48 |
</div>
|
49 |
-
|
50 |
-
|
51 |
</div><!-- Uid -->
|
12 |
?>
|
13 |
<div class="<?php echo $uid; ?> <?php echo esc_attr($className); ?>">
|
14 |
<style type="text/css">
|
15 |
+
.<?php echo $uid; ?> .acfb_multibuttons_wrap {
|
16 |
+
justify-content: <?php the_field('acfb_multibutton_alignment'); ?>;
|
17 |
+
}
|
18 |
+
|
19 |
.<?php echo $uid; ?> .acfb_multibuttons_wrap .acfb_button{
|
20 |
font-size: <?php the_field('acfb_multibutton_text_size'); ?>px;
|
21 |
+
border-radius: <?php the_field('acfb_multibutton_border_radius'); ?>px;
|
22 |
+
margin-right: <?php the_field('acfb_multibutton_gutter_space'); ?>px;
|
23 |
}
|
24 |
</style>
|
25 |
|
41 |
|
42 |
</style>
|
43 |
|
|
|
44 |
<a href="<?php the_sub_field('acfb_multibutton_url'); ?>" class="acfb_button acfb_order_<?php echo get_row_index(); ?>">
|
45 |
<?php the_sub_field('acfb_multibutton_text'); ?>
|
46 |
</a>
|
51 |
?>
|
52 |
|
53 |
</div>
|
|
|
|
|
54 |
</div><!-- Uid -->
|
block-templates/{photo-collage.php → free/acfb-photocollage.php}
RENAMED
@@ -19,25 +19,25 @@ $images3 = null;
|
|
19 |
if($images_field){
|
20 |
$images0 = $images_field['0']['url'];
|
21 |
} else{
|
22 |
-
$images0 =
|
23 |
}
|
24 |
|
25 |
if ( $images_field && count($images_field) > 1 ) {
|
26 |
$images1 = $images_field['1']['url'];
|
27 |
} else{
|
28 |
-
$images1 =
|
29 |
}
|
30 |
|
31 |
if ( $images_field && count($images_field) > 2 ) {
|
32 |
$images2 = $images_field['2']['url'];
|
33 |
} else{
|
34 |
-
$images2 =
|
35 |
}
|
36 |
|
37 |
if ( $images_field && count($images_field) > 3 ) {
|
38 |
$images3 = $images_field['3']['url'];
|
39 |
} else{
|
40 |
-
$images3 =
|
41 |
}
|
42 |
|
43 |
?>
|
19 |
if($images_field){
|
20 |
$images0 = $images_field['0']['url'];
|
21 |
} else{
|
22 |
+
$images0 = plugins_url() . '/acf-blocks/img/placeholder-image.jpg';
|
23 |
}
|
24 |
|
25 |
if ( $images_field && count($images_field) > 1 ) {
|
26 |
$images1 = $images_field['1']['url'];
|
27 |
} else{
|
28 |
+
$images1 = plugins_url() . '/acf-blocks/img/placeholder-image.jpg';
|
29 |
}
|
30 |
|
31 |
if ( $images_field && count($images_field) > 2 ) {
|
32 |
$images2 = $images_field['2']['url'];
|
33 |
} else{
|
34 |
+
$images2 = plugins_url() . '/acf-blocks/img/placeholder-image.jpg';
|
35 |
}
|
36 |
|
37 |
if ( $images_field && count($images_field) > 3 ) {
|
38 |
$images3 = $images_field['3']['url'];
|
39 |
} else{
|
40 |
+
$images3 = plugins_url() . '/acf-blocks/img/placeholder-image.jpg';
|
41 |
}
|
42 |
|
43 |
?>
|
block-templates/{posts.php → free/acfb-posts.php}
RENAMED
@@ -112,16 +112,96 @@ $the_query = new WP_Query( $args ); ?>
|
|
112 |
<div class="acfb_post <?php echo $acfb_thumb; ?>">
|
113 |
|
114 |
<?php
|
115 |
-
if($acfb_posts_layout == 'list'){
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
|
126 |
</div>
|
127 |
<?php endwhile; ?>
|
@@ -134,6 +214,4 @@ $the_query = new WP_Query( $args ); ?>
|
|
134 |
<p><?php esc_html_e( 'Sorry, no posts matched your criteria.' ); ?></p>
|
135 |
<?php endif; ?>
|
136 |
|
137 |
-
|
138 |
-
|
139 |
</div><!-- Uid -->
|
112 |
<div class="acfb_post <?php echo $acfb_thumb; ?>">
|
113 |
|
114 |
<?php
|
115 |
+
if($acfb_posts_layout == 'list'){ ?>
|
116 |
+
|
117 |
+
<!-- List -->
|
118 |
+
<div class="acfb_post_list_thumbnail">
|
119 |
+
<?php the_post_thumbnail(); ?>
|
120 |
+
</div>
|
121 |
+
<div class="acfb_post_list_content">
|
122 |
+
<?php
|
123 |
+
if( have_rows('acfb_post_list_elements') ):
|
124 |
+
|
125 |
+
while ( have_rows('acfb_post_list_elements') ) : the_row(); ?>
|
126 |
+
|
127 |
+
<?php if( get_row_layout() == 'post_list_title' ): ?>
|
128 |
+
<div class="acfb_post_title">
|
129 |
+
<<?php echo $acfb_post_title_html_tag; ?>><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></<?php echo $acfb_post_title_html_tag; ?>>
|
130 |
+
</div>
|
131 |
+
<?php endif; ?>
|
132 |
+
|
133 |
+
<?php if( get_row_layout() == 'post_list_meta_data' ): ?>
|
134 |
+
<div class="acfb_post_meta">
|
135 |
+
<span class="acfb_post_author"><?php the_author(); ?></span> -
|
136 |
+
<span class="acfb_post_date"><?php the_time('F jS, Y') ?></span>
|
137 |
+
</div>
|
138 |
+
<?php endif; ?>
|
139 |
+
|
140 |
+
<?php if( get_row_layout() == 'post_list_content' ): ?>
|
141 |
+
<div class="acfb_post_excerpt">
|
142 |
+
<?php echo acfb_excerpt($acfb_post_excerpt_length); ?>
|
143 |
+
</div>
|
144 |
+
<?php endif; ?>
|
145 |
+
|
146 |
+
<?php if( get_row_layout() == 'post_list_read_more_button' ): ?>
|
147 |
+
<div class="acfb_post_button">
|
148 |
+
<a href="<?php the_permalink(); ?>" class="acfb_post_btn">Read More</a>
|
149 |
+
</div>
|
150 |
+
<?php endif; ?>
|
151 |
+
|
152 |
+
|
153 |
+
<?php
|
154 |
+
endwhile;
|
155 |
+
endif;
|
156 |
+
?>
|
157 |
+
</div>
|
158 |
+
|
159 |
+
<?php } elseif ($acfb_posts_layout == 'grid') { ?>
|
160 |
+
|
161 |
+
<!-- Grid -->
|
162 |
+
<?php
|
163 |
+
if( have_rows('acfb_post_grid_elements') ):
|
164 |
+
|
165 |
+
while ( have_rows('acfb_post_grid_elements') ) : the_row(); ?>
|
166 |
+
|
167 |
+
<?php if( get_row_layout() == 'post_grid_image' ): ?>
|
168 |
+
<div class="acfb_post_thumbnail">
|
169 |
+
<?php the_post_thumbnail(); ?>
|
170 |
+
</div>
|
171 |
+
<?php endif; ?>
|
172 |
+
|
173 |
+
<?php if( get_row_layout() == 'post_grid_title' ): ?>
|
174 |
+
<div class="acfb_post_title">
|
175 |
+
<<?php echo $acfb_post_title_html_tag; ?>><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></<?php echo $acfb_post_title_html_tag; ?>>
|
176 |
+
</div>
|
177 |
+
<?php endif; ?>
|
178 |
+
|
179 |
+
<?php if( get_row_layout() == 'post_grid_meta_data' ): ?>
|
180 |
+
<div class="acfb_post_meta">
|
181 |
+
<span class="acfb_post_author"><?php the_author(); ?></span> -
|
182 |
+
<span class="acfb_post_date"><?php the_time('F jS, Y') ?></span>
|
183 |
+
</div>
|
184 |
+
<?php endif; ?>
|
185 |
+
|
186 |
+
<?php if( get_row_layout() == 'post_grid_content' ): ?>
|
187 |
+
<div class="acfb_post_excerpt">
|
188 |
+
<?php echo acfb_excerpt($acfb_post_excerpt_length); ?>
|
189 |
+
</div>
|
190 |
+
<?php endif; ?>
|
191 |
+
|
192 |
+
<?php if( get_row_layout() == 'post_grid_read_more_button' ): ?>
|
193 |
+
<div class="acfb_post_button">
|
194 |
+
<a href="<?php the_permalink(); ?>" class="acfb_post_btn">Read More</a>
|
195 |
+
</div>
|
196 |
+
<?php endif; ?>
|
197 |
+
|
198 |
+
|
199 |
+
<?php
|
200 |
+
endwhile;
|
201 |
+
endif;
|
202 |
+
?>
|
203 |
+
|
204 |
+
<?php } ?>
|
205 |
|
206 |
</div>
|
207 |
<?php endwhile; ?>
|
214 |
<p><?php esc_html_e( 'Sorry, no posts matched your criteria.' ); ?></p>
|
215 |
<?php endif; ?>
|
216 |
|
|
|
|
|
217 |
</div><!-- Uid -->
|
block-templates/{price-list.php → free/acfb-pricelist.php}
RENAMED
@@ -12,6 +12,43 @@ if( !empty($block['align']) ) {
|
|
12 |
?>
|
13 |
<div class="<?php echo $uid; ?> <?php echo esc_attr($className); ?>">
|
14 |
<style type="text/css">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
.<?php echo $uid; ?> .acfb_price_list_wrap .acfb_price_list_item .acfb_price_list_text .acfb_price_list_header{
|
17 |
color: <?php the_field('acfb_price_list_title_&_price_color'); ?>;
|
@@ -36,7 +73,7 @@ if( !empty($block['align']) ) {
|
|
36 |
<?php
|
37 |
$acfb_image = '';
|
38 |
if(!get_field('acfb_price_list_image')){
|
39 |
-
$acfb_image =
|
40 |
} else{
|
41 |
$acfb_image = get_field('acfb_price_list_image');
|
42 |
}
|
12 |
?>
|
13 |
<div class="<?php echo $uid; ?> <?php echo esc_attr($className); ?>">
|
14 |
<style type="text/css">
|
15 |
+
<?php if(get_field('acfb_price_list_image_position') == 'acfb_price_list_image_top'): ?>
|
16 |
+
.<?php echo $uid; ?> .acfb_price_list_wrap .acfb_price_list_item{
|
17 |
+
grid-template-areas: 'acfbPli' 'acfbPlt';
|
18 |
+
}
|
19 |
+
|
20 |
+
.<?php echo $uid; ?> .acfb_price_list_wrap .acfb_price_list_item .acfb_price_list_text{
|
21 |
+
margin-top: 10px;
|
22 |
+
}
|
23 |
+
|
24 |
+
.<?php echo $uid; ?> .acfb_price_list_wrap .acfb_price_list_item .acfb_price_list_text .acfb_price_list_header{
|
25 |
+
grid-template-areas: 'acfbPlTitle acfbPlSep acfbPlPrice';
|
26 |
+
}
|
27 |
+
|
28 |
+
<?php elseif(get_field('acfb_price_list_image_position') == 'acfb_price_list_image_left'): ?>
|
29 |
+
.<?php echo $uid; ?> .acfb_price_list_wrap .acfb_price_list_item{
|
30 |
+
grid-template-columns: 20% auto;
|
31 |
+
grid-template-areas: 'acfbPli acfbPlt';
|
32 |
+
}
|
33 |
+
|
34 |
+
.<?php echo $uid; ?> .acfb_price_list_wrap .acfb_price_list_item .acfb_price_list_text .acfb_price_list_header{
|
35 |
+
grid-template-areas: 'acfbPlTitle acfbPlSep acfbPlPrice';
|
36 |
+
}
|
37 |
+
|
38 |
+
<?php elseif(get_field('acfb_price_list_image_position') == 'acfb_price_list_image_right'): ?>
|
39 |
+
.<?php echo $uid; ?> .acfb_price_list_wrap .acfb_price_list_item{
|
40 |
+
grid-template-columns: auto 20%;
|
41 |
+
grid-template-areas: 'acfbPlt acfbPli';
|
42 |
+
}
|
43 |
+
|
44 |
+
.<?php echo $uid; ?> .acfb_price_list_wrap .acfb_price_list_item .acfb_price_list_text .acfb_price_list_header{
|
45 |
+
grid-template-areas: 'acfbPlPrice acfbPlSep acfbPlTitle';
|
46 |
+
}
|
47 |
+
|
48 |
+
.<?php echo $uid; ?> .acfb_price_list_wrap .acfb_price_list_item .acfb_price_list_text{
|
49 |
+
text-align: right;
|
50 |
+
}
|
51 |
+
<?php endif; ?>
|
52 |
|
53 |
.<?php echo $uid; ?> .acfb_price_list_wrap .acfb_price_list_item .acfb_price_list_text .acfb_price_list_header{
|
54 |
color: <?php the_field('acfb_price_list_title_&_price_color'); ?>;
|
73 |
<?php
|
74 |
$acfb_image = '';
|
75 |
if(!get_field('acfb_price_list_image')){
|
76 |
+
$acfb_image = plugins_url() . '/acf-blocks/img/placeholder-image.jpg';
|
77 |
} else{
|
78 |
$acfb_image = get_field('acfb_price_list_image');
|
79 |
}
|
block-templates/{pricing-box.php → free/acfb-pricingbox.php}
RENAMED
@@ -62,31 +62,51 @@ if( !empty($block['align']) ) {
|
|
62 |
}
|
63 |
</style>
|
64 |
|
65 |
-
|
66 |
-
<?php
|
67 |
-
$acfb_image = '';
|
68 |
-
if(!get_field('acfb_pricingbox_image')){
|
69 |
-
$acfb_image = plugin_dir_url( __FILE__ ) . '../img/placeholder-image.jpg';
|
70 |
-
} else{
|
71 |
-
$acfb_image = get_field('acfb_pricingbox_image');
|
72 |
-
}
|
73 |
-
?>
|
74 |
-
|
75 |
<div class="acfb_pricing_table_wrap">
|
76 |
-
|
77 |
-
|
78 |
-
<
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
<div class="
|
87 |
-
|
88 |
-
|
89 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
|
91 |
</div>
|
92 |
|
62 |
}
|
63 |
</style>
|
64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
<div class="acfb_pricing_table_wrap">
|
66 |
+
|
67 |
+
<?php if(get_field('acfb_pricingbox_image')): ?>
|
68 |
+
<img src="<?php the_field('acfb_pricingbox_image'); ?>" alt="<?php the_field('acfb_pricingbox_image_alt'); ?>" class="acfb_pricing_table_imgicon">
|
69 |
+
<?php endif; ?>
|
70 |
+
|
71 |
+
<?php if(get_field('acfb_pricingbox_title')): ?>
|
72 |
+
<h3 class="acfb_pricing_box_title"><?php the_field('acfb_pricingbox_title'); ?></h3>
|
73 |
+
<?php endif; ?>
|
74 |
+
|
75 |
+
<?php if(get_field('acfb_pricingbox_price_prefix') || get_field('acfb_pricingbox_price') || get_field('acfb_pricingbox_price_suffix') || get_field('acfb_pricingbox_sub_text') ): ?>
|
76 |
+
<div class="acfb_pricing_box_price_wrapper">
|
77 |
+
|
78 |
+
<?php if(get_field('acfb_pricingbox_price_prefix') || get_field('acfb_pricingbox_price') || get_field('acfb_pricingbox_price_suffix')): ?>
|
79 |
+
<div class="acfb_pricing_box_price_line">
|
80 |
+
<?php if(get_field('acfb_pricingbox_price_prefix')): ?>
|
81 |
+
<span class="acfb_pricing_box_price_prefix"><?php the_field('acfb_pricingbox_price_prefix'); ?></span>
|
82 |
+
<?php endif; ?>
|
83 |
+
|
84 |
+
<?php if(get_field('acfb_pricingbox_price')): ?>
|
85 |
+
<span class="acfb_pricing_box_price"><?php the_field('acfb_pricingbox_price'); ?></span>
|
86 |
+
<?php endif; ?>
|
87 |
+
|
88 |
+
<?php if(get_field('acfb_pricingbox_price_suffix')): ?>
|
89 |
+
<span class="acfb_pricing_box_price_suffix"><?php the_field('acfb_pricingbox_price_suffix'); ?></span>
|
90 |
+
<?php endif; ?>
|
91 |
+
</div>
|
92 |
+
<?php endif; ?>
|
93 |
+
|
94 |
+
<?php if(get_field('acfb_pricingbox_sub_text')): ?>
|
95 |
+
<span class="acfb_pricing_box_subprice"><?php the_field('acfb_pricingbox_sub_text'); ?></span>
|
96 |
+
<?php endif; ?>
|
97 |
+
</div>
|
98 |
+
|
99 |
+
<?php endif; ?>
|
100 |
+
|
101 |
+
<?php if(get_field('acfb_pricingbox_description')): ?>
|
102 |
+
<p class="acfb_pricing_box_description"><?php the_field('acfb_pricingbox_description'); ?></p>
|
103 |
+
<?php endif; ?>
|
104 |
+
|
105 |
+
<?php if(get_field('acfb_pricingbox_button_text')): ?>
|
106 |
+
<div class="acfb_pricing_box_button">
|
107 |
+
<a href="<?php the_field('acfb_pricingbox_button_url'); ?>"><?php the_field('acfb_pricingbox_button_text'); ?></a>
|
108 |
+
</div>
|
109 |
+
<?php endif; ?>
|
110 |
|
111 |
</div>
|
112 |
|
block-templates/{progress-bar.php → free/acfb-progressbar.php}
RENAMED
File without changes
|
block-templates/{scrollable-image.php → free/acfb-scrollable-image.php}
RENAMED
@@ -24,12 +24,12 @@ if( !empty($block['align']) ) {
|
|
24 |
<?php
|
25 |
$acfb_image = '';
|
26 |
if(!get_field('acfb_scrollable_image')){
|
27 |
-
$acfb_image =
|
28 |
} else{
|
29 |
$acfb_image = get_field('acfb_scrollable_image');
|
30 |
}
|
31 |
?>
|
32 |
|
33 |
-
<div class="acfb_scrollable_image" style="background-image: url('<?php echo $acfb_image; ?>')"></div>
|
34 |
|
35 |
</div><!-- Uid -->
|
24 |
<?php
|
25 |
$acfb_image = '';
|
26 |
if(!get_field('acfb_scrollable_image')){
|
27 |
+
$acfb_image = plugins_url() . '/acf-blocks/img/placeholder-vertical.jpg';
|
28 |
} else{
|
29 |
$acfb_image = get_field('acfb_scrollable_image');
|
30 |
}
|
31 |
?>
|
32 |
|
33 |
+
<div class="acfb_scrollable_image" style="background-image: url('<?php echo $acfb_image; ?>')"></div>
|
34 |
|
35 |
</div><!-- Uid -->
|
block-templates/{social-sharing.php → free/acfb-socialsharing.php}
RENAMED
File without changes
|
block-templates/{star-rating.php → free/acfb-starrating.php}
RENAMED
@@ -12,6 +12,10 @@ if( !empty($block['align']) ) {
|
|
12 |
?>
|
13 |
<div class="<?php echo $uid; ?> <?php echo esc_attr($className); ?>">
|
14 |
<style type="text/css">
|
|
|
|
|
|
|
|
|
15 |
.<?php echo $uid; ?> .acfb_star_rating .acfb_before{
|
16 |
font-size: <?php the_field('acfb_rating_before_text_size'); ?>px;
|
17 |
color: <?php the_field('acfb_rating_before_text_color'); ?>;
|
12 |
?>
|
13 |
<div class="<?php echo $uid; ?> <?php echo esc_attr($className); ?>">
|
14 |
<style type="text/css">
|
15 |
+
.<?php echo $uid; ?> .acfb_star_rating{
|
16 |
+
justify-content: <?php the_field('acfb_rating_alignment'); ?>;
|
17 |
+
}
|
18 |
+
|
19 |
.<?php echo $uid; ?> .acfb_star_rating .acfb_before{
|
20 |
font-size: <?php the_field('acfb_rating_before_text_size'); ?>px;
|
21 |
color: <?php the_field('acfb_rating_before_text_color'); ?>;
|
block-templates/{tabs.php → free/acfb-tabs.php}
RENAMED
File without changes
|
block-templates/{team.php → free/acfb-team.php}
RENAMED
@@ -15,11 +15,40 @@ if( !empty($block['align']) ) {
|
|
15 |
background: <?php the_field('acfb_team_background_color'); ?>;
|
16 |
}
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
.<?php echo $uid; ?> .acfb_team_wrap .acfb_team_avatar{
|
19 |
width: <?php the_field('acfb_team_image_size'); ?>px;
|
20 |
height: <?php the_field('acfb_team_image_size'); ?>px;
|
21 |
}
|
22 |
|
|
|
|
|
|
|
|
|
23 |
.<?php echo $uid; ?> .acfb_team_wrap .acfb_team_info .acfb_team_name{
|
24 |
color: <?php the_field('acfb_team_name_color'); ?>;
|
25 |
font-size: <?php the_field('acfb_team_name_size'); ?>px;
|
@@ -41,7 +70,7 @@ if( !empty($block['align']) ) {
|
|
41 |
<?php
|
42 |
$acfb_image = '';
|
43 |
if(!get_field('acfb_team_image')){
|
44 |
-
$acfb_image =
|
45 |
} else{
|
46 |
$acfb_image = get_field('acfb_team_image');
|
47 |
}
|
@@ -52,11 +81,21 @@ if(!get_field('acfb_team_image')){
|
|
52 |
<img src="<?php echo $acfb_image; ?>" alt="<?php the_field('acfb_team_image_alt'); ?>">
|
53 |
</div>
|
54 |
<div class="acfb_team_info">
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
</div>
|
61 |
</div>
|
62 |
|
15 |
background: <?php the_field('acfb_team_background_color'); ?>;
|
16 |
}
|
17 |
|
18 |
+
.<?php echo $uid; ?> .acfb_team_wrap.acfb_team_top{
|
19 |
+
<?php if(get_field('acfb_team_ha') == 'flex-start'): ?>
|
20 |
+
text-align: left;
|
21 |
+
justify-items: flex-start;
|
22 |
+
<?php endif; ?>
|
23 |
+
|
24 |
+
<?php if(get_field('acfb_team_ha') == 'center'): ?>
|
25 |
+
text-align: center;
|
26 |
+
justify-items: center;
|
27 |
+
<?php endif; ?>
|
28 |
+
|
29 |
+
<?php if(get_field('acfb_team_ha') == 'flex-end'): ?>
|
30 |
+
text-align: right;
|
31 |
+
justify-items: flex-end;
|
32 |
+
<?php endif; ?>
|
33 |
+
|
34 |
+
}
|
35 |
+
|
36 |
+
<?php if(get_field('acfb_team_image_position') == 'left' ): ?>
|
37 |
+
.<?php echo $uid; ?> .acfb_team_wrap.acfb_team_left{
|
38 |
+
align-items: <?php the_field('acfb_team_image_v_alignment'); ?>;
|
39 |
+
}
|
40 |
+
<?php endif; ?>
|
41 |
+
|
42 |
+
|
43 |
.<?php echo $uid; ?> .acfb_team_wrap .acfb_team_avatar{
|
44 |
width: <?php the_field('acfb_team_image_size'); ?>px;
|
45 |
height: <?php the_field('acfb_team_image_size'); ?>px;
|
46 |
}
|
47 |
|
48 |
+
.<?php echo $uid; ?> .acfb_team_wrap .acfb_team_avatar img{
|
49 |
+
border-radius: <?php the_field('acfb_team_image_radius'); ?>%;
|
50 |
+
}
|
51 |
+
|
52 |
.<?php echo $uid; ?> .acfb_team_wrap .acfb_team_info .acfb_team_name{
|
53 |
color: <?php the_field('acfb_team_name_color'); ?>;
|
54 |
font-size: <?php the_field('acfb_team_name_size'); ?>px;
|
70 |
<?php
|
71 |
$acfb_image = '';
|
72 |
if(!get_field('acfb_team_image')){
|
73 |
+
$acfb_image = plugins_url() . '/acf-blocks/img/placeholder-image.jpg';
|
74 |
} else{
|
75 |
$acfb_image = get_field('acfb_team_image');
|
76 |
}
|
81 |
<img src="<?php echo $acfb_image; ?>" alt="<?php the_field('acfb_team_image_alt'); ?>">
|
82 |
</div>
|
83 |
<div class="acfb_team_info">
|
84 |
+
|
85 |
+
<?php if(get_field('acfb_team_name')): ?>
|
86 |
+
<h4 class="acfb_team_name"><?php the_field('acfb_team_name'); ?></h4>
|
87 |
+
<?php endif; ?>
|
88 |
+
|
89 |
+
<?php if(get_field('acfb_team_position')): ?>
|
90 |
+
<span class="acfb_team_position"><?php the_field('acfb_team_position'); ?></span>
|
91 |
+
<?php endif; ?>
|
92 |
+
|
93 |
+
<?php if(get_field('acfb_team_description')): ?>
|
94 |
+
<p class="acfb_team_description">
|
95 |
+
<?php the_field('acfb_team_description'); ?>
|
96 |
+
</p>
|
97 |
+
<?php endif; ?>
|
98 |
+
|
99 |
</div>
|
100 |
</div>
|
101 |
|
block-templates/{testimonial.php → free/acfb-testimonial.php}
RENAMED
@@ -35,12 +35,59 @@ if( !empty($block['align']) ) {
|
|
35 |
font-size: <?php the_field('acfb_testimonial_position_size'); ?>px;
|
36 |
}
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
</style>
|
39 |
|
40 |
<?php
|
41 |
$acfb_image = '';
|
42 |
if(!get_field('acfb_testimonial_image')){
|
43 |
-
$acfb_image =
|
44 |
} else{
|
45 |
$acfb_image = get_field('acfb_testimonial_image');
|
46 |
}
|
35 |
font-size: <?php the_field('acfb_testimonial_position_size'); ?>px;
|
36 |
}
|
37 |
|
38 |
+
.<?php echo $uid; ?> .acfb_testimonial_wrap .acfb_testimonial_bio .acfb_testimonial_avatar_wrap .acfb_testimonial_avatar{
|
39 |
+
border: solid 2px <?php the_field('acfb_testimonial_image_border_color'); ?>;
|
40 |
+
}
|
41 |
+
|
42 |
+
.<?php echo $uid; ?> .acfb_testimonial_wrap{
|
43 |
+
<?php if(get_field('acfb_testimonial_alignment') === 'left'): ?>
|
44 |
+
text-align: left;
|
45 |
+
align-items: flex-start;
|
46 |
+
<?php elseif (get_field('acfb_testimonial_alignment') === 'center'): ?>
|
47 |
+
text-align: center;
|
48 |
+
align-items: center;
|
49 |
+
<?php elseif (get_field('acfb_testimonial_alignment') === 'right'): ?>
|
50 |
+
text-align: right;
|
51 |
+
align-items: flex-end;
|
52 |
+
<?php endif; ?>
|
53 |
+
}
|
54 |
+
|
55 |
+
<?php if(get_field('acfb_testimonial_image_position') == 'acfb_testimonial_image_top'): ?>
|
56 |
+
|
57 |
+
.<?php echo $uid; ?> .acfb_testimonial_wrap .acfb_testimonial_bio{
|
58 |
+
flex-direction: column;
|
59 |
+
align-items: inherit;
|
60 |
+
}
|
61 |
+
|
62 |
+
.<?php echo $uid; ?> .acfb_testimonial_wrap .acfb_testimonial_bio .acfb_testimonial_avatar_wrap{
|
63 |
+
margin-right: 0;
|
64 |
+
margin-bottom: 10px;
|
65 |
+
}
|
66 |
+
|
67 |
+
<?php else: ?>
|
68 |
+
.<?php echo $uid; ?> .acfb_testimonial_wrap .acfb_testimonial_bio{
|
69 |
+
|
70 |
+
<?php if(get_field('acfb_testimonial_alignment') === 'left'): ?>
|
71 |
+
justify-content: flex-start;
|
72 |
+
text-align: left;
|
73 |
+
<?php elseif (get_field('acfb_testimonial_alignment') === 'center'): ?>
|
74 |
+
justify-content: center;
|
75 |
+
text-align: left;
|
76 |
+
<?php elseif (get_field('acfb_testimonial_alignment') === 'right'): ?>
|
77 |
+
justify-content: flex-end;
|
78 |
+
text-align: left;
|
79 |
+
<?php endif; ?>
|
80 |
+
}
|
81 |
+
|
82 |
+
<?php endif; ?>
|
83 |
+
|
84 |
+
|
85 |
</style>
|
86 |
|
87 |
<?php
|
88 |
$acfb_image = '';
|
89 |
if(!get_field('acfb_testimonial_image')){
|
90 |
+
$acfb_image = plugins_url() . '/acf-blocks/img/placeholder-image.jpg';
|
91 |
} else{
|
92 |
$acfb_image = get_field('acfb_testimonial_image');
|
93 |
}
|
block-templates/{toggle.php → free/acfb-toggle.php}
RENAMED
File without changes
|
block-templates/loop-templates/post-grid.php
DELETED
@@ -1,42 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
if( have_rows('acfb_post_grid_elements') ):
|
4 |
-
|
5 |
-
while ( have_rows('acfb_post_grid_elements') ) : the_row(); ?>
|
6 |
-
|
7 |
-
<?php if( get_row_layout() == 'post_grid_image' ): ?>
|
8 |
-
<div class="acfb_post_thumbnail">
|
9 |
-
<?php the_post_thumbnail(); ?>
|
10 |
-
</div>
|
11 |
-
<?php endif; ?>
|
12 |
-
|
13 |
-
<?php if( get_row_layout() == 'post_grid_title' ): ?>
|
14 |
-
<div class="acfb_post_title">
|
15 |
-
<<?php echo $acfb_post_title_html_tag; ?>><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></<?php echo $acfb_post_title_html_tag; ?>>
|
16 |
-
</div>
|
17 |
-
<?php endif; ?>
|
18 |
-
|
19 |
-
<?php if( get_row_layout() == 'post_grid_meta_data' ): ?>
|
20 |
-
<div class="acfb_post_meta">
|
21 |
-
<span class="acfb_post_author"><?php the_author(); ?></span> -
|
22 |
-
<span class="acfb_post_date"><?php the_time('F jS, Y') ?></span>
|
23 |
-
</div>
|
24 |
-
<?php endif; ?>
|
25 |
-
|
26 |
-
<?php if( get_row_layout() == 'post_grid_content' ): ?>
|
27 |
-
<div class="acfb_post_excerpt">
|
28 |
-
<?php echo acfb_excerpt($acfb_post_excerpt_length); ?>
|
29 |
-
</div>
|
30 |
-
<?php endif; ?>
|
31 |
-
|
32 |
-
<?php if( get_row_layout() == 'post_grid_read_more_button' ): ?>
|
33 |
-
<div class="acfb_post_button">
|
34 |
-
<a href="<?php the_permalink(); ?>" class="acfb_post_btn">Read More</a>
|
35 |
-
</div>
|
36 |
-
<?php endif; ?>
|
37 |
-
|
38 |
-
|
39 |
-
<?php
|
40 |
-
endwhile;
|
41 |
-
endif;
|
42 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
block-templates/loop-templates/post-list.php
DELETED
@@ -1,40 +0,0 @@
|
|
1 |
-
<div class="acfb_post_list_thumbnail">
|
2 |
-
<?php the_post_thumbnail(); ?>
|
3 |
-
</div>
|
4 |
-
<div class="acfb_post_list_content">
|
5 |
-
<?php
|
6 |
-
if( have_rows('acfb_post_list_elements') ):
|
7 |
-
|
8 |
-
while ( have_rows('acfb_post_list_elements') ) : the_row(); ?>
|
9 |
-
|
10 |
-
<?php if( get_row_layout() == 'post_list_title' ): ?>
|
11 |
-
<div class="acfb_post_title">
|
12 |
-
<<?php echo $acfb_post_title_html_tag; ?>><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></<?php echo $acfb_post_title_html_tag; ?>>
|
13 |
-
</div>
|
14 |
-
<?php endif; ?>
|
15 |
-
|
16 |
-
<?php if( get_row_layout() == 'post_list_meta_data' ): ?>
|
17 |
-
<div class="acfb_post_meta">
|
18 |
-
<span class="acfb_post_author"><?php the_author(); ?></span> -
|
19 |
-
<span class="acfb_post_date"><?php the_time('F jS, Y') ?></span>
|
20 |
-
</div>
|
21 |
-
<?php endif; ?>
|
22 |
-
|
23 |
-
<?php if( get_row_layout() == 'post_list_content' ): ?>
|
24 |
-
<div class="acfb_post_excerpt">
|
25 |
-
<?php echo acfb_excerpt($acfb_post_excerpt_length); ?>
|
26 |
-
</div>
|
27 |
-
<?php endif; ?>
|
28 |
-
|
29 |
-
<?php if( get_row_layout() == 'post_list_read_more_button' ): ?>
|
30 |
-
<div class="acfb_post_button">
|
31 |
-
<a href="<?php the_permalink(); ?>" class="acfb_post_btn">Read More</a>
|
32 |
-
</div>
|
33 |
-
<?php endif; ?>
|
34 |
-
|
35 |
-
|
36 |
-
<?php
|
37 |
-
endwhile;
|
38 |
-
endif;
|
39 |
-
?>
|
40 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/acfblocks.css
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
.acfb_testimonial_wrap .acfb_testimonial_bio {
|
8 |
display: flex;
|
9 |
align-items: center;
|
10 |
-
margin-top:
|
11 |
}
|
12 |
|
13 |
.acfb_testimonial_wrap .acfb_testimonial_bio .acfb_testimonial_avatar_wrap {
|
@@ -23,11 +23,9 @@
|
|
23 |
z-index: 10;
|
24 |
border-radius: 100%;
|
25 |
z-index: 5;
|
26 |
-
border: solid 2px #000;
|
27 |
}
|
28 |
|
29 |
.acfb_testimonial_wrap .acfb_testimonial_bio .acfb_testimonial_name {
|
30 |
-
font-family: "Europa", sans-serif;
|
31 |
font-weight: 700;
|
32 |
line-height: 1.2;
|
33 |
margin: 0;
|
@@ -38,15 +36,16 @@
|
|
38 |
.acfb_team_wrap.acfb_team_top {
|
39 |
display: grid;
|
40 |
grid-template-columns: 100%;
|
41 |
-
justify-items: center;
|
42 |
-
text-align: center;
|
43 |
}
|
44 |
|
45 |
.acfb_team_wrap.acfb_team_left {
|
46 |
display: grid;
|
47 |
grid-gap: 25px;
|
48 |
grid-template-columns: auto auto;
|
49 |
-
|
|
|
|
|
|
|
50 |
}
|
51 |
|
52 |
.acfb_team_wrap {
|
@@ -57,12 +56,16 @@
|
|
57 |
object-fit: cover;
|
58 |
height: 100%;
|
59 |
width: 100%;
|
60 |
-
border-radius: 100%;
|
61 |
}
|
62 |
.acfb_team_wrap .acfb_team_info {
|
63 |
margin-top: 20px;
|
64 |
}
|
65 |
|
|
|
|
|
|
|
|
|
|
|
66 |
/************ Star Rating CSS ************/
|
67 |
.acfb_star_rating {
|
68 |
display: flex;
|
@@ -110,6 +113,11 @@
|
|
110 |
padding: 60px 35px;
|
111 |
border-radius: 12px;
|
112 |
}
|
|
|
|
|
|
|
|
|
|
|
113 |
.acfb_pricing_table_wrap .acfb_pricing_box_title {
|
114 |
font-weight: 700;
|
115 |
}
|
@@ -152,10 +160,25 @@
|
|
152 |
.acfb_price_list_wrap .acfb_price_list_item {
|
153 |
display: grid;
|
154 |
grid-column-gap: 15px;
|
155 |
-
grid-template-columns: 20% auto;
|
156 |
text-decoration: none;
|
157 |
}
|
158 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
159 |
.acfb_price_list_wrap
|
160 |
.acfb_price_list_item
|
161 |
.acfb_price_list_text
|
@@ -176,8 +199,8 @@
|
|
176 |
|
177 |
/************ Multi Button CSS ************/
|
178 |
.acfb_multibuttons_wrap {
|
179 |
-
|
180 |
-
|
181 |
}
|
182 |
.acfb_multibuttons_wrap .acfb_button {
|
183 |
padding: 15px 20px;
|
@@ -186,6 +209,10 @@
|
|
186 |
margin-bottom: 5px;
|
187 |
}
|
188 |
|
|
|
|
|
|
|
|
|
189 |
/************ Counter Number CSS ************/
|
190 |
.acfb_counter_number_wrapper {
|
191 |
display: -webkit-box;
|
@@ -284,10 +311,16 @@
|
|
284 |
overflow: hidden;
|
285 |
}
|
286 |
|
|
|
|
|
|
|
|
|
|
|
|
|
287 |
.acfb_posts_block .acfb_post_list .acfb_post {
|
288 |
display: grid;
|
289 |
grid-gap: 20px;
|
290 |
-
grid-template-columns:
|
291 |
margin-bottom: 10px;
|
292 |
}
|
293 |
|
@@ -817,8 +850,8 @@ svg.acfb_social_icons path {
|
|
817 |
/************ Tab CSS ************/
|
818 |
.acfb_tabs_block ul {
|
819 |
overflow: hidden;
|
820 |
-
margin:0;
|
821 |
-
padding:0;
|
822 |
}
|
823 |
|
824 |
.acfb_tabs_block ul li{
|
@@ -892,8 +925,6 @@ svg.acfb_social_icons path {
|
|
892 |
}
|
893 |
|
894 |
|
895 |
-
|
896 |
-
|
897 |
/************ Scrollable Image CSS ************/
|
898 |
.acfb_scrollable_image{
|
899 |
transition: background-position 1.5s ease-out 0.5s;
|
@@ -904,4 +935,1926 @@ svg.acfb_social_icons path {
|
|
904 |
|
905 |
.acfb_scrollable_image:hover{
|
906 |
background-position: bottom center!important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
907 |
}
|
7 |
.acfb_testimonial_wrap .acfb_testimonial_bio {
|
8 |
display: flex;
|
9 |
align-items: center;
|
10 |
+
margin-top: 20px;
|
11 |
}
|
12 |
|
13 |
.acfb_testimonial_wrap .acfb_testimonial_bio .acfb_testimonial_avatar_wrap {
|
23 |
z-index: 10;
|
24 |
border-radius: 100%;
|
25 |
z-index: 5;
|
|
|
26 |
}
|
27 |
|
28 |
.acfb_testimonial_wrap .acfb_testimonial_bio .acfb_testimonial_name {
|
|
|
29 |
font-weight: 700;
|
30 |
line-height: 1.2;
|
31 |
margin: 0;
|
36 |
.acfb_team_wrap.acfb_team_top {
|
37 |
display: grid;
|
38 |
grid-template-columns: 100%;
|
|
|
|
|
39 |
}
|
40 |
|
41 |
.acfb_team_wrap.acfb_team_left {
|
42 |
display: grid;
|
43 |
grid-gap: 25px;
|
44 |
grid-template-columns: auto auto;
|
45 |
+
}
|
46 |
+
|
47 |
+
.acfb_team_wrap.acfb_team_left .acfb_team_info{
|
48 |
+
margin-top: 0 !important;
|
49 |
}
|
50 |
|
51 |
.acfb_team_wrap {
|
56 |
object-fit: cover;
|
57 |
height: 100%;
|
58 |
width: 100%;
|
|
|
59 |
}
|
60 |
.acfb_team_wrap .acfb_team_info {
|
61 |
margin-top: 20px;
|
62 |
}
|
63 |
|
64 |
+
.acfb_team_wrap .acfb_team_info .acfb_team_position{
|
65 |
+
margin-bottom: 10px;
|
66 |
+
display: block;
|
67 |
+
}
|
68 |
+
|
69 |
/************ Star Rating CSS ************/
|
70 |
.acfb_star_rating {
|
71 |
display: flex;
|
113 |
padding: 60px 35px;
|
114 |
border-radius: 12px;
|
115 |
}
|
116 |
+
|
117 |
+
.acfb_pricing_table_wrap .acfb_pricing_table_imgicon{
|
118 |
+
margin-bottom: 15px;
|
119 |
+
}
|
120 |
+
|
121 |
.acfb_pricing_table_wrap .acfb_pricing_box_title {
|
122 |
font-weight: 700;
|
123 |
}
|
160 |
.acfb_price_list_wrap .acfb_price_list_item {
|
161 |
display: grid;
|
162 |
grid-column-gap: 15px;
|
|
|
163 |
text-decoration: none;
|
164 |
}
|
165 |
|
166 |
+
.acfb_price_list_wrap .acfb_price_list_item .acfb_price_list_image{
|
167 |
+
grid-area: acfbPli;
|
168 |
+
}
|
169 |
+
|
170 |
+
.acfb_price_list_wrap .acfb_price_list_item .acfb_price_list_text{
|
171 |
+
grid-area: acfbPlt;
|
172 |
+
}
|
173 |
+
|
174 |
+
.acfb_price_list_wrap .acfb_price_list_item .acfb_price_list_image img{
|
175 |
+
width: 100%;
|
176 |
+
}
|
177 |
+
|
178 |
+
.acfb_price_list_wrap .acfb_price_list_item .acfb_price_list_text .acfb_price_list_header .acfb_price_list_title{grid-area: acfbPlTitle;}
|
179 |
+
.acfb_price_list_wrap .acfb_price_list_item .acfb_price_list_text .acfb_price_list_header .acfb_price_list_separator{grid-area: acfbPlSep;}
|
180 |
+
.acfb_price_list_wrap .acfb_price_list_item .acfb_price_list_text .acfb_price_list_header .acfb_price_list_price{grid-area: acfbPlPrice;}
|
181 |
+
|
182 |
.acfb_price_list_wrap
|
183 |
.acfb_price_list_item
|
184 |
.acfb_price_list_text
|
199 |
|
200 |
/************ Multi Button CSS ************/
|
201 |
.acfb_multibuttons_wrap {
|
202 |
+
display: flex;
|
203 |
+
flex-direction: row;
|
204 |
}
|
205 |
.acfb_multibuttons_wrap .acfb_button {
|
206 |
padding: 15px 20px;
|
209 |
margin-bottom: 5px;
|
210 |
}
|
211 |
|
212 |
+
.acfb_multibuttons_wrap .acfb_button:last-child{
|
213 |
+
margin-right: 0;
|
214 |
+
}
|
215 |
+
|
216 |
/************ Counter Number CSS ************/
|
217 |
.acfb_counter_number_wrapper {
|
218 |
display: -webkit-box;
|
311 |
overflow: hidden;
|
312 |
}
|
313 |
|
314 |
+
.acfb_posts_block .acfb_post_grid .acfb_post .acfb_post_thumbnail img,
|
315 |
+
.acfb_posts_block .acfb_post_list .acfb_post .acfb_post_list_thumbnail img{
|
316 |
+
width: 100%;
|
317 |
+
height: auto;
|
318 |
+
}
|
319 |
+
|
320 |
.acfb_posts_block .acfb_post_list .acfb_post {
|
321 |
display: grid;
|
322 |
grid-gap: 20px;
|
323 |
+
grid-template-columns: 50% 50%;
|
324 |
margin-bottom: 10px;
|
325 |
}
|
326 |
|
850 |
/************ Tab CSS ************/
|
851 |
.acfb_tabs_block ul {
|
852 |
overflow: hidden;
|
853 |
+
margin:0 !important;
|
854 |
+
padding:0 !important;
|
855 |
}
|
856 |
|
857 |
.acfb_tabs_block ul li{
|
925 |
}
|
926 |
|
927 |
|
|
|
|
|
928 |
/************ Scrollable Image CSS ************/
|
929 |
.acfb_scrollable_image{
|
930 |
transition: background-position 1.5s ease-out 0.5s;
|
935 |
|
936 |
.acfb_scrollable_image:hover{
|
937 |
background-position: bottom center!important;
|
938 |
+
}
|
939 |
+
|
940 |
+
|
941 |
+
|
942 |
+
|
943 |
+
/************ Flip Box CSS ************/
|
944 |
+
|
945 |
+
/* Flip Box Flip */
|
946 |
+
.acfb_flip_box_block .acfb_box_inner h3{margin: 10px;}
|
947 |
+
.acfb_flip_box_block .acfb_box_inner p{margin: 0 0 0 10px; }
|
948 |
+
.acfb_flip_box_block .acfb_box_inner .acfb_flipbox_back a{
|
949 |
+
cursor: pointer;
|
950 |
+
padding: 10px 25px;
|
951 |
+
display: inline-block;
|
952 |
+
margin: 15px 0 0 0;
|
953 |
+
text-decoration: none;
|
954 |
+
}
|
955 |
+
|
956 |
+
.acfb_flip .acfb_box_inner{
|
957 |
+
-webkit-perspective: 1000px;
|
958 |
+
perspective: 1000px;
|
959 |
+
-webkit-transform-style: preserve-3d;
|
960 |
+
transform-style: preserve-3d;
|
961 |
+
position: relative;
|
962 |
+
-webkit-box-sizing: border-box;
|
963 |
+
box-sizing: border-box;
|
964 |
+
}
|
965 |
+
|
966 |
+
.acfb_flip .acfb_box_inner .acfb_flipbox_front, .acfb_flip .acfb_box_inner .acfb_flipbox_back{
|
967 |
+
-webkit-transform-style: preserve-3d;
|
968 |
+
transform-style: preserve-3d;
|
969 |
+
-webkit-backface-visibility: hidden;
|
970 |
+
backface-visibility: hidden;
|
971 |
+
position: absolute;
|
972 |
+
width: 100%;
|
973 |
+
height: 100%;
|
974 |
+
-webkit-transition: all .6s ease-in-out;
|
975 |
+
-o-transition: all .6s ease-in-out;
|
976 |
+
transition: all .6s ease-in-out;
|
977 |
+
}
|
978 |
+
|
979 |
+
.acfb_flip .acfb_box_inner .acfb_flipbox_front{
|
980 |
+
-webkit-transform: none;
|
981 |
+
-ms-transform: none;
|
982 |
+
transform: none;
|
983 |
+
z-index: 1;
|
984 |
+
}
|
985 |
+
|
986 |
+
/* Flip Left */
|
987 |
+
.acfb_flip.acfb_left .acfb_box_inner:hover .acfb_flipbox_front{
|
988 |
+
-webkit-transform: rotateX(0) rotateY(-180deg);
|
989 |
+
transform: rotateX(0) rotateY(-180deg);
|
990 |
+
}
|
991 |
+
|
992 |
+
.acfb_flip.acfb_left .acfb_box_inner .acfb_flipbox_back{
|
993 |
+
-webkit-transform: rotateX(0) rotateY(180deg);
|
994 |
+
transform: rotateX(0) rotateY(180deg);
|
995 |
+
}
|
996 |
+
|
997 |
+
/* Flip Right */
|
998 |
+
.acfb_flip.acfb_right .acfb_box_inner:hover .acfb_flipbox_front{
|
999 |
+
-webkit-transform: rotateX(0) rotateY(180deg);
|
1000 |
+
transform: rotateX(0) rotateY(180deg);
|
1001 |
+
}
|
1002 |
+
.acfb_flip.acfb_right .acfb_box_inner .acfb_flipbox_back{
|
1003 |
+
-webkit-transform: rotateX(0) rotateY(-180deg);
|
1004 |
+
transform: rotateX(0) rotateY(-180deg);
|
1005 |
+
}
|
1006 |
+
|
1007 |
+
/* Flip Up */
|
1008 |
+
.acfb_flip.acfb_up .acfb_box_inner:hover .acfb_flipbox_front{
|
1009 |
+
-webkit-transform: rotateX(180deg) rotateY(0);
|
1010 |
+
transform: rotateX(180deg) rotateY(0);
|
1011 |
+
}
|
1012 |
+
.acfb_flip.acfb_up .acfb_box_inner .acfb_flipbox_back{
|
1013 |
+
-webkit-transform: rotateX(-180deg) rotateY(0);
|
1014 |
+
transform: rotateX(-180deg) rotateY(0);
|
1015 |
+
}
|
1016 |
+
|
1017 |
+
/* Flip Down */
|
1018 |
+
.acfb_flip.acfb_down .acfb_box_inner:hover .acfb_flipbox_front{
|
1019 |
+
-webkit-transform: rotateX(-180deg) rotateY(0);
|
1020 |
+
transform: rotateX(-180deg) rotateY(0);
|
1021 |
+
}
|
1022 |
+
.acfb_flip.acfb_down .acfb_box_inner .acfb_flipbox_back{
|
1023 |
+
-webkit-transform: rotateX(180deg) rotateY(0);
|
1024 |
+
transform: rotateX(180deg) rotateY(0);
|
1025 |
+
}
|
1026 |
+
|
1027 |
+
.acfb_flip .acfb_box_inner:hover .acfb_flipbox_back{
|
1028 |
+
-webkit-transform: none;
|
1029 |
+
-ms-transform: none;
|
1030 |
+
transform: none;
|
1031 |
+
}
|
1032 |
+
|
1033 |
+
/* Flip Box Slide */
|
1034 |
+
.acfb_slide .acfb_box_inner{
|
1035 |
+
overflow: hidden;
|
1036 |
+
position: relative;
|
1037 |
+
perspective: 1000px;
|
1038 |
+
transform-style: preserve-3d;
|
1039 |
+
}
|
1040 |
+
|
1041 |
+
.acfb_slide .acfb_box_inner .acfb_flipbox_front, .acfb_slide .acfb_box_inner .acfb_flipbox_back{
|
1042 |
+
position: absolute;
|
1043 |
+
width: 100%;
|
1044 |
+
height: 100%;
|
1045 |
+
transition: all 0.6s ease-in-out 0s;
|
1046 |
+
}
|
1047 |
+
|
1048 |
+
|
1049 |
+
/* Slide Left */
|
1050 |
+
.acfb_slide.acfb_left .acfb_box_inner .acfb_flipbox_back{
|
1051 |
+
transform: translateX(100%) translateY(0px);
|
1052 |
+
}
|
1053 |
+
|
1054 |
+
/* Slide Right */
|
1055 |
+
.acfb_slide.acfb_right .acfb_box_inner .acfb_flipbox_back{
|
1056 |
+
transform: translateX(-100%) translateY(0px);
|
1057 |
+
}
|
1058 |
+
|
1059 |
+
/* Slide Up */
|
1060 |
+
.acfb_slide.acfb_up .acfb_box_inner .acfb_flipbox_back{
|
1061 |
+
transform: translateX(0px) translateY(100%);
|
1062 |
+
}
|
1063 |
+
|
1064 |
+
/* Slide Down */
|
1065 |
+
.acfb_slide.acfb_down .acfb_box_inner .acfb_flipbox_back{
|
1066 |
+
transform: translateX(0px) translateY(-100%);
|
1067 |
+
}
|
1068 |
+
|
1069 |
+
.acfb_slide .acfb_box_inner:hover .acfb_flipbox_back{
|
1070 |
+
transform: none;
|
1071 |
+
}
|
1072 |
+
|
1073 |
+
/* Flip Box Push */
|
1074 |
+
.acfb_push{
|
1075 |
+
overflow: hidden;
|
1076 |
+
}
|
1077 |
+
|
1078 |
+
.acfb_push .acfb_box_inner{
|
1079 |
+
overflow: hidden;
|
1080 |
+
position: relative;
|
1081 |
+
perspective: 1000px;
|
1082 |
+
transform-style: preserve-3d;
|
1083 |
+
}
|
1084 |
+
|
1085 |
+
.acfb_push .acfb_box_inner .acfb_flipbox_front, .acfb_push .acfb_box_inner .acfb_flipbox_back{
|
1086 |
+
position: absolute;
|
1087 |
+
width: 100%;
|
1088 |
+
height: 100%;
|
1089 |
+
transition: all 0.6s ease-in-out 0s;
|
1090 |
+
}
|
1091 |
+
|
1092 |
+
.acfb_push .acfb_box_inner .acfb_flipbox_front{
|
1093 |
+
transform: none;
|
1094 |
+
}
|
1095 |
+
|
1096 |
+
/* Slide Left */
|
1097 |
+
.acfb_push.acfb_left .acfb_box_inner .acfb_flipbox_back{
|
1098 |
+
transform: translateX(100%) translateY(0px);
|
1099 |
+
}
|
1100 |
+
|
1101 |
+
.acfb_push.acfb_left .acfb_box_inner:hover .acfb_flipbox_front{
|
1102 |
+
transform: translateX(-100%) translateY(0px);
|
1103 |
+
}
|
1104 |
+
|
1105 |
+
/* Slide Right */
|
1106 |
+
.acfb_push.acfb_right .acfb_box_inner .acfb_flipbox_back{
|
1107 |
+
transform: translateX(-100%) translateY(0px);
|
1108 |
+
}
|
1109 |
+
|
1110 |
+
.acfb_push.acfb_right .acfb_box_inner:hover .acfb_flipbox_front{
|
1111 |
+
transform: translateX(100%) translateY(0px);
|
1112 |
+
}
|
1113 |
+
|
1114 |
+
/* Slide Up */
|
1115 |
+
.acfb_push.acfb_up .acfb_box_inner .acfb_flipbox_back{
|
1116 |
+
transform: translateX(0px) translateY(100%);
|
1117 |
+
}
|
1118 |
+
|
1119 |
+
.acfb_push.acfb_up .acfb_box_inner:hover .acfb_flipbox_front{
|
1120 |
+
transform: translateX(0px) translateY(-100%);
|
1121 |
+
}
|
1122 |
+
|
1123 |
+
/* Slide Down */
|
1124 |
+
.acfb_push.acfb_down .acfb_box_inner .acfb_flipbox_back{
|
1125 |
+
transform: translateX(0px) translateY(-100%);
|
1126 |
+
}
|
1127 |
+
|
1128 |
+
.acfb_push.acfb_down .acfb_box_inner:hover .acfb_flipbox_front{
|
1129 |
+
transform: translateX(0px) translateY(100%);
|
1130 |
+
}
|
1131 |
+
|
1132 |
+
.acfb_push .acfb_box_inner:hover .acfb_flipbox_back{
|
1133 |
+
transform: none;
|
1134 |
+
}
|
1135 |
+
|
1136 |
+
|
1137 |
+
/************ Timeline CSS ************/
|
1138 |
+
.acfb_timeline .acfb_timeline_inner .acfb_timeline_content .acfb_timeline_image,
|
1139 |
+
.acfb_timeline .acfb_timeline_inner .acfb_timeline_content .acfb_timeline_date,
|
1140 |
+
.acfb_timeline .acfb_timeline_inner .acfb_timeline_content .acfb_timeline_title,
|
1141 |
+
.acfb_timeline .acfb_timeline_inner .acfb_timeline_content .acfb_timeline_desc,
|
1142 |
+
.acfb_timeline .acfb_timeline_inner .acfb_timeline_content .acfb_timeline_button{
|
1143 |
+
margin: 10px 0;
|
1144 |
+
}
|
1145 |
+
.acfb_timeline .acfb_timeline_inner .acfb_timeline_content .acfb_timeline_desc p{margin: 0;}
|
1146 |
+
|
1147 |
+
|
1148 |
+
.acfb_timeline .acfb_timeline_button{
|
1149 |
+
cursor: pointer;
|
1150 |
+
padding: 10px 25px;
|
1151 |
+
display: inline-block;
|
1152 |
+
margin: 15px 0;
|
1153 |
+
text-decoration: none;
|
1154 |
+
}
|
1155 |
+
|
1156 |
+
|
1157 |
+
/* Left Timeline*/
|
1158 |
+
.acfb_left_timeline{
|
1159 |
+
position: relative;
|
1160 |
+
}
|
1161 |
+
|
1162 |
+
.acfb_left_timeline::after{
|
1163 |
+
content: '';
|
1164 |
+
position: absolute;
|
1165 |
+
width: 4px;
|
1166 |
+
top: 0;
|
1167 |
+
bottom: 0;
|
1168 |
+
left: 0%;
|
1169 |
+
margin-left: -2px;
|
1170 |
+
}
|
1171 |
+
|
1172 |
+
.acfb_left_timeline .acfb_timeline_inner{
|
1173 |
+
position: relative;
|
1174 |
+
width: 100%;
|
1175 |
+
}
|
1176 |
+
|
1177 |
+
.acfb_left_timeline .acfb_timeline_inner::after{
|
1178 |
+
content: '';
|
1179 |
+
position: absolute;
|
1180 |
+
width: 25px;
|
1181 |
+
height: 25px;
|
1182 |
+
right: -12px;
|
1183 |
+
top: 15px;
|
1184 |
+
border-radius: 50%;
|
1185 |
+
z-index: 1;
|
1186 |
+
}
|
1187 |
+
|
1188 |
+
.acfb_left_timeline .acfb_timeline_inner .acfb_timeline_content{
|
1189 |
+
padding: 20px 30px;
|
1190 |
+
position: relative;
|
1191 |
+
display: flex;
|
1192 |
+
flex-direction: column;
|
1193 |
+
align-items: flex-start;
|
1194 |
+
}
|
1195 |
+
|
1196 |
+
|
1197 |
+
.acfb_left_timeline .acfb_timeline_inner{
|
1198 |
+
left: 0%;
|
1199 |
+
padding: 10px 0px 10px 40px;
|
1200 |
+
text-align: left;
|
1201 |
+
}
|
1202 |
+
|
1203 |
+
.acfb_left_timeline .acfb_timeline_inner::before{
|
1204 |
+
content: " ";
|
1205 |
+
height: 0;
|
1206 |
+
position: absolute;
|
1207 |
+
top: 22px;
|
1208 |
+
width: 0;
|
1209 |
+
z-index: 1;
|
1210 |
+
left: 30px;
|
1211 |
+
border: medium solid #f3f4f5;
|
1212 |
+
border-width: 10px 10px 10px 0;
|
1213 |
+
}
|
1214 |
+
|
1215 |
+
.acfb_left_timeline .acfb_timeline_inner::after{
|
1216 |
+
left: -12px;
|
1217 |
+
}
|
1218 |
+
|
1219 |
+
/* Center Timeline*/
|
1220 |
+
.acfb_center_timeline{
|
1221 |
+
position: relative;
|
1222 |
+
}
|
1223 |
+
|
1224 |
+
.acfb_center_timeline::after{
|
1225 |
+
content: '';
|
1226 |
+
position: absolute;
|
1227 |
+
width: 4px;
|
1228 |
+
top: 0;
|
1229 |
+
bottom: 0;
|
1230 |
+
left: 50%;
|
1231 |
+
margin-left: -2px;
|
1232 |
+
}
|
1233 |
+
|
1234 |
+
.acfb_center_timeline .acfb_timeline_inner{
|
1235 |
+
position: relative;
|
1236 |
+
width: 50%;
|
1237 |
+
}
|
1238 |
+
|
1239 |
+
.acfb_center_timeline .acfb_timeline_inner::after{
|
1240 |
+
content: '';
|
1241 |
+
position: absolute;
|
1242 |
+
width: 25px;
|
1243 |
+
height: 25px;
|
1244 |
+
right: -12px;
|
1245 |
+
top: 15px;
|
1246 |
+
border-radius: 50%;
|
1247 |
+
z-index: 1;
|
1248 |
+
}
|
1249 |
+
|
1250 |
+
.acfb_center_timeline .acfb_timeline_inner .acfb_timeline_content{
|
1251 |
+
padding: 20px 30px;
|
1252 |
+
background-color: #f3f4f5;
|
1253 |
+
position: relative;
|
1254 |
+
}
|
1255 |
+
|
1256 |
+
.acfb_center_timeline .acfb_timeline_inner:nth-child(odd){
|
1257 |
+
left: 0;
|
1258 |
+
padding: 10px 40px 10px 0px;
|
1259 |
+
}
|
1260 |
+
|
1261 |
+
.acfb_center_timeline .acfb_timeline_inner:nth-child(odd) .acfb_timeline_content{
|
1262 |
+
text-align: right;
|
1263 |
+
display: flex;
|
1264 |
+
flex-direction: column;
|
1265 |
+
align-items: flex-end;
|
1266 |
+
}
|
1267 |
+
|
1268 |
+
.acfb_center_timeline .acfb_timeline_inner:nth-child(odd)::before{
|
1269 |
+
content: " ";
|
1270 |
+
height: 0;
|
1271 |
+
position: absolute;
|
1272 |
+
top: 22px;
|
1273 |
+
width: 0;
|
1274 |
+
z-index: 1;
|
1275 |
+
right: 30px;
|
1276 |
+
border: medium solid #f3f4f5;
|
1277 |
+
border-width: 10px 0 10px 10px;
|
1278 |
+
}
|
1279 |
+
|
1280 |
+
.acfb_center_timeline .acfb_timeline_inner:nth-child(even){
|
1281 |
+
left: 50%;
|
1282 |
+
padding: 10px 0px 10px 40px;
|
1283 |
+
text-align: left;
|
1284 |
+
}
|
1285 |
+
|
1286 |
+
.acfb_center_timeline .acfb_timeline_inner:nth-child(even) .acfb_timeline_content{
|
1287 |
+
text-align: left;
|
1288 |
+
display: flex;
|
1289 |
+
flex-direction: column;
|
1290 |
+
align-items: flex-start;
|
1291 |
+
}
|
1292 |
+
|
1293 |
+
.acfb_center_timeline .acfb_timeline_inner:nth-child(even)::before{
|
1294 |
+
content: " ";
|
1295 |
+
height: 0;
|
1296 |
+
position: absolute;
|
1297 |
+
top: 22px;
|
1298 |
+
width: 0;
|
1299 |
+
z-index: 1;
|
1300 |
+
left: 30px;
|
1301 |
+
border: medium solid #f3f4f5;
|
1302 |
+
border-width: 10px 10px 10px 0;
|
1303 |
+
}
|
1304 |
+
|
1305 |
+
.acfb_center_timeline .acfb_timeline_inner:nth-child(even)::after{
|
1306 |
+
left: -12px;
|
1307 |
+
}
|
1308 |
+
|
1309 |
+
@media screen and (max-width: 767px) {
|
1310 |
+
.acfb_center_timeline .acfb_timeline_inner .acfb_timeline_content{
|
1311 |
+
text-align: left;
|
1312 |
+
}
|
1313 |
+
|
1314 |
+
.acfb_center_timeline .acfb_timeline_inner{
|
1315 |
+
width: 100%;
|
1316 |
+
}
|
1317 |
+
|
1318 |
+
.acfb_center_timeline::after, .acfb_center_timeline .acfb_timeline_inner:nth-child(even){
|
1319 |
+
left: 0;
|
1320 |
+
}
|
1321 |
+
|
1322 |
+
.acfb_center_timeline .acfb_timeline_inner:nth-child(odd), .acfb_center_timeline .acfb_timeline_inner:nth-child(even){
|
1323 |
+
padding: 10px 0px 10px 40px;
|
1324 |
+
}
|
1325 |
+
|
1326 |
+
.acfb_center_timeline .acfb_timeline_inner::after{
|
1327 |
+
left: -12px;
|
1328 |
+
}
|
1329 |
+
|
1330 |
+
.acfb_center_timeline .acfb_timeline_inner:nth-child(odd)::before{
|
1331 |
+
left: 30px;
|
1332 |
+
border-width: 10px 10px 10px 0px;
|
1333 |
+
}
|
1334 |
+
}
|
1335 |
+
|
1336 |
+
/* Right Timeline*/
|
1337 |
+
.acfb_right_timeline{
|
1338 |
+
position: relative;
|
1339 |
+
}
|
1340 |
+
|
1341 |
+
.acfb_right_timeline::after{
|
1342 |
+
content: '';
|
1343 |
+
position: absolute;
|
1344 |
+
width: 4px;
|
1345 |
+
top: 0;
|
1346 |
+
bottom: 0;
|
1347 |
+
right: 0%;
|
1348 |
+
margin-right: -1px;
|
1349 |
+
}
|
1350 |
+
|
1351 |
+
.acfb_right_timeline .acfb_timeline_inner{
|
1352 |
+
position: relative;
|
1353 |
+
}
|
1354 |
+
|
1355 |
+
.acfb_right_timeline .acfb_timeline_inner::after{
|
1356 |
+
content: '';
|
1357 |
+
position: absolute;
|
1358 |
+
width: 25px;
|
1359 |
+
height: 25px;
|
1360 |
+
right: -12px;
|
1361 |
+
top: 15px;
|
1362 |
+
border-radius: 50%;
|
1363 |
+
z-index: 1;
|
1364 |
+
}
|
1365 |
+
|
1366 |
+
.acfb_right_timeline .acfb_timeline_inner .acfb_timeline_content{
|
1367 |
+
padding: 20px 30px;
|
1368 |
+
position: relative;
|
1369 |
+
display: flex;
|
1370 |
+
flex-direction: column;
|
1371 |
+
align-items: flex-end;
|
1372 |
+
}
|
1373 |
+
|
1374 |
+
.acfb_right_timeline .acfb_timeline_inner{
|
1375 |
+
left: 0;
|
1376 |
+
padding: 10px 40px 10px 0px;
|
1377 |
+
text-align: right;
|
1378 |
+
}
|
1379 |
+
|
1380 |
+
.acfb_right_timeline .acfb_timeline_inner::before{
|
1381 |
+
content: " ";
|
1382 |
+
height: 0;
|
1383 |
+
position: absolute;
|
1384 |
+
top: 22px;
|
1385 |
+
width: 0;
|
1386 |
+
z-index: 1;
|
1387 |
+
right: 30px;
|
1388 |
+
border: medium solid #f3f4f5;
|
1389 |
+
border-width: 10px 0 10px 10px;
|
1390 |
+
}
|
1391 |
+
|
1392 |
+
|
1393 |
+
|
1394 |
+
|
1395 |
+
|
1396 |
+
|
1397 |
+
|
1398 |
+
|
1399 |
+
|
1400 |
+
|
1401 |
+
|
1402 |
+
/************ Image Accordion CSS ************/
|
1403 |
+
.acfb_image_accordion{
|
1404 |
+
display: -webkit-box;
|
1405 |
+
display: -webkit-flex;
|
1406 |
+
display: -ms-flexbox;
|
1407 |
+
display: flex;
|
1408 |
+
}
|
1409 |
+
|
1410 |
+
.acfb_image_accordion_item{
|
1411 |
+
cursor: pointer;
|
1412 |
+
-webkit-background-size: cover;
|
1413 |
+
background-size: cover;
|
1414 |
+
background-position: center;
|
1415 |
+
background-repeat: no-repeat;
|
1416 |
+
position: relative;
|
1417 |
+
-webkit-box-flex: 1;
|
1418 |
+
-webkit-flex: 1;
|
1419 |
+
-ms-flex: 1;
|
1420 |
+
flex: 1;
|
1421 |
+
text-decoration: none;
|
1422 |
+
-webkit-transition: -webkit-box-flex .4s,-webkit-flex .4s;
|
1423 |
+
transition: -webkit-box-flex .4s,-webkit-flex .4s;
|
1424 |
+
-o-transition: flex .4s;
|
1425 |
+
transition: flex .4s;
|
1426 |
+
transition: flex .4s,-webkit-box-flex .4s,-webkit-flex .4s,-ms-flex .4s;
|
1427 |
+
overflow: hidden;
|
1428 |
+
}
|
1429 |
+
|
1430 |
+
|
1431 |
+
.acfb_image_accordion_overlay{
|
1432 |
+
display: -webkit-box;
|
1433 |
+
display: -webkit-flex;
|
1434 |
+
display: -ms-flexbox;
|
1435 |
+
display: flex;
|
1436 |
+
-webkit-box-align: center;
|
1437 |
+
-webkit-align-items: center;
|
1438 |
+
-ms-flex-align: center;
|
1439 |
+
/*align-items: center;*/
|
1440 |
+
-webkit-box-pack: center;
|
1441 |
+
-webkit-justify-content: center;
|
1442 |
+
-ms-flex-pack: center;
|
1443 |
+
/*justify-content: center;*/
|
1444 |
+
padding: 20px;
|
1445 |
+
position: absolute;
|
1446 |
+
top: 0;
|
1447 |
+
right: 0;
|
1448 |
+
bottom: 0;
|
1449 |
+
left: 0;
|
1450 |
+
-webkit-transition: background-color .4s;
|
1451 |
+
-o-transition: background-color .4s;
|
1452 |
+
transition: background-color .4s;
|
1453 |
+
}
|
1454 |
+
|
1455 |
+
.acfb_image_accordion_overlay .acfb_image_accordion_wrap{
|
1456 |
+
z-index: 1;
|
1457 |
+
/* display: flex;
|
1458 |
+
flex-direction: column;
|
1459 |
+
align-items: center;*/
|
1460 |
+
visibility: hidden;
|
1461 |
+
}
|
1462 |
+
|
1463 |
+
./*acfb_image_accordion_content{
|
1464 |
+
text-align: center;
|
1465 |
+
}*/
|
1466 |
+
|
1467 |
+
.acfb_image_accordion_content .acfb_image_accordion_title{
|
1468 |
+
margin: 0 !important;
|
1469 |
+
}
|
1470 |
+
|
1471 |
+
.acfb_image_accordion_wrap *{
|
1472 |
+
visibility: hidden;
|
1473 |
+
opacity: 0;
|
1474 |
+
-webkit-transform-style: preserve-3d;
|
1475 |
+
transform-style: preserve-3d;
|
1476 |
+
}
|
1477 |
+
|
1478 |
+
.acfb_image_accordion_title{
|
1479 |
+
-webkit-transform: translate3d(0,-60px,0);
|
1480 |
+
transform: translate3d(0,-60px,0);
|
1481 |
+
margin: 0;
|
1482 |
+
}
|
1483 |
+
|
1484 |
+
.acfb_image_accordion_description{
|
1485 |
+
-webkit-transform: translate3d(0,60px,0);
|
1486 |
+
transform: translate3d(0,60px,0);
|
1487 |
+
margin: 10px 0 15px 0;
|
1488 |
+
}
|
1489 |
+
|
1490 |
+
.acfb_image_accordion_content .acfb_image_accordion_button{
|
1491 |
+
cursor: pointer;
|
1492 |
+
padding: 10px 25px;
|
1493 |
+
display: inline-block;
|
1494 |
+
text-decoration: none;
|
1495 |
+
-webkit-transform: translate3d(0,60px,0);
|
1496 |
+
transform: translate3d(0,60px,0);
|
1497 |
+
}
|
1498 |
+
|
1499 |
+
|
1500 |
+
.acfb_image_accordion_active .acfb_image_accordion_wrap{
|
1501 |
+
visibility: visible;
|
1502 |
+
}
|
1503 |
+
|
1504 |
+
|
1505 |
+
.acfb_image_accordion_active .acfb_image_accordion_wrap *{
|
1506 |
+
opacity: 1;
|
1507 |
+
visibility: visible;
|
1508 |
+
transform: none;
|
1509 |
+
transition: all .3s .3s;
|
1510 |
+
}
|
1511 |
+
|
1512 |
+
|
1513 |
+
@media screen and (max-width: 767px) {
|
1514 |
+
.acfb_image_accordion {
|
1515 |
+
flex-direction: column !important;
|
1516 |
+
}
|
1517 |
+
|
1518 |
+
.acfb_image_accordion .acfb_image_accordion_item{
|
1519 |
+
margin: 0 0 10px 0 !important;
|
1520 |
+
}
|
1521 |
+
|
1522 |
+
.acfb_image_accordion .acfb_image_accordion_item:last-child{
|
1523 |
+
margin-bottom: 0 !important;
|
1524 |
+
}
|
1525 |
+
}
|
1526 |
+
|
1527 |
+
|
1528 |
+
|
1529 |
+
|
1530 |
+
|
1531 |
+
|
1532 |
+
|
1533 |
+
|
1534 |
+
|
1535 |
+
|
1536 |
+
|
1537 |
+
|
1538 |
+
|
1539 |
+
/************ Call to Action CSS ************/
|
1540 |
+
.acfb_call_to_action_block .acfb_cta_skin_classic .acfb_cta{
|
1541 |
+
-ms-flex-wrap: wrap;
|
1542 |
+
flex-wrap: wrap;
|
1543 |
+
}
|
1544 |
+
|
1545 |
+
.acfb_call_to_action_block .acfb_cta_skin_cover .acfb_cta{
|
1546 |
+
display: block;
|
1547 |
+
}
|
1548 |
+
|
1549 |
+
.acfb_call_to_action_block .acfb_cta{
|
1550 |
+
position: relative;
|
1551 |
+
display: -webkit-box;
|
1552 |
+
display: -ms-flexbox;
|
1553 |
+
display: flex;
|
1554 |
+
-webkit-transition: .5s;
|
1555 |
+
-o-transition: .5s;
|
1556 |
+
transition: .5s;
|
1557 |
+
overflow: hidden;
|
1558 |
+
}
|
1559 |
+
|
1560 |
+
.acfb_call_to_action_block .acfb_cta_skin_classic .acfb_cta_bg_wrapper{
|
1561 |
+
position: relative;
|
1562 |
+
min-height: 200px;
|
1563 |
+
width: 100%;
|
1564 |
+
}
|
1565 |
+
|
1566 |
+
.acfb_call_to_action_block .acfb_cta_skin_cover .acfb_cta_bg_wrapper{
|
1567 |
+
position: absolute;
|
1568 |
+
top: 0;
|
1569 |
+
left: 0;
|
1570 |
+
right: 0;
|
1571 |
+
bottom: 0;
|
1572 |
+
-webkit-transition: all .4s;
|
1573 |
+
-o-transition: all .4s;
|
1574 |
+
transition: all .4s;
|
1575 |
+
width: 100%;
|
1576 |
+
}
|
1577 |
+
|
1578 |
+
.acfb_call_to_action_block .acfb_cta_bg_wrapper{
|
1579 |
+
z-index: 1;
|
1580 |
+
overflow: hidden;
|
1581 |
+
}
|
1582 |
+
|
1583 |
+
.acfb_call_to_action_block .acfb_cta_bg{
|
1584 |
+
transition-duration: 1500ms;
|
1585 |
+
-webkit-background-size: cover;
|
1586 |
+
background-size: cover;
|
1587 |
+
background-position: 50%;
|
1588 |
+
z-index: 1;
|
1589 |
+
will-change: transform;
|
1590 |
+
position: absolute;
|
1591 |
+
top: 0;
|
1592 |
+
left: 0;
|
1593 |
+
right: 0;
|
1594 |
+
bottom: 0;
|
1595 |
+
-webkit-transition: all .4s;
|
1596 |
+
-o-transition: all .4s;
|
1597 |
+
transition: all .4s;
|
1598 |
+
}
|
1599 |
+
|
1600 |
+
.acfb_call_to_action_block .acfb_cta_bg_overlay{
|
1601 |
+
transition-duration: 1500ms;
|
1602 |
+
z-index: 2;
|
1603 |
+
position: absolute;
|
1604 |
+
top: 0;
|
1605 |
+
left: 0;
|
1606 |
+
right: 0;
|
1607 |
+
bottom: 0;
|
1608 |
+
-webkit-transition: all .4s;
|
1609 |
+
-o-transition: all .4s;
|
1610 |
+
transition: all .4s;
|
1611 |
+
}
|
1612 |
+
|
1613 |
+
.acfb_call_to_action_block .acfb_cta_skin_classic .acfb_cta_content{
|
1614 |
+
-webkit-transition: all .4s;
|
1615 |
+
-o-transition: all .4s;
|
1616 |
+
transition: all .4s;
|
1617 |
+
width: 100%;
|
1618 |
+
}
|
1619 |
+
|
1620 |
+
.acfb_call_to_action_block .acfb_cta_content{
|
1621 |
+
position: relative;
|
1622 |
+
-webkit-transition: .5s;
|
1623 |
+
-o-transition: .5s;
|
1624 |
+
transition: .5s;
|
1625 |
+
color: black;
|
1626 |
+
z-index: 1;
|
1627 |
+
overflow: hidden;
|
1628 |
+
display: -webkit-box;
|
1629 |
+
display: -ms-flexbox;
|
1630 |
+
display: flex;
|
1631 |
+
-ms-flex-wrap: wrap;
|
1632 |
+
flex-wrap: wrap;
|
1633 |
+
-webkit-box-align: center;
|
1634 |
+
-ms-flex-align: center;
|
1635 |
+
-ms-flex-line-pack: center;
|
1636 |
+
/*align-content: center;*/
|
1637 |
+
width: 100%;
|
1638 |
+
flex-direction: column;
|
1639 |
+
}
|
1640 |
+
|
1641 |
+
.acfb_call_to_action_block .acfb_cta_button{
|
1642 |
+
cursor: pointer;
|
1643 |
+
padding: 10px 25px;
|
1644 |
+
display: inline-block;
|
1645 |
+
text-decoration: none;
|
1646 |
+
}
|
1647 |
+
|
1648 |
+
.acfb_call_to_action_block .acfb_cta_ribbon_wrap{
|
1649 |
+
position: absolute;
|
1650 |
+
z-index: 1;
|
1651 |
+
top: 0;
|
1652 |
+
left: auto;
|
1653 |
+
right: 0;
|
1654 |
+
-webkit-transform: rotate(90deg);
|
1655 |
+
-ms-transform: rotate(90deg);
|
1656 |
+
transform: rotate(90deg);
|
1657 |
+
width: 150px;
|
1658 |
+
overflow: hidden;
|
1659 |
+
height: 150px;
|
1660 |
+
}
|
1661 |
+
|
1662 |
+
.acfb_call_to_action_block .acfb_cta_ribbon_left{
|
1663 |
+
-webkit-transform: rotate(0);
|
1664 |
+
-ms-transform: rotate(0);
|
1665 |
+
transform: rotate(0);
|
1666 |
+
left: 0;
|
1667 |
+
right: auto;
|
1668 |
+
}
|
1669 |
+
|
1670 |
+
.acfb_call_to_action_block .acfb_cta_ribbon_right{
|
1671 |
+
-webkit-transform: rotate(90deg);
|
1672 |
+
-ms-transform: rotate(90deg);
|
1673 |
+
transform: rotate(90deg);
|
1674 |
+
left: auto;
|
1675 |
+
right: 0;
|
1676 |
+
}
|
1677 |
+
|
1678 |
+
.acfb_call_to_action_block .acfb_cta_ribbon{
|
1679 |
+
font-weight: 500;
|
1680 |
+
text-align: center;
|
1681 |
+
left: 0;
|
1682 |
+
width: 200%;
|
1683 |
+
-webkit-transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
|
1684 |
+
-ms-transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
|
1685 |
+
transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
|
1686 |
+
margin-top: 35px;
|
1687 |
+
font-size: 13px;
|
1688 |
+
line-height: 2;
|
1689 |
+
font-weight: 800;
|
1690 |
+
text-transform: uppercase;
|
1691 |
+
}
|
1692 |
+
|
1693 |
+
|
1694 |
+
.acfb_call_to_action_block .acfb_cta_image_left .acfb_cta{
|
1695 |
+
-webkit-box-orient: horizontal;
|
1696 |
+
-webkit-box-direction: normal;
|
1697 |
+
-ms-flex-direction: row;
|
1698 |
+
flex-direction: row;
|
1699 |
+
}
|
1700 |
+
|
1701 |
+
.acfb_call_to_action_block .acfb_cta_image_right .acfb_cta{
|
1702 |
+
-webkit-box-orient: horizontal;
|
1703 |
+
-webkit-box-direction: reverse;
|
1704 |
+
flex-direction: row-reverse;
|
1705 |
+
}
|
1706 |
+
|
1707 |
+
.acfb_call_to_action_block .acfb_cta_image_left .acfb_cta, .acfb_call_to_action_block .acfb_cta_image_right .acfb_cta{
|
1708 |
+
-ms-flex-wrap: nowrap;
|
1709 |
+
flex-wrap: nowrap;
|
1710 |
+
}
|
1711 |
+
|
1712 |
+
.acfb_call_to_action_block .acfb_cta_image_left .acfb_cta_bg_wrapper, .acfb_call_to_action_block .acfb_cta_image_right .acfb_cta_bg_wrapper{
|
1713 |
+
width: auto;
|
1714 |
+
min-width: 50%;
|
1715 |
+
}
|
1716 |
+
|
1717 |
+
.acfb_call_to_action_block:hover .acfb_cta_bg{
|
1718 |
+
-webkit-transform: scale(1.2);
|
1719 |
+
-ms-transform: scale(1.2);
|
1720 |
+
transform: scale(1.2);
|
1721 |
+
}
|
1722 |
+
|
1723 |
+
.acfb_call_to_action_block .acfb_cta_item{
|
1724 |
+
transition-duration: 1000ms;
|
1725 |
+
}
|
1726 |
+
|
1727 |
+
.acfb_call_to_action_block .acfb_cta_skin_cover .acfb_cta_content{
|
1728 |
+
/*pointer-events: none;*/
|
1729 |
+
}
|
1730 |
+
|
1731 |
+
.acfb_call_to_action_block .acfb_cta_skin_cover .acfb_cta_content:hover .acfb_cta_item{
|
1732 |
+
-webkit-transform: scale(1.1);
|
1733 |
+
-ms-transform: scale(1.1);
|
1734 |
+
transform: scale(1.1);
|
1735 |
+
}
|
1736 |
+
|
1737 |
+
.acfb_call_to_action_block .acfb_cta_item, .acfb_call_to_action_block .acfb_cta_item p{
|
1738 |
+
margin: 0 0 10px 0;
|
1739 |
+
display: inline-block;
|
1740 |
+
}
|
1741 |
+
|
1742 |
+
|
1743 |
+
|
1744 |
+
|
1745 |
+
|
1746 |
+
|
1747 |
+
|
1748 |
+
|
1749 |
+
|
1750 |
+
|
1751 |
+
|
1752 |
+
|
1753 |
+
|
1754 |
+
|
1755 |
+
|
1756 |
+
|
1757 |
+
|
1758 |
+
|
1759 |
+
/************ Before After Image CSS ************/
|
1760 |
+
|
1761 |
+
|
1762 |
+
|
1763 |
+
|
1764 |
+
|
1765 |
+
|
1766 |
+
|
1767 |
+
|
1768 |
+
|
1769 |
+
|
1770 |
+
|
1771 |
+
|
1772 |
+
/************ Image Hotspot CSS ************/
|
1773 |
+
.acfb_ih_wrapper{
|
1774 |
+
position: relative;
|
1775 |
+
}
|
1776 |
+
|
1777 |
+
.acfb_ih_wrapper .acfb_ih_image{
|
1778 |
+
width: 100%;
|
1779 |
+
}
|
1780 |
+
|
1781 |
+
.acfb_ih_item {
|
1782 |
+
position: absolute;
|
1783 |
+
}
|
1784 |
+
|
1785 |
+
.acfb_ih_item .acfb_ih_tooltip h4{
|
1786 |
+
margin: 0;
|
1787 |
+
}
|
1788 |
+
|
1789 |
+
.acfb_ih_item .acfb_ih_tooltip p{
|
1790 |
+
margin: 10px 0;
|
1791 |
+
}
|
1792 |
+
|
1793 |
+
.acfb_ih_item:hover, .acfb_ih_item:active {
|
1794 |
+
z-index: 999;
|
1795 |
+
}
|
1796 |
+
.acfb_ih_item:hover .acfb_ih_tooltip, .acfb_ih_item:active .acfb_ih_tooltip {
|
1797 |
+
display: block;
|
1798 |
+
}
|
1799 |
+
|
1800 |
+
.acfb_ih_item:hover .acfb_ih_pointer:after, .acfb_ih_item:active .acfb_ih_pointer:after {
|
1801 |
+
border-color: transparent;
|
1802 |
+
}
|
1803 |
+
.acfb_ih_pointer {
|
1804 |
+
padding: 0px;
|
1805 |
+
border-radius: 100%;
|
1806 |
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
1807 |
+
z-index: 999;
|
1808 |
+
cursor: pointer;
|
1809 |
+
}
|
1810 |
+
.acfb_ih_pointer:after {
|
1811 |
+
position: absolute;
|
1812 |
+
top: 50%;
|
1813 |
+
left: 50%;
|
1814 |
+
transform: translate(-50%, -50%) scale(1, 1);
|
1815 |
+
pointer-events: none;
|
1816 |
+
content: "";
|
1817 |
+
display: block;
|
1818 |
+
border-radius: 100%;
|
1819 |
+
opacity: 0;
|
1820 |
+
transition: border-color 1s linear;
|
1821 |
+
animation: button-pulse 4s linear infinite;
|
1822 |
+
}
|
1823 |
+
.acfb_ih_tooltip {
|
1824 |
+
position: absolute;
|
1825 |
+
padding: 15px;
|
1826 |
+
background-color: white;
|
1827 |
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
1828 |
+
z-index: -1;
|
1829 |
+
display: none;
|
1830 |
+
transition: opacity 0.1s linear;
|
1831 |
+
}
|
1832 |
+
.acfb_ih_tooltip h4, .acfb_ih_tooltip p, .acfb_ih_tooltip img {
|
1833 |
+
margin: 0 0 10px 0;
|
1834 |
+
}
|
1835 |
+
|
1836 |
+
.acfb_ih_tooltip a {
|
1837 |
+
cursor: pointer;
|
1838 |
+
padding: 10px 25px;
|
1839 |
+
display: inline-block;
|
1840 |
+
text-decoration: none;
|
1841 |
+
}
|
1842 |
+
|
1843 |
+
.acfb_ih_tooltip:after{
|
1844 |
+
height: 20px;
|
1845 |
+
width: 20px;
|
1846 |
+
-webkit-transform: rotate(45deg);
|
1847 |
+
transform: rotate(45deg);
|
1848 |
+
content: "";
|
1849 |
+
display: block;
|
1850 |
+
position: absolute;
|
1851 |
+
background-size: cover;
|
1852 |
+
}
|
1853 |
+
|
1854 |
+
/* Tooltip Positions */
|
1855 |
+
.acfb_ih_top {
|
1856 |
+
-webkit-transform: translate(-50%,0px);
|
1857 |
+
transform: translate(-50%,0px);
|
1858 |
+
margin: 0 -400px 10px 0;
|
1859 |
+
bottom: 110%;
|
1860 |
+
left: 50%;
|
1861 |
+
}
|
1862 |
+
|
1863 |
+
.acfb_ih_top:after{
|
1864 |
+
bottom: -10px;
|
1865 |
+
left: 50%;
|
1866 |
+
margin-left: -12px;
|
1867 |
+
}
|
1868 |
+
|
1869 |
+
|
1870 |
+
.acfb_ih_bottom {
|
1871 |
+
-webkit-transform: translate(-50%,0px);
|
1872 |
+
transform: translate(-50%,0px);
|
1873 |
+
margin: 10px -400px 0 0;
|
1874 |
+
top: 110%;
|
1875 |
+
left: 50%;
|
1876 |
+
}
|
1877 |
+
|
1878 |
+
.acfb_ih_bottom:after{
|
1879 |
+
top: -10px;
|
1880 |
+
left: 50%;
|
1881 |
+
margin-left: -12px;
|
1882 |
+
}
|
1883 |
+
|
1884 |
+
|
1885 |
+
.acfb_ih_left {
|
1886 |
+
-webkit-transform: translate(0px,-50%);
|
1887 |
+
transform: translate(0px,-50%);
|
1888 |
+
margin: 0 10px 0 -400px;
|
1889 |
+
top: 50%;
|
1890 |
+
right: 110%;
|
1891 |
+
}
|
1892 |
+
|
1893 |
+
.acfb_ih_left:after{
|
1894 |
+
top: 50%;
|
1895 |
+
right: -10px;
|
1896 |
+
margin-top: -8px;
|
1897 |
+
}
|
1898 |
+
|
1899 |
+
|
1900 |
+
.acfb_ih_right {
|
1901 |
+
-webkit-transform: translate(0px,-50%);
|
1902 |
+
transform: translate(0px,-50%);
|
1903 |
+
margin: 0 -400px 0 10px;
|
1904 |
+
top: 50%;
|
1905 |
+
left: 110%;
|
1906 |
+
}
|
1907 |
+
|
1908 |
+
.acfb_ih_right:after{
|
1909 |
+
top: 50%;
|
1910 |
+
left: -10px;
|
1911 |
+
margin-top: -8px;
|
1912 |
+
}
|
1913 |
+
|
1914 |
+
|
1915 |
+
|
1916 |
+
|
1917 |
+
|
1918 |
+
@keyframes button-pulse {
|
1919 |
+
0% {
|
1920 |
+
transform: translate(-50%, -50%) scale(1, 1);
|
1921 |
+
opacity: 0;
|
1922 |
+
}
|
1923 |
+
20% {
|
1924 |
+
transform: translate(-50%, -50%) scale(1.5, 1.5);
|
1925 |
+
opacity: 0.9;
|
1926 |
+
}
|
1927 |
+
50% {
|
1928 |
+
transform: translate(-50%, -50%) scale(2, 2);
|
1929 |
+
opacity: 0;
|
1930 |
+
}
|
1931 |
+
100% {
|
1932 |
+
transform: translate(-50%, -50%) scale(2, 2);
|
1933 |
+
opacity: 0;
|
1934 |
+
}
|
1935 |
+
}
|
1936 |
+
|
1937 |
+
|
1938 |
+
|
1939 |
+
|
1940 |
+
|
1941 |
+
|
1942 |
+
/************ Devices CSS ************/
|
1943 |
+
/* Laptop Device */
|
1944 |
+
.acfb_device_block{
|
1945 |
+
display: flex;
|
1946 |
+
}
|
1947 |
+
|
1948 |
+
.acfb_device_type_laptop .acfb_device{
|
1949 |
+
position: relative;
|
1950 |
+
}
|
1951 |
+
|
1952 |
+
.acfb_device_type_laptop .acfb_device_body svg{
|
1953 |
+
display: block;
|
1954 |
+
transform: rotate(0deg);
|
1955 |
+
}
|
1956 |
+
|
1957 |
+
.acfb_device_type_laptop .acfb_device_media{
|
1958 |
+
position: absolute;
|
1959 |
+
top: 6%;
|
1960 |
+
width: 76%;
|
1961 |
+
height: 84%;
|
1962 |
+
left: 50%;
|
1963 |
+
transition: all 0.3s cubic-bezier(.42,0,.2,1);
|
1964 |
+
border-radius: 3px;
|
1965 |
+
transform: translateX(-50%);
|
1966 |
+
/*background: rgba(255,255,255,.2);*/
|
1967 |
+
overflow: hidden;
|
1968 |
+
display: -ms-flexbox;
|
1969 |
+
display: flex;
|
1970 |
+
border-radius: 3px;
|
1971 |
+
transition: all 0.3s cubic-bezier(.42,0,.2,1);
|
1972 |
+
z-index: 2;
|
1973 |
+
align-items: flex-start;
|
1974 |
+
flex-direction: row;
|
1975 |
+
}
|
1976 |
+
|
1977 |
+
|
1978 |
+
.acfb_device_type_laptop .acfb_device_media img{
|
1979 |
+
width: 100%;
|
1980 |
+
height: 100%;
|
1981 |
+
object-fit: cover;
|
1982 |
+
}
|
1983 |
+
|
1984 |
+
|
1985 |
+
/* Tablet Device */
|
1986 |
+
.acfb_device_type_tablet .acfb_device{
|
1987 |
+
position: relative;
|
1988 |
+
}
|
1989 |
+
|
1990 |
+
.acfb_device_type_tablet .acfb_device_body svg{
|
1991 |
+
display: block;
|
1992 |
+
transform: rotate(0deg);
|
1993 |
+
transition: all 0.3s cubic-bezier(.42,0,.2,1);
|
1994 |
+
}
|
1995 |
+
|
1996 |
+
.acfb_device_type_tablet .acfb_device_media{
|
1997 |
+
position: absolute;
|
1998 |
+
top: 7%;
|
1999 |
+
left: 50%;
|
2000 |
+
bottom: 38%;
|
2001 |
+
transition: all 0.3s cubic-bezier(.42,0,.2,1);
|
2002 |
+
transform: translateX(-50%);
|
2003 |
+
width: 90.69767%;
|
2004 |
+
height: 84%;
|
2005 |
+
background: rgba(255,255,255,.2);
|
2006 |
+
overflow: hidden;
|
2007 |
+
display: -ms-flexbox;
|
2008 |
+
display: flex;
|
2009 |
+
border-radius: 3px;
|
2010 |
+
transition: all 0.3s cubic-bezier(.42,0,.2,1);
|
2011 |
+
z-index: 2;
|
2012 |
+
align-items: flex-start;
|
2013 |
+
flex-direction: row;
|
2014 |
+
}
|
2015 |
+
|
2016 |
+
.acfb_device_type_tablet .acfb_device_media img{
|
2017 |
+
width: 100%;
|
2018 |
+
height: 100%;
|
2019 |
+
object-fit: cover;
|
2020 |
+
}
|
2021 |
+
|
2022 |
+
|
2023 |
+
/* Mobile Device */
|
2024 |
+
.acfb_device_type_mobile .acfb_device{
|
2025 |
+
position: relative;
|
2026 |
+
}
|
2027 |
+
|
2028 |
+
.acfb_device_type_mobile .acfb_device_body svg{
|
2029 |
+
display: block;
|
2030 |
+
transform: rotate(0deg);
|
2031 |
+
}
|
2032 |
+
|
2033 |
+
.acfb_device_type_mobile .acfb_device_media{
|
2034 |
+
position: absolute;
|
2035 |
+
left: 50%;
|
2036 |
+
transition: all 0.3s cubic-bezier(.42,0,.2,1);
|
2037 |
+
border-radius: 3px;
|
2038 |
+
transform: translateX(-50%);
|
2039 |
+
background: rgba(255,255,255,.2);
|
2040 |
+
overflow: hidden;
|
2041 |
+
display: -ms-flexbox;
|
2042 |
+
display: flex;
|
2043 |
+
border-radius: 3px;
|
2044 |
+
transition: all 0.3s cubic-bezier(.42,0,.2,1);
|
2045 |
+
z-index: 2;
|
2046 |
+
align-items: flex-start;
|
2047 |
+
flex-direction: row;
|
2048 |
+
top: 11.7%;
|
2049 |
+
bottom: 12%;
|
2050 |
+
width: 88.80866%;
|
2051 |
+
transform: translateX(-50%);
|
2052 |
+
}
|
2053 |
+
|
2054 |
+
.acfb_device_type_mobile .acfb_device_media img{
|
2055 |
+
width: 100%;
|
2056 |
+
height: 100%;
|
2057 |
+
object-fit: cover;
|
2058 |
+
}
|
2059 |
+
|
2060 |
+
|
2061 |
+
|
2062 |
+
|
2063 |
+
/************ Shape Divider CSS ************/
|
2064 |
+
.acfb_shape_divider_block .acfb_shape_divider{
|
2065 |
+
overflow: hidden;
|
2066 |
+
}
|
2067 |
+
|
2068 |
+
.acfb_shape_divider_block .acfb_shape_divider svg{
|
2069 |
+
display: block;
|
2070 |
+
position: relative;
|
2071 |
+
/* left: 0%;
|
2072 |
+
-webkit-transform: translateX(-50%);
|
2073 |
+
-ms-transform: translateX(-50%);
|
2074 |
+
transform: translateX(-50%);*/
|
2075 |
+
}
|
2076 |
+
|
2077 |
+
.acfb_shape_divider_block .acfb_shape_divider{
|
2078 |
+
bottom: -1px;
|
2079 |
+
}
|
2080 |
+
|
2081 |
+
/*.acfb_shape_divider_block .acfb_shape_divider svg{
|
2082 |
+
transform: translateX(-50%) rotateY(180deg);
|
2083 |
+
}*/
|
2084 |
+
|
2085 |
+
.acfb_shape_divider_block .acfb_shape_top{
|
2086 |
+
transform: rotateX(-180deg);
|
2087 |
+
}
|
2088 |
+
|
2089 |
+
|
2090 |
+
|
2091 |
+
|
2092 |
+
|
2093 |
+
/************ Post Ticker CSS ************/
|
2094 |
+
.acfb_post_ticker{
|
2095 |
+
display: flex;
|
2096 |
+
overflow: hidden;
|
2097 |
+
}
|
2098 |
+
|
2099 |
+
.acfb_post_ticker .acfb_post_ticker_heading{
|
2100 |
+
display: flex;
|
2101 |
+
flex-direction: row;
|
2102 |
+
flex-shrink: 0;
|
2103 |
+
align-items: center;
|
2104 |
+
padding: 10px 15px;
|
2105 |
+
position: relative;
|
2106 |
+
}
|
2107 |
+
|
2108 |
+
.acfb_post_ticker .acfb_post_ticker_heading:after {
|
2109 |
+
content: '';
|
2110 |
+
position: absolute;
|
2111 |
+
right: -20px;
|
2112 |
+
border: 10px solid transparent;
|
2113 |
+
top: 50%;
|
2114 |
+
transform: translateY(-50%);
|
2115 |
+
}
|
2116 |
+
|
2117 |
+
.acfb_post_ticker .acfb_post_ticker_wrap{
|
2118 |
+
display: flex;
|
2119 |
+
align-items: center;
|
2120 |
+
overflow: hidden;
|
2121 |
+
padding: 10px 15px;
|
2122 |
+
}
|
2123 |
+
|
2124 |
+
.acfb_post_ticker .acfb_post_ticker_wrap .acfb_ptt{
|
2125 |
+
text-decoration: none;
|
2126 |
+
}
|
2127 |
+
|
2128 |
+
/*
|
2129 |
+
.acfb_post_ticker .acfb_post_ticker_wrap .swiper-container{
|
2130 |
+
display: grid;
|
2131 |
+
grid-template-columns: 90% 10%;
|
2132 |
+
}
|
2133 |
+
|
2134 |
+
.acfb_post_ticker .acfb_post_ticker_wrap .acfb_post_ticker_navigation{
|
2135 |
+
align-items: center;
|
2136 |
+
padding-left: 10px;
|
2137 |
+
padding-right: 10px;
|
2138 |
+
justify-content: center;
|
2139 |
+
position: relative;
|
2140 |
+
}
|
2141 |
+
|
2142 |
+
.acfb_post_ticker .swiper-container .acfb-ticker-button-next, .acfb_post_ticker .swiper-container .acfb-ticker-button-prev{
|
2143 |
+
position: absolute;
|
2144 |
+
width: 20px;
|
2145 |
+
z-index: 10;
|
2146 |
+
cursor: pointer;
|
2147 |
+
}
|
2148 |
+
|
2149 |
+
.acfb_post_ticker .swiper-container .acfb-ticker-button-next{
|
2150 |
+
right: 0;
|
2151 |
+
}
|
2152 |
+
|
2153 |
+
.acfb_post_ticker .swiper-container .acfb-ticker-button-prev{
|
2154 |
+
left: 0;
|
2155 |
+
}
|
2156 |
+
*/
|
2157 |
+
|
2158 |
+
|
2159 |
+
/************ Post Tiled CSS ************/
|
2160 |
+
.acfb_posts_tiled_block .acfb_post_tiled_item .acfb_post_tiled_title,
|
2161 |
+
.acfb_posts_tiled_block .acfb_post_tiled_item .acfb_post_tiled_meta,
|
2162 |
+
.acfb_posts_tiled_block .acfb_post_tiled_item .acfb_post_tiled_excerpt,
|
2163 |
+
.acfb_posts_tiled_block .acfb_post_tiled_item .acfb_post_tiled_button {
|
2164 |
+
margin-bottom: 15px;
|
2165 |
+
}
|
2166 |
+
|
2167 |
+
.acfb_posts_tiled_block .acfb_post_tiled_item .acfb_post_tiled_title h1,
|
2168 |
+
.acfb_posts_tiled_block .acfb_post_tiled_item .acfb_post_tiled_title h2,
|
2169 |
+
.acfb_posts_tiled_block .acfb_post_tiled_item .acfb_post_tiled_title h3,
|
2170 |
+
.acfb_posts_tiled_block .acfb_post_tiled_item .acfb_post_tiled_title h4,
|
2171 |
+
.acfb_posts_tiled_block .acfb_post_tiled_item .acfb_post_tiled_title h5,
|
2172 |
+
.acfb_posts_tiled_block .acfb_post_tiled_item .acfb_post_tiled_title h6 {
|
2173 |
+
margin: 0;
|
2174 |
+
}
|
2175 |
+
|
2176 |
+
.acfb_posts_tiled_block .acfb_post_tiled_item div:nth-last-of-type(1) {
|
2177 |
+
margin-bottom: 0;
|
2178 |
+
}
|
2179 |
+
|
2180 |
+
|
2181 |
+
.acfb_posts_tiled_block .acfb_post_tiled_grid {
|
2182 |
+
display: grid;
|
2183 |
+
grid-gap: 10px;
|
2184 |
+
}
|
2185 |
+
|
2186 |
+
.acfb_posts_tiled_block .acfb_post_tiled_grid .acfb_post_tiled_item .acfb_post_tiled_item_inner{
|
2187 |
+
background-size: cover !important;
|
2188 |
+
background-position: center !important;
|
2189 |
+
padding: 15px;
|
2190 |
+
display: grid;
|
2191 |
+
}
|
2192 |
+
|
2193 |
+
|
2194 |
+
.acfb_posts_tiled_block .acfb_post_tiled_2 {
|
2195 |
+
grid-template-columns: 1fr 1fr;
|
2196 |
+
}
|
2197 |
+
|
2198 |
+
.acfb_posts_tiled_block .acfb_post_tiled_3 {
|
2199 |
+
grid-template-columns: 1fr 1fr 1fr;
|
2200 |
+
}
|
2201 |
+
|
2202 |
+
.acfb_posts_tiled_block .acfb_post_tiled_4 {
|
2203 |
+
grid-template-columns: 1fr 1fr 1fr 1fr;
|
2204 |
+
}
|
2205 |
+
|
2206 |
+
.acfb_posts_tiled_block .acfb_post_tiled_5 {
|
2207 |
+
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
|
2208 |
+
}
|
2209 |
+
|
2210 |
+
.acfb_posts_tiled_block .acfb_post_tiled_6 {
|
2211 |
+
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
2212 |
+
}
|
2213 |
+
|
2214 |
+
.acfb_posts_tiled_block .acfb_post_tiled_collage .acfb_post_tiled_item .acfb_post_tiled_item_inner{
|
2215 |
+
background-size: cover !important;
|
2216 |
+
background-position: center !important;
|
2217 |
+
padding: 15px;
|
2218 |
+
display: grid;
|
2219 |
+
height: 100%;
|
2220 |
+
}
|
2221 |
+
|
2222 |
+
.acfb_posts_tiled_block .acfb_post_collage_three_grid_style_one{
|
2223 |
+
display: grid;
|
2224 |
+
grid-gap: 10px;
|
2225 |
+
grid-template-columns: 1fr 1fr;
|
2226 |
+
grid-template-rows: 1fr 1fr;
|
2227 |
+
grid-template-areas: "one two" "one three";
|
2228 |
+
}
|
2229 |
+
|
2230 |
+
.acfb_posts_tiled_block .acfb_post_collage_three_grid_style_one .acfb_post_tiled_item_1{ grid-area: one; }
|
2231 |
+
.acfb_posts_tiled_block .acfb_post_collage_three_grid_style_one .acfb_post_tiled_item_2{ grid-area: two; }
|
2232 |
+
.acfb_posts_tiled_block .acfb_post_collage_three_grid_style_one .acfb_post_tiled_item_3{ grid-area: three; }
|
2233 |
+
|
2234 |
+
.acfb_posts_tiled_block .acfb_post_collage_four_grid_style_one{
|
2235 |
+
display: grid;
|
2236 |
+
grid-gap: 10px;
|
2237 |
+
grid-template-columns: 1fr 1fr 1fr 1fr;
|
2238 |
+
grid-template-rows: 1fr 1fr 1fr 1fr;
|
2239 |
+
grid-template-areas: "one one two two" "one one two two" "one one three four" "one one three four";
|
2240 |
+
}
|
2241 |
+
|
2242 |
+
.acfb_posts_tiled_block .acfb_post_collage_four_grid_style_one .acfb_post_tiled_item_1{ grid-area: one; }
|
2243 |
+
.acfb_posts_tiled_block .acfb_post_collage_four_grid_style_one .acfb_post_tiled_item_2{ grid-area: two; }
|
2244 |
+
.acfb_posts_tiled_block .acfb_post_collage_four_grid_style_one .acfb_post_tiled_item_3{ grid-area: three; }
|
2245 |
+
.acfb_posts_tiled_block .acfb_post_collage_four_grid_style_one .acfb_post_tiled_item_4{ grid-area: four; }
|
2246 |
+
|
2247 |
+
|
2248 |
+
.acfb_posts_tiled_block .acfb_post_collage_four_grid_style_two{
|
2249 |
+
display: grid;
|
2250 |
+
grid-gap: 10px;
|
2251 |
+
grid-template-columns: 1fr 1fr 1fr 1fr;
|
2252 |
+
grid-template-rows: 1fr 1fr 1fr 1fr;
|
2253 |
+
grid-template-areas: "one one two three" "one one two three" "one one two four" "one one two four";
|
2254 |
+
}
|
2255 |
+
|
2256 |
+
.acfb_posts_tiled_block .acfb_post_collage_four_grid_style_two .acfb_post_tiled_item_1{ grid-area: one; }
|
2257 |
+
.acfb_posts_tiled_block .acfb_post_collage_four_grid_style_two .acfb_post_tiled_item_2{ grid-area: two; }
|
2258 |
+
.acfb_posts_tiled_block .acfb_post_collage_four_grid_style_two .acfb_post_tiled_item_3{ grid-area: three; }
|
2259 |
+
.acfb_posts_tiled_block .acfb_post_collage_four_grid_style_two .acfb_post_tiled_item_4{ grid-area: four; }
|
2260 |
+
|
2261 |
+
|
2262 |
+
|
2263 |
+
|
2264 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_one{
|
2265 |
+
display: grid;
|
2266 |
+
grid-gap: 10px;
|
2267 |
+
grid-template-columns: 1fr 1fr 1fr;
|
2268 |
+
grid-template-rows: 1fr 1fr;
|
2269 |
+
grid-template-areas: "one three four" "two three five";
|
2270 |
+
}
|
2271 |
+
|
2272 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_one .acfb_post_tiled_item_1{ grid-area: one; }
|
2273 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_one .acfb_post_tiled_item_2{ grid-area: two; }
|
2274 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_one .acfb_post_tiled_item_3{ grid-area: three; }
|
2275 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_one .acfb_post_tiled_item_4{ grid-area: four; }
|
2276 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_one .acfb_post_tiled_item_5{ grid-area: five; }
|
2277 |
+
|
2278 |
+
|
2279 |
+
|
2280 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_two{
|
2281 |
+
display: grid;
|
2282 |
+
grid-gap: 10px;
|
2283 |
+
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
|
2284 |
+
grid-template-rows: 1fr 1fr;
|
2285 |
+
grid-template-areas: "one one one two two two" "three three four four five five";
|
2286 |
+
}
|
2287 |
+
|
2288 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_two .acfb_post_tiled_item_1{ grid-area: one; }
|
2289 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_two .acfb_post_tiled_item_2{ grid-area: two; }
|
2290 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_two .acfb_post_tiled_item_3{ grid-area: three; }
|
2291 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_two .acfb_post_tiled_item_4{ grid-area: four; }
|
2292 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_two .acfb_post_tiled_item_5{ grid-area: five; }
|
2293 |
+
|
2294 |
+
|
2295 |
+
|
2296 |
+
|
2297 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_three{
|
2298 |
+
display: grid;
|
2299 |
+
grid-gap: 10px;
|
2300 |
+
grid-template-columns: 1fr 1fr 1fr 1fr;
|
2301 |
+
grid-template-rows: 1fr 1fr;
|
2302 |
+
grid-template-areas: "one one two three" "one one four five";
|
2303 |
+
}
|
2304 |
+
|
2305 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_three .acfb_post_tiled_item_1{ grid-area: one; }
|
2306 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_three .acfb_post_tiled_item_2{ grid-area: two; }
|
2307 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_three .acfb_post_tiled_item_3{ grid-area: three; }
|
2308 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_three .acfb_post_tiled_item_4{ grid-area: four; }
|
2309 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_three .acfb_post_tiled_item_5{ grid-area: five; }
|
2310 |
+
|
2311 |
+
|
2312 |
+
|
2313 |
+
|
2314 |
+
@media screen and (max-width: 767px) {
|
2315 |
+
.acfb_posts_tiled_block .acfb_post_tiled_grid{
|
2316 |
+
grid-template-columns: 100%;
|
2317 |
+
}
|
2318 |
+
|
2319 |
+
.acfb_posts_tiled_block .acfb_post_collage_three_grid_style_one{
|
2320 |
+
grid-template-columns: 1fr;
|
2321 |
+
grid-template-rows: 1fr;
|
2322 |
+
grid-template-areas:
|
2323 |
+
"one"
|
2324 |
+
"two"
|
2325 |
+
"three";
|
2326 |
+
}
|
2327 |
+
|
2328 |
+
.acfb_posts_tiled_block .acfb_post_collage_four_grid_style_one,
|
2329 |
+
.acfb_posts_tiled_block .acfb_post_collage_four_grid_style_two{
|
2330 |
+
grid-template-columns: 1fr;
|
2331 |
+
grid-template-rows: 1fr;
|
2332 |
+
grid-template-areas:
|
2333 |
+
"one"
|
2334 |
+
"two"
|
2335 |
+
"three"
|
2336 |
+
"four";
|
2337 |
+
}
|
2338 |
+
|
2339 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_one,
|
2340 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_two,
|
2341 |
+
.acfb_posts_tiled_block .acfb_post_collage_five_grid_style_three{
|
2342 |
+
grid-template-columns: 1fr;
|
2343 |
+
grid-template-rows: 1fr;
|
2344 |
+
grid-template-areas:
|
2345 |
+
"one"
|
2346 |
+
"two"
|
2347 |
+
"three"
|
2348 |
+
"four"
|
2349 |
+
"five";
|
2350 |
+
}
|
2351 |
+
|
2352 |
+
|
2353 |
+
}
|
2354 |
+
|
2355 |
+
|
2356 |
+
|
2357 |
+
|
2358 |
+
|
2359 |
+
|
2360 |
+
|
2361 |
+
|
2362 |
+
|
2363 |
+
/************ Post Timeline CSS ************/
|
2364 |
+
.acfb_post_timeline_block .acfb_post_timeline .acfb_post_timeline_content img{
|
2365 |
+
height: auto;
|
2366 |
+
}
|
2367 |
+
|
2368 |
+
.acfb_post_timeline_block .acfb_post_timeline_thumbnail,
|
2369 |
+
.acfb_post_timeline_block .acfb_post_timeline_title,
|
2370 |
+
.acfb_post_timeline_block .acfb_post_timeline_meta,
|
2371 |
+
.acfb_post_timeline_block .acfb_post_timeline_excerpt,
|
2372 |
+
.acfb_post_timeline_block .acfb_post_timeline_button {
|
2373 |
+
margin: 10px 0 !important;
|
2374 |
+
}
|
2375 |
+
|
2376 |
+
.acfb_post_timeline_block .acfb_post_timeline_title h1,
|
2377 |
+
.acfb_post_timeline_block .acfb_post_timeline_title h2,
|
2378 |
+
.acfb_post_timeline_block .acfb_post_timeline_title h3,
|
2379 |
+
.acfb_post_timeline_block .acfb_post_timeline_title h4,
|
2380 |
+
.acfb_post_timeline_block .acfb_post_timeline_title h5,
|
2381 |
+
.acfb_post_timeline_block .acfb_post_timeline_title h6 {
|
2382 |
+
margin: 0;
|
2383 |
+
}
|
2384 |
+
|
2385 |
+
|
2386 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner:nth-child(odd) .acfb_posts_opposite_elements{
|
2387 |
+
position: absolute;
|
2388 |
+
right: -100%;
|
2389 |
+
top: 0;
|
2390 |
+
width: 100%;
|
2391 |
+
padding: 10px 0px 10px 40px;
|
2392 |
+
text-align: left;
|
2393 |
+
}
|
2394 |
+
|
2395 |
+
|
2396 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner:nth-child(odd) .acfb_posts_opposite_elements .acfb_posts_opposite_elements_inner::before{
|
2397 |
+
content: " ";
|
2398 |
+
height: 0;
|
2399 |
+
position: absolute;
|
2400 |
+
top: 22px;
|
2401 |
+
width: 0;
|
2402 |
+
z-index: 1;
|
2403 |
+
left: 30px;
|
2404 |
+
border-style: solid;
|
2405 |
+
border-width: 10px 10px 10px 0;
|
2406 |
+
}
|
2407 |
+
|
2408 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner:nth-child(even) .acfb_posts_opposite_elements{
|
2409 |
+
position: absolute;
|
2410 |
+
left: -100%;
|
2411 |
+
top: 0;
|
2412 |
+
width: 100%;
|
2413 |
+
padding: 10px 40px 10px 0px;
|
2414 |
+
text-align: right;
|
2415 |
+
}
|
2416 |
+
|
2417 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner:nth-child(even) .acfb_posts_opposite_elements .acfb_posts_opposite_elements_inner::before{
|
2418 |
+
content: " ";
|
2419 |
+
height: 0;
|
2420 |
+
position: absolute;
|
2421 |
+
top: 22px;
|
2422 |
+
width: 0;
|
2423 |
+
z-index: 1;
|
2424 |
+
right: 30px;
|
2425 |
+
border-style: solid;
|
2426 |
+
border-width: 10px 0 10px 10px;
|
2427 |
+
}
|
2428 |
+
|
2429 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner .acfb_posts_opposite_elements .acfb_posts_opposite_elements_inner{
|
2430 |
+
padding: 20px 30px;
|
2431 |
+
}
|
2432 |
+
|
2433 |
+
.acfb_post_timeline_center {
|
2434 |
+
position: relative;
|
2435 |
+
}
|
2436 |
+
|
2437 |
+
.acfb_post_timeline_center::after {
|
2438 |
+
background: #e0e0e0;
|
2439 |
+
}
|
2440 |
+
|
2441 |
+
.acfb_post_timeline_center::after {
|
2442 |
+
content: '';
|
2443 |
+
position: absolute;
|
2444 |
+
width: 6px;
|
2445 |
+
top: 0;
|
2446 |
+
bottom: 0;
|
2447 |
+
left: 50%;
|
2448 |
+
margin-left: -3px;
|
2449 |
+
}
|
2450 |
+
|
2451 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner {
|
2452 |
+
position: relative;
|
2453 |
+
width: 50%;
|
2454 |
+
}
|
2455 |
+
|
2456 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner:nth-child(odd) {
|
2457 |
+
left: 0;
|
2458 |
+
padding: 10px 40px 10px 0px;
|
2459 |
+
text-align: right;
|
2460 |
+
}
|
2461 |
+
|
2462 |
+
|
2463 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner:nth-child(even) {
|
2464 |
+
left: 50%;
|
2465 |
+
padding: 10px 0px 10px 40px;
|
2466 |
+
text-align: left;
|
2467 |
+
}
|
2468 |
+
|
2469 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner:nth-child(odd)::before{
|
2470 |
+
content: " ";
|
2471 |
+
height: 0;
|
2472 |
+
position: absolute;
|
2473 |
+
top: 22px;
|
2474 |
+
width: 0;
|
2475 |
+
z-index: 1;
|
2476 |
+
right: 30px;
|
2477 |
+
border-style: solid;
|
2478 |
+
border-width: 10px 0 10px 10px;
|
2479 |
+
}
|
2480 |
+
|
2481 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner:nth-child(even)::after {
|
2482 |
+
left: -12px;
|
2483 |
+
}
|
2484 |
+
|
2485 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner:nth-child(even)::before {
|
2486 |
+
content: " ";
|
2487 |
+
height: 0;
|
2488 |
+
position: absolute;
|
2489 |
+
top: 22px;
|
2490 |
+
width: 0;
|
2491 |
+
z-index: 1;
|
2492 |
+
left: 30px;
|
2493 |
+
border-style: solid;
|
2494 |
+
border-width: 10px 10px 10px 0;
|
2495 |
+
}
|
2496 |
+
|
2497 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner::after{
|
2498 |
+
content: '';
|
2499 |
+
position: absolute;
|
2500 |
+
width: 25px;
|
2501 |
+
height: 25px;
|
2502 |
+
right: -12px;
|
2503 |
+
top: 15px;
|
2504 |
+
border-radius: 50%;
|
2505 |
+
z-index: 1;
|
2506 |
+
background: #f3f4f5;
|
2507 |
+
border: 4px solid #191e23;
|
2508 |
+
}
|
2509 |
+
|
2510 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner .acfb_post_timeline_content{
|
2511 |
+
padding: 20px 30px;
|
2512 |
+
position: relative;
|
2513 |
+
}
|
2514 |
+
|
2515 |
+
|
2516 |
+
|
2517 |
+
|
2518 |
+
/*********** Left Post Timeline ************/
|
2519 |
+
.acfb_post_timeline_left .acfb_post_timeline_inner .acfb_posts_opposite_elements{
|
2520 |
+
padding-bottom: 10px;
|
2521 |
+
}
|
2522 |
+
|
2523 |
+
.acfb_post_timeline_left .acfb_post_timeline_inner .acfb_posts_opposite_elements .acfb_posts_opposite_elements_inner::before{
|
2524 |
+
content: " ";
|
2525 |
+
height: 0;
|
2526 |
+
position: absolute;
|
2527 |
+
top: 22px;
|
2528 |
+
width: 0;
|
2529 |
+
z-index: 1;
|
2530 |
+
left: 30px;
|
2531 |
+
border-style: solid;
|
2532 |
+
border-width: 10px 10px 10px 0;
|
2533 |
+
}
|
2534 |
+
|
2535 |
+
.acfb_post_timeline_left .acfb_post_timeline_inner .acfb_posts_opposite_elements .acfb_posts_opposite_elements_inner{
|
2536 |
+
padding: 20px 30px;
|
2537 |
+
}
|
2538 |
+
|
2539 |
+
.acfb_post_timeline_left {
|
2540 |
+
position: relative;
|
2541 |
+
}
|
2542 |
+
|
2543 |
+
.acfb_post_timeline_left::after {
|
2544 |
+
content: '';
|
2545 |
+
position: absolute;
|
2546 |
+
width: 6px;
|
2547 |
+
top: 0;
|
2548 |
+
bottom: 0;
|
2549 |
+
margin-left: -3px;
|
2550 |
+
}
|
2551 |
+
|
2552 |
+
.acfb_post_timeline_left .acfb_post_timeline_inner {
|
2553 |
+
position: relative;
|
2554 |
+
left: 0;
|
2555 |
+
padding: 10px 0px 10px 40px;
|
2556 |
+
text-align: left;
|
2557 |
+
display: flex;
|
2558 |
+
flex-direction: column-reverse;
|
2559 |
+
}
|
2560 |
+
|
2561 |
+
.acfb_post_timeline_left .acfb_post_timeline_inner::after {
|
2562 |
+
left: -12px;
|
2563 |
+
}
|
2564 |
+
|
2565 |
+
.acfb_post_timeline_left .acfb_post_timeline_inner::before {
|
2566 |
+
content: " ";
|
2567 |
+
height: 0;
|
2568 |
+
position: absolute;
|
2569 |
+
top: 22px;
|
2570 |
+
width: 0;
|
2571 |
+
z-index: 1;
|
2572 |
+
left: 30px;
|
2573 |
+
border-style: solid;
|
2574 |
+
border-width: 10px 10px 10px 0;
|
2575 |
+
}
|
2576 |
+
|
2577 |
+
.acfb_post_timeline_left .acfb_post_timeline_inner::after{
|
2578 |
+
content: '';
|
2579 |
+
position: absolute;
|
2580 |
+
width: 25px;
|
2581 |
+
height: 25px;
|
2582 |
+
right: -12px;
|
2583 |
+
top: 15px;
|
2584 |
+
border-radius: 50%;
|
2585 |
+
z-index: 1;
|
2586 |
+
border: 4px solid #191e23;
|
2587 |
+
}
|
2588 |
+
|
2589 |
+
.acfb_post_timeline_left .acfb_post_timeline_inner .acfb_post_timeline_content{
|
2590 |
+
padding: 20px 30px;
|
2591 |
+
position: relative;
|
2592 |
+
}
|
2593 |
+
|
2594 |
+
|
2595 |
+
|
2596 |
+
|
2597 |
+
/*********** Right Post Timeline ************/
|
2598 |
+
.acfb_post_timeline_right .acfb_post_timeline_inner .acfb_posts_opposite_elements{
|
2599 |
+
padding-bottom: 10px;
|
2600 |
+
}
|
2601 |
+
|
2602 |
+
.acfb_post_timeline_right .acfb_post_timeline_inner .acfb_posts_opposite_elements .acfb_posts_opposite_elements_inner::before{
|
2603 |
+
content: " ";
|
2604 |
+
height: 0;
|
2605 |
+
position: absolute;
|
2606 |
+
top: 22px;
|
2607 |
+
width: 0;
|
2608 |
+
z-index: 1;
|
2609 |
+
right: 30px;
|
2610 |
+
border-style: solid;
|
2611 |
+
border-width: 10px 0 10px 10px;
|
2612 |
+
}
|
2613 |
+
|
2614 |
+
.acfb_post_timeline_right .acfb_post_timeline_inner .acfb_posts_opposite_elements .acfb_posts_opposite_elements_inner{
|
2615 |
+
padding: 20px 30px;
|
2616 |
+
}
|
2617 |
+
|
2618 |
+
.acfb_post_timeline_right {
|
2619 |
+
position: relative;
|
2620 |
+
}
|
2621 |
+
|
2622 |
+
.acfb_post_timeline_right::after {
|
2623 |
+
content: '';
|
2624 |
+
position: absolute;
|
2625 |
+
width: 6px;
|
2626 |
+
top: 0;
|
2627 |
+
right: 0;
|
2628 |
+
bottom: 0;
|
2629 |
+
margin-right: -3px;
|
2630 |
+
}
|
2631 |
+
|
2632 |
+
.acfb_post_timeline_right .acfb_post_timeline_inner {
|
2633 |
+
position: relative;
|
2634 |
+
left: 0;
|
2635 |
+
padding: 10px 40px 10px 0px;
|
2636 |
+
text-align: right;
|
2637 |
+
display: flex;
|
2638 |
+
flex-direction: column-reverse;
|
2639 |
+
}
|
2640 |
+
|
2641 |
+
.acfb_post_timeline_right .acfb_post_timeline_inner::after {
|
2642 |
+
right: -12px;
|
2643 |
+
}
|
2644 |
+
|
2645 |
+
.acfb_post_timeline_right .acfb_post_timeline_inner::before {
|
2646 |
+
content: " ";
|
2647 |
+
height: 0;
|
2648 |
+
position: absolute;
|
2649 |
+
top: 22px;
|
2650 |
+
width: 0;
|
2651 |
+
z-index: 1;
|
2652 |
+
right: 30px;
|
2653 |
+
border-style: solid;
|
2654 |
+
border-width: 10px 0 10px 10px;
|
2655 |
+
}
|
2656 |
+
|
2657 |
+
.acfb_post_timeline_right .acfb_post_timeline_inner::after{
|
2658 |
+
content: '';
|
2659 |
+
position: absolute;
|
2660 |
+
width: 25px;
|
2661 |
+
height: 25px;
|
2662 |
+
top: 15px;
|
2663 |
+
border-radius: 50%;
|
2664 |
+
z-index: 1;
|
2665 |
+
border: 4px solid #191e23;
|
2666 |
+
}
|
2667 |
+
|
2668 |
+
.acfb_post_timeline_right .acfb_post_timeline_inner .acfb_post_timeline_content{
|
2669 |
+
padding: 20px 30px;
|
2670 |
+
position: relative;
|
2671 |
+
}
|
2672 |
+
|
2673 |
+
|
2674 |
+
|
2675 |
+
|
2676 |
+
|
2677 |
+
|
2678 |
+
|
2679 |
+
|
2680 |
+
|
2681 |
+
|
2682 |
+
|
2683 |
+
|
2684 |
+
|
2685 |
+
|
2686 |
+
|
2687 |
+
|
2688 |
+
|
2689 |
+
@media screen and (max-width: 767px) {
|
2690 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner{
|
2691 |
+
width: 100%;
|
2692 |
+
}
|
2693 |
+
|
2694 |
+
.acfb_post_timeline_center::after, .acfb_post_timeline_center .acfb_post_timeline_inner:nth-child(even){
|
2695 |
+
left: 0;
|
2696 |
+
}
|
2697 |
+
|
2698 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner:nth-child(odd), .acfb_post_timeline_center .acfb_post_timeline_inner:nth-child(even){
|
2699 |
+
padding: 10px 0px 10px 40px;
|
2700 |
+
text-align: left !important;
|
2701 |
+
}
|
2702 |
+
|
2703 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner::after{
|
2704 |
+
left: -12px;
|
2705 |
+
}
|
2706 |
+
|
2707 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner:nth-child(odd)::before{
|
2708 |
+
left: 30px;
|
2709 |
+
border-width: 10px 10px 10px 0px;
|
2710 |
+
}
|
2711 |
+
|
2712 |
+
|
2713 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner{
|
2714 |
+
display: flex;
|
2715 |
+
flex-direction: column-reverse;
|
2716 |
+
}
|
2717 |
+
|
2718 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner:nth-child(odd) .acfb_posts_opposite_elements{
|
2719 |
+
position: relative;
|
2720 |
+
right: 0;
|
2721 |
+
top: 0;
|
2722 |
+
width: 100%;
|
2723 |
+
}
|
2724 |
+
|
2725 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner:nth-child(even) .acfb_posts_opposite_elements{
|
2726 |
+
position: relative;
|
2727 |
+
left: 0;
|
2728 |
+
top: 0;
|
2729 |
+
width: 100%;
|
2730 |
+
}
|
2731 |
+
|
2732 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner:nth-child(odd) .acfb_posts_opposite_elements,
|
2733 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner:nth-child(even) .acfb_posts_opposite_elements{
|
2734 |
+
padding: 0px 0px 10px 0px;
|
2735 |
+
text-align: left !important;
|
2736 |
+
}
|
2737 |
+
|
2738 |
+
|
2739 |
+
.acfb_post_timeline_center .acfb_post_timeline_inner .acfb_posts_opposite_elements .acfb_posts_opposite_elements_inner::before{
|
2740 |
+
content: none !important;
|
2741 |
+
}
|
2742 |
+
|
2743 |
+
}
|
2744 |
+
|
2745 |
+
|
2746 |
+
|
2747 |
+
|
2748 |
+
|
2749 |
+
|
2750 |
+
|
2751 |
+
|
2752 |
+
|
2753 |
+
|
2754 |
+
|
2755 |
+
|
2756 |
+
|
2757 |
+
|
2758 |
+
|
2759 |
+
|
2760 |
+
|
2761 |
+
|
2762 |
+
|
2763 |
+
/************ Post Slider CSS ************/
|
2764 |
+
.acfb_posts_slider_block .acfb_post_slider_tiled{
|
2765 |
+
padding: 20px;
|
2766 |
+
background-size: cover !important;
|
2767 |
+
background-repeat: no-repeat !important;
|
2768 |
+
background-position: center !important;
|
2769 |
+
display: grid;
|
2770 |
+
}
|
2771 |
+
|
2772 |
+
.acfb_posts_slider_block .acfb_post_slider_card{
|
2773 |
+
display: grid;
|
2774 |
+
}
|
2775 |
+
|
2776 |
+
.acfb_posts_slider_block .acfb_post_slider_thumbnail,
|
2777 |
+
.acfb_posts_slider_block .acfb_post_slider_title,
|
2778 |
+
.acfb_posts_slider_block .acfb_post_slider_meta,
|
2779 |
+
.acfb_posts_slider_block .acfb_post_slider_excerpt,
|
2780 |
+
.acfb_posts_slider_block .acfb_post_slider_button {
|
2781 |
+
margin-bottom: 15px !important;
|
2782 |
+
}
|
2783 |
+
|
2784 |
+
.acfb_posts_slider_block .acfb_post_slider_title h1,
|
2785 |
+
.acfb_posts_slider_block .acfb_post_slider_title h2,
|
2786 |
+
.acfb_posts_slider_block .acfb_post_slider_title h3,
|
2787 |
+
.acfb_posts_slider_block .acfb_post_slider_title h4,
|
2788 |
+
.acfb_posts_slider_block .acfb_post_slider_title h5,
|
2789 |
+
.acfb_posts_slider_block .acfb_post_slider_title h6 {
|
2790 |
+
margin: 0;
|
2791 |
+
}
|
2792 |
+
|
2793 |
+
|
2794 |
+
.acfb_posts_slider_block .acfb_post_slider_button a{
|
2795 |
+
display: block;
|
2796 |
+
}
|
2797 |
+
|
2798 |
+
.acfb_posts_slider_block .swiper-container .acfb_button_next, .acfb_posts_slider_block .swiper-container .acfb_button_prev{
|
2799 |
+
position: absolute;
|
2800 |
+
top: 50%;
|
2801 |
+
width: 58px;
|
2802 |
+
margin-top: -22px;
|
2803 |
+
z-index: 10;
|
2804 |
+
cursor: pointer;
|
2805 |
+
padding: 15px;
|
2806 |
+
border-radius: 5px;
|
2807 |
+
line-height: 1;
|
2808 |
+
}
|
2809 |
+
|
2810 |
+
.acfb_posts_slider_block .swiper-container .acfb_button_next{
|
2811 |
+
right: 10px;
|
2812 |
+
left: auto;
|
2813 |
+
}
|
2814 |
+
|
2815 |
+
.acfb_posts_slider_block .swiper-container .acfb_button_prev{
|
2816 |
+
left: 10px;
|
2817 |
+
right: auto;
|
2818 |
+
}
|
2819 |
+
|
2820 |
+
.acfb_posts_slider_block .acfb_post_slider_card.acfb_post_slider_item{
|
2821 |
+
padding: 15px;
|
2822 |
+
}
|
2823 |
+
|
2824 |
+
.acfb_posts_slider_block .acfb_post_slider_card.acfb_post_slider_item .acfb_post_slider_thumbnail img{
|
2825 |
+
width: 100%;
|
2826 |
+
height: auto;
|
2827 |
+
}
|
2828 |
+
|
2829 |
+
.editor-block-list-item-acf-acfb-flipbox .editor-block-types-list__item-title::after,
|
2830 |
+
.editor-block-list-item-acf-acfb-content-timeline .editor-block-types-list__item-title::after,
|
2831 |
+
.editor-block-list-item-acf-acfb-image-accordion .editor-block-types-list__item-title::after,
|
2832 |
+
.editor-block-list-item-acf-acfb-call-to-action .editor-block-types-list__item-title::after,
|
2833 |
+
.editor-block-list-item-acf-acfb-image-hotspot .editor-block-types-list__item-title::after,
|
2834 |
+
.editor-block-list-item-acf-acfb-gallery .editor-block-types-list__item-title::after,
|
2835 |
+
.editor-block-list-item-acf-acfb-device .editor-block-types-list__item-title::after,
|
2836 |
+
.editor-block-list-item-acf-acfb-shape-divider .editor-block-types-list__item-title::after,
|
2837 |
+
.editor-block-list-item-acf-acfb-post-ticker .editor-block-types-list__item-title::after,
|
2838 |
+
.editor-block-list-item-acf-acfb-post-slider .editor-block-types-list__item-title::after,
|
2839 |
+
.editor-block-list-item-acf-acfb-post-tiled .editor-block-types-list__item-title::after,
|
2840 |
+
.editor-block-list-item-acf-acfb-post-timeline .editor-block-types-list__item-title::after,
|
2841 |
+
.editor-block-list-item-acf-acfb-before-after-image .editor-block-types-list__item-title::after{
|
2842 |
+
content: " PRO";
|
2843 |
+
color: #ffffff;
|
2844 |
+
font-weight: bold;
|
2845 |
+
background: #06c2a4;
|
2846 |
+
padding: 2px 5px;
|
2847 |
+
margin-left: 2px;
|
2848 |
+
display: inline-block;
|
2849 |
+
border-radius: 100px;
|
2850 |
+
font-size: 10px;
|
2851 |
+
}
|
2852 |
+
|
2853 |
+
|
2854 |
+
[data-name="acfb_timeline_image"] .acf-label,
|
2855 |
+
[data-name="acfb_timeline_date"] .acf-label,
|
2856 |
+
[data-name="acfb_timeline_title"] .acf-label,
|
2857 |
+
[data-name="acfb_timeline_content"] .acf-label,
|
2858 |
+
[data-name="acfb_timeline_button"] .acf-label {
|
2859 |
+
display: none;
|
2860 |
}
|
css/magnific-popup.css
ADDED
@@ -0,0 +1,351 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* Magnific Popup CSS */
|
2 |
+
.mfp-bg {
|
3 |
+
top: 0;
|
4 |
+
left: 0;
|
5 |
+
width: 100%;
|
6 |
+
height: 100%;
|
7 |
+
z-index: 1042;
|
8 |
+
overflow: hidden;
|
9 |
+
position: fixed;
|
10 |
+
background: #0b0b0b;
|
11 |
+
opacity: 0.8; }
|
12 |
+
|
13 |
+
.mfp-wrap {
|
14 |
+
top: 0;
|
15 |
+
left: 0;
|
16 |
+
width: 100%;
|
17 |
+
height: 100%;
|
18 |
+
z-index: 1043;
|
19 |
+
position: fixed;
|
20 |
+
outline: none !important;
|
21 |
+
-webkit-backface-visibility: hidden; }
|
22 |
+
|
23 |
+
.mfp-container {
|
24 |
+
text-align: center;
|
25 |
+
position: absolute;
|
26 |
+
width: 100%;
|
27 |
+
height: 100%;
|
28 |
+
left: 0;
|
29 |
+
top: 0;
|
30 |
+
padding: 0 8px;
|
31 |
+
box-sizing: border-box; }
|
32 |
+
|
33 |
+
.mfp-container:before {
|
34 |
+
content: '';
|
35 |
+
display: inline-block;
|
36 |
+
height: 100%;
|
37 |
+
vertical-align: middle; }
|
38 |
+
|
39 |
+
.mfp-align-top .mfp-container:before {
|
40 |
+
display: none; }
|
41 |
+
|
42 |
+
.mfp-content {
|
43 |
+
position: relative;
|
44 |
+
display: inline-block;
|
45 |
+
vertical-align: middle;
|
46 |
+
margin: 0 auto;
|
47 |
+
text-align: left;
|
48 |
+
z-index: 1045; }
|
49 |
+
|
50 |
+
.mfp-inline-holder .mfp-content,
|
51 |
+
.mfp-ajax-holder .mfp-content {
|
52 |
+
width: 100%;
|
53 |
+
cursor: auto; }
|
54 |
+
|
55 |
+
.mfp-ajax-cur {
|
56 |
+
cursor: progress; }
|
57 |
+
|
58 |
+
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
|
59 |
+
cursor: -moz-zoom-out;
|
60 |
+
cursor: -webkit-zoom-out;
|
61 |
+
cursor: zoom-out; }
|
62 |
+
|
63 |
+
.mfp-zoom {
|
64 |
+
cursor: pointer;
|
65 |
+
cursor: -webkit-zoom-in;
|
66 |
+
cursor: -moz-zoom-in;
|
67 |
+
cursor: zoom-in; }
|
68 |
+
|
69 |
+
.mfp-auto-cursor .mfp-content {
|
70 |
+
cursor: auto; }
|
71 |
+
|
72 |
+
.mfp-close,
|
73 |
+
.mfp-arrow,
|
74 |
+
.mfp-preloader,
|
75 |
+
.mfp-counter {
|
76 |
+
-webkit-user-select: none;
|
77 |
+
-moz-user-select: none;
|
78 |
+
user-select: none; }
|
79 |
+
|
80 |
+
.mfp-loading.mfp-figure {
|
81 |
+
display: none; }
|
82 |
+
|
83 |
+
.mfp-hide {
|
84 |
+
display: none !important; }
|
85 |
+
|
86 |
+
.mfp-preloader {
|
87 |
+
color: #CCC;
|
88 |
+
position: absolute;
|
89 |
+
top: 50%;
|
90 |
+
width: auto;
|
91 |
+
text-align: center;
|
92 |
+
margin-top: -0.8em;
|
93 |
+
left: 8px;
|
94 |
+
right: 8px;
|
95 |
+
z-index: 1044; }
|
96 |
+
.mfp-preloader a {
|
97 |
+
color: #CCC; }
|
98 |
+
.mfp-preloader a:hover {
|
99 |
+
color: #FFF; }
|
100 |
+
|
101 |
+
.mfp-s-ready .mfp-preloader {
|
102 |
+
display: none; }
|
103 |
+
|
104 |
+
.mfp-s-error .mfp-content {
|
105 |
+
display: none; }
|
106 |
+
|
107 |
+
button.mfp-close,
|
108 |
+
button.mfp-arrow {
|
109 |
+
overflow: visible;
|
110 |
+
cursor: pointer;
|
111 |
+
background: transparent;
|
112 |
+
border: 0;
|
113 |
+
-webkit-appearance: none;
|
114 |
+
display: block;
|
115 |
+
outline: none;
|
116 |
+
padding: 0;
|
117 |
+
z-index: 1046;
|
118 |
+
box-shadow: none;
|
119 |
+
touch-action: manipulation; }
|
120 |
+
|
121 |
+
button::-moz-focus-inner {
|
122 |
+
padding: 0;
|
123 |
+
border: 0; }
|
124 |
+
|
125 |
+
.mfp-close {
|
126 |
+
width: 44px;
|
127 |
+
height: 44px;
|
128 |
+
line-height: 44px;
|
129 |
+
position: absolute;
|
130 |
+
right: 0;
|
131 |
+
top: 0;
|
132 |
+
text-decoration: none;
|
133 |
+
text-align: center;
|
134 |
+
opacity: 0.65;
|
135 |
+
padding: 0 0 18px 10px;
|
136 |
+
color: #FFF;
|
137 |
+
font-style: normal;
|
138 |
+
font-size: 28px;
|
139 |
+
font-family: Arial, Baskerville, monospace; }
|
140 |
+
.mfp-close:hover,
|
141 |
+
.mfp-close:focus {
|
142 |
+
opacity: 1; }
|
143 |
+
.mfp-close:active {
|
144 |
+
top: 1px; }
|
145 |
+
|
146 |
+
.mfp-close-btn-in .mfp-close {
|
147 |
+
color: #333; }
|
148 |
+
|
149 |
+
.mfp-image-holder .mfp-close,
|
150 |
+
.mfp-iframe-holder .mfp-close {
|
151 |
+
color: #FFF;
|
152 |
+
right: -6px;
|
153 |
+
text-align: right;
|
154 |
+
padding-right: 6px;
|
155 |
+
width: 100%; }
|
156 |
+
|
157 |
+
.mfp-counter {
|
158 |
+
position: absolute;
|
159 |
+
top: 0;
|
160 |
+
right: 0;
|
161 |
+
color: #CCC;
|
162 |
+
font-size: 12px;
|
163 |
+
line-height: 18px;
|
164 |
+
white-space: nowrap; }
|
165 |
+
|
166 |
+
.mfp-arrow {
|
167 |
+
position: absolute;
|
168 |
+
opacity: 0.65;
|
169 |
+
margin: 0;
|
170 |
+
top: 50%;
|
171 |
+
margin-top: -55px;
|
172 |
+
padding: 0;
|
173 |
+
width: 90px;
|
174 |
+
height: 110px;
|
175 |
+
-webkit-tap-highlight-color: transparent; }
|
176 |
+
.mfp-arrow:active {
|
177 |
+
margin-top: -54px; }
|
178 |
+
.mfp-arrow:hover,
|
179 |
+
.mfp-arrow:focus {
|
180 |
+
opacity: 1; }
|
181 |
+
.mfp-arrow:before,
|
182 |
+
.mfp-arrow:after {
|
183 |
+
content: '';
|
184 |
+
display: block;
|
185 |
+
width: 0;
|
186 |
+
height: 0;
|
187 |
+
position: absolute;
|
188 |
+
left: 0;
|
189 |
+
top: 0;
|
190 |
+
margin-top: 35px;
|
191 |
+
margin-left: 35px;
|
192 |
+
border: medium inset transparent; }
|
193 |
+
.mfp-arrow:after {
|
194 |
+
border-top-width: 13px;
|
195 |
+
border-bottom-width: 13px;
|
196 |
+
top: 8px; }
|
197 |
+
.mfp-arrow:before {
|
198 |
+
border-top-width: 21px;
|
199 |
+
border-bottom-width: 21px;
|
200 |
+
opacity: 0.7; }
|
201 |
+
|
202 |
+
.mfp-arrow-left {
|
203 |
+
left: 0; }
|
204 |
+
.mfp-arrow-left:after {
|
205 |
+
border-right: 17px solid #FFF;
|
206 |
+
margin-left: 31px; }
|
207 |
+
.mfp-arrow-left:before {
|
208 |
+
margin-left: 25px;
|
209 |
+
border-right: 27px solid #3F3F3F; }
|
210 |
+
|
211 |
+
.mfp-arrow-right {
|
212 |
+
right: 0; }
|
213 |
+
.mfp-arrow-right:after {
|
214 |
+
border-left: 17px solid #FFF;
|
215 |
+
margin-left: 39px; }
|
216 |
+
.mfp-arrow-right:before {
|
217 |
+
border-left: 27px solid #3F3F3F; }
|
218 |
+
|
219 |
+
.mfp-iframe-holder {
|
220 |
+
padding-top: 40px;
|
221 |
+
padding-bottom: 40px; }
|
222 |
+
.mfp-iframe-holder .mfp-content {
|
223 |
+
line-height: 0;
|
224 |
+
width: 100%;
|
225 |
+
max-width: 900px; }
|
226 |
+
.mfp-iframe-holder .mfp-close {
|
227 |
+
top: -40px; }
|
228 |
+
|
229 |
+
.mfp-iframe-scaler {
|
230 |
+
width: 100%;
|
231 |
+
height: 0;
|
232 |
+
overflow: hidden;
|
233 |
+
padding-top: 56.25%; }
|
234 |
+
.mfp-iframe-scaler iframe {
|
235 |
+
position: absolute;
|
236 |
+
display: block;
|
237 |
+
top: 0;
|
238 |
+
left: 0;
|
239 |
+
width: 100%;
|
240 |
+
height: 100%;
|
241 |
+
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
|
242 |
+
background: #000; }
|
243 |
+
|
244 |
+
/* Main image in popup */
|
245 |
+
img.mfp-img {
|
246 |
+
width: auto;
|
247 |
+
max-width: 100%;
|
248 |
+
height: auto;
|
249 |
+
display: block;
|
250 |
+
line-height: 0;
|
251 |
+
box-sizing: border-box;
|
252 |
+
padding: 40px 0 40px;
|
253 |
+
margin: 0 auto; }
|
254 |
+
|
255 |
+
/* The shadow behind the image */
|
256 |
+
.mfp-figure {
|
257 |
+
line-height: 0; }
|
258 |
+
.mfp-figure:after {
|
259 |
+
content: '';
|
260 |
+
position: absolute;
|
261 |
+
left: 0;
|
262 |
+
top: 40px;
|
263 |
+
bottom: 40px;
|
264 |
+
display: block;
|
265 |
+
right: 0;
|
266 |
+
width: auto;
|
267 |
+
height: auto;
|
268 |
+
z-index: -1;
|
269 |
+
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
|
270 |
+
background: #444; }
|
271 |
+
.mfp-figure small {
|
272 |
+
color: #BDBDBD;
|
273 |
+
display: block;
|
274 |
+
font-size: 12px;
|
275 |
+
line-height: 14px; }
|
276 |
+
.mfp-figure figure {
|
277 |
+
margin: 0; }
|
278 |
+
|
279 |
+
.mfp-bottom-bar {
|
280 |
+
margin-top: -36px;
|
281 |
+
position: absolute;
|
282 |
+
top: 100%;
|
283 |
+
left: 0;
|
284 |
+
width: 100%;
|
285 |
+
cursor: auto; }
|
286 |
+
|
287 |
+
.mfp-title {
|
288 |
+
text-align: left;
|
289 |
+
line-height: 18px;
|
290 |
+
color: #F3F3F3;
|
291 |
+
word-wrap: break-word;
|
292 |
+
padding-right: 36px; }
|
293 |
+
|
294 |
+
.mfp-image-holder .mfp-content {
|
295 |
+
max-width: 100%; }
|
296 |
+
|
297 |
+
.mfp-gallery .mfp-image-holder .mfp-figure {
|
298 |
+
cursor: pointer; }
|
299 |
+
|
300 |
+
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
|
301 |
+
/**
|
302 |
+
* Remove all paddings around the image on small screen
|
303 |
+
*/
|
304 |
+
.mfp-img-mobile .mfp-image-holder {
|
305 |
+
padding-left: 0;
|
306 |
+
padding-right: 0; }
|
307 |
+
.mfp-img-mobile img.mfp-img {
|
308 |
+
padding: 0; }
|
309 |
+
.mfp-img-mobile .mfp-figure:after {
|
310 |
+
top: 0;
|
311 |
+
bottom: 0; }
|
312 |
+
.mfp-img-mobile .mfp-figure small {
|
313 |
+
display: inline;
|
314 |
+
margin-left: 5px; }
|
315 |
+
.mfp-img-mobile .mfp-bottom-bar {
|
316 |
+
background: rgba(0, 0, 0, 0.6);
|
317 |
+
bottom: 0;
|
318 |
+
margin: 0;
|
319 |
+
top: auto;
|
320 |
+
padding: 3px 5px;
|
321 |
+
position: fixed;
|
322 |
+
box-sizing: border-box; }
|
323 |
+
.mfp-img-mobile .mfp-bottom-bar:empty {
|
324 |
+
padding: 0; }
|
325 |
+
.mfp-img-mobile .mfp-counter {
|
326 |
+
right: 5px;
|
327 |
+
top: 3px; }
|
328 |
+
.mfp-img-mobile .mfp-close {
|
329 |
+
top: 0;
|
330 |
+
right: 0;
|
331 |
+
width: 35px;
|
332 |
+
height: 35px;
|
333 |
+
line-height: 35px;
|
334 |
+
background: rgba(0, 0, 0, 0.6);
|
335 |
+
position: fixed;
|
336 |
+
text-align: center;
|
337 |
+
padding: 0; } }
|
338 |
+
|
339 |
+
@media all and (max-width: 900px) {
|
340 |
+
.mfp-arrow {
|
341 |
+
-webkit-transform: scale(0.75);
|
342 |
+
transform: scale(0.75); }
|
343 |
+
.mfp-arrow-left {
|
344 |
+
-webkit-transform-origin: 0;
|
345 |
+
transform-origin: 0; }
|
346 |
+
.mfp-arrow-right {
|
347 |
+
-webkit-transform-origin: 100%;
|
348 |
+
transform-origin: 100%; }
|
349 |
+
.mfp-container {
|
350 |
+
padding-left: 6px;
|
351 |
+
padding-right: 6px; } }
|
css/swiper.min.css
CHANGED
File without changes
|
css/twentytwenty.css
ADDED
@@ -0,0 +1,203 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.twentytwenty-horizontal .twentytwenty-handle:before, .twentytwenty-horizontal .twentytwenty-handle:after, .twentytwenty-vertical .twentytwenty-handle:before, .twentytwenty-vertical .twentytwenty-handle:after {
|
2 |
+
content: " ";
|
3 |
+
display: block;
|
4 |
+
background: white;
|
5 |
+
position: absolute;
|
6 |
+
z-index: 30;
|
7 |
+
-webkit-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
|
8 |
+
-moz-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
|
9 |
+
box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5); }
|
10 |
+
|
11 |
+
.twentytwenty-horizontal .twentytwenty-handle:before, .twentytwenty-horizontal .twentytwenty-handle:after {
|
12 |
+
width: 3px;
|
13 |
+
height: 9999px;
|
14 |
+
left: 50%;
|
15 |
+
margin-left: -1.5px; }
|
16 |
+
|
17 |
+
.twentytwenty-vertical .twentytwenty-handle:before, .twentytwenty-vertical .twentytwenty-handle:after {
|
18 |
+
width: 9999px;
|
19 |
+
height: 3px;
|
20 |
+
top: 50%;
|
21 |
+
margin-top: -1.5px; }
|
22 |
+
|
23 |
+
.twentytwenty-before-label, .twentytwenty-after-label, .twentytwenty-overlay {
|
24 |
+
position: absolute;
|
25 |
+
top: 0;
|
26 |
+
width: 100%;
|
27 |
+
height: 100%; }
|
28 |
+
|
29 |
+
.twentytwenty-before-label, .twentytwenty-after-label, .twentytwenty-overlay {
|
30 |
+
-webkit-transition-duration: 0.5s;
|
31 |
+
-moz-transition-duration: 0.5s;
|
32 |
+
transition-duration: 0.5s; }
|
33 |
+
|
34 |
+
.twentytwenty-before-label, .twentytwenty-after-label {
|
35 |
+
-webkit-transition-property: opacity;
|
36 |
+
-moz-transition-property: opacity;
|
37 |
+
transition-property: opacity; }
|
38 |
+
|
39 |
+
.twentytwenty-before-label:before, .twentytwenty-after-label:before {
|
40 |
+
letter-spacing: 0.1em; }
|
41 |
+
|
42 |
+
.twentytwenty-before-label:before, .twentytwenty-after-label:before {
|
43 |
+
position: absolute;
|
44 |
+
line-height: 38px;
|
45 |
+
padding: 0 20px;
|
46 |
+
-webkit-border-radius: 2px;
|
47 |
+
-moz-border-radius: 2px;
|
48 |
+
border-radius: 2px; }
|
49 |
+
|
50 |
+
.twentytwenty-horizontal .twentytwenty-before-label:before, .twentytwenty-horizontal .twentytwenty-after-label:before {
|
51 |
+
top: 50%;
|
52 |
+
margin-top: -19px; }
|
53 |
+
|
54 |
+
.twentytwenty-vertical .twentytwenty-before-label:before, .twentytwenty-vertical .twentytwenty-after-label:before {
|
55 |
+
left: 50%;
|
56 |
+
margin-left: -45px;
|
57 |
+
text-align: center;
|
58 |
+
width: 90px; }
|
59 |
+
|
60 |
+
.twentytwenty-left-arrow, .twentytwenty-right-arrow, .twentytwenty-up-arrow, .twentytwenty-down-arrow {
|
61 |
+
width: 0;
|
62 |
+
height: 0;
|
63 |
+
border: 6px inset transparent;
|
64 |
+
position: absolute; }
|
65 |
+
|
66 |
+
.twentytwenty-left-arrow, .twentytwenty-right-arrow {
|
67 |
+
top: 50%;
|
68 |
+
margin-top: -6px; }
|
69 |
+
|
70 |
+
.twentytwenty-up-arrow, .twentytwenty-down-arrow {
|
71 |
+
left: 50%;
|
72 |
+
margin-left: -6px; }
|
73 |
+
|
74 |
+
.twentytwenty-container {
|
75 |
+
-webkit-box-sizing: content-box;
|
76 |
+
-moz-box-sizing: content-box;
|
77 |
+
box-sizing: content-box;
|
78 |
+
z-index: 0;
|
79 |
+
overflow: hidden;
|
80 |
+
position: relative;
|
81 |
+
-webkit-user-select: none;
|
82 |
+
-moz-user-select: none;
|
83 |
+
-ms-user-select: none; }
|
84 |
+
.twentytwenty-container img {
|
85 |
+
max-width: 100%;
|
86 |
+
position: absolute;
|
87 |
+
top: 0;
|
88 |
+
display: block; }
|
89 |
+
.twentytwenty-container.active .twentytwenty-overlay, .twentytwenty-container.active :hover.twentytwenty-overlay {
|
90 |
+
background: rgba(0, 0, 0, 0); }
|
91 |
+
.twentytwenty-container.active .twentytwenty-overlay .twentytwenty-before-label,
|
92 |
+
.twentytwenty-container.active .twentytwenty-overlay .twentytwenty-after-label, .twentytwenty-container.active :hover.twentytwenty-overlay .twentytwenty-before-label,
|
93 |
+
.twentytwenty-container.active :hover.twentytwenty-overlay .twentytwenty-after-label {
|
94 |
+
opacity: 0; }
|
95 |
+
.twentytwenty-container * {
|
96 |
+
-webkit-box-sizing: content-box;
|
97 |
+
-moz-box-sizing: content-box;
|
98 |
+
box-sizing: content-box; }
|
99 |
+
|
100 |
+
.twentytwenty-before-label {
|
101 |
+
opacity: 0; }
|
102 |
+
.twentytwenty-before-label:before {
|
103 |
+
content: attr(data-content); }
|
104 |
+
|
105 |
+
.twentytwenty-after-label {
|
106 |
+
opacity: 0; }
|
107 |
+
.twentytwenty-after-label:before {
|
108 |
+
content: attr(data-content); }
|
109 |
+
|
110 |
+
.twentytwenty-horizontal .twentytwenty-before-label:before {
|
111 |
+
left: 10px; }
|
112 |
+
|
113 |
+
.twentytwenty-horizontal .twentytwenty-after-label:before {
|
114 |
+
right: 10px; }
|
115 |
+
|
116 |
+
.twentytwenty-vertical .twentytwenty-before-label:before {
|
117 |
+
top: 10px; }
|
118 |
+
|
119 |
+
.twentytwenty-vertical .twentytwenty-after-label:before {
|
120 |
+
bottom: 10px; }
|
121 |
+
|
122 |
+
.twentytwenty-overlay {
|
123 |
+
-webkit-transition-property: background;
|
124 |
+
-moz-transition-property: background;
|
125 |
+
transition-property: background;
|
126 |
+
background: rgba(0, 0, 0, 0);
|
127 |
+
z-index: 25; }
|
128 |
+
.twentytwenty-overlay:hover {
|
129 |
+
background: rgba(0, 0, 0, 0.5); }
|
130 |
+
.twentytwenty-overlay:hover .twentytwenty-after-label {
|
131 |
+
opacity: 1; }
|
132 |
+
.twentytwenty-overlay:hover .twentytwenty-before-label {
|
133 |
+
opacity: 1; }
|
134 |
+
|
135 |
+
.twentytwenty-before {
|
136 |
+
z-index: 20; }
|
137 |
+
|
138 |
+
.twentytwenty-after {
|
139 |
+
z-index: 10; }
|
140 |
+
|
141 |
+
.twentytwenty-handle {
|
142 |
+
height: 38px;
|
143 |
+
width: 38px;
|
144 |
+
position: absolute;
|
145 |
+
left: 50%;
|
146 |
+
top: 50%;
|
147 |
+
margin-left: -22px;
|
148 |
+
margin-top: -22px;
|
149 |
+
border: 3px solid white;
|
150 |
+
-webkit-border-radius: 1000px;
|
151 |
+
-moz-border-radius: 1000px;
|
152 |
+
border-radius: 1000px;
|
153 |
+
-webkit-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
|
154 |
+
-moz-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
|
155 |
+
box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
|
156 |
+
z-index: 40;
|
157 |
+
cursor: pointer; }
|
158 |
+
|
159 |
+
.twentytwenty-horizontal .twentytwenty-handle:before {
|
160 |
+
bottom: 50%;
|
161 |
+
margin-bottom: 22px;
|
162 |
+
-webkit-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
|
163 |
+
-moz-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
|
164 |
+
box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); }
|
165 |
+
.twentytwenty-horizontal .twentytwenty-handle:after {
|
166 |
+
top: 50%;
|
167 |
+
margin-top: 22px;
|
168 |
+
-webkit-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
|
169 |
+
-moz-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
|
170 |
+
box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); }
|
171 |
+
|
172 |
+
.twentytwenty-vertical .twentytwenty-handle:before {
|
173 |
+
left: 50%;
|
174 |
+
margin-left: 22px;
|
175 |
+
-webkit-box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
|
176 |
+
-moz-box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
|
177 |
+
box-shadow: 3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); }
|
178 |
+
.twentytwenty-vertical .twentytwenty-handle:after {
|
179 |
+
right: 50%;
|
180 |
+
margin-right: 22px;
|
181 |
+
-webkit-box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
|
182 |
+
-moz-box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
|
183 |
+
box-shadow: -3px 0 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5); }
|
184 |
+
|
185 |
+
.twentytwenty-left-arrow {
|
186 |
+
border-right: 6px solid white;
|
187 |
+
left: 50%;
|
188 |
+
margin-left: -17px; }
|
189 |
+
|
190 |
+
.twentytwenty-right-arrow {
|
191 |
+
border-left: 6px solid white;
|
192 |
+
right: 50%;
|
193 |
+
margin-right: -17px; }
|
194 |
+
|
195 |
+
.twentytwenty-up-arrow {
|
196 |
+
border-bottom: 6px solid white;
|
197 |
+
top: 50%;
|
198 |
+
margin-top: -17px; }
|
199 |
+
|
200 |
+
.twentytwenty-down-arrow {
|
201 |
+
border-top: 6px solid white;
|
202 |
+
bottom: 50%;
|
203 |
+
margin-bottom: -17px; }
|
free-acf-blocks.php
ADDED
@@ -0,0 +1,305 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Register Blocks
|
3 |
+
add_action('acf/init', 'acfb_blocks_free');
|
4 |
+
function acfb_blocks_free() {
|
5 |
+
|
6 |
+
// check function exists.
|
7 |
+
if( function_exists('acf_register_block_type') ) {
|
8 |
+
|
9 |
+
// register a testimonial block.
|
10 |
+
acf_register_block_type(array(
|
11 |
+
'name' => 'acfb-testimonial',
|
12 |
+
'mode' => 'preview',
|
13 |
+
'title' => __('Testimonial'),
|
14 |
+
'description' => __('Let others know what your clients or customers say about you.'),
|
15 |
+
'render_callback' => 'acf_blocks_template',
|
16 |
+
// 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/testimonial.php',
|
17 |
+
'category' => 'acfb-blocks',
|
18 |
+
'icon' => '<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"></defs><title/><g data-name="22-chat" id="_22-chat"><polygon class="acfb_svg_icon" points="31 3 1 3 1 23 8 23 14 29 14 23 31 23 31 3"/><line class="acfb_svg_icon" x1="7" x2="25" y1="9" y2="9"/><line class="acfb_svg_icon" x1="7" x2="25" y1="13" y2="13"/><line class="acfb_svg_icon" x1="7" x2="25" y1="17" y2="17"/></g></svg>',
|
19 |
+
'enqueue_assets' => function(){
|
20 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
21 |
+
},
|
22 |
+
));
|
23 |
+
|
24 |
+
// register a team block.
|
25 |
+
acf_register_block_type(array(
|
26 |
+
'name' => 'acfb-team',
|
27 |
+
'mode' => 'preview',
|
28 |
+
'title' => __('Team'),
|
29 |
+
'description' => __('Introduce your team to your site visitors in style.'),
|
30 |
+
'render_callback' => 'acf_blocks_template',
|
31 |
+
// 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/team.php',
|
32 |
+
'category' => 'acfb-blocks',
|
33 |
+
'icon' => '<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><title/><g data-name="79-users" id="_79-users"><circle class="acfb_svg_icon" cx="16" cy="13" r="5"/><path class="acfb_svg_icon" d="M23,28A7,7,0,0,0,9,28Z"/><path class="acfb_svg_icon" d="M24,14a5,5,0,1,0-4-8"/><path class="acfb_svg_icon" d="M25,24h6a7,7,0,0,0-7-7"/><path class="acfb_svg_icon" d="M12,6a5,5,0,1,0-4,8"/><path class="acfb_svg_icon" d="M8,17a7,7,0,0,0-7,7H7"/></g></svg>',
|
34 |
+
'enqueue_assets' => function(){
|
35 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
36 |
+
},
|
37 |
+
));
|
38 |
+
|
39 |
+
// register a multi buttons block.
|
40 |
+
acf_register_block_type(array(
|
41 |
+
'name' => 'acfb-multibuttons',
|
42 |
+
'mode' => 'preview',
|
43 |
+
'title' => __('Multi Buttons'),
|
44 |
+
'description' => __('Display multiple buttons inline with ease.'),
|
45 |
+
'render_callback' => 'acf_blocks_template',
|
46 |
+
// 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/multi-buttons.php',
|
47 |
+
'category' => 'acfb-blocks',
|
48 |
+
'icon' => '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title/><g data-name="36.option-memu" id="_36.option-memu"><rect class="acfb_svg_icon" height="4" width="4" x="1" y="10"/><rect class="acfb_svg_icon" height="4" width="4" x="10" y="10"/><rect class="acfb_svg_icon" height="4" width="4" x="19" y="10"/></g></svg>',
|
49 |
+
'enqueue_assets' => function(){
|
50 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
51 |
+
},
|
52 |
+
));
|
53 |
+
|
54 |
+
// register a pricing box block.
|
55 |
+
acf_register_block_type(array(
|
56 |
+
'name' => 'acfb-pricingbox',
|
57 |
+
'mode' => 'preview',
|
58 |
+
'title' => __('Pricing Box'),
|
59 |
+
'description' => __('Display your plans and offers in style.'),
|
60 |
+
'render_callback' => 'acf_blocks_template',
|
61 |
+
// 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/pricing-box.php',
|
62 |
+
'category' => 'acfb-blocks',
|
63 |
+
'icon' => '<svg height="512pt" viewBox="0 -47 512 512" width="512pt" xmlns="http://www.w3.org/2000/svg"><path d="m85.332031 145.859375v-43.800781c9.648438 2.433594 16.574219 10.882812 17.066407 20.820312 0 4.714844 3.820312 8.535156 8.535156 8.535156 4.710937 0 8.53125-3.820312 8.53125-8.535156-.652344-19.355468-14.988282-35.507812-34.132813-38.460937v-7.617188c0-4.714843-3.820312-8.535156-8.53125-8.535156-4.714843 0-8.535156 3.820313-8.535156 8.535156v7.617188c-19.140625 2.949219-33.476563 19.105469-34.132813 38.460937.65625 19.359375 14.992188 35.511719 34.132813 38.460938v43.804687c-9.648437-2.433593-16.574219-10.886719-17.066406-20.824219 0-4.714843-3.820313-8.535156-8.53125-8.535156-4.714844 0-8.535157 3.820313-8.535157 8.535156.65625 19.359376 14.992188 35.511719 34.132813 38.460938v7.617188c0 4.714843 3.820313 8.535156 8.535156 8.535156 4.710938 0 8.53125-3.820313 8.53125-8.535156v-7.617188c19.144531-2.949219 33.480469-19.101562 34.132813-38.460938-.652344-19.359374-14.988282-35.511718-34.132813-38.460937zm-34.132812-22.980469c.496093-9.9375 7.421875-18.386718 17.066406-20.820312v41.644531c-9.644531-2.4375-16.570313-10.886719-17.066406-20.824219zm34.132812 82.265625v-41.644531c9.925781 1.988281 17.066407 10.703125 17.066407 20.824219 0 10.121093-7.140626 18.835937-17.066407 20.824219zm0 0"/><path d="m298.667969 109.226562c0 4.714844 3.820312 8.535157 8.53125 8.535157 4.714843 0 8.535156-3.820313 8.535156-8.535157 0-26.597656-22.304687-48.613281-51.199219-52.300781v-14.257812c0-4.714844-3.824218-8.535157-8.535156-8.535157s-8.535156 3.820313-8.535156 8.535157v14.257812c-28.894532 3.6875-51.199219 25.703125-51.199219 52.300781 0 26.597657 22.304687 48.617188 51.199219 52.308594v71.554688c-18.386719-1.878906-32.773438-16.683594-34.132813-35.117188 0-4.710937-3.820312-8.53125-8.53125-8.53125-4.714843 0-8.535156 3.820313-8.535156 8.53125 0 26.597656 22.304687 48.613282 51.199219 52.300782v14.261718c0 4.710938 3.824218 8.53125 8.535156 8.53125s8.535156-3.820312 8.535156-8.53125v-14.257812c28.894532-3.691406 51.199219-25.703125 51.199219-52.300782 0-26.601562-22.304687-48.617187-51.199219-52.304687v-71.558594c18.386719 1.875 32.773438 16.679688 34.132813 35.113281zm-85.335938 0c1.359375-18.433593 15.746094-33.234374 34.132813-35.113281v70.230469c-18.386719-1.878906-32.773438-16.683594-34.132813-35.117188zm85.335938 88.746094c-1.359375 18.433594-15.746094 33.234375-34.132813 35.113282v-70.230469c18.386719 1.882812 32.773438 16.683593 34.132813 35.117187zm0 0"/><path d="m426.667969 161.339844v43.804687c-9.648438-2.433593-16.574219-10.882812-17.066407-20.820312 0-4.710938-3.820312-8.535157-8.535156-8.535157-4.710937 0-8.53125 3.824219-8.53125 8.535157.652344 19.359375 14.988282 35.511719 34.132813 38.460937v7.613282c0 4.714843 3.820312 8.535156 8.53125 8.535156 4.714843 0 8.535156-3.820313 8.535156-8.535156v-7.617188c19.140625-2.949219 33.476563-19.101562 34.132813-38.460938-.65625-19.359374-14.992188-35.511718-34.132813-38.460937v-43.800781c9.648437 2.433594 16.574219 10.882812 17.066406 20.820312 0 4.714844 3.820313 8.535156 8.53125 8.535156 4.714844 0 8.535157-3.820312 8.535157-8.535156-.65625-19.355468-14.992188-35.507812-34.132813-38.460937v-7.617188c0-4.714843-3.820313-8.535156-8.535156-8.535156-4.710938 0-8.53125 3.820313-8.53125 8.535156v7.617188c-19.144531 2.949219-33.480469 19.105469-34.132813 38.460937.652344 19.359375 14.988282 35.511719 34.132813 38.460938zm34.132812 22.980468c-.492187 9.9375-7.417969 18.386719-17.066406 20.820313v-41.640625c9.648437 2.433594 16.574219 10.882812 17.066406 20.820312zm-34.132812-82.261718v41.644531c-9.648438-2.4375-16.574219-10.886719-17.066407-20.824219.492188-9.9375 7.417969-18.386718 17.066407-20.820312zm0 0"/><path d="m494.933594 25.601562h-128v-8.535156c-.011719-9.421875-7.644532-17.0546872-17.066406-17.066406h-187.734376c-9.421874.0117188-17.054687 7.644531-17.066406 17.066406v8.535156h-128c-9.421875.007813-17.0546872 7.644532-17.066406 17.066407v221.867187c.0117188 9.417969 7.644531 17.054688 17.066406 17.066406h128v8.53125c.011719 9.421876 7.644532 17.054688 17.066406 17.066407h187.734376c9.421874-.011719 17.054687-7.644531 17.066406-17.066407v-8.53125h128c9.421875-.011718 17.054687-7.648437 17.066406-17.066406v-221.867187c-.011719-9.421875-7.644531-17.058594-17.066406-17.066407zm-477.867188 238.933594v-221.867187h128v221.867187zm145.066406 25.597656v-273.066406h187.734376v17.066406l.007812 238.894532-.007812.039062.007812.039063v17.027343zm332.800782-25.597656h-128v-221.867187h128zm0 0"/><path d="m222.382812 362.15625c-5-4.992188-13.097656-4.992188-18.097656 0l-34.132812 34.128906c-3.660156 3.660156-4.757813 9.164063-2.777344 13.945313 1.984375 4.78125 6.648438 7.902343 11.824219 7.902343h68.265625c5.175781-.003906 9.839844-3.121093 11.820312-7.902343 1.980469-4.777344.886719-10.28125-2.769531-13.941407zm-32.882812 38.910156 23.832031-23.832031 23.835938 23.832031zm0 0"/><path d="m341.332031 358.398438h-68.265625c-5.175781.003906-9.835937 3.121093-11.816406 7.902343s-.890625 10.285157 2.765625 13.945313l34.136719 34.132812c5 4.988282 13.097656 4.988282 18.097656 0l34.132812-34.128906c3.660157-3.660156 4.753907-9.164062 2.773438-13.949219-1.980469-4.78125-6.648438-7.898437-11.824219-7.902343zm-34.132812 40.902343-23.832031-23.835937h47.667968zm0 0"/><path d="m119.464844 298.667969h-85.332032c-4.710937 0-8.53125 3.820312-8.53125 8.53125 0 4.714843 3.820313 8.535156 8.53125 8.535156h85.332032c4.714844 0 8.535156-3.820313 8.535156-8.535156 0-4.710938-3.820312-8.53125-8.535156-8.53125zm0 0"/><path d="m315.734375 341.332031c4.710937 0 8.53125-3.820312 8.53125-8.53125 0-4.714843-3.820313-8.535156-8.53125-8.535156h-119.46875c-4.710937 0-8.53125 3.820313-8.53125 8.535156 0 4.710938 3.820313 8.53125 8.53125 8.53125zm0 0"/><path d="m477.867188 298.667969h-85.332032c-4.714844 0-8.535156 3.820312-8.535156 8.53125 0 4.714843 3.820312 8.535156 8.535156 8.535156h85.332032c4.710937 0 8.53125-3.820313 8.53125-8.535156 0-4.710938-3.820313-8.53125-8.53125-8.53125zm0 0"/></svg>',
|
64 |
+
'enqueue_assets' => function(){
|
65 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
66 |
+
},
|
67 |
+
));
|
68 |
+
|
69 |
+
// register a Star Rating block.
|
70 |
+
acf_register_block_type(array(
|
71 |
+
'name' => 'acfb-starrating',
|
72 |
+
'mode' => 'preview',
|
73 |
+
'title' => __('Star Rating'),
|
74 |
+
'description' => __('Add start ratings anywhere easily.'),
|
75 |
+
'render_callback' => 'acf_blocks_template',
|
76 |
+
// 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/star-rating.php',
|
77 |
+
'category' => 'acfb-blocks',
|
78 |
+
'icon' => '<svg id="Outlined" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><title/><g id="Fill"><path d="M28.61,11.67H20l-2.66-8.2a1.39,1.39,0,0,0-2.64,0L12,11.67H3.39a1.39,1.39,0,0,0-.82,2.51l7,5.07L6.89,27.46a1.39,1.39,0,0,0,1.32,1.82A1.43,1.43,0,0,0,9,29l7-5.07L23,29a1.43,1.43,0,0,0,.81.27,1.39,1.39,0,0,0,1.32-1.82l-2.66-8.21,7-5.07A1.39,1.39,0,0,0,28.61,11.67Zm-7.34,6-1.17.86.44,1.38,2.09,6.41-5.45-4L16,21.46l-1.18.86-5.45,4,2.09-6.41.44-1.38-1.17-.86-5.45-4h8.19l.45-1.38L16,5.89l2.08,6.4.45,1.38h8.19Z"/></g></svg>',
|
79 |
+
'enqueue_assets' => function(){
|
80 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
81 |
+
},
|
82 |
+
));
|
83 |
+
|
84 |
+
// register a Progress Bar block.
|
85 |
+
acf_register_block_type(array(
|
86 |
+
'name' => 'acfb-progressbar',
|
87 |
+
'mode' => 'preview',
|
88 |
+
'title' => __('Progress Bar'),
|
89 |
+
'description' => __('Show your progress using percentage defined progress bars.'),
|
90 |
+
'render_callback' => 'acf_blocks_template',
|
91 |
+
// 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/progress-bar.php',
|
92 |
+
'category' => 'acfb-blocks',
|
93 |
+
'icon' => '<svg width="455.14px" height="455.14px" enable-background="new 0 0 455.138 455.139" version="1.1" viewBox="0 0 455.138 455.139" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
94 |
+
<path d="m0 141.65v171.83h455.14v-171.83h-455.14zm432.72 149.42h-410.31v-127h410.31v127h-5e-3zm-328.43-19.606h-59.766v-89.652h59.767v89.652zm89.653 0h-59.765v-89.652h59.765v89.652zm93.387 0h-59.768v-89.652h59.768v89.652z"/>
|
95 |
+
</svg>',
|
96 |
+
'enqueue_assets' => function(){
|
97 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
98 |
+
},
|
99 |
+
));
|
100 |
+
|
101 |
+
// register a Counter Number block.
|
102 |
+
acf_register_block_type(array(
|
103 |
+
'name' => 'acfb-counternumber',
|
104 |
+
'mode' => 'preview',
|
105 |
+
'title' => __('Counter Number'),
|
106 |
+
'description' => __('Display stats with animated counter numbers.'),
|
107 |
+
'render_callback' => 'acf_blocks_template',
|
108 |
+
// 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/counter-number.php',
|
109 |
+
'category' => 'acfb-blocks',
|
110 |
+
'icon' => '<svg id="Outlined" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><title/><g id="Fill"><path d="M16.71,22.29l-1.42,1.42L17.59,26H16A10,10,0,0,1,8.93,8.93L7.51,7.51A12,12,0,0,0,16,28h1.59l-2.3,2.29,1.42,1.42L20,28.41a2,2,0,0,0,0-2.82Z"/><path d="M16,4H14.41l2.3-2.29L15.29.29,12,3.59a2,2,0,0,0,0,2.82l3.29,3.3,1.42-1.42L14.41,6H16a10,10,0,0,1,7.07,17.07l1.42,1.42A12,12,0,0,0,16,4Z"/></g></svg>',
|
111 |
+
'enqueue_assets' => function(){
|
112 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
113 |
+
wp_enqueue_script( 'acfb-blocks-js', plugin_dir_url( __FILE__ ) . 'js/frontend.js', array('jquery'), '', false );
|
114 |
+
},
|
115 |
+
));
|
116 |
+
|
117 |
+
// register a Price List block.
|
118 |
+
acf_register_block_type(array(
|
119 |
+
'name' => 'acfb-pricelist',
|
120 |
+
'mode' => 'preview',
|
121 |
+
'title' => __('Price List'),
|
122 |
+
'description' => __('Display price list for any product easily.'),
|
123 |
+
'render_callback' => 'acf_blocks_template',
|
124 |
+
// 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/price-list.php',
|
125 |
+
'category' => 'acfb-blocks',
|
126 |
+
'icon' => '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title/><g data-name="6.list-menu" id="_6.list-menu"><line class="acfb_svg_icon" x1="1" x2="4" y1="6" y2="6"/><line class="acfb_svg_icon" x1="1" x2="4" y1="12" y2="12"/><line class="acfb_svg_icon" x1="1" x2="4" y1="18" y2="18"/><line class="acfb_svg_icon" x1="8" x2="23" y1="6" y2="6"/><line class="acfb_svg_icon" x1="8" x2="23" y1="12" y2="12"/><line class="acfb_svg_icon" x1="8" x2="23" y1="18" y2="18"/></g></svg>',
|
127 |
+
'enqueue_assets' => function(){
|
128 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
129 |
+
},
|
130 |
+
));
|
131 |
+
|
132 |
+
// register a Click To Tweet block.
|
133 |
+
acf_register_block_type(array(
|
134 |
+
'name' => 'acfb-clicktotweet',
|
135 |
+
'mode' => 'preview',
|
136 |
+
'title' => __('Click To Tweet'),
|
137 |
+
'description' => __('Add a tweet-able quote to let your reader tweet with 1-click.'),
|
138 |
+
'render_callback' => 'acf_blocks_template',
|
139 |
+
// 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/click-to-tweet.php',
|
140 |
+
'category' => 'acfb-blocks',
|
141 |
+
'icon' => '<svg enable-background="new 0 0 511.271 511.271" version="1.1" viewBox="0 0 511.271 511.271" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
142 |
+
<path d="m508.34 94.243c-2.603-2.603-6.942-3.471-10.414-2.603l-17.356 6.075c10.414-12.149 17.356-25.166 21.695-37.315 1.736-4.339 0.868-7.81-1.736-10.414-2.603-2.603-6.942-3.471-10.414-1.736-24.298 10.414-45.125 19.092-62.481 24.298 0 0.868-0.868 0-1.736 0-13.885-7.81-47.729-25.166-72.027-25.166-61.614 0.868-111.08 52.936-111.08 116.28v3.471c-90.251-17.356-139.72-43.39-193.52-99.797l-8.676-8.678-5.207 10.414c-29.505 56.407-8.678 107.61 25.166 142.32-15.62-2.603-26.034-7.81-35.58-15.62-3.471-2.603-7.81-3.471-12.149-0.868-3.471 1.736-5.207 6.942-4.339 11.281 12.149 40.786 42.522 73.763 75.498 93.722-15.62 0-28.637-1.736-41.654-10.414-3.471-1.736-8.678-1.736-12.149 0.868s-5.207 6.942-3.471 11.281c15.62 44.258 45.993 67.688 94.59 73.763-25.166 14.753-58.142 26.902-109.34 27.77-5.207 0-9.546 3.471-11.281 7.81-1.736 5.207 0 9.546 3.471 13.017 31.241 25.166 100.66 39.919 186.58 39.919 152.73 0 277.7-136.24 277.7-303.73v-2.603c19.092-9.546 34.712-27.77 42.522-52.936 0.867-3.472-1e-3 -7.811-2.604-10.414zm-52.068 49.464l-5.207 1.736v14.753c0 157.94-117.15 286.37-260.34 286.37-78.97 0-131.9-13.017-160.54-26.902 59.878-4.339 94.59-23.431 121.49-44.258l21.695-15.62h-26.034c-49.464 0-79.837-13.885-97.193-46.861 15.62 5.207 32.108 5.207 50.332 4.339 6.942-0.868 13.885-0.868 20.827-0.868l2.603-17.356c-32.976-9.546-72.027-39.051-91.119-78.969 17.356 7.81 36.447 9.546 53.803 9.546h26.902l-21.694-15.621c-18.224-13.017-72.027-59.01-45.993-124.96 55.539 54.671 108.48 79.837 203.93 97.193l10.414 1.736v-24.298c0-53.803 41.654-98.061 93.722-98.929 19.959-0.868 52.936 17.356 62.481 22.563 5.207 2.603 10.414 3.471 15.62 1.736 13.017-4.339 28.637-10.414 45.993-17.356-7.81 13.017-18.224 25.166-32.108 36.448-3.471 2.603-4.339 7.81-2.603 12.149s6.942 6.075 11.281 4.339l33.844-11.281c-6.075 11.28-15.621 24.297-32.109 30.371z"/>
|
143 |
+
</svg>',
|
144 |
+
'enqueue_assets' => function(){
|
145 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
146 |
+
},
|
147 |
+
));
|
148 |
+
|
149 |
+
|
150 |
+
// register a Post block.
|
151 |
+
acf_register_block_type(array(
|
152 |
+
'name' => 'acfb-posts',
|
153 |
+
'mode' => 'preview',
|
154 |
+
'title' => __('Posts'),
|
155 |
+
'description' => __('Display a grid or list of your blog posts.'),
|
156 |
+
'render_callback' => 'acf_blocks_template',
|
157 |
+
// 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/posts.php',
|
158 |
+
'category' => 'acfb-blocks',
|
159 |
+
'icon' => '<svg enable-background="new 0 0 512 512" version="1.1" viewBox="0 0 512 512" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
160 |
+
<path d="M0,30v452h512V30H0z M482,452H30V120h452V452z M482,90H30V60h452V90z"/>
|
161 |
+
<path d="M271,160v252h181V160H271z M422,382H301V190h121V382z"/>
|
162 |
+
<rect x="60" y="160" width="181" height="30"/>
|
163 |
+
<rect x="60" y="220" width="121" height="30"/>
|
164 |
+
<rect x="60" y="300" width="181" height="30"/>
|
165 |
+
<rect x="60" y="360" width="121" height="30"/>
|
166 |
+
</svg>',
|
167 |
+
'enqueue_assets' => function(){
|
168 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
169 |
+
},
|
170 |
+
));
|
171 |
+
|
172 |
+
// register a Photo Collage block.
|
173 |
+
acf_register_block(array(
|
174 |
+
'name' => 'acfb-photocollage',
|
175 |
+
'mode' => 'preview',
|
176 |
+
'title' => __('Photo Collage'),
|
177 |
+
'description' => __('Display beautiful photo collage using pre-made templates.'),
|
178 |
+
'render_callback' => 'acf_blocks_template',
|
179 |
+
// 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/photo-collage.php',
|
180 |
+
'category' => 'acfb-blocks',
|
181 |
+
'icon' => '<svg enable-background="new 0 0 140.637 140.637" version="1.1" viewBox="0 0 140.64 140.64" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
182 |
+
<path d="m138.14 140.61h-135.64c-1.381 0-2.5-1.119-2.5-2.5v-135.59c0-1.381 1.119-2.5 2.5-2.5h135.64c1.381 0 2.5 1.119 2.5 2.5v135.59c0 1.381-1.119 2.5-2.5 2.5zm-50.637-5h48.091v-17.599h-48.091v17.599zm-53.138 0h48.138v-17.599h-48.138v17.599zm-29.362 0h24.362v-17.599h-24.362v17.599zm106.27-22.599h24.317v-17.598h-24.317v17.598zm-26.273 0h21.273v-17.598h-48.136v17.599h26.863zm-53.138 0h21.274v-17.598h-48.136v17.599h26.862zm76.911-22.598h26.817v-17.599h-48.09v17.598h21.273zm-53.136 0h26.863v-17.599h-48.138v17.598h21.275zm-50.637 0h24.362v-17.599h-24.362v17.599zm106.27-22.599h24.317v-17.598h-24.317v17.598zm-26.273 0h21.273v-17.598h-48.136v17.599h26.863zm-53.138 0h21.274v-17.598h-48.136v17.599h26.862zm76.911-22.598h26.817v-17.599h-48.09v17.599h21.273zm-53.136 0h26.863v-17.599h-48.138v17.599h21.275zm-50.637 0h24.362v-17.599h-24.362v17.599zm106.27-22.599h24.317v-17.598h-24.317v17.598zm-26.273 0h21.273v-17.598h-48.136v17.598h26.863zm-53.138 0h21.274v-17.598h-48.136v17.598h26.862z"/>
|
183 |
+
</svg>',
|
184 |
+
'enqueue_assets' => function(){
|
185 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
186 |
+
},
|
187 |
+
));
|
188 |
+
|
189 |
+
// register a Social Sharing Block.
|
190 |
+
acf_register_block(array(
|
191 |
+
'name' => 'acfb-socialsharing',
|
192 |
+
'mode' => 'preview',
|
193 |
+
'title' => __('Social Sharing'),
|
194 |
+
'description' => __('Super fast and customizable Social Media Sharing Buttons for WordPress. No JavaScript. No tracking.'),
|
195 |
+
'render_callback' => 'acf_blocks_template',
|
196 |
+
// 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/social-sharing.php',
|
197 |
+
'category' => 'acfb-blocks',
|
198 |
+
'icon' => '<svg enable-background="new 0 0 481.6 481.6" version="1.1" viewBox="0 0 481.6 481.6" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
199 |
+
<path d="m381.6 309.4c-27.7 0-52.4 13.2-68.2 33.6l-132.3-73.9c3.1-8.9 4.8-18.5 4.8-28.4 0-10-1.7-19.5-4.9-28.5l132.2-73.8c15.7 20.5 40.5 33.8 68.3 33.8 47.4 0 86.1-38.6 86.1-86.1s-38.6-86.1-86.1-86.1-86.1 38.6-86.1 86.1c0 10 1.7 19.6 4.9 28.5l-132.1 73.8c-15.7-20.6-40.5-33.8-68.3-33.8-47.4 0-86.1 38.6-86.1 86.1s38.7 86.1 86.2 86.1c27.8 0 52.6-13.3 68.4-33.9l132.2 73.9c-3.2 9-5 18.7-5 28.7 0 47.4 38.6 86.1 86.1 86.1s86.1-38.6 86.1-86.1-38.7-86.1-86.2-86.1zm0-282.3c32.6 0 59.1 26.5 59.1 59.1s-26.5 59.1-59.1 59.1-59.1-26.5-59.1-59.1 26.6-59.1 59.1-59.1zm-281.6 272.7c-32.6 0-59.1-26.5-59.1-59.1s26.5-59.1 59.1-59.1 59.1 26.5 59.1 59.1-26.6 59.1-59.1 59.1zm281.6 154.7c-32.6 0-59.1-26.5-59.1-59.1s26.5-59.1 59.1-59.1 59.1 26.5 59.1 59.1-26.5 59.1-59.1 59.1z"/>
|
200 |
+
</svg>',
|
201 |
+
'enqueue_assets' => function(){
|
202 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
203 |
+
},
|
204 |
+
));
|
205 |
+
|
206 |
+
//Register a Image Slider Block
|
207 |
+
acf_register_block(array(
|
208 |
+
'name' => 'acfb-image-slider',
|
209 |
+
'mode' => 'preview',
|
210 |
+
'title' => __('Image Slider'),
|
211 |
+
'description' => __('Display your images as a slider or carousel.'),
|
212 |
+
'render_callback' => 'acf_blocks_template',
|
213 |
+
// 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/image-slider.php',
|
214 |
+
'category' => 'acfb-blocks',
|
215 |
+
'icon' => '<svg width="682pt" height="682pt" viewBox="-21 -91 682.66669 682" xmlns="http://www.w3.org/2000/svg">
|
216 |
+
<path d="m639.98 7.5312c-0.33594-6.6172-5.7969-11.863-12.484-11.863h-615c-6.6875 0-12.148 5.2461-12.484 11.863-0.015625 0.21484-0.015625 0.42578-0.015625 0.64062v474.99c0 6.9062 5.6016 12.508 12.5 12.508h615c6.8984 0 12.5-5.6016 12.5-12.508v-474.99c0-0.21484 0-0.42578-0.015625-0.64062zm-24.984 463.12h-590v-367.46h590zm0-392.46h-590v-57.668h590z"/>
|
217 |
+
<path d="m213.75 62.723h-100c-6.9062 0-12.5-5.5977-12.5-12.5 0-6.9102 5.5938-12.504 12.5-12.504h100c6.9062 0 12.5 5.5938 12.5 12.504 0 6.9023-5.5938 12.5-12.5 12.5z"/>
|
218 |
+
<path d="m63.773 62.723c-6.9023 0-12.504-5.5977-12.504-12.5 0-6.9102 5.5898-12.504 12.496-12.504h0.007813c6.9062 0 12.5 5.5938 12.5 12.504 0 6.9023-5.5938 12.5-12.5 12.5z"/>
|
219 |
+
<path d="m558.75 176.72h-50v-11.258c0-13.789-11.211-25.004-25-25.004h-327.5c-13.789 0-25 11.215-25 25.004v11.258h-50c-13.789 0-25 11.215-25 25.004v127.54c0 13.793 11.211 25.008 25 25.008h50v11.258c0 13.789 11.211 25.004 25 25.004h327.5c13.789 0 25-11.215 25-25.004v-11.258h50c13.789 0 25-11.215 25-25.008v-127.54c0-13.789-11.211-25.004-25-25.004zm-427.5 152.54h-50v-127.54h50l0.015625 127.54s0 0-0.015625 0zm352.52 36.266s0 0-0.015625 0h-327.5v-200.07h327.5v36.266l0.015625 127.89zm74.984-36.266h-50v-127.54h50l0.015625 127.54s0 0-0.015625 0z"/>
|
220 |
+
<path d="m230.8 314.23c-3.125 0-6.2539-1.168-8.6836-3.5117l-37.5-36.227c-2.4375-2.3555-3.8164-5.6055-3.8164-8.9922 0-3.3945 1.3789-6.6406 3.8164-9l37.5-36.227c4.9727-4.793 12.879-4.6562 17.68 0.30859 4.793 4.9727 4.6562 12.887-0.30859 17.68l-28.195 27.238 28.195 27.23c4.9648 4.8008 5.1016 12.715 0.30859 17.68-2.457 2.5391-5.7266 3.8203-8.9961 3.8203z"/>
|
221 |
+
<path d="m410.45 314.23c-3.2695 0-6.5391-1.2812-8.9961-3.8203-4.793-4.9648-4.6562-12.883 0.30859-17.68l28.195-27.234-28.195-27.234c-4.9648-4.793-5.1016-12.715-0.30859-17.68 4.8008-4.9648 12.711-5.1016 17.68-0.30859l37.5 36.227c2.4375 2.3594 3.8164 5.6055 3.8164 8.9961 0 3.3906-1.3789 6.6406-3.8164 8.9961l-37.5 36.227c-2.4297 2.3438-5.5586 3.5117-8.6836 3.5117z"/>
|
222 |
+
<path d="m320.02 435.65c-6.9023 0-12.504-5.5977-12.504-12.5 0-6.9062 5.5898-12.508 12.496-12.508h0.007813c6.9062 0 12.5 5.6016 12.5 12.508 0 6.9023-5.5938 12.5-12.5 12.5z"/>
|
223 |
+
<path d="m370.02 435.65c-6.9023 0-12.504-5.5977-12.504-12.5 0-6.9062 5.5898-12.508 12.496-12.508h0.007813c6.9062 0 12.5 5.6016 12.5 12.508 0 6.9023-5.5938 12.5-12.5 12.5z"/>
|
224 |
+
<path d="m270.02 435.65c-6.9023 0-12.504-5.5977-12.504-12.5 0-6.9062 5.5898-12.508 12.496-12.508h0.007813c6.9062 0 12.5 5.6016 12.5 12.508 0 6.9023-5.5938 12.5-12.5 12.5z"/>
|
225 |
+
</svg>',
|
226 |
+
'enqueue_assets' => function(){
|
227 |
+
wp_enqueue_style( 'acfb-image-slider-css', plugin_dir_url( __FILE__ ) . 'css/swiper.min.css' );
|
228 |
+
wp_enqueue_script('jQuery');
|
229 |
+
wp_enqueue_script( 'acfb-image-slider-swiper-js' ,plugin_dir_url( __FILE__ ) . 'js/swiper.min.js', array('jquery'), '', true );
|
230 |
+
|
231 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
232 |
+
|
233 |
+
wp_enqueue_script( 'acfb-image-slider-custom' ,plugin_dir_url( __FILE__ ) . 'js/image-slider.js', array('jquery'), '', true );
|
234 |
+
},
|
235 |
+
));
|
236 |
+
|
237 |
+
|
238 |
+
// register a Tabs Block.
|
239 |
+
acf_register_block(array(
|
240 |
+
'name' => 'acfb-tabs',
|
241 |
+
'mode' => 'preview',
|
242 |
+
'title' => __('Tabs'),
|
243 |
+
'description' => __('Add tabbed content in your posts/pages.'),
|
244 |
+
'render_callback' => 'acf_blocks_template',
|
245 |
+
// 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/tabs.php',
|
246 |
+
'category' => 'acfb-blocks',
|
247 |
+
'icon' => '<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M861.29152 933.87264H162.70848c-40.08448 0-72.58112-32.49664-72.58112-72.58624V162.70848c0-40.08448 32.49664-72.58112 72.58112-72.58112h203.10016V222.72h568.06912v638.58176c-0.00512 40.07936-32.49664 72.57088-72.58624 72.57088z m5.74976-644.3264H156.95872v524.05248c0 34.12992 27.66336 61.7984 61.7984 61.7984h586.48064c34.12992 0 61.7984-27.66848 61.7984-61.7984V289.54624z m-200.49408-199.41888h194.74432c40.0896 0 72.58624 32.49664 72.58624 72.58112v34.944h-267.33056V90.12736z m-275.67616 0h250.61888v107.52512H390.87104V90.12736z"/></svg>',
|
248 |
+
'enqueue_assets' => function(){
|
249 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
250 |
+
wp_enqueue_script( 'acfb-tabs-js', plugin_dir_url( __FILE__ ) . 'js/tabs.js', array('jquery'), '', true );
|
251 |
+
},
|
252 |
+
));
|
253 |
+
|
254 |
+
// register a Toggle Block.
|
255 |
+
acf_register_block(array(
|
256 |
+
'name' => 'acfb-toggle',
|
257 |
+
'mode' => 'preview',
|
258 |
+
'title' => __('Toggle'),
|
259 |
+
'description' => __('Add toggleable content in your pages/posts.'),
|
260 |
+
'render_callback' => 'acf_blocks_template',
|
261 |
+
// 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/toggle.php',
|
262 |
+
'category' => 'acfb-blocks',
|
263 |
+
'icon' => '<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M0 0l0 1024 1024 0 0-1024-1024 0zM963.764706 60.235294l0 542.117647-903.529412 0 0-542.117647 903.529412 0zM963.764706 662.588235l0 120.470588-903.529412 0 0-120.470588 903.529412 0zM60.235294 963.764706l0-120.470588 903.529412 0 0 120.470588-903.529412 0z" /></svg>',
|
264 |
+
'enqueue_assets' => function(){
|
265 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
266 |
+
wp_enqueue_script( 'acfb-toggle-js', plugin_dir_url( __FILE__ ) . 'js/toggle.js', array('jquery'), '', true );
|
267 |
+
},
|
268 |
+
));
|
269 |
+
|
270 |
+
// register a Accordion Block.
|
271 |
+
acf_register_block(array(
|
272 |
+
'name' => 'acfb-accordion',
|
273 |
+
'mode' => 'preview',
|
274 |
+
'title' => __('Accordion'),
|
275 |
+
'description' => __('Add accordion content in your pages/posts.'),
|
276 |
+
'render_callback' => 'acf_blocks_template',
|
277 |
+
// 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/accordion.php',
|
278 |
+
'category' => 'acfb-blocks',
|
279 |
+
'icon' => '<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M0 0v180.705882h1024V0H0z m963.764706 120.470588H60.235294V60.235294h903.529412v60.235294zM0 783.058824h1024V240.941176H0v542.117648z m60.235294-481.882353h903.529412v421.647058H60.235294V301.176471zM0 1024h1024v-180.705882H0v180.705882z m60.235294-120.470588h903.529412v60.235294H60.235294v-60.235294z" /></svg>',
|
280 |
+
'enqueue_assets' => function(){
|
281 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
282 |
+
wp_enqueue_script( 'acfb-accordion-js', plugin_dir_url( __FILE__ ) . 'js/accordion.js', array('jquery'), '', true );
|
283 |
+
},
|
284 |
+
));
|
285 |
+
|
286 |
+
// register a Scrollable Image Block.
|
287 |
+
acf_register_block(array(
|
288 |
+
'name' => 'acfb-scrollable-image',
|
289 |
+
'mode' => 'preview',
|
290 |
+
'title' => __('Scrollable Image'),
|
291 |
+
'description' => __('Add Scrollable Image in your pages/posts.'),
|
292 |
+
'render_callback' => 'acf_blocks_template',
|
293 |
+
// 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/scrollable-image.php',
|
294 |
+
'category' => 'acfb-blocks',
|
295 |
+
'icon' => '<svg height="512pt" viewBox="-90 0 512 512" width="512pt" xmlns="http://www.w3.org/2000/svg"><path d="m166.238281 430.144531-89.769531-94.898437 29.058594-27.488282 60.632812 64.097657 60.273438-64.058594 29.132812 27.410156zm165.761719-38.144531v-272c0-66.167969-53.832031-120-120-120h-92c-66.167969 0-120 53.832031-120 120v272c0 66.167969 53.832031 120 120 120h92c66.167969 0 120-53.832031 120-120zm-120-352c44.113281 0 80 35.886719 80 80v272c0 44.113281-35.886719 80-80 80h-92c-44.113281 0-80-35.886719-80-80v-272c0-44.113281 35.886719-80 80-80zm-46 41c-11.046875 0-20 8.953125-20 20s8.953125 20 20 20 20-8.953125 20-20-8.953125-20-20-20zm0 80c-11.046875 0-20 8.953125-20 20s8.953125 20 20 20 20-8.953125 20-20-8.953125-20-20-20zm0 80c-11.046875 0-20 8.953125-20 20s8.953125 20 20 20 20-8.953125 20-20-8.953125-20-20-20zm0 0"/></svg>',
|
296 |
+
'enqueue_assets' => function(){
|
297 |
+
wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
|
298 |
+
},
|
299 |
+
));
|
300 |
+
|
301 |
+
|
302 |
+
|
303 |
+
}
|
304 |
+
|
305 |
+
}
|
freemius/.gitignore
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
output/
|
2 |
-
assets/img/*.*
|
3 |
-
!assets/img/plugin-icon.png
|
4 |
-
!assets/img/theme-icon.png
|
5 |
-
!assets/img/index.php
|
6 |
-
.idea
|
7 |
-
node_modules
|
8 |
-
transifex-config.json
|
9 |
-
*.orig
|
10 |
-
npm-debug.log
|
11 |
-
package-lock.json
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
freemius/LICENSE.txt
CHANGED
File without changes
|
freemius/README.md
DELETED
@@ -1,253 +0,0 @@
|
|
1 |
-
Freemius WordPress SDK
|
2 |
-
======================
|
3 |
-
|
4 |
-
[Monetization](https://freemius.com/wordpress/), [analytics](https://freemius.com/wordpress/insights/), and marketing automation platform for plugin & theme developers. Freemius empower developers to create prosperous subscription based businesses.
|
5 |
-
|
6 |
-
You can see some of the WordPress.org plugins & themes that are utilizing the power of Freemius here:
|
7 |
-
|
8 |
-
https://includewp.com/freemius/#focus
|
9 |
-
|
10 |
-
If you are a WordPress plugin or theme developer and you are interested to monetize with Freemius you can [sign-up here for free](https://dashboard.freemius.com/register/):
|
11 |
-
|
12 |
-
https://dashboard.freemius.com/register/
|
13 |
-
|
14 |
-
**Below you'll find the integration instructions for our WordPress SDK.**
|
15 |
-
|
16 |
-
## Code Documentation
|
17 |
-
|
18 |
-
You can find the SDK's PHP-Doc documentation here:
|
19 |
-
https://codedoc.pub/freemius/wordpress-sdk/master/
|
20 |
-
|
21 |
-
## Initializing the SDK
|
22 |
-
|
23 |
-
Copy the code below and paste it into the top of your main plugin's PHP file, right after the plugin's header comment:
|
24 |
-
|
25 |
-
```php
|
26 |
-
<?php
|
27 |
-
// Create a helper function for easy SDK access.
|
28 |
-
function my_prefix_fs() {
|
29 |
-
global $my_prefix_fs;
|
30 |
-
if ( ! isset( $my_prefix_fs ) ) {
|
31 |
-
// Include Freemius SDK.
|
32 |
-
require_once dirname(__FILE__) . '/freemius/start.php';
|
33 |
-
|
34 |
-
$my_prefix_fs = fs_dynamic_init( array(
|
35 |
-
'id' => '1234',
|
36 |
-
'slug' => 'my-plugin-slug',
|
37 |
-
'menu_slug' => 'my_menu_slug', // You can also use __FILE__
|
38 |
-
'public_key' => 'pk_MY_PUBLIC_KEY',
|
39 |
-
'is_live' => true,
|
40 |
-
'is_premium' => true,
|
41 |
-
'has_addons' => false,
|
42 |
-
'has_paid_plans' => false,
|
43 |
-
// Set the SDK to work in a sandbox mode (for development & testing).
|
44 |
-
// IMPORTANT: MAKE SURE TO REMOVE SECRET KEY BEFORE DEPLOYMENT.
|
45 |
-
'secret_key' => 'sk_MY_SECRET_KEY',
|
46 |
-
) );
|
47 |
-
}
|
48 |
-
|
49 |
-
return $my_prefix_fs;
|
50 |
-
}
|
51 |
-
|
52 |
-
// Init Freemius.
|
53 |
-
my_prefix_fs();
|
54 |
-
?>
|
55 |
-
```
|
56 |
-
|
57 |
-
- **1234** - Replace with your plugin's ID.
|
58 |
-
- **pk_MY_PUBLIC_KEY** - Replace with your plugin's public key.
|
59 |
-
- **sk_MY_SECRET_KEY** - Replace with your plugin's secret key.
|
60 |
-
- **my-plugin-slug** - Replace with your plugin's WordPress.org slug.
|
61 |
-
- **my_menu_slug** - Replace with your admin dashboard settings menu slug.
|
62 |
-
|
63 |
-
|
64 |
-
## Usage example
|
65 |
-
|
66 |
-
You can call the SDK by using the shortcode function:
|
67 |
-
|
68 |
-
```php
|
69 |
-
<?php my_prefix_fs()->get_upgrade_url(); ?>
|
70 |
-
```
|
71 |
-
|
72 |
-
Or when calling Freemius multiple times in a scope, it's recommended to use it with the global variable:
|
73 |
-
|
74 |
-
```php
|
75 |
-
<?php
|
76 |
-
global $my_prefix_fs;
|
77 |
-
$my_prefix_fs->get_account_url();
|
78 |
-
?>
|
79 |
-
```
|
80 |
-
|
81 |
-
## Adding license based logic examples
|
82 |
-
|
83 |
-
Add marketing content to encourage your users to upgrade for your paid version:
|
84 |
-
|
85 |
-
```php
|
86 |
-
<?php
|
87 |
-
if ( my_prefix_fs()->is_not_paying() ) {
|
88 |
-
echo '<section><h1>' . esc_html__('Awesome Premium Features', 'my-plugin-slug') . '</h1>';
|
89 |
-
echo '<a href="' . my_prefix_fs()->get_upgrade_url() . '">' .
|
90 |
-
esc_html__('Upgrade Now!', 'my-plugin-slug') .
|
91 |
-
'</a>';
|
92 |
-
echo '</section>';
|
93 |
-
}
|
94 |
-
?>
|
95 |
-
```
|
96 |
-
|
97 |
-
Add logic which will only be available in your premium plugin version:
|
98 |
-
|
99 |
-
```php
|
100 |
-
<?php
|
101 |
-
// This "if" block will be auto removed from the Free version.
|
102 |
-
if ( my_prefix_fs()->is__premium_only() ) {
|
103 |
-
|
104 |
-
// ... premium only logic ...
|
105 |
-
|
106 |
-
}
|
107 |
-
?>
|
108 |
-
```
|
109 |
-
|
110 |
-
To add a function which will only be available in your premium plugin version, simply add __premium_only as the suffix of the function name. Just make sure that all lines that call that method directly or by hooks, are also wrapped in premium only logic:
|
111 |
-
|
112 |
-
```php
|
113 |
-
<?php
|
114 |
-
class My_Plugin {
|
115 |
-
function init() {
|
116 |
-
...
|
117 |
-
|
118 |
-
// This "if" block will be auto removed from the free version.
|
119 |
-
if ( my_prefix_fs()->is__premium_only() ) {
|
120 |
-
// Init premium version.
|
121 |
-
$this->admin_init__premium_only();
|
122 |
-
|
123 |
-
add_action( 'admin_init', array( &$this, 'admin_init_hook__premium_only' );
|
124 |
-
}
|
125 |
-
|
126 |
-
...
|
127 |
-
}
|
128 |
-
|
129 |
-
// This method will be only included in the premium version.
|
130 |
-
function admin_init__premium_only() {
|
131 |
-
...
|
132 |
-
}
|
133 |
-
|
134 |
-
// This method will be only included in the premium version.
|
135 |
-
function admin_init_hook__premium_only() {
|
136 |
-
...
|
137 |
-
}
|
138 |
-
}
|
139 |
-
?>
|
140 |
-
```
|
141 |
-
|
142 |
-
Add logic which will only be executed for customers in your 'professional' plan:
|
143 |
-
|
144 |
-
```php
|
145 |
-
<?php
|
146 |
-
if ( my_prefix_fs()->is_plan('professional', true) ) {
|
147 |
-
// .. logic related to Professional plan only ...
|
148 |
-
}
|
149 |
-
?>
|
150 |
-
```
|
151 |
-
|
152 |
-
Add logic which will only be executed for customers in your 'professional' plan or higher plans:
|
153 |
-
|
154 |
-
```php
|
155 |
-
<?php
|
156 |
-
if ( my_prefix_fs()->is_plan('professional') ) {
|
157 |
-
// ... logic related to Professional plan and higher plans ...
|
158 |
-
}
|
159 |
-
?>
|
160 |
-
```
|
161 |
-
|
162 |
-
Add logic which will only be available in your premium plugin version AND will only be executed for customers in your 'professional' plan (and higher plans):
|
163 |
-
|
164 |
-
```php
|
165 |
-
<?php
|
166 |
-
// This "if" block will be auto removed from the Free version.
|
167 |
-
if ( my_prefix_fs()->is_plan__premium_only('professional') ) {
|
168 |
-
// ... logic related to Professional plan and higher plans ...
|
169 |
-
}
|
170 |
-
?>
|
171 |
-
```
|
172 |
-
|
173 |
-
Add logic only for users in trial:
|
174 |
-
|
175 |
-
```php
|
176 |
-
<?php
|
177 |
-
if ( my_prefix_fs()->is_trial() ) {
|
178 |
-
// ... logic for users in trial ...
|
179 |
-
}
|
180 |
-
?>
|
181 |
-
```
|
182 |
-
|
183 |
-
Add logic for specified paid plan:
|
184 |
-
|
185 |
-
```php
|
186 |
-
<?php
|
187 |
-
// This "if" block will be auto removed from the Free version.
|
188 |
-
if ( my_prefix_fs()->is__premium_only() ) {
|
189 |
-
if ( my_prefix_fs()->is_plan( 'professional', true ) ) {
|
190 |
-
|
191 |
-
// ... logic related to Professional plan only ...
|
192 |
-
|
193 |
-
} else if ( my_prefix_fs()->is_plan( 'business' ) ) {
|
194 |
-
|
195 |
-
// ... logic related to Business plan and higher plans ...
|
196 |
-
|
197 |
-
}
|
198 |
-
}
|
199 |
-
?>
|
200 |
-
```
|
201 |
-
|
202 |
-
## Excluding files and folders from the free plugin version
|
203 |
-
There are two ways to exclude files from your free version.
|
204 |
-
|
205 |
-
1. Add `__premium_only` just before the file extension. For example, functions__premium_only.php will be only included in the premium plugin version. This works for all type of files, not only PHP.
|
206 |
-
2. Add `@fs_premium_only` a sepcial meta tag to the plugin's main PHP file header. Example:
|
207 |
-
```php
|
208 |
-
<?php
|
209 |
-
/**
|
210 |
-
* Plugin Name: My Very Awesome Plugin
|
211 |
-
* Plugin URI: http://my-awesome-plugin.com
|
212 |
-
* Description: Create and manage Awesomeness right in WordPress.
|
213 |
-
* Version: 1.0.0
|
214 |
-
* Author: Awesomattic
|
215 |
-
* Author URI: http://my-awesome-plugin.com/me/
|
216 |
-
* License: GPLv2
|
217 |
-
* Text Domain: myplugin
|
218 |
-
* Domain Path: /langs
|
219 |
-
*
|
220 |
-
* @fs_premium_only /lib/functions.php, /premium-files/
|
221 |
-
*/
|
222 |
-
|
223 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
224 |
-
exit;
|
225 |
-
}
|
226 |
-
|
227 |
-
// ... my code ...
|
228 |
-
?>
|
229 |
-
```
|
230 |
-
The file `/lib/functions.php` and the directory `/premium-files/` will be removed from the free plugin version.
|
231 |
-
|
232 |
-
# WordPress.org Compliance
|
233 |
-
Based on [WordPress.org Guidelines](https://wordpress.org/plugins/about/guidelines/) you are not allowed to submit a plugin that has premium code in it:
|
234 |
-
> All code hosted by WordPress.org servers must be free and fully-functional. If you want to sell advanced features for a plugin (such as a "pro" version), then you must sell and serve that code from your own site, we will not host it on our servers.
|
235 |
-
|
236 |
-
Therefore, if you want to deploy your free plugin's version to WordPress.org, make sure you wrap all your premium code with `if ( my_prefix_fs()->{{ method }}__premium_only() )` or the other methods provided to exclude premium features & files from the free version.
|
237 |
-
|
238 |
-
## Deployment
|
239 |
-
Zip your plugin's root folder and upload it in the Deployment section in the *Freemius Developer's Dashboard*.
|
240 |
-
The plugin will be scanned and processed by a custom developed *PHP Processor* which will auto-generate two versions of your plugin:
|
241 |
-
|
242 |
-
1. **Premium version**: Identical to your uploaded version, including all code (except your `secret_key`). Will be enabled for download ONLY for your paying or in trial customers.
|
243 |
-
2. **Free version**: The code stripped from all your paid features (based on the logic added wrapped in `{ method }__premium_only()`).
|
244 |
-
|
245 |
-
The free version is the one that you should give your users to download. Therefore, download the free generated version and upload to your site. Or, if your plugin was WordPress.org complaint and you made sure to exclude all your premium code with the different provided techniques, you can deploy the downloaded free version to the .org repo.
|
246 |
-
|
247 |
-
## Reporting Bugs
|
248 |
-
Email dev [at] freemius [dot] com
|
249 |
-
|
250 |
-
## FAQ
|
251 |
-
|
252 |
-
## Copyright
|
253 |
-
Freemius, Inc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
freemius/assets/css/admin/account.css
CHANGED
File without changes
|
freemius/assets/css/admin/add-ons.css
CHANGED
File without changes
|
freemius/assets/css/admin/affiliation.css
CHANGED
File without changes
|
freemius/assets/css/admin/checkout.css
CHANGED
File without changes
|
freemius/assets/css/admin/common.css
CHANGED
File without changes
|
freemius/assets/css/admin/connect.css
CHANGED
File without changes
|
freemius/assets/css/admin/debug.css
CHANGED
File without changes
|
freemius/assets/css/admin/dialog-boxes.css
CHANGED
File without changes
|
freemius/assets/css/admin/gdpr-optin-notice.css
CHANGED
File without changes
|
freemius/assets/css/admin/index.php
CHANGED
File without changes
|
freemius/assets/css/customizer.css
CHANGED
File without changes
|
freemius/assets/css/index.php
CHANGED
File without changes
|
freemius/assets/img/acf-blocks.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="214" height="214" viewbox="0 0 214 214" preserveAspectRatio="none"><rect x="0" y="0" width="100%" height="100%" fill="rgb(137, 69, 90)" /><circle cx="0" cy="0" r="35.833333333333" fill="#ddd" style="opacity:0.054666666666667;" /><circle cx="215" cy="0" r="35.833333333333" fill="#ddd" style="opacity:0.054666666666667;" /><circle cx="0" cy="215" r="35.833333333333" fill="#ddd" style="opacity:0.054666666666667;" /><circle cx="215" cy="215" r="35.833333333333" fill="#ddd" style="opacity:0.054666666666667;" /><circle cx="35.833333333333" cy="0" r="35.833333333333" fill="#ddd" style="opacity:0.02;" /><circle cx="35.833333333333" cy="215" r="35.833333333333" fill="#ddd" style="opacity:0.02;" /><circle cx="71.666666666667" cy="0" r="35.833333333333" fill="#222" style="opacity:0.063333333333333;" /><circle cx="71.666666666667" cy="215" r="35.833333333333" fill="#222" style="opacity:0.063333333333333;" /><circle cx="107.5" cy="0" r="35.833333333333" fill="#222" style="opacity:0.13266666666667;" /><circle cx="107.5" cy="215" r="35.833333333333" fill="#222" style="opacity:0.13266666666667;" /><circle cx="143.33333333333" cy="0" r="35.833333333333" fill="#ddd" style="opacity:0.02;" /><circle cx="143.33333333333" cy="215" r="35.833333333333" fill="#ddd" style="opacity:0.02;" /><circle cx="179.16666666667" cy="0" r="35.833333333333" fill="#ddd" style="opacity:0.02;" /><circle cx="179.16666666667" cy="215" r="35.833333333333" fill="#ddd" style="opacity:0.02;" /><circle cx="0" cy="35.833333333333" r="35.833333333333" fill="#222" style="opacity:0.063333333333333;" /><circle cx="215" cy="35.833333333333" r="35.833333333333" fill="#222" style="opacity:0.063333333333333;" /><circle cx="35.833333333333" cy="35.833333333333" r="35.833333333333" fill="#ddd" style="opacity:0.037333333333333;" /><circle cx="71.666666666667" cy="35.833333333333" r="35.833333333333" fill="#222" style="opacity:0.13266666666667;" /><circle cx="107.5" cy="35.833333333333" r="35.833333333333" fill="#ddd" style="opacity:0.072;" /><circle cx="143.33333333333" cy="35.833333333333" r="35.833333333333" fill="#ddd" style="opacity:0.089333333333333;" /><circle cx="179.16666666667" cy="35.833333333333" r="35.833333333333" fill="#222" style="opacity:0.11533333333333;" /><circle cx="0" cy="71.666666666667" r="35.833333333333" fill="#222" style="opacity:0.13266666666667;" /><circle cx="215" cy="71.666666666667" r="35.833333333333" fill="#222" style="opacity:0.13266666666667;" /><circle cx="35.833333333333" cy="71.666666666667" r="35.833333333333" fill="#ddd" style="opacity:0.10666666666667;" /><circle cx="71.666666666667" cy="71.666666666667" r="35.833333333333" fill="#ddd" style="opacity:0.02;" /><circle cx="107.5" cy="71.666666666667" r="35.833333333333" fill="#222" style="opacity:0.13266666666667;" /><circle cx="143.33333333333" cy="71.666666666667" r="35.833333333333" fill="#ddd" style="opacity:0.072;" /><circle cx="179.16666666667" cy="71.666666666667" r="35.833333333333" fill="#222" style="opacity:0.098;" /><circle cx="0" cy="107.5" r="35.833333333333" fill="#ddd" style="opacity:0.10666666666667;" /><circle cx="215" cy="107.5" r="35.833333333333" fill="#ddd" style="opacity:0.10666666666667;" /><circle cx="35.833333333333" cy="107.5" r="35.833333333333" fill="#ddd" style="opacity:0.02;" /><circle cx="71.666666666667" cy="107.5" r="35.833333333333" fill="#222" style="opacity:0.028666666666667;" /><circle cx="107.5" cy="107.5" r="35.833333333333" fill="#222" style="opacity:0.11533333333333;" /><circle cx="143.33333333333" cy="107.5" r="35.833333333333" fill="#222" style="opacity:0.098;" /><circle cx="179.16666666667" cy="107.5" r="35.833333333333" fill="#ddd" style="opacity:0.14133333333333;" /><circle cx="0" cy="143.33333333333" r="35.833333333333" fill="#222" style="opacity:0.046;" /><circle cx="215" cy="143.33333333333" r="35.833333333333" fill="#222" style="opacity:0.046;" /><circle cx="35.833333333333" cy="143.33333333333" r="35.833333333333" fill="#ddd" style="opacity:0.089333333333333;" /><circle cx="71.666666666667" cy="143.33333333333" r="35.833333333333" fill="#ddd" style="opacity:0.124;" /><circle cx="107.5" cy="143.33333333333" r="35.833333333333" fill="#222" style="opacity:0.080666666666667;" /><circle cx="143.33333333333" cy="143.33333333333" r="35.833333333333" fill="#ddd" style="opacity:0.10666666666667;" /><circle cx="179.16666666667" cy="143.33333333333" r="35.833333333333" fill="#222" style="opacity:0.080666666666667;" /><circle cx="0" cy="179.16666666667" r="35.833333333333" fill="#222" style="opacity:0.11533333333333;" /><circle cx="215" cy="179.16666666667" r="35.833333333333" fill="#222" style="opacity:0.11533333333333;" /><circle cx="35.833333333333" cy="179.16666666667" r="35.833333333333" fill="#222" style="opacity:0.080666666666667;" /><circle cx="71.666666666667" cy="179.16666666667" r="35.833333333333" fill="#222" style="opacity:0.080666666666667;" /><circle cx="107.5" cy="179.16666666667" r="35.833333333333" fill="#ddd" style="opacity:0.054666666666667;" /><circle cx="143.33333333333" cy="179.16666666667" r="35.833333333333" fill="#222" style="opacity:0.15;" /><circle cx="179.16666666667" cy="179.16666666667" r="35.833333333333" fill="#222" style="opacity:0.098;" /></svg>
|
freemius/assets/img/index.php
CHANGED
File without changes
|
freemius/assets/img/plugin-icon.png
CHANGED
File without changes
|
freemius/assets/img/theme-icon.png
CHANGED
File without changes
|
freemius/assets/index.php
CHANGED
File without changes
|
freemius/assets/js/index.php
CHANGED
File without changes
|
freemius/assets/js/nojquery.ba-postmessage.js
CHANGED
File without changes
|
freemius/assets/js/nojquery.ba-postmessage.min.js
CHANGED
File without changes
|
freemius/assets/js/postmessage.js
CHANGED
File without changes
|
freemius/assets/scss/_colors.scss
CHANGED
File without changes
|
freemius/assets/scss/_functions.scss
CHANGED
File without changes
|
freemius/assets/scss/_load.scss
CHANGED
File without changes
|
freemius/assets/scss/_mixins.scss
CHANGED
File without changes
|
freemius/assets/scss/_start.scss
CHANGED
File without changes
|
freemius/assets/scss/_vars.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/_ajax-loader.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/_auto-install.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/_buttons.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/_deactivation-feedback.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/_gdpr-consent.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/_license-activation.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/_license-key-resend.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/_modal-common.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/_multisite-options.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/_plugin-upgrade-notice.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/_subscription-cancellation.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/_themes.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/_tooltip.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/account.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/add-ons.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/affiliation.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/checkout.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/common.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/connect.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/debug.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/dialog-boxes.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/gdpr-optin-notice.scss
CHANGED
File without changes
|
freemius/assets/scss/admin/index.php
CHANGED
File without changes
|
freemius/assets/scss/customizer.scss
CHANGED
File without changes
|
freemius/assets/scss/index.php
CHANGED
File without changes
|
freemius/config.php
CHANGED
File without changes
|
freemius/includes/class-freemius-abstract.php
CHANGED
File without changes
|
freemius/includes/class-freemius.php
CHANGED
File without changes
|
freemius/includes/class-fs-admin-notices.php
CHANGED
File without changes
|
freemius/includes/class-fs-api.php
CHANGED
File without changes
|
freemius/includes/class-fs-logger.php
CHANGED
File without changes
|
freemius/includes/class-fs-options.php
CHANGED
File without changes
|
freemius/includes/class-fs-plugin-updater.php
CHANGED
File without changes
|
freemius/includes/class-fs-security.php
CHANGED
File without changes
|
freemius/includes/class-fs-storage.php
CHANGED
File without changes
|
freemius/includes/class-fs-user-lock.php
CHANGED
File without changes
|
freemius/includes/customizer/class-fs-customizer-support-section.php
CHANGED
File without changes
|
freemius/includes/customizer/class-fs-customizer-upsell-control.php
CHANGED
File without changes
|
freemius/includes/customizer/index.php
CHANGED
File without changes
|
freemius/includes/debug/class-fs-debug-bar-panel.php
CHANGED
File without changes
|
freemius/includes/debug/debug-bar-start.php
CHANGED
File without changes
|
freemius/includes/debug/index.php
CHANGED
File without changes
|
freemius/includes/entities/class-fs-affiliate-terms.php
CHANGED
File without changes
|
freemius/includes/entities/class-fs-affiliate.php
CHANGED
File without changes
|
freemius/includes/entities/class-fs-billing.php
CHANGED
File without changes
|
freemius/includes/entities/class-fs-entity.php
CHANGED
File without changes
|
freemius/includes/entities/class-fs-payment.php
CHANGED
File without changes
|
freemius/includes/entities/class-fs-plugin-info.php
CHANGED
File without changes
|
freemius/includes/entities/class-fs-plugin-license.php
CHANGED
File without changes
|
freemius/includes/entities/class-fs-plugin-plan.php
CHANGED
File without changes
|
freemius/includes/entities/class-fs-plugin-tag.php
CHANGED
File without changes
|
freemius/includes/entities/class-fs-plugin.php
CHANGED
File without changes
|
freemius/includes/entities/class-fs-pricing.php
CHANGED
File without changes
|
freemius/includes/entities/class-fs-scope-entity.php
CHANGED
File without changes
|
freemius/includes/entities/class-fs-site.php
CHANGED
File without changes
|
freemius/includes/entities/class-fs-subscription.php
CHANGED
File without changes
|
freemius/includes/entities/class-fs-user.php
CHANGED
File without changes
|
freemius/includes/entities/index.php
CHANGED
File without changes
|
freemius/includes/fs-core-functions.php
CHANGED
File without changes
|
freemius/includes/fs-essential-functions.php
CHANGED
File without changes
|
freemius/includes/fs-plugin-info-dialog.php
CHANGED
File without changes
|
freemius/includes/i18n.php
CHANGED
File without changes
|
freemius/includes/index.php
CHANGED
File without changes
|
freemius/includes/l10n.php
CHANGED
File without changes
|
freemius/includes/managers/class-fs-admin-menu-manager.php
CHANGED
File without changes
|
freemius/includes/managers/class-fs-admin-notice-manager.php
CHANGED
File without changes
|
freemius/includes/managers/class-fs-cache-manager.php
CHANGED
File without changes
|
freemius/includes/managers/class-fs-gdpr-manager.php
CHANGED
File without changes
|
freemius/includes/managers/class-fs-key-value-storage.php
CHANGED
File without changes
|
freemius/includes/managers/class-fs-license-manager.php
CHANGED
File without changes
|
freemius/includes/managers/class-fs-option-manager.php
CHANGED
File without changes
|
freemius/includes/managers/class-fs-plan-manager.php
CHANGED
File without changes
|
freemius/includes/managers/class-fs-plugin-manager.php
CHANGED
File without changes
|
freemius/includes/managers/index.php
CHANGED
File without changes
|
freemius/includes/sdk/Exceptions/ArgumentNotExistException.php
CHANGED
File without changes
|
freemius/includes/sdk/Exceptions/EmptyArgumentException.php
CHANGED
File without changes
|
freemius/includes/sdk/Exceptions/Exception.php
CHANGED
File without changes
|
freemius/includes/sdk/Exceptions/InvalidArgumentException.php
CHANGED
File without changes
|
freemius/includes/sdk/Exceptions/OAuthException.php
CHANGED
File without changes
|
freemius/includes/sdk/Exceptions/index.php
CHANGED
File without changes
|
freemius/includes/sdk/FreemiusBase.php
CHANGED
File without changes
|
freemius/includes/sdk/FreemiusWordPress.php
CHANGED
File without changes
|
freemius/includes/sdk/LICENSE.txt
CHANGED
File without changes
|
freemius/includes/sdk/index.php
CHANGED
File without changes
|
freemius/includes/supplements/fs-essential-functions-1.1.7.1.php
CHANGED
File without changes
|
freemius/includes/supplements/fs-essential-functions-2.2.1.php
CHANGED
File without changes
|
freemius/includes/supplements/index.php
CHANGED
File without changes
|
freemius/index.php
CHANGED
File without changes
|
freemius/languages/freemius-da_DK.mo
CHANGED
File without changes
|
freemius/languages/freemius-da_DK.po
CHANGED
File without changes
|
freemius/languages/freemius-en.mo
CHANGED
File without changes
|
freemius/languages/freemius-en.po
CHANGED
File without changes
|
freemius/languages/freemius-es_ES.mo
CHANGED
File without changes
|
freemius/languages/freemius-es_ES.po
CHANGED
File without changes
|
freemius/languages/freemius-fr_FR.mo
CHANGED
File without changes
|
freemius/languages/freemius-fr_FR.po
CHANGED
File without changes
|
freemius/languages/freemius-he_IL.mo
CHANGED
File without changes
|
freemius/languages/freemius-he_IL.po
CHANGED
File without changes
|
freemius/languages/freemius-hu_HU.mo
CHANGED
File without changes
|
freemius/languages/freemius-hu_HU.po
CHANGED
File without changes
|
freemius/languages/freemius-it_IT.mo
CHANGED
File without changes
|
freemius/languages/freemius-it_IT.po
CHANGED
File without changes
|
freemius/languages/freemius-ja_JP.mo
CHANGED
File without changes
|
freemius/languages/freemius-ja_JP.po
CHANGED
File without changes
|
freemius/languages/freemius-nl_NL.mo
CHANGED
File without changes
|
freemius/languages/freemius-nl_NL.po
CHANGED
File without changes
|
freemius/languages/freemius-ru_RU.mo
CHANGED
File without changes
|
freemius/languages/freemius-ru_RU.po
CHANGED
File without changes
|
freemius/languages/freemius.pot
CHANGED
File without changes
|
freemius/languages/index.php
CHANGED
File without changes
|
freemius/package.json
DELETED
@@ -1,27 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"name": "freemius-wordpress-sdk",
|
3 |
-
"description": "Monetization, analytics, and marketing automation platform for plugin & theme developers.",
|
4 |
-
"author": "Freemius, Inc.",
|
5 |
-
"license": "GPL-3.0",
|
6 |
-
"homepage": "https://freemius.com",
|
7 |
-
"version": "2.1.2",
|
8 |
-
"main": "gulpfile.js",
|
9 |
-
"dependencies": {},
|
10 |
-
"scripts": {
|
11 |
-
"test": "echo \"Error: no test specified\" && exit 1",
|
12 |
-
"prune": "rimraf .codeclimate.yml .git .github .gitignore .travis.yml gulpfile.js composer.json"
|
13 |
-
},
|
14 |
-
"repository": "Freemius/wordpress-sdk.git",
|
15 |
-
"devDependencies": {
|
16 |
-
"gulp": "^3.9.1",
|
17 |
-
"gulp-clean": "^0.3.2",
|
18 |
-
"gulp-fs": "0.0.2",
|
19 |
-
"gulp-gettext": "^0.3.0",
|
20 |
-
"gulp-path": "^3.0.3",
|
21 |
-
"gulp-pofill": "^1.0.0",
|
22 |
-
"gulp-rename": "^1.2.2",
|
23 |
-
"gulp-sort": "^2.0.0",
|
24 |
-
"gulp-transifex": "^0.1.17",
|
25 |
-
"gulp-wp-pot": "^1.3.5"
|
26 |
-
}
|
27 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
freemius/require.php
CHANGED
File without changes
|
freemius/start.php
CHANGED
File without changes
|
freemius/templates/account.php
CHANGED
File without changes
|
freemius/templates/account/billing.php
CHANGED
File without changes
|
freemius/templates/account/index.php
CHANGED
File without changes
|
freemius/templates/account/partials/activate-license-button.php
CHANGED
File without changes
|
freemius/templates/account/partials/addon.php
CHANGED
File without changes
|
freemius/templates/account/partials/deactivate-license-button.php
CHANGED
File without changes
|
freemius/templates/account/partials/index.php
CHANGED
File without changes
|
freemius/templates/account/partials/site.php
CHANGED
File without changes
|
freemius/templates/account/payments.php
CHANGED
File without changes
|
freemius/templates/add-ons.php
CHANGED
File without changes
|
freemius/templates/add-trial-to-pricing.php
CHANGED
File without changes
|
freemius/templates/admin-notice.php
CHANGED
File without changes
|
freemius/templates/ajax-loader.php
CHANGED
File without changes
|
freemius/templates/auto-installation.php
CHANGED
File without changes
|
freemius/templates/checkout.php
CHANGED
File without changes
|
freemius/templates/connect.php
CHANGED
File without changes
|
freemius/templates/contact.php
CHANGED
File without changes
|
freemius/templates/debug.php
CHANGED
File without changes
|
freemius/templates/debug/api-calls.php
CHANGED
File without changes
|
freemius/templates/debug/index.php
CHANGED
File without changes
|
freemius/templates/debug/logger.php
CHANGED
File without changes
|
freemius/templates/debug/plugins-themes-sync.php
CHANGED
File without changes
|
freemius/templates/debug/scheduled-crons.php
CHANGED
File without changes
|
freemius/templates/email.php
CHANGED
File without changes
|
freemius/templates/firewall-issues-js.php
CHANGED
File without changes
|
freemius/templates/forms/affiliation.php
CHANGED
File without changes
|
freemius/templates/forms/deactivation/contact.php
CHANGED
File without changes
|
freemius/templates/forms/deactivation/form.php
CHANGED
File without changes
|
freemius/templates/forms/deactivation/index.php
CHANGED
File without changes
|
freemius/templates/forms/deactivation/retry-skip.php
CHANGED
File without changes
|
freemius/templates/forms/index.php
CHANGED
File without changes
|
freemius/templates/forms/license-activation.php
CHANGED
File without changes
|
freemius/templates/forms/optout.php
CHANGED
File without changes
|
freemius/templates/forms/premium-versions-upgrade-handler.php
CHANGED
File without changes
|
freemius/templates/forms/premium-versions-upgrade-metadata.php
CHANGED
File without changes
|
freemius/templates/forms/resend-key.php
CHANGED
File without changes
|
freemius/templates/forms/subscription-cancellation.php
CHANGED
File without changes
|
freemius/templates/forms/trial-start.php
CHANGED
File without changes
|
freemius/templates/gdpr-optin-js.php
CHANGED
File without changes
|
freemius/templates/index.php
CHANGED
File without changes
|
freemius/templates/js/index.php
CHANGED
File without changes
|
freemius/templates/js/jquery.content-change.php
CHANGED
File without changes
|
freemius/templates/js/open-license-activation.php
CHANGED
File without changes
|
freemius/templates/js/style-premium-theme.php
CHANGED
File without changes
|
freemius/templates/partials/network-activation.php
CHANGED
File without changes
|
freemius/templates/plugin-icon.php
CHANGED
File without changes
|
freemius/templates/plugin-info/description.php
CHANGED
File without changes
|
freemius/templates/plugin-info/features.php
CHANGED
File without changes
|
freemius/templates/plugin-info/index.php
CHANGED
File without changes
|
freemius/templates/plugin-info/screenshots.php
CHANGED
File without changes
|
freemius/templates/powered-by.php
CHANGED
File without changes
|
freemius/templates/pricing.php
CHANGED
File without changes
|
freemius/templates/secure-https-header.php
CHANGED
File without changes
|
freemius/templates/sticky-admin-notice-js.php
CHANGED
File without changes
|
freemius/templates/tabs-capture-js.php
CHANGED
File without changes
|
freemius/templates/tabs.php
CHANGED
File without changes
|
img/c-gfive-1.png
ADDED
Binary file
|
img/c-gfive-2.png
ADDED
Binary file
|
img/c-gfive-3.png
ADDED
Binary file
|
img/c-gfour-1.png
ADDED
Binary file
|
img/c-gfour-2.png
ADDED
Binary file
|
img/gfour-eight.png
CHANGED
File without changes
|
img/gfour-eleven.png
CHANGED
File without changes
|
img/gfour-fifteen.png
CHANGED
File without changes
|
img/gfour-five.png
CHANGED
File without changes
|
img/gfour-four.png
CHANGED
File without changes
|
img/gfour-fourteen.png
CHANGED
File without changes
|
img/gfour-nine.png
CHANGED
File without changes
|
img/gfour-one.png
CHANGED
File without changes
|
img/gfour-seven.png
CHANGED
File without changes
|
img/gfour-six.png
CHANGED
File without changes
|
img/gfour-ten.png
CHANGED
File without changes
|
img/gfour-thirteen.png
CHANGED
File without changes
|
img/gfour-three.png
CHANGED
File without changes
|
img/gfour-twelve.png
CHANGED
File without changes
|
img/gfour-two.png
CHANGED
File without changes
|
img/gthree-five.png
CHANGED
File without changes
|
img/gthree-four.png
CHANGED
File without changes
|
img/gthree-one.png
CHANGED
File without changes
|
img/gthree-six.png
CHANGED
File without changes
|
img/gthree-three.png
CHANGED
File without changes
|
img/gthree-two.png
CHANGED
File without changes
|
img/gtwo-one.png
CHANGED
File without changes
|
img/gtwo-two.png
CHANGED
File without changes
|
img/placeholder-image.jpg
CHANGED
File without changes
|
img/placeholder-vertical.jpg
CHANGED
File without changes
|
img/pt-four-one.png
ADDED
Binary file
|
img/pt-four-two.png
ADDED
Binary file
|
img/svgexport-1.svg
CHANGED
File without changes
|
img/svgexport-10.svg
CHANGED
File without changes
|
img/svgexport-11.svg
CHANGED
File without changes
|
img/svgexport-2.svg
CHANGED
File without changes
|
img/svgexport-3.svg
CHANGED
File without changes
|
img/svgexport-4.svg
CHANGED
File without changes
|
img/svgexport-5.svg
CHANGED
File without changes
|
img/svgexport-6.svg
CHANGED
File without changes
|
img/svgexport-7.svg
CHANGED
File without changes
|
img/svgexport-8.svg
CHANGED
File without changes
|
img/svgexport-9.svg
CHANGED
File without changes
|
js/accordion.js
CHANGED
File without changes
|
js/before-after-image.js
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function($){
|
2 |
+
|
3 |
+
var initializeBlock = function( $block ) {
|
4 |
+
|
5 |
+
function Bool(v) {
|
6 |
+
return v;
|
7 |
+
}
|
8 |
+
|
9 |
+
var acfb_ba_offset = $($block).find(".twentytwenty-container").data('offset');
|
10 |
+
var acfb_ba_orientation = $($block).find(".twentytwenty-container").data('orientation');
|
11 |
+
var acfb_ba_before_label = $($block).find(".twentytwenty-container").data('before-label');
|
12 |
+
var acfb_ba_after_label = $($block).find(".twentytwenty-container").data('after-label');
|
13 |
+
var acfb_ba_overlay = $($block).find(".twentytwenty-container").data('overlay');
|
14 |
+
var acfb_ba_move_on_hover = $($block).find(".twentytwenty-container").data('move-on-hover');
|
15 |
+
var acfb_ba_move_on_click = $($block).find(".twentytwenty-container").data('move-on-click');
|
16 |
+
|
17 |
+
|
18 |
+
$block.find(".twentytwenty-container").twentytwenty({
|
19 |
+
default_offset_pct: acfb_ba_offset, // How much of the before image is visible when the page loads
|
20 |
+
orientation: acfb_ba_orientation, // Orientation of the before and after images ('horizontal' or 'vertical')
|
21 |
+
before_label: acfb_ba_before_label, // Set a custom before label
|
22 |
+
after_label: acfb_ba_after_label, // Set a custom after label
|
23 |
+
no_overlay: acfb_ba_overlay, //Do not show the overlay with before and after
|
24 |
+
move_slider_on_hover: acfb_ba_move_on_hover, // Move slider on mouse hover?
|
25 |
+
move_with_handle_only: false, // Allow a user to swipe anywhere on the image to control slider movement.
|
26 |
+
click_to_move: acfb_ba_move_on_click // Allow a user to click (or tap) anywhere on the image to move the slider to that location.
|
27 |
+
});
|
28 |
+
|
29 |
+
}
|
30 |
+
|
31 |
+
$(document).ready(function(){
|
32 |
+
$('.acfb_before_after_block').each(function(){
|
33 |
+
initializeBlock( $(this) );
|
34 |
+
});
|
35 |
+
|
36 |
+
});
|
37 |
+
|
38 |
+
if( window.acf ) {
|
39 |
+
window.acf.addAction( 'render_block_preview/type=acfb-before-after-image', initializeBlock );
|
40 |
+
}
|
41 |
+
|
42 |
+
})(jQuery);
|
43 |
+
|
44 |
+
|
45 |
+
|
46 |
+
|
47 |
+
|
48 |
+
|
49 |
+
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
+
|
54 |
+
|
55 |
+
|
56 |
+
|
57 |
+
|
58 |
+
|
59 |
+
|
60 |
+
// jQuery(function(){
|
61 |
+
|
62 |
+
// jQuery(".twentytwenty-container").twentytwenty({
|
63 |
+
// default_offset_pct: jQuery(".twentytwenty-container").data("offset"), // How much of the before image is visible when the page loads
|
64 |
+
// orientation: jQuery(".twentytwenty-container").data("orientation"), // Orientation of the before and after images ('horizontal' or 'vertical')
|
65 |
+
// before_label: jQuery(".twentytwenty-container").data("before-label"), // Set a custom before label
|
66 |
+
// after_label: jQuery(".twentytwenty-container").data("after-label"), // Set a custom after label
|
67 |
+
// no_overlay: jQuery(".twentytwenty-container").data("overlay"), //Do not show the overlay with before and after
|
68 |
+
// move_slider_on_hover: jQuery(".twentytwenty-container").data("move-on-hover"), // Move slider on mouse hover?
|
69 |
+
// move_with_handle_only: true, // Allow a user to swipe anywhere on the image to control slider movement.
|
70 |
+
// click_to_move: jQuery(".twentytwenty-container").data("move-on-click") // Allow a user to click (or tap) anywhere on the image to move the slider to that location.
|
71 |
+
// });
|
72 |
+
|
73 |
+
// });
|
74 |
+
|
75 |
+
|
js/frontend.js
CHANGED
File without changes
|
js/gallery-custom.js
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
(function($){
|
3 |
+
|
4 |
+
var initializeBlock = function( $block ) {
|
5 |
+
|
6 |
+
$block.find('.acfb_gallery_popup').magnificPopup({
|
7 |
+
delegate: 'a',
|
8 |
+
type: 'image',
|
9 |
+
gallery: {
|
10 |
+
enabled: true
|
11 |
+
},
|
12 |
+
});
|
13 |
+
}
|
14 |
+
|
15 |
+
$(document).ready(function(){
|
16 |
+
$('.acfb_gallery_block').each(function(){
|
17 |
+
initializeBlock( $(this) );
|
18 |
+
});
|
19 |
+
});
|
20 |
+
|
21 |
+
if( window.acf ) {
|
22 |
+
window.acf.addAction( 'render_block_preview/type=acfb-gallery', initializeBlock );
|
23 |
+
}
|
24 |
+
|
25 |
+
})(jQuery);
|
js/image-accordion.js
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// jQuery(".acfb_image_accordion_item").hover(function () {
|
2 |
+
// jQuery(this).addClass("acfb_image_accordion_active");
|
3 |
+
// jQuery(this).css("flex", "3 1 0%");
|
4 |
+
// }, function() {
|
5 |
+
// jQuery(this).css("flex", "1 1 0%");
|
6 |
+
// jQuery(this).removeClass("acfb_image_accordion_active");
|
7 |
+
// });
|
8 |
+
|
9 |
+
|
10 |
+
(function($){
|
11 |
+
|
12 |
+
var initializeBlock = function( $block ) {
|
13 |
+
|
14 |
+
$block.find('.acfb_image_accordion_item').hover(function () {
|
15 |
+
$(this).addClass("acfb_image_accordion_active");
|
16 |
+
$(this).css("flex", "3 1 0%");
|
17 |
+
}, function() {
|
18 |
+
$(this).css("flex", "1 1 0%");
|
19 |
+
$(this).removeClass("acfb_image_accordion_active");
|
20 |
+
});
|
21 |
+
}
|
22 |
+
|
23 |
+
$(document).ready(function(){
|
24 |
+
$('.acfb_image_accordion').each(function(){
|
25 |
+
initializeBlock( $(this) );
|
26 |
+
});
|
27 |
+
});
|
28 |
+
|
29 |
+
if( window.acf ) {
|
30 |
+
window.acf.addAction( 'render_block_preview/type=acfb-image-accordion', initializeBlock );
|
31 |
+
}
|
32 |
+
|
33 |
+
})(jQuery);
|
js/image-slider.js
CHANGED
@@ -20,6 +20,11 @@
|
|
20 |
acfb_effect = 'slide';
|
21 |
}
|
22 |
|
|
|
|
|
|
|
|
|
|
|
23 |
|
24 |
$acfb_slider_script = $block.find('.swiper-container');
|
25 |
|
@@ -36,6 +41,9 @@
|
|
36 |
delay: acfb_delay,
|
37 |
disableOnInteraction: false,
|
38 |
},
|
|
|
|
|
|
|
39 |
|
40 |
|
41 |
// If we need pagination
|
20 |
acfb_effect = 'slide';
|
21 |
}
|
22 |
|
23 |
+
var acfbCrossFade = '';
|
24 |
+
if(acfb_effect === 'fade'){
|
25 |
+
acfbCrossFade = 'true';
|
26 |
+
}
|
27 |
+
|
28 |
|
29 |
$acfb_slider_script = $block.find('.swiper-container');
|
30 |
|
41 |
delay: acfb_delay,
|
42 |
disableOnInteraction: false,
|
43 |
},
|
44 |
+
fadeEffect: {
|
45 |
+
crossFade: acfbCrossFade
|
46 |
+
},
|
47 |
|
48 |
|
49 |
// If we need pagination
|
js/jquery.event.move.js
ADDED
@@ -0,0 +1,599 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// DOM.event.move
|
2 |
+
//
|
3 |
+
// 2.0.0
|
4 |
+
//
|
5 |
+
// Stephen Band
|
6 |
+
//
|
7 |
+
// Triggers 'movestart', 'move' and 'moveend' events after
|
8 |
+
// mousemoves following a mousedown cross a distance threshold,
|
9 |
+
// similar to the native 'dragstart', 'drag' and 'dragend' events.
|
10 |
+
// Move events are throttled to animation frames. Move event objects
|
11 |
+
// have the properties:
|
12 |
+
//
|
13 |
+
// pageX:
|
14 |
+
// pageY: Page coordinates of pointer.
|
15 |
+
// startX:
|
16 |
+
// startY: Page coordinates of pointer at movestart.
|
17 |
+
// distX:
|
18 |
+
// distY: Distance the pointer has moved since movestart.
|
19 |
+
// deltaX:
|
20 |
+
// deltaY: Distance the finger has moved since last event.
|
21 |
+
// velocityX:
|
22 |
+
// velocityY: Average velocity over last few events.
|
23 |
+
|
24 |
+
|
25 |
+
(function(fn) {
|
26 |
+
if (typeof define === 'function' && define.amd) {
|
27 |
+
define([], fn);
|
28 |
+
} else if ((typeof module !== "undefined" && module !== null) && module.exports) {
|
29 |
+
module.exports = fn;
|
30 |
+
} else {
|
31 |
+
fn();
|
32 |
+
}
|
33 |
+
})(function(){
|
34 |
+
var assign = Object.assign || window.jQuery && jQuery.extend;
|
35 |
+
|
36 |
+
// Number of pixels a pressed pointer travels before movestart
|
37 |
+
// event is fired.
|
38 |
+
var threshold = 8;
|
39 |
+
|
40 |
+
// Shim for requestAnimationFrame, falling back to timer. See:
|
41 |
+
// see http://paulirish.com/2011/requestanimationframe-for-smart-animating/
|
42 |
+
var requestFrame = (function(){
|
43 |
+
return (
|
44 |
+
window.requestAnimationFrame ||
|
45 |
+
window.webkitRequestAnimationFrame ||
|
46 |
+
window.mozRequestAnimationFrame ||
|
47 |
+
window.oRequestAnimationFrame ||
|
48 |
+
window.msRequestAnimationFrame ||
|
49 |
+
function(fn, element){
|
50 |
+
return window.setTimeout(function(){
|
51 |
+
fn();
|
52 |
+
}, 25);
|
53 |
+
}
|
54 |
+
);
|
55 |
+
})();
|
56 |
+
|
57 |
+
// Shim for customEvent
|
58 |
+
// see https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent#Polyfill
|
59 |
+
(function () {
|
60 |
+
if ( typeof window.CustomEvent === "function" ) return false;
|
61 |
+
function CustomEvent ( event, params ) {
|
62 |
+
params = params || { bubbles: false, cancelable: false, detail: undefined };
|
63 |
+
var evt = document.createEvent( 'CustomEvent' );
|
64 |
+
evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );
|
65 |
+
return evt;
|
66 |
+
}
|
67 |
+
|
68 |
+
CustomEvent.prototype = window.Event.prototype;
|
69 |
+
window.CustomEvent = CustomEvent;
|
70 |
+
})();
|
71 |
+
|
72 |
+
var ignoreTags = {
|
73 |
+
textarea: true,
|
74 |
+
input: true,
|
75 |
+
select: true,
|
76 |
+
button: true
|
77 |
+
};
|
78 |
+
|
79 |
+
var mouseevents = {
|
80 |
+
move: 'mousemove',
|
81 |
+
cancel: 'mouseup dragstart',
|
82 |
+
end: 'mouseup'
|
83 |
+
};
|
84 |
+
|
85 |
+
var touchevents = {
|
86 |
+
move: 'touchmove',
|
87 |
+
cancel: 'touchend',
|
88 |
+
end: 'touchend'
|
89 |
+
};
|
90 |
+
|
91 |
+
var rspaces = /\s+/;
|
92 |
+
|
93 |
+
|
94 |
+
// DOM Events
|
95 |
+
|
96 |
+
var eventOptions = { bubbles: true, cancelable: true };
|
97 |
+
|
98 |
+
var eventsSymbol = typeof Symbol === "function" ? Symbol('events') : {};
|
99 |
+
|
100 |
+
function createEvent(type) {
|
101 |
+
return new CustomEvent(type, eventOptions);
|
102 |
+
}
|
103 |
+
|
104 |
+
function getEvents(node) {
|
105 |
+
return node[eventsSymbol] || (node[eventsSymbol] = {});
|
106 |
+
}
|
107 |
+
|
108 |
+
function on(node, types, fn, data, selector) {
|
109 |
+
types = types.split(rspaces);
|
110 |
+
|
111 |
+
var events = getEvents(node);
|
112 |
+
var i = types.length;
|
113 |
+
var handlers, type;
|
114 |
+
|
115 |
+
function handler(e) { fn(e, data); }
|
116 |
+
|
117 |
+
while (i--) {
|
118 |
+
type = types[i];
|
119 |
+
handlers = events[type] || (events[type] = []);
|
120 |
+
handlers.push([fn, handler]);
|
121 |
+
node.addEventListener(type, handler);
|
122 |
+
}
|
123 |
+
}
|
124 |
+
|
125 |
+
function off(node, types, fn, selector) {
|
126 |
+
types = types.split(rspaces);
|
127 |
+
|
128 |
+
var events = getEvents(node);
|
129 |
+
var i = types.length;
|
130 |
+
var type, handlers, k;
|
131 |
+
|
132 |
+
if (!events) { return; }
|
133 |
+
|
134 |
+
while (i--) {
|
135 |
+
type = types[i];
|
136 |
+
handlers = events[type];
|
137 |
+
if (!handlers) { continue; }
|
138 |
+
k = handlers.length;
|
139 |
+
while (k--) {
|
140 |
+
if (handlers[k][0] === fn) {
|
141 |
+
node.removeEventListener(type, handlers[k][1]);
|
142 |
+
handlers.splice(k, 1);
|
143 |
+
}
|
144 |
+
}
|
145 |
+
}
|
146 |
+
}
|
147 |
+
|
148 |
+
function trigger(node, type, properties) {
|
149 |
+
// Don't cache events. It prevents you from triggering an event of a
|
150 |
+
// given type from inside the handler of another event of that type.
|
151 |
+
var event = createEvent(type);
|
152 |
+
if (properties) { assign(event, properties); }
|
153 |
+
node.dispatchEvent(event);
|
154 |
+
}
|
155 |
+
|
156 |
+
|
157 |
+
// Constructors
|
158 |
+
|
159 |
+
function Timer(fn){
|
160 |
+
var callback = fn,
|
161 |
+
active = false,
|
162 |
+
running = false;
|
163 |
+
|
164 |
+
function trigger(time) {
|
165 |
+
if (active){
|
166 |
+
callback();
|
167 |
+
requestFrame(trigger);
|
168 |
+
running = true;
|
169 |
+
active = false;
|
170 |
+
}
|
171 |
+
else {
|
172 |
+
running = false;
|
173 |
+
}
|
174 |
+
}
|
175 |
+
|
176 |
+
this.kick = function(fn) {
|
177 |
+
active = true;
|
178 |
+
if (!running) { trigger(); }
|
179 |
+
};
|
180 |
+
|
181 |
+
this.end = function(fn) {
|
182 |
+
var cb = callback;
|
183 |
+
|
184 |
+
if (!fn) { return; }
|
185 |
+
|
186 |
+
// If the timer is not running, simply call the end callback.
|
187 |
+
if (!running) {
|
188 |
+
fn();
|
189 |
+
}
|
190 |
+
// If the timer is running, and has been kicked lately, then
|
191 |
+
// queue up the current callback and the end callback, otherwise
|
192 |
+
// just the end callback.
|
193 |
+
else {
|
194 |
+
callback = active ?
|
195 |
+
function(){ cb(); fn(); } :
|
196 |
+
fn ;
|
197 |
+
|
198 |
+
active = true;
|
199 |
+
}
|
200 |
+
};
|
201 |
+
}
|
202 |
+
|
203 |
+
|
204 |
+
// Functions
|
205 |
+
|
206 |
+
function noop() {}
|
207 |
+
|
208 |
+
function preventDefault(e) {
|
209 |
+
e.preventDefault();
|
210 |
+
}
|
211 |
+
|
212 |
+
function isIgnoreTag(e) {
|
213 |
+
return !!ignoreTags[e.target.tagName.toLowerCase()];
|
214 |
+
}
|
215 |
+
|
216 |
+
function isPrimaryButton(e) {
|
217 |
+
// Ignore mousedowns on any button other than the left (or primary)
|
218 |
+
// mouse button, or when a modifier key is pressed.
|
219 |
+
return (e.which === 1 && !e.ctrlKey && !e.altKey);
|
220 |
+
}
|
221 |
+
|
222 |
+
function identifiedTouch(touchList, id) {
|
223 |
+
var i, l;
|
224 |
+
|
225 |
+
if (touchList.identifiedTouch) {
|
226 |
+
return touchList.identifiedTouch(id);
|
227 |
+
}
|
228 |
+
|
229 |
+
// touchList.identifiedTouch() does not exist in
|
230 |
+
// webkit yet… we must do the search ourselves...
|
231 |
+
|
232 |
+
i = -1;
|
233 |
+
l = touchList.length;
|
234 |
+
|
235 |
+
while (++i < l) {
|
236 |
+
if (touchList[i].identifier === id) {
|
237 |
+
return touchList[i];
|
238 |
+
}
|
239 |
+
}
|
240 |
+
}
|
241 |
+
|
242 |
+
function changedTouch(e, data) {
|
243 |
+
var touch = identifiedTouch(e.changedTouches, data.identifier);
|
244 |
+
|
245 |
+
// This isn't the touch you're looking for.
|
246 |
+
if (!touch) { return; }
|
247 |
+
|
248 |
+
// Chrome Android (at least) includes touches that have not
|
249 |
+
// changed in e.changedTouches. That's a bit annoying. Check
|
250 |
+
// that this touch has changed.
|
251 |
+
if (touch.pageX === data.pageX && touch.pageY === data.pageY) { return; }
|
252 |
+
|
253 |
+
return touch;
|
254 |
+
}
|
255 |
+
|
256 |
+
|
257 |
+
// Handlers that decide when the first movestart is triggered
|
258 |
+
|
259 |
+
function mousedown(e){
|
260 |
+
// Ignore non-primary buttons
|
261 |
+
if (!isPrimaryButton(e)) { return; }
|
262 |
+
|
263 |
+
// Ignore form and interactive elements
|
264 |
+
if (isIgnoreTag(e)) { return; }
|
265 |
+
|
266 |
+
on(document, mouseevents.move, mousemove, e);
|
267 |
+
on(document, mouseevents.cancel, mouseend, e);
|
268 |
+
}
|
269 |
+
|
270 |
+
function mousemove(e, data){
|
271 |
+
checkThreshold(e, data, e, removeMouse);
|
272 |
+
}
|
273 |
+
|
274 |
+
function mouseend(e, data) {
|
275 |
+
removeMouse();
|
276 |
+
}
|
277 |
+
|
278 |
+
function removeMouse() {
|
279 |
+
off(document, mouseevents.move, mousemove);
|
280 |
+
off(document, mouseevents.cancel, mouseend);
|
281 |
+
}
|
282 |
+
|
283 |
+
function touchstart(e) {
|
284 |
+
// Don't get in the way of interaction with form elements
|
285 |
+
if (ignoreTags[e.target.tagName.toLowerCase()]) { return; }
|
286 |
+
|
287 |
+
var touch = e.changedTouches[0];
|
288 |
+
|
289 |
+
// iOS live updates the touch objects whereas Android gives us copies.
|
290 |
+
// That means we can't trust the touchstart object to stay the same,
|
291 |
+
// so we must copy the data. This object acts as a template for
|
292 |
+
// movestart, move and moveend event objects.
|
293 |
+
var data = {
|
294 |
+
target: touch.target,
|
295 |
+
pageX: touch.pageX,
|
296 |
+
pageY: touch.pageY,
|
297 |
+
identifier: touch.identifier,
|
298 |
+
|
299 |
+
// The only way to make handlers individually unbindable is by
|
300 |
+
// making them unique.
|
301 |
+
touchmove: function(e, data) { touchmove(e, data); },
|
302 |
+
touchend: function(e, data) { touchend(e, data); }
|
303 |
+
};
|
304 |
+
|
305 |
+
on(document, touchevents.move, data.touchmove, data);
|
306 |
+
on(document, touchevents.cancel, data.touchend, data);
|
307 |
+
}
|
308 |
+
|
309 |
+
function touchmove(e, data) {
|
310 |
+
var touch = changedTouch(e, data);
|
311 |
+
if (!touch) { return; }
|
312 |
+
checkThreshold(e, data, touch, removeTouch);
|
313 |
+
}
|
314 |
+
|
315 |
+
function touchend(e, data) {
|
316 |
+
var touch = identifiedTouch(e.changedTouches, data.identifier);
|
317 |
+
if (!touch) { return; }
|
318 |
+
removeTouch(data);
|
319 |
+
}
|
320 |
+
|
321 |
+
function removeTouch(data) {
|
322 |
+
off(document, touchevents.move, data.touchmove);
|
323 |
+
off(document, touchevents.cancel, data.touchend);
|
324 |
+
}
|
325 |
+
|
326 |
+
function checkThreshold(e, data, touch, fn) {
|
327 |
+
var distX = touch.pageX - data.pageX;
|
328 |
+
var distY = touch.pageY - data.pageY;
|
329 |
+
|
330 |
+
// Do nothing if the threshold has not been crossed.
|
331 |
+
if ((distX * distX) + (distY * distY) < (threshold * threshold)) { return; }
|
332 |
+
|
333 |
+
triggerStart(e, data, touch, distX, distY, fn);
|
334 |
+
}
|
335 |
+
|
336 |
+
function triggerStart(e, data, touch, distX, distY, fn) {
|
337 |
+
var touches = e.targetTouches;
|
338 |
+
var time = e.timeStamp - data.timeStamp;
|
339 |
+
|
340 |
+
// Create a movestart object with some special properties that
|
341 |
+
// are passed only to the movestart handlers.
|
342 |
+
var template = {
|
343 |
+
altKey: e.altKey,
|
344 |
+
ctrlKey: e.ctrlKey,
|
345 |
+
shiftKey: e.shiftKey,
|
346 |
+
startX: data.pageX,
|
347 |
+
startY: data.pageY,
|
348 |
+
distX: distX,
|
349 |
+
distY: distY,
|
350 |
+
deltaX: distX,
|
351 |
+
deltaY: distY,
|
352 |
+
pageX: touch.pageX,
|
353 |
+
pageY: touch.pageY,
|
354 |
+
velocityX: distX / time,
|
355 |
+
velocityY: distY / time,
|
356 |
+
identifier: data.identifier,
|
357 |
+
targetTouches: touches,
|
358 |
+
finger: touches ? touches.length : 1,
|
359 |
+
enableMove: function() {
|
360 |
+
this.moveEnabled = true;
|
361 |
+
this.enableMove = noop;
|
362 |
+
e.preventDefault();
|
363 |
+
}
|
364 |
+
};
|
365 |
+
|
366 |
+
// Trigger the movestart event.
|
367 |
+
trigger(data.target, 'movestart', template);
|
368 |
+
|
369 |
+
// Unbind handlers that tracked the touch or mouse up till now.
|
370 |
+
fn(data);
|
371 |
+
}
|
372 |
+
|
373 |
+
|
374 |
+
// Handlers that control what happens following a movestart
|
375 |
+
|
376 |
+
function activeMousemove(e, data) {
|
377 |
+
var timer = data.timer;
|
378 |
+
|
379 |
+
data.touch = e;
|
380 |
+
data.timeStamp = e.timeStamp;
|
381 |
+
timer.kick();
|
382 |
+
}
|
383 |
+
|
384 |
+
function activeMouseend(e, data) {
|
385 |
+
var target = data.target;
|
386 |
+
var event = data.event;
|
387 |
+
var timer = data.timer;
|
388 |
+
|
389 |
+
removeActiveMouse();
|
390 |
+
|
391 |
+
endEvent(target, event, timer, function() {
|
392 |
+
// Unbind the click suppressor, waiting until after mouseup
|
393 |
+
// has been handled.
|
394 |
+
setTimeout(function(){
|
395 |
+
off(target, 'click', preventDefault);
|
396 |
+
}, 0);
|
397 |
+
});
|
398 |
+
}
|
399 |
+
|
400 |
+
function removeActiveMouse() {
|
401 |
+
off(document, mouseevents.move, activeMousemove);
|
402 |
+
off(document, mouseevents.end, activeMouseend);
|
403 |
+
}
|
404 |
+
|
405 |
+
function activeTouchmove(e, data) {
|
406 |
+
var event = data.event;
|
407 |
+
var timer = data.timer;
|
408 |
+
var touch = changedTouch(e, event);
|
409 |
+
|
410 |
+
if (!touch) { return; }
|
411 |
+
|
412 |
+
// Stop the interface from gesturing
|
413 |
+
e.preventDefault();
|
414 |
+
|
415 |
+
event.targetTouches = e.targetTouches;
|
416 |
+
data.touch = touch;
|
417 |
+
data.timeStamp = e.timeStamp;
|
418 |
+
|
419 |
+
timer.kick();
|
420 |
+
}
|
421 |
+
|
422 |
+
function activeTouchend(e, data) {
|
423 |
+
var target = data.target;
|
424 |
+
var event = data.event;
|
425 |
+
var timer = data.timer;
|
426 |
+
var touch = identifiedTouch(e.changedTouches, event.identifier);
|
427 |
+
|
428 |
+
// This isn't the touch you're looking for.
|
429 |
+
if (!touch) { return; }
|
430 |
+
|
431 |
+
removeActiveTouch(data);
|
432 |
+
endEvent(target, event, timer);
|
433 |
+
}
|
434 |
+
|
435 |
+
function removeActiveTouch(data) {
|
436 |
+
off(document, touchevents.move, data.activeTouchmove);
|
437 |
+
off(document, touchevents.end, data.activeTouchend);
|
438 |
+
}
|
439 |
+
|
440 |
+
|
441 |
+
// Logic for triggering move and moveend events
|
442 |
+
|
443 |
+
function updateEvent(event, touch, timeStamp) {
|
444 |
+
var time = timeStamp - event.timeStamp;
|
445 |
+
|
446 |
+
event.distX = touch.pageX - event.startX;
|
447 |
+
event.distY = touch.pageY - event.startY;
|
448 |
+
event.deltaX = touch.pageX - event.pageX;
|
449 |
+
event.deltaY = touch.pageY - event.pageY;
|
450 |
+
|
451 |
+
// Average the velocity of the last few events using a decay
|
452 |
+
// curve to even out spurious jumps in values.
|
453 |
+
event.velocityX = 0.3 * event.velocityX + 0.7 * event.deltaX / time;
|
454 |
+
event.velocityY = 0.3 * event.velocityY + 0.7 * event.deltaY / time;
|
455 |
+
event.pageX = touch.pageX;
|
456 |
+
event.pageY = touch.pageY;
|
457 |
+
}
|
458 |
+
|
459 |
+
function endEvent(target, event, timer, fn) {
|
460 |
+
timer.end(function(){
|
461 |
+
trigger(target, 'moveend', event);
|
462 |
+
return fn && fn();
|
463 |
+
});
|
464 |
+
}
|
465 |
+
|
466 |
+
|
467 |
+
// Set up the DOM
|
468 |
+
|
469 |
+
function movestart(e) {
|
470 |
+
if (e.defaultPrevented) { return; }
|
471 |
+
if (!e.moveEnabled) { return; }
|
472 |
+
|
473 |
+
var event = {
|
474 |
+
startX: e.startX,
|
475 |
+
startY: e.startY,
|
476 |
+
pageX: e.pageX,
|
477 |
+
pageY: e.pageY,
|
478 |
+
distX: e.distX,
|
479 |
+
distY: e.distY,
|
480 |
+
deltaX: e.deltaX,
|
481 |
+
deltaY: e.deltaY,
|
482 |
+
velocityX: e.velocityX,
|
483 |
+
velocityY: e.velocityY,
|
484 |
+
identifier: e.identifier,
|
485 |
+
targetTouches: e.targetTouches,
|
486 |
+
finger: e.finger
|
487 |
+
};
|
488 |
+
|
489 |
+
var data = {
|
490 |
+
target: e.target,
|
491 |
+
event: event,
|
492 |
+
timer: new Timer(update),
|
493 |
+
touch: undefined,
|
494 |
+
timeStamp: e.timeStamp
|
495 |
+
};
|
496 |
+
|
497 |
+
function update(time) {
|
498 |
+
updateEvent(event, data.touch, data.timeStamp);
|
499 |
+
trigger(data.target, 'move', event);
|
500 |
+
}
|
501 |
+
|
502 |
+
if (e.identifier === undefined) {
|
503 |
+
// We're dealing with a mouse event.
|
504 |
+
// Stop clicks from propagating during a move
|
505 |
+
on(e.target, 'click', preventDefault);
|
506 |
+
on(document, mouseevents.move, activeMousemove, data);
|
507 |
+
on(document, mouseevents.end, activeMouseend, data);
|
508 |
+
}
|
509 |
+
else {
|
510 |
+
// In order to unbind correct handlers they have to be unique
|
511 |
+
data.activeTouchmove = function(e, data) { activeTouchmove(e, data); };
|
512 |
+
data.activeTouchend = function(e, data) { activeTouchend(e, data); };
|
513 |
+
|
514 |
+
// We're dealing with a touch.
|
515 |
+
on(document, touchevents.move, data.activeTouchmove, data);
|
516 |
+
on(document, touchevents.end, data.activeTouchend, data);
|
517 |
+
}
|
518 |
+
}
|
519 |
+
|
520 |
+
on(document, 'mousedown', mousedown);
|
521 |
+
on(document, 'touchstart', touchstart);
|
522 |
+
on(document, 'movestart', movestart);
|
523 |
+
|
524 |
+
|
525 |
+
// jQuery special events
|
526 |
+
//
|
527 |
+
// jQuery event objects are copies of DOM event objects. They need
|
528 |
+
// a little help copying the move properties across.
|
529 |
+
|
530 |
+
if (!window.jQuery) { return; }
|
531 |
+
|
532 |
+
var properties = ("startX startY pageX pageY distX distY deltaX deltaY velocityX velocityY").split(' ');
|
533 |
+
|
534 |
+
function enableMove1(e) { e.enableMove(); }
|
535 |
+
function enableMove2(e) { e.enableMove(); }
|
536 |
+
function enableMove3(e) { e.enableMove(); }
|
537 |
+
|
538 |
+
function add(handleObj) {
|
539 |
+
var handler = handleObj.handler;
|
540 |
+
|
541 |
+
handleObj.handler = function(e) {
|
542 |
+
// Copy move properties across from originalEvent
|
543 |
+
var i = properties.length;
|
544 |
+
var property;
|
545 |
+
|
546 |
+
while(i--) {
|
547 |
+
property = properties[i];
|
548 |
+
e[property] = e.originalEvent[property];
|
549 |
+
}
|
550 |
+
|
551 |
+
handler.apply(this, arguments);
|
552 |
+
};
|
553 |
+
}
|
554 |
+
|
555 |
+
jQuery.event.special.movestart = {
|
556 |
+
setup: function() {
|
557 |
+
// Movestart must be enabled to allow other move events
|
558 |
+
on(this, 'movestart', enableMove1);
|
559 |
+
|
560 |
+
// Do listen to DOM events
|
561 |
+
return false;
|
562 |
+
},
|
563 |
+
|
564 |
+
teardown: function() {
|
565 |
+
off(this, 'movestart', enableMove1);
|
566 |
+
return false;
|
567 |
+
},
|
568 |
+
|
569 |
+
add: add
|
570 |
+
};
|
571 |
+
|
572 |
+
jQuery.event.special.move = {
|
573 |
+
setup: function() {
|
574 |
+
on(this, 'movestart', enableMove2);
|
575 |
+
return false;
|
576 |
+
},
|
577 |
+
|
578 |
+
teardown: function() {
|
579 |
+
off(this, 'movestart', enableMove2);
|
580 |
+
return false;
|
581 |
+
},
|
582 |
+
|
583 |
+
add: add
|
584 |
+
};
|
585 |
+
|
586 |
+
jQuery.event.special.moveend = {
|
587 |
+
setup: function() {
|
588 |
+
on(this, 'movestart', enableMove3);
|
589 |
+
return false;
|
590 |
+
},
|
591 |
+
|
592 |
+
teardown: function() {
|
593 |
+
off(this, 'movestart', enableMove3);
|
594 |
+
return false;
|
595 |
+
},
|
596 |
+
|
597 |
+
add: add
|
598 |
+
};
|
599 |
+
});
|
js/jquery.magnific-popup.js
ADDED
@@ -0,0 +1,1860 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*! Magnific Popup - v1.1.0 - 2016-02-20
|
2 |
+
* http://dimsemenov.com/plugins/magnific-popup/
|
3 |
+
* Copyright (c) 2016 Dmitry Semenov; */
|
4 |
+
;(function (factory) {
|
5 |
+
if (typeof define === 'function' && define.amd) {
|
6 |
+
// AMD. Register as an anonymous module.
|
7 |
+
define(['jquery'], factory);
|
8 |
+
} else if (typeof exports === 'object') {
|
9 |
+
// Node/CommonJS
|
10 |
+
factory(require('jquery'));
|
11 |
+
} else {
|
12 |
+
// Browser globals
|
13 |
+
factory(window.jQuery || window.Zepto);
|
14 |
+
}
|
15 |
+
}(function($) {
|
16 |
+
|
17 |
+
/*>>core*/
|
18 |
+
/**
|
19 |
+
*
|
20 |
+
* Magnific Popup Core JS file
|
21 |
+
*
|
22 |
+
*/
|
23 |
+
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Private static constants
|
27 |
+
*/
|
28 |
+
var CLOSE_EVENT = 'Close',
|
29 |
+
BEFORE_CLOSE_EVENT = 'BeforeClose',
|
30 |
+
AFTER_CLOSE_EVENT = 'AfterClose',
|
31 |
+
BEFORE_APPEND_EVENT = 'BeforeAppend',
|
32 |
+
MARKUP_PARSE_EVENT = 'MarkupParse',
|
33 |
+
OPEN_EVENT = 'Open',
|
34 |
+
CHANGE_EVENT = 'Change',
|
35 |
+
NS = 'mfp',
|
36 |
+
EVENT_NS = '.' + NS,
|
37 |
+
READY_CLASS = 'mfp-ready',
|
38 |
+
REMOVING_CLASS = 'mfp-removing',
|
39 |
+
PREVENT_CLOSE_CLASS = 'mfp-prevent-close';
|
40 |
+
|
41 |
+
|
42 |
+
/**
|
43 |
+
* Private vars
|
44 |
+
*/
|
45 |
+
/*jshint -W079 */
|
46 |
+
var mfp, // As we have only one instance of MagnificPopup object, we define it locally to not to use 'this'
|
47 |
+
MagnificPopup = function(){},
|
48 |
+
_isJQ = !!(window.jQuery),
|
49 |
+
_prevStatus,
|
50 |
+
_window = $(window),
|
51 |
+
_document,
|
52 |
+
_prevContentType,
|
53 |
+
_wrapClasses,
|
54 |
+
_currPopupType;
|
55 |
+
|
56 |
+
|
57 |
+
/**
|
58 |
+
* Private functions
|
59 |
+
*/
|
60 |
+
var _mfpOn = function(name, f) {
|
61 |
+
mfp.ev.on(NS + name + EVENT_NS, f);
|
62 |
+
},
|
63 |
+
_getEl = function(className, appendTo, html, raw) {
|
64 |
+
var el = document.createElement('div');
|
65 |
+
el.className = 'mfp-'+className;
|
66 |
+
if(html) {
|
67 |
+
el.innerHTML = html;
|
68 |
+
}
|
69 |
+
if(!raw) {
|
70 |
+
el = $(el);
|
71 |
+
if(appendTo) {
|
72 |
+
el.appendTo(appendTo);
|
73 |
+
}
|
74 |
+
} else if(appendTo) {
|
75 |
+
appendTo.appendChild(el);
|
76 |
+
}
|
77 |
+
return el;
|
78 |
+
},
|
79 |
+
_mfpTrigger = function(e, data) {
|
80 |
+
mfp.ev.triggerHandler(NS + e, data);
|
81 |
+
|
82 |
+
if(mfp.st.callbacks) {
|
83 |
+
// converts "mfpEventName" to "eventName" callback and triggers it if it's present
|
84 |
+
e = e.charAt(0).toLowerCase() + e.slice(1);
|
85 |
+
if(mfp.st.callbacks[e]) {
|
86 |
+
mfp.st.callbacks[e].apply(mfp, $.isArray(data) ? data : [data]);
|
87 |
+
}
|
88 |
+
}
|
89 |
+
},
|
90 |
+
_getCloseBtn = function(type) {
|
91 |
+
if(type !== _currPopupType || !mfp.currTemplate.closeBtn) {
|
92 |
+
mfp.currTemplate.closeBtn = $( mfp.st.closeMarkup.replace('%title%', mfp.st.tClose ) );
|
93 |
+
_currPopupType = type;
|
94 |
+
}
|
95 |
+
return mfp.currTemplate.closeBtn;
|
96 |
+
},
|
97 |
+
// Initialize Magnific Popup only when called at least once
|
98 |
+
_checkInstance = function() {
|
99 |
+
if(!$.magnificPopup.instance) {
|
100 |
+
/*jshint -W020 */
|
101 |
+
mfp = new MagnificPopup();
|
102 |
+
mfp.init();
|
103 |
+
$.magnificPopup.instance = mfp;
|
104 |
+
}
|
105 |
+
},
|
106 |
+
// CSS transition detection, http://stackoverflow.com/questions/7264899/detect-css-transitions-using-javascript-and-without-modernizr
|
107 |
+
supportsTransitions = function() {
|
108 |
+
var s = document.createElement('p').style, // 's' for style. better to create an element if body yet to exist
|
109 |
+
v = ['ms','O','Moz','Webkit']; // 'v' for vendor
|
110 |
+
|
111 |
+
if( s['transition'] !== undefined ) {
|
112 |
+
return true;
|
113 |
+
}
|
114 |
+
|
115 |
+
while( v.length ) {
|
116 |
+
if( v.pop() + 'Transition' in s ) {
|
117 |
+
return true;
|
118 |
+
}
|
119 |
+
}
|
120 |
+
|
121 |
+
return false;
|
122 |
+
};
|
123 |
+
|
124 |
+
|
125 |
+
|
126 |
+
/**
|
127 |
+
* Public functions
|
128 |
+
*/
|
129 |
+
MagnificPopup.prototype = {
|
130 |
+
|
131 |
+
constructor: MagnificPopup,
|
132 |
+
|
133 |
+
/**
|
134 |
+
* Initializes Magnific Popup plugin.
|
135 |
+
* This function is triggered only once when $.fn.magnificPopup or $.magnificPopup is executed
|
136 |
+
*/
|
137 |
+
init: function() {
|
138 |
+
var appVersion = navigator.appVersion;
|
139 |
+
mfp.isLowIE = mfp.isIE8 = document.all && !document.addEventListener;
|
140 |
+
mfp.isAndroid = (/android/gi).test(appVersion);
|
141 |
+
mfp.isIOS = (/iphone|ipad|ipod/gi).test(appVersion);
|
142 |
+
mfp.supportsTransition = supportsTransitions();
|
143 |
+
|
144 |
+
// We disable fixed positioned lightbox on devices that don't handle it nicely.
|
145 |
+
// If you know a better way of detecting this - let me know.
|
146 |
+
mfp.probablyMobile = (mfp.isAndroid || mfp.isIOS || /(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent) );
|
147 |
+
_document = $(document);
|
148 |
+
|
149 |
+
mfp.popupsCache = {};
|
150 |
+
},
|
151 |
+
|
152 |
+
/**
|
153 |
+
* Opens popup
|
154 |
+
* @param data [description]
|
155 |
+
*/
|
156 |
+
open: function(data) {
|
157 |
+
|
158 |
+
var i;
|
159 |
+
|
160 |
+
if(data.isObj === false) {
|
161 |
+
// convert jQuery collection to array to avoid conflicts later
|
162 |
+
mfp.items = data.items.toArray();
|
163 |
+
|
164 |
+
mfp.index = 0;
|
165 |
+
var items = data.items,
|
166 |
+
item;
|
167 |
+
for(i = 0; i < items.length; i++) {
|
168 |
+
item = items[i];
|
169 |
+
if(item.parsed) {
|
170 |
+
item = item.el[0];
|
171 |
+
}
|
172 |
+
if(item === data.el[0]) {
|
173 |
+
mfp.index = i;
|
174 |
+
break;
|
175 |
+
}
|
176 |
+
}
|
177 |
+
} else {
|
178 |
+
mfp.items = $.isArray(data.items) ? data.items : [data.items];
|
179 |
+
mfp.index = data.index || 0;
|
180 |
+
}
|
181 |
+
|
182 |
+
// if popup is already opened - we just update the content
|
183 |
+
if(mfp.isOpen) {
|
184 |
+
mfp.updateItemHTML();
|
185 |
+
return;
|
186 |
+
}
|
187 |
+
|
188 |
+
mfp.types = [];
|
189 |
+
_wrapClasses = '';
|
190 |
+
if(data.mainEl && data.mainEl.length) {
|
191 |
+
mfp.ev = data.mainEl.eq(0);
|
192 |
+
} else {
|
193 |
+
mfp.ev = _document;
|
194 |
+
}
|
195 |
+
|
196 |
+
if(data.key) {
|
197 |
+
if(!mfp.popupsCache[data.key]) {
|
198 |
+
mfp.popupsCache[data.key] = {};
|
199 |
+
}
|
200 |
+
mfp.currTemplate = mfp.popupsCache[data.key];
|
201 |
+
} else {
|
202 |
+
mfp.currTemplate = {};
|
203 |
+
}
|
204 |
+
|
205 |
+
|
206 |
+
|
207 |
+
mfp.st = $.extend(true, {}, $.magnificPopup.defaults, data );
|
208 |
+
mfp.fixedContentPos = mfp.st.fixedContentPos === 'auto' ? !mfp.probablyMobile : mfp.st.fixedContentPos;
|
209 |
+
|
210 |
+
if(mfp.st.modal) {
|
211 |
+
mfp.st.closeOnContentClick = false;
|
212 |
+
mfp.st.closeOnBgClick = false;
|
213 |
+
mfp.st.showCloseBtn = false;
|
214 |
+
mfp.st.enableEscapeKey = false;
|
215 |
+
}
|
216 |
+
|
217 |
+
|
218 |
+
// Building markup
|
219 |
+
// main containers are created only once
|
220 |
+
if(!mfp.bgOverlay) {
|
221 |
+
|
222 |
+
// Dark overlay
|
223 |
+
mfp.bgOverlay = _getEl('bg').on('click'+EVENT_NS, function() {
|
224 |
+
mfp.close();
|
225 |
+
});
|
226 |
+
|
227 |
+
mfp.wrap = _getEl('wrap').attr('tabindex', -1).on('click'+EVENT_NS, function(e) {
|
228 |
+
if(mfp._checkIfClose(e.target)) {
|
229 |
+
mfp.close();
|
230 |
+
}
|
231 |
+
});
|
232 |
+
|
233 |
+
mfp.container = _getEl('container', mfp.wrap);
|
234 |
+
}
|
235 |
+
|
236 |
+
mfp.contentContainer = _getEl('content');
|
237 |
+
if(mfp.st.preloader) {
|
238 |
+
mfp.preloader = _getEl('preloader', mfp.container, mfp.st.tLoading);
|
239 |
+
}
|
240 |
+
|
241 |
+
|
242 |
+
// Initializing modules
|
243 |
+
var modules = $.magnificPopup.modules;
|
244 |
+
for(i = 0; i < modules.length; i++) {
|
245 |
+
var n = modules[i];
|
246 |
+
n = n.charAt(0).toUpperCase() + n.slice(1);
|
247 |
+
mfp['init'+n].call(mfp);
|
248 |
+
}
|
249 |
+
_mfpTrigger('BeforeOpen');
|
250 |
+
|
251 |
+
|
252 |
+
if(mfp.st.showCloseBtn) {
|
253 |
+
// Close button
|
254 |
+
if(!mfp.st.closeBtnInside) {
|
255 |
+
mfp.wrap.append( _getCloseBtn() );
|
256 |
+
} else {
|
257 |
+
_mfpOn(MARKUP_PARSE_EVENT, function(e, template, values, item) {
|
258 |
+
values.close_replaceWith = _getCloseBtn(item.type);
|
259 |
+
});
|
260 |
+
_wrapClasses += ' mfp-close-btn-in';
|
261 |
+
}
|
262 |
+
}
|
263 |
+
|
264 |
+
if(mfp.st.alignTop) {
|
265 |
+
_wrapClasses += ' mfp-align-top';
|
266 |
+
}
|
267 |
+
|
268 |
+
|
269 |
+
|
270 |
+
if(mfp.fixedContentPos) {
|
271 |
+
mfp.wrap.css({
|
272 |
+
overflow: mfp.st.overflowY,
|
273 |
+
overflowX: 'hidden',
|
274 |
+
overflowY: mfp.st.overflowY
|
275 |
+
});
|
276 |
+
} else {
|
277 |
+
mfp.wrap.css({
|
278 |
+
top: _window.scrollTop(),
|
279 |
+
position: 'absolute'
|
280 |
+
});
|
281 |
+
}
|
282 |
+
if( mfp.st.fixedBgPos === false || (mfp.st.fixedBgPos === 'auto' && !mfp.fixedContentPos) ) {
|
283 |
+
mfp.bgOverlay.css({
|
284 |
+
height: _document.height(),
|
285 |
+
position: 'absolute'
|
286 |
+
});
|
287 |
+
}
|
288 |
+
|
289 |
+
|
290 |
+
|
291 |
+
if(mfp.st.enableEscapeKey) {
|
292 |
+
// Close on ESC key
|
293 |
+
_document.on('keyup' + EVENT_NS, function(e) {
|
294 |
+
if(e.keyCode === 27) {
|
295 |
+
mfp.close();
|
296 |
+
}
|
297 |
+
});
|
298 |
+
}
|
299 |
+
|
300 |
+
_window.on('resize' + EVENT_NS, function() {
|
301 |
+
mfp.updateSize();
|
302 |
+
});
|
303 |
+
|
304 |
+
|
305 |
+
if(!mfp.st.closeOnContentClick) {
|
306 |
+
_wrapClasses += ' mfp-auto-cursor';
|
307 |
+
}
|
308 |
+
|
309 |
+
if(_wrapClasses)
|
310 |
+
mfp.wrap.addClass(_wrapClasses);
|
311 |
+
|
312 |
+
|
313 |
+
// this triggers recalculation of layout, so we get it once to not to trigger twice
|
314 |
+
var windowHeight = mfp.wH = _window.height();
|
315 |
+
|
316 |
+
|
317 |
+
var windowStyles = {};
|
318 |
+
|
319 |
+
if( mfp.fixedContentPos ) {
|
320 |
+
if(mfp._hasScrollBar(windowHeight)){
|
321 |
+
var s = mfp._getScrollbarSize();
|
322 |
+
if(s) {
|
323 |
+
windowStyles.marginRight = s;
|
324 |
+
}
|
325 |
+
}
|
326 |
+
}
|
327 |
+
|
328 |
+
if(mfp.fixedContentPos) {
|
329 |
+
if(!mfp.isIE7) {
|
330 |
+
windowStyles.overflow = 'hidden';
|
331 |
+
} else {
|
332 |
+
// ie7 double-scroll bug
|
333 |
+
$('body, html').css('overflow', 'hidden');
|
334 |
+
}
|
335 |
+
}
|
336 |
+
|
337 |
+
|
338 |
+
|
339 |
+
var classesToadd = mfp.st.mainClass;
|
340 |
+
if(mfp.isIE7) {
|
341 |
+
classesToadd += ' mfp-ie7';
|
342 |
+
}
|
343 |
+
if(classesToadd) {
|
344 |
+
mfp._addClassToMFP( classesToadd );
|
345 |
+
}
|
346 |
+
|
347 |
+
// add content
|
348 |
+
mfp.updateItemHTML();
|
349 |
+
|
350 |
+
_mfpTrigger('BuildControls');
|
351 |
+
|
352 |
+
// remove scrollbar, add margin e.t.c
|
353 |
+
$('html').css(windowStyles);
|
354 |
+
|
355 |
+
// add everything to DOM
|
356 |
+
mfp.bgOverlay.add(mfp.wrap).prependTo( mfp.st.prependTo || $(document.body) );
|
357 |
+
|
358 |
+
// Save last focused element
|
359 |
+
mfp._lastFocusedEl = document.activeElement;
|
360 |
+
|
361 |
+
// Wait for next cycle to allow CSS transition
|
362 |
+
setTimeout(function() {
|
363 |
+
|
364 |
+
if(mfp.content) {
|
365 |
+
mfp._addClassToMFP(READY_CLASS);
|
366 |
+
mfp._setFocus();
|
367 |
+
} else {
|
368 |
+
// if content is not defined (not loaded e.t.c) we add class only for BG
|
369 |
+
mfp.bgOverlay.addClass(READY_CLASS);
|
370 |
+
}
|
371 |
+
|
372 |
+
// Trap the focus in popup
|
373 |
+
_document.on('focusin' + EVENT_NS, mfp._onFocusIn);
|
374 |
+
|
375 |
+
}, 16);
|
376 |
+
|
377 |
+
mfp.isOpen = true;
|
378 |
+
mfp.updateSize(windowHeight);
|
379 |
+
_mfpTrigger(OPEN_EVENT);
|
380 |
+
|
381 |
+
return data;
|
382 |
+
},
|
383 |
+
|
384 |
+
/**
|
385 |
+
* Closes the popup
|
386 |
+
*/
|
387 |
+
close: function() {
|
388 |
+
if(!mfp.isOpen) return;
|
389 |
+
_mfpTrigger(BEFORE_CLOSE_EVENT);
|
390 |
+
|
391 |
+
mfp.isOpen = false;
|
392 |
+
// for CSS3 animation
|
393 |
+
if(mfp.st.removalDelay && !mfp.isLowIE && mfp.supportsTransition ) {
|
394 |
+
mfp._addClassToMFP(REMOVING_CLASS);
|
395 |
+
setTimeout(function() {
|
396 |
+
mfp._close();
|
397 |
+
}, mfp.st.removalDelay);
|
398 |
+
} else {
|
399 |
+
mfp._close();
|
400 |
+
}
|
401 |
+
},
|
402 |
+
|
403 |
+
/**
|
404 |
+
* Helper for close() function
|
405 |
+
*/
|
406 |
+
_close: function() {
|
407 |
+
_mfpTrigger(CLOSE_EVENT);
|
408 |
+
|
409 |
+
var classesToRemove = REMOVING_CLASS + ' ' + READY_CLASS + ' ';
|
410 |
+
|
411 |
+
mfp.bgOverlay.detach();
|
412 |
+
mfp.wrap.detach();
|
413 |
+
mfp.container.empty();
|
414 |
+
|
415 |
+
if(mfp.st.mainClass) {
|
416 |
+
classesToRemove += mfp.st.mainClass + ' ';
|
417 |
+
}
|
418 |
+
|
419 |
+
mfp._removeClassFromMFP(classesToRemove);
|
420 |
+
|
421 |
+
if(mfp.fixedContentPos) {
|
422 |
+
var windowStyles = {marginRight: ''};
|
423 |
+
if(mfp.isIE7) {
|
424 |
+
$('body, html').css('overflow', '');
|
425 |
+
} else {
|
426 |
+
windowStyles.overflow = '';
|
427 |
+
}
|
428 |
+
$('html').css(windowStyles);
|
429 |
+
}
|
430 |
+
|
431 |
+
_document.off('keyup' + EVENT_NS + ' focusin' + EVENT_NS);
|
432 |
+
mfp.ev.off(EVENT_NS);
|
433 |
+
|
434 |
+
// clean up DOM elements that aren't removed
|
435 |
+
mfp.wrap.attr('class', 'mfp-wrap').removeAttr('style');
|
436 |
+
mfp.bgOverlay.attr('class', 'mfp-bg');
|
437 |
+
mfp.container.attr('class', 'mfp-container');
|
438 |
+
|
439 |
+
// remove close button from target element
|
440 |
+
if(mfp.st.showCloseBtn &&
|
441 |
+
(!mfp.st.closeBtnInside || mfp.currTemplate[mfp.currItem.type] === true)) {
|
442 |
+
if(mfp.currTemplate.closeBtn)
|
443 |
+
mfp.currTemplate.closeBtn.detach();
|
444 |
+
}
|
445 |
+
|
446 |
+
|
447 |
+
if(mfp.st.autoFocusLast && mfp._lastFocusedEl) {
|
448 |
+
$(mfp._lastFocusedEl).focus(); // put tab focus back
|
449 |
+
}
|
450 |
+
mfp.currItem = null;
|
451 |
+
mfp.content = null;
|
452 |
+
mfp.currTemplate = null;
|
453 |
+
mfp.prevHeight = 0;
|
454 |
+
|
455 |
+
_mfpTrigger(AFTER_CLOSE_EVENT);
|
456 |
+
},
|
457 |
+
|
458 |
+
updateSize: function(winHeight) {
|
459 |
+
|
460 |
+
if(mfp.isIOS) {
|
461 |
+
// fixes iOS nav bars https://github.com/dimsemenov/Magnific-Popup/issues/2
|
462 |
+
var zoomLevel = document.documentElement.clientWidth / window.innerWidth;
|
463 |
+
var height = window.innerHeight * zoomLevel;
|
464 |
+
mfp.wrap.css('height', height);
|
465 |
+
mfp.wH = height;
|
466 |
+
} else {
|
467 |
+
mfp.wH = winHeight || _window.height();
|
468 |
+
}
|
469 |
+
// Fixes #84: popup incorrectly positioned with position:relative on body
|
470 |
+
if(!mfp.fixedContentPos) {
|
471 |
+
mfp.wrap.css('height', mfp.wH);
|
472 |
+
}
|
473 |
+
|
474 |
+
_mfpTrigger('Resize');
|
475 |
+
|
476 |
+
},
|
477 |
+
|
478 |
+
/**
|
479 |
+
* Set content of popup based on current index
|
480 |
+
*/
|
481 |
+
updateItemHTML: function() {
|
482 |
+
var item = mfp.items[mfp.index];
|
483 |
+
|
484 |
+
// Detach and perform modifications
|
485 |
+
mfp.contentContainer.detach();
|
486 |
+
|
487 |
+
if(mfp.content)
|
488 |
+
mfp.content.detach();
|
489 |
+
|
490 |
+
if(!item.parsed) {
|
491 |
+
item = mfp.parseEl( mfp.index );
|
492 |
+
}
|
493 |
+
|
494 |
+
var type = item.type;
|
495 |
+
|
496 |
+
_mfpTrigger('BeforeChange', [mfp.currItem ? mfp.currItem.type : '', type]);
|
497 |
+
// BeforeChange event works like so:
|
498 |
+
// _mfpOn('BeforeChange', function(e, prevType, newType) { });
|
499 |
+
|
500 |
+
mfp.currItem = item;
|
501 |
+
|
502 |
+
if(!mfp.currTemplate[type]) {
|
503 |
+
var markup = mfp.st[type] ? mfp.st[type].markup : false;
|
504 |
+
|
505 |
+
// allows to modify markup
|
506 |
+
_mfpTrigger('FirstMarkupParse', markup);
|
507 |
+
|
508 |
+
if(markup) {
|
509 |
+
mfp.currTemplate[type] = $(markup);
|
510 |
+
} else {
|
511 |
+
// if there is no markup found we just define that template is parsed
|
512 |
+
mfp.currTemplate[type] = true;
|
513 |
+
}
|
514 |
+
}
|
515 |
+
|
516 |
+
if(_prevContentType && _prevContentType !== item.type) {
|
517 |
+
mfp.container.removeClass('mfp-'+_prevContentType+'-holder');
|
518 |
+
}
|
519 |
+
|
520 |
+
var newContent = mfp['get' + type.charAt(0).toUpperCase() + type.slice(1)](item, mfp.currTemplate[type]);
|
521 |
+
mfp.appendContent(newContent, type);
|
522 |
+
|
523 |
+
item.preloaded = true;
|
524 |
+
|
525 |
+
_mfpTrigger(CHANGE_EVENT, item);
|
526 |
+
_prevContentType = item.type;
|
527 |
+
|
528 |
+
// Append container back after its content changed
|
529 |
+
mfp.container.prepend(mfp.contentContainer);
|
530 |
+
|
531 |
+
_mfpTrigger('AfterChange');
|
532 |
+
},
|
533 |
+
|
534 |
+
|
535 |
+
/**
|
536 |
+
* Set HTML content of popup
|
537 |
+
*/
|
538 |
+
appendContent: function(newContent, type) {
|
539 |
+
mfp.content = newContent;
|
540 |
+
|
541 |
+
if(newContent) {
|
542 |
+
if(mfp.st.showCloseBtn && mfp.st.closeBtnInside &&
|
543 |
+
mfp.currTemplate[type] === true) {
|
544 |
+
// if there is no markup, we just append close button element inside
|
545 |
+
if(!mfp.content.find('.mfp-close').length) {
|
546 |
+
mfp.content.append(_getCloseBtn());
|
547 |
+
}
|
548 |
+
} else {
|
549 |
+
mfp.content = newContent;
|
550 |
+
}
|
551 |
+
} else {
|
552 |
+
mfp.content = '';
|
553 |
+
}
|
554 |
+
|
555 |
+
_mfpTrigger(BEFORE_APPEND_EVENT);
|
556 |
+
mfp.container.addClass('mfp-'+type+'-holder');
|
557 |
+
|
558 |
+
mfp.contentContainer.append(mfp.content);
|
559 |
+
},
|
560 |
+
|
561 |
+
|
562 |
+
/**
|
563 |
+
* Creates Magnific Popup data object based on given data
|
564 |
+
* @param {int} index Index of item to parse
|
565 |
+
*/
|
566 |
+
parseEl: function(index) {
|
567 |
+
var item = mfp.items[index],
|
568 |
+
type;
|
569 |
+
|
570 |
+
if(item.tagName) {
|
571 |
+
item = { el: $(item) };
|
572 |
+
} else {
|
573 |
+
type = item.type;
|
574 |
+
item = { data: item, src: item.src };
|
575 |
+
}
|
576 |
+
|
577 |
+
if(item.el) {
|
578 |
+
var types = mfp.types;
|
579 |
+
|
580 |
+
// check for 'mfp-TYPE' class
|
581 |
+
for(var i = 0; i < types.length; i++) {
|
582 |
+
if( item.el.hasClass('mfp-'+types[i]) ) {
|
583 |
+
type = types[i];
|
584 |
+
break;
|
585 |
+
}
|
586 |
+
}
|
587 |
+
|
588 |
+
item.src = item.el.attr('data-mfp-src');
|
589 |
+
if(!item.src) {
|
590 |
+
item.src = item.el.attr('href');
|
591 |
+
}
|
592 |
+
}
|
593 |
+
|
594 |
+
item.type = type || mfp.st.type || 'inline';
|
595 |
+
item.index = index;
|
596 |
+
item.parsed = true;
|
597 |
+
mfp.items[index] = item;
|
598 |
+
_mfpTrigger('ElementParse', item);
|
599 |
+
|
600 |
+
return mfp.items[index];
|
601 |
+
},
|
602 |
+
|
603 |
+
|
604 |
+
/**
|
605 |
+
* Initializes single popup or a group of popups
|
606 |
+
*/
|
607 |
+
addGroup: function(el, options) {
|
608 |
+
var eHandler = function(e) {
|
609 |
+
e.mfpEl = this;
|
610 |
+
mfp._openClick(e, el, options);
|
611 |
+
};
|
612 |
+
|
613 |
+
if(!options) {
|
614 |
+
options = {};
|
615 |
+
}
|
616 |
+
|
617 |
+
var eName = 'click.magnificPopup';
|
618 |
+
options.mainEl = el;
|
619 |
+
|
620 |
+
if(options.items) {
|
621 |
+
options.isObj = true;
|
622 |
+
el.off(eName).on(eName, eHandler);
|
623 |
+
} else {
|
624 |
+
options.isObj = false;
|
625 |
+
if(options.delegate) {
|
626 |
+
el.off(eName).on(eName, options.delegate , eHandler);
|
627 |
+
} else {
|
628 |
+
options.items = el;
|
629 |
+
el.off(eName).on(eName, eHandler);
|
630 |
+
}
|
631 |
+
}
|
632 |
+
},
|
633 |
+
_openClick: function(e, el, options) {
|
634 |
+
var midClick = options.midClick !== undefined ? options.midClick : $.magnificPopup.defaults.midClick;
|
635 |
+
|
636 |
+
|
637 |
+
if(!midClick && ( e.which === 2 || e.ctrlKey || e.metaKey || e.altKey || e.shiftKey ) ) {
|
638 |
+
return;
|
639 |
+
}
|
640 |
+
|
641 |
+
var disableOn = options.disableOn !== undefined ? options.disableOn : $.magnificPopup.defaults.disableOn;
|
642 |
+
|
643 |
+
if(disableOn) {
|
644 |
+
if($.isFunction(disableOn)) {
|
645 |
+
if( !disableOn.call(mfp) ) {
|
646 |
+
return true;
|
647 |
+
}
|
648 |
+
} else { // else it's number
|
649 |
+
if( _window.width() < disableOn ) {
|
650 |
+
return true;
|
651 |
+
}
|
652 |
+
}
|
653 |
+
}
|
654 |
+
|
655 |
+
if(e.type) {
|
656 |
+
e.preventDefault();
|
657 |
+
|
658 |
+
// This will prevent popup from closing if element is inside and popup is already opened
|
659 |
+
if(mfp.isOpen) {
|
660 |
+
e.stopPropagation();
|
661 |
+
}
|
662 |
+
}
|
663 |
+
|
664 |
+
options.el = $(e.mfpEl);
|
665 |
+
if(options.delegate) {
|
666 |
+
options.items = el.find(options.delegate);
|
667 |
+
}
|
668 |
+
mfp.open(options);
|
669 |
+
},
|
670 |
+
|
671 |
+
|
672 |
+
/**
|
673 |
+
* Updates text on preloader
|
674 |
+
*/
|
675 |
+
updateStatus: function(status, text) {
|
676 |
+
|
677 |
+
if(mfp.preloader) {
|
678 |
+
if(_prevStatus !== status) {
|
679 |
+
mfp.container.removeClass('mfp-s-'+_prevStatus);
|
680 |
+
}
|
681 |
+
|
682 |
+
if(!text && status === 'loading') {
|
683 |
+
text = mfp.st.tLoading;
|
684 |
+
}
|
685 |
+
|
686 |
+
var data = {
|
687 |
+
status: status,
|
688 |
+
text: text
|
689 |
+
};
|
690 |
+
// allows to modify status
|
691 |
+
_mfpTrigger('UpdateStatus', data);
|
692 |
+
|
693 |
+
status = data.status;
|
694 |
+
text = data.text;
|
695 |
+
|
696 |
+
mfp.preloader.html(text);
|
697 |
+
|
698 |
+
mfp.preloader.find('a').on('click', function(e) {
|
699 |
+
e.stopImmediatePropagation();
|
700 |
+
});
|
701 |
+
|
702 |
+
mfp.container.addClass('mfp-s-'+status);
|
703 |
+
_prevStatus = status;
|
704 |
+
}
|
705 |
+
},
|
706 |
+
|
707 |
+
|
708 |
+
/*
|
709 |
+
"Private" helpers that aren't private at all
|
710 |
+
*/
|
711 |
+
// Check to close popup or not
|
712 |
+
// "target" is an element that was clicked
|
713 |
+
_checkIfClose: function(target) {
|
714 |
+
|
715 |
+
if($(target).hasClass(PREVENT_CLOSE_CLASS)) {
|
716 |
+
return;
|
717 |
+
}
|
718 |
+
|
719 |
+
var closeOnContent = mfp.st.closeOnContentClick;
|
720 |
+
var closeOnBg = mfp.st.closeOnBgClick;
|
721 |
+
|
722 |
+
if(closeOnContent && closeOnBg) {
|
723 |
+
return true;
|
724 |
+
} else {
|
725 |
+
|
726 |
+
// We close the popup if click is on close button or on preloader. Or if there is no content.
|
727 |
+
if(!mfp.content || $(target).hasClass('mfp-close') || (mfp.preloader && target === mfp.preloader[0]) ) {
|
728 |
+
return true;
|
729 |
+
}
|
730 |
+
|
731 |
+
// if click is outside the content
|
732 |
+
if( (target !== mfp.content[0] && !$.contains(mfp.content[0], target)) ) {
|
733 |
+
if(closeOnBg) {
|
734 |
+
// last check, if the clicked element is in DOM, (in case it's removed onclick)
|
735 |
+
if( $.contains(document, target) ) {
|
736 |
+
return true;
|
737 |
+
}
|
738 |
+
}
|
739 |
+
} else if(closeOnContent) {
|
740 |
+
return true;
|
741 |
+
}
|
742 |
+
|
743 |
+
}
|
744 |
+
return false;
|
745 |
+
},
|
746 |
+
_addClassToMFP: function(cName) {
|
747 |
+
mfp.bgOverlay.addClass(cName);
|
748 |
+
mfp.wrap.addClass(cName);
|
749 |
+
},
|
750 |
+
_removeClassFromMFP: function(cName) {
|
751 |
+
this.bgOverlay.removeClass(cName);
|
752 |
+
mfp.wrap.removeClass(cName);
|
753 |
+
},
|
754 |
+
_hasScrollBar: function(winHeight) {
|
755 |
+
return ( (mfp.isIE7 ? _document.height() : document.body.scrollHeight) > (winHeight || _window.height()) );
|
756 |
+
},
|
757 |
+
_setFocus: function() {
|
758 |
+
(mfp.st.focus ? mfp.content.find(mfp.st.focus).eq(0) : mfp.wrap).focus();
|
759 |
+
},
|
760 |
+
_onFocusIn: function(e) {
|
761 |
+
if( e.target !== mfp.wrap[0] && !$.contains(mfp.wrap[0], e.target) ) {
|
762 |
+
mfp._setFocus();
|
763 |
+
return false;
|
764 |
+
}
|
765 |
+
},
|
766 |
+
_parseMarkup: function(template, values, item) {
|
767 |
+
var arr;
|
768 |
+
if(item.data) {
|
769 |
+
values = $.extend(item.data, values);
|
770 |
+
}
|
771 |
+
_mfpTrigger(MARKUP_PARSE_EVENT, [template, values, item] );
|
772 |
+
|
773 |
+
$.each(values, function(key, value) {
|
774 |
+
if(value === undefined || value === false) {
|
775 |
+
return true;
|
776 |
+
}
|
777 |
+
arr = key.split('_');
|
778 |
+
if(arr.length > 1) {
|
779 |
+
var el = template.find(EVENT_NS + '-'+arr[0]);
|
780 |
+
|
781 |
+
if(el.length > 0) {
|
782 |
+
var attr = arr[1];
|
783 |
+
if(attr === 'replaceWith') {
|
784 |
+
if(el[0] !== value[0]) {
|
785 |
+
el.replaceWith(value);
|
786 |
+
}
|
787 |
+
} else if(attr === 'img') {
|
788 |
+
if(el.is('img')) {
|
789 |
+
el.attr('src', value);
|
790 |
+
} else {
|
791 |
+
el.replaceWith( $('<img>').attr('src', value).attr('class', el.attr('class')) );
|
792 |
+
}
|
793 |
+
} else {
|
794 |
+
el.attr(arr[1], value);
|
795 |
+
}
|
796 |
+
}
|
797 |
+
|
798 |
+
} else {
|
799 |
+
template.find(EVENT_NS + '-'+key).html(value);
|
800 |
+
}
|
801 |
+
});
|
802 |
+
},
|
803 |
+
|
804 |
+
_getScrollbarSize: function() {
|
805 |
+
// thx David
|
806 |
+
if(mfp.scrollbarSize === undefined) {
|
807 |
+
var scrollDiv = document.createElement("div");
|
808 |
+
scrollDiv.style.cssText = 'width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;';
|
809 |
+
document.body.appendChild(scrollDiv);
|
810 |
+
mfp.scrollbarSize = scrollDiv.offsetWidth - scrollDiv.clientWidth;
|
811 |
+
document.body.removeChild(scrollDiv);
|
812 |
+
}
|
813 |
+
return mfp.scrollbarSize;
|
814 |
+
}
|
815 |
+
|
816 |
+
}; /* MagnificPopup core prototype end */
|
817 |
+
|
818 |
+
|
819 |
+
|
820 |
+
|
821 |
+
/**
|
822 |
+
* Public static functions
|
823 |
+
*/
|
824 |
+
$.magnificPopup = {
|
825 |
+
instance: null,
|
826 |
+
proto: MagnificPopup.prototype,
|
827 |
+
modules: [],
|
828 |
+
|
829 |
+
open: function(options, index) {
|
830 |
+
_checkInstance();
|
831 |
+
|
832 |
+
if(!options) {
|
833 |
+
options = {};
|
834 |
+
} else {
|
835 |
+
options = $.extend(true, {}, options);
|
836 |
+
}
|
837 |
+
|
838 |
+
options.isObj = true;
|
839 |
+
options.index = index || 0;
|
840 |
+
return this.instance.open(options);
|
841 |
+
},
|
842 |
+
|
843 |
+
close: function() {
|
844 |
+
return $.magnificPopup.instance && $.magnificPopup.instance.close();
|
845 |
+
},
|
846 |
+
|
847 |
+
registerModule: function(name, module) {
|
848 |
+
if(module.options) {
|
849 |
+
$.magnificPopup.defaults[name] = module.options;
|
850 |
+
}
|
851 |
+
$.extend(this.proto, module.proto);
|
852 |
+
this.modules.push(name);
|
853 |
+
},
|
854 |
+
|
855 |
+
defaults: {
|
856 |
+
|
857 |
+
// Info about options is in docs:
|
858 |
+
// http://dimsemenov.com/plugins/magnific-popup/documentation.html#options
|
859 |
+
|
860 |
+
disableOn: 0,
|
861 |
+
|
862 |
+
key: null,
|
863 |
+
|
864 |
+
midClick: false,
|
865 |
+
|
866 |
+
mainClass: '',
|
867 |
+
|
868 |
+
preloader: true,
|
869 |
+
|
870 |
+
focus: '', // CSS selector of input to focus after popup is opened
|
871 |
+
|
872 |
+
closeOnContentClick: false,
|
873 |
+
|
874 |
+
closeOnBgClick: true,
|
875 |
+
|
876 |
+
closeBtnInside: true,
|
877 |
+
|
878 |
+
showCloseBtn: true,
|
879 |
+
|
880 |
+
enableEscapeKey: true,
|
881 |
+
|
882 |
+
modal: false,
|
883 |
+
|
884 |
+
alignTop: false,
|
885 |
+
|
886 |
+
removalDelay: 0,
|
887 |
+
|
888 |
+
prependTo: null,
|
889 |
+
|
890 |
+
fixedContentPos: 'auto',
|
891 |
+
|
892 |
+
fixedBgPos: 'auto',
|
893 |
+
|
894 |
+
overflowY: 'auto',
|
895 |
+
|
896 |
+
closeMarkup: '<button title="%title%" type="button" class="mfp-close">×</button>',
|
897 |
+
|
898 |
+
tClose: 'Close (Esc)',
|
899 |
+
|
900 |
+
tLoading: 'Loading...',
|
901 |
+
|
902 |
+
autoFocusLast: true
|
903 |
+
|
904 |
+
}
|
905 |
+
};
|
906 |
+
|
907 |
+
|
908 |
+
|
909 |
+
$.fn.magnificPopup = function(options) {
|
910 |
+
_checkInstance();
|
911 |
+
|
912 |
+
var jqEl = $(this);
|
913 |
+
|
914 |
+
// We call some API method of first param is a string
|
915 |
+
if (typeof options === "string" ) {
|
916 |
+
|
917 |
+
if(options === 'open') {
|
918 |
+
var items,
|
919 |
+
itemOpts = _isJQ ? jqEl.data('magnificPopup') : jqEl[0].magnificPopup,
|
920 |
+
index = parseInt(arguments[1], 10) || 0;
|
921 |
+
|
922 |
+
if(itemOpts.items) {
|
923 |
+
items = itemOpts.items[index];
|
924 |
+
} else {
|
925 |
+
items = jqEl;
|
926 |
+
if(itemOpts.delegate) {
|
927 |
+
items = items.find(itemOpts.delegate);
|
928 |
+
}
|
929 |
+
items = items.eq( index );
|
930 |
+
}
|
931 |
+
mfp._openClick({mfpEl:items}, jqEl, itemOpts);
|
932 |
+
} else {
|
933 |
+
if(mfp.isOpen)
|
934 |
+
mfp[options].apply(mfp, Array.prototype.slice.call(arguments, 1));
|
935 |
+
}
|
936 |
+
|
937 |
+
} else {
|
938 |
+
// clone options obj
|
939 |
+
options = $.extend(true, {}, options);
|
940 |
+
|
941 |
+
/*
|
942 |
+
* As Zepto doesn't support .data() method for objects
|
943 |
+
* and it works only in normal browsers
|
944 |
+
* we assign "options" object directly to the DOM element. FTW!
|
945 |
+
*/
|
946 |
+
if(_isJQ) {
|
947 |
+
jqEl.data('magnificPopup', options);
|
948 |
+
} else {
|
949 |
+
jqEl[0].magnificPopup = options;
|
950 |
+
}
|
951 |
+
|
952 |
+
mfp.addGroup(jqEl, options);
|
953 |
+
|
954 |
+
}
|
955 |
+
return jqEl;
|
956 |
+
};
|
957 |
+
|
958 |
+
/*>>core*/
|
959 |
+
|
960 |
+
/*>>inline*/
|
961 |
+
|
962 |
+
var INLINE_NS = 'inline',
|
963 |
+
_hiddenClass,
|
964 |
+
_inlinePlaceholder,
|
965 |
+
_lastInlineElement,
|
966 |
+
_putInlineElementsBack = function() {
|
967 |
+
if(_lastInlineElement) {
|
968 |
+
_inlinePlaceholder.after( _lastInlineElement.addClass(_hiddenClass) ).detach();
|
969 |
+
_lastInlineElement = null;
|
970 |
+
}
|
971 |
+
};
|
972 |
+
|
973 |
+
$.magnificPopup.registerModule(INLINE_NS, {
|
974 |
+
options: {
|
975 |
+
hiddenClass: 'hide', // will be appended with `mfp-` prefix
|
976 |
+
markup: '',
|
977 |
+
tNotFound: 'Content not found'
|
978 |
+
},
|
979 |
+
proto: {
|
980 |
+
|
981 |
+
initInline: function() {
|
982 |
+
mfp.types.push(INLINE_NS);
|
983 |
+
|
984 |
+
_mfpOn(CLOSE_EVENT+'.'+INLINE_NS, function() {
|
985 |
+
_putInlineElementsBack();
|
986 |
+
});
|
987 |
+
},
|
988 |
+
|
989 |
+
getInline: function(item, template) {
|
990 |
+
|
991 |
+
_putInlineElementsBack();
|
992 |
+
|
993 |
+
if(item.src) {
|
994 |
+
var inlineSt = mfp.st.inline,
|
995 |
+
el = $(item.src);
|
996 |
+
|
997 |
+
if(el.length) {
|
998 |
+
|
999 |
+
// If target element has parent - we replace it with placeholder and put it back after popup is closed
|
1000 |
+
var parent = el[0].parentNode;
|
1001 |
+
if(parent && parent.tagName) {
|
1002 |
+
if(!_inlinePlaceholder) {
|
1003 |
+
_hiddenClass = inlineSt.hiddenClass;
|
1004 |
+
_inlinePlaceholder = _getEl(_hiddenClass);
|
1005 |
+
_hiddenClass = 'mfp-'+_hiddenClass;
|
1006 |
+
}
|
1007 |
+
// replace target inline element with placeholder
|
1008 |
+
_lastInlineElement = el.after(_inlinePlaceholder).detach().removeClass(_hiddenClass);
|
1009 |
+
}
|
1010 |
+
|
1011 |
+
mfp.updateStatus('ready');
|
1012 |
+
} else {
|
1013 |
+
mfp.updateStatus('error', inlineSt.tNotFound);
|
1014 |
+
el = $('<div>');
|
1015 |
+
}
|
1016 |
+
|
1017 |
+
item.inlineElement = el;
|
1018 |
+
return el;
|
1019 |
+
}
|
1020 |
+
|
1021 |
+
mfp.updateStatus('ready');
|
1022 |
+
mfp._parseMarkup(template, {}, item);
|
1023 |
+
return template;
|
1024 |
+
}
|
1025 |
+
}
|
1026 |
+
});
|
1027 |
+
|
1028 |
+
/*>>inline*/
|
1029 |
+
|
1030 |
+
/*>>ajax*/
|
1031 |
+
var AJAX_NS = 'ajax',
|
1032 |
+
_ajaxCur,
|
1033 |
+
_removeAjaxCursor = function() {
|
1034 |
+
if(_ajaxCur) {
|
1035 |
+
$(document.body).removeClass(_ajaxCur);
|
1036 |
+
}
|
1037 |
+
},
|
1038 |
+
_destroyAjaxRequest = function() {
|
1039 |
+
_removeAjaxCursor();
|
1040 |
+
if(mfp.req) {
|
1041 |
+
mfp.req.abort();
|
1042 |
+
}
|
1043 |
+
};
|
1044 |
+
|
1045 |
+
$.magnificPopup.registerModule(AJAX_NS, {
|
1046 |
+
|
1047 |
+
options: {
|
1048 |
+
settings: null,
|
1049 |
+
cursor: 'mfp-ajax-cur',
|
1050 |
+
tError: '<a href="%url%">The content</a> could not be loaded.'
|
1051 |
+
},
|
1052 |
+
|
1053 |
+
proto: {
|
1054 |
+
initAjax: function() {
|
1055 |
+
mfp.types.push(AJAX_NS);
|
1056 |
+
_ajaxCur = mfp.st.ajax.cursor;
|
1057 |
+
|
1058 |
+
_mfpOn(CLOSE_EVENT+'.'+AJAX_NS, _destroyAjaxRequest);
|
1059 |
+
_mfpOn('BeforeChange.' + AJAX_NS, _destroyAjaxRequest);
|
1060 |
+
},
|
1061 |
+
getAjax: function(item) {
|
1062 |
+
|
1063 |
+
if(_ajaxCur) {
|
1064 |
+
$(document.body).addClass(_ajaxCur);
|
1065 |
+
}
|
1066 |
+
|
1067 |
+
mfp.updateStatus('loading');
|
1068 |
+
|
1069 |
+
var opts = $.extend({
|
1070 |
+
url: item.src,
|
1071 |
+
success: function(data, textStatus, jqXHR) {
|
1072 |
+
var temp = {
|
1073 |
+
data:data,
|
1074 |
+
xhr:jqXHR
|
1075 |
+
};
|
1076 |
+
|
1077 |
+
_mfpTrigger('ParseAjax', temp);
|
1078 |
+
|
1079 |
+
mfp.appendContent( $(temp.data), AJAX_NS );
|
1080 |
+
|
1081 |
+
item.finished = true;
|
1082 |
+
|
1083 |
+
_removeAjaxCursor();
|
1084 |
+
|
1085 |
+
mfp._setFocus();
|
1086 |
+
|
1087 |
+
setTimeout(function() {
|
1088 |
+
mfp.wrap.addClass(READY_CLASS);
|
1089 |
+
}, 16);
|
1090 |
+
|
1091 |
+
mfp.updateStatus('ready');
|
1092 |
+
|
1093 |
+
_mfpTrigger('AjaxContentAdded');
|
1094 |
+
},
|
1095 |
+
error: function() {
|
1096 |
+
_removeAjaxCursor();
|
1097 |
+
item.finished = item.loadError = true;
|
1098 |
+
mfp.updateStatus('error', mfp.st.ajax.tError.replace('%url%', item.src));
|
1099 |
+
}
|
1100 |
+
}, mfp.st.ajax.settings);
|
1101 |
+
|
1102 |
+
mfp.req = $.ajax(opts);
|
1103 |
+
|
1104 |
+
return '';
|
1105 |
+
}
|
1106 |
+
}
|
1107 |
+
});
|
1108 |
+
|
1109 |
+
/*>>ajax*/
|
1110 |
+
|
1111 |
+
/*>>image*/
|
1112 |
+
var _imgInterval,
|
1113 |
+
_getTitle = function(item) {
|
1114 |
+
if(item.data && item.data.title !== undefined)
|
1115 |
+
return item.data.title;
|
1116 |
+
|
1117 |
+
var src = mfp.st.image.titleSrc;
|
1118 |
+
|
1119 |
+
if(src) {
|
1120 |
+
if($.isFunction(src)) {
|
1121 |
+
return src.call(mfp, item);
|
1122 |
+
} else if(item.el) {
|
1123 |
+
return item.el.attr(src) || '';
|
1124 |
+
}
|
1125 |
+
}
|
1126 |
+
return '';
|
1127 |
+
};
|
1128 |
+
|
1129 |
+
$.magnificPopup.registerModule('image', {
|
1130 |
+
|
1131 |
+
options: {
|
1132 |
+
markup: '<div class="mfp-figure">'+
|
1133 |
+
'<div class="mfp-close"></div>'+
|
1134 |
+
'<figure>'+
|
1135 |
+
'<div class="mfp-img"></div>'+
|
1136 |
+
'<figcaption>'+
|
1137 |
+
'<div class="mfp-bottom-bar">'+
|
1138 |
+
'<div class="mfp-title"></div>'+
|
1139 |
+
'<div class="mfp-counter"></div>'+
|
1140 |
+
'</div>'+
|
1141 |
+
'</figcaption>'+
|
1142 |
+
'</figure>'+
|
1143 |
+
'</div>',
|
1144 |
+
cursor: 'mfp-zoom-out-cur',
|
1145 |
+
titleSrc: 'title',
|
1146 |
+
verticalFit: true,
|
1147 |
+
tError: '<a href="%url%">The image</a> could not be loaded.'
|
1148 |
+
},
|
1149 |
+
|
1150 |
+
proto: {
|
1151 |
+
initImage: function() {
|
1152 |
+
var imgSt = mfp.st.image,
|
1153 |
+
ns = '.image';
|
1154 |
+
|
1155 |
+
mfp.types.push('image');
|
1156 |
+
|
1157 |
+
_mfpOn(OPEN_EVENT+ns, function() {
|
1158 |
+
if(mfp.currItem.type === 'image' && imgSt.cursor) {
|
1159 |
+
$(document.body).addClass(imgSt.cursor);
|
1160 |
+
}
|
1161 |
+
});
|
1162 |
+
|
1163 |
+
_mfpOn(CLOSE_EVENT+ns, function() {
|
1164 |
+
if(imgSt.cursor) {
|
1165 |
+
$(document.body).removeClass(imgSt.cursor);
|
1166 |
+
}
|
1167 |
+
_window.off('resize' + EVENT_NS);
|
1168 |
+
});
|
1169 |
+
|
1170 |
+
_mfpOn('Resize'+ns, mfp.resizeImage);
|
1171 |
+
if(mfp.isLowIE) {
|
1172 |
+
_mfpOn('AfterChange', mfp.resizeImage);
|
1173 |
+
}
|
1174 |
+
},
|
1175 |
+
resizeImage: function() {
|
1176 |
+
var item = mfp.currItem;
|
1177 |
+
if(!item || !item.img) return;
|
1178 |
+
|
1179 |
+
if(mfp.st.image.verticalFit) {
|
1180 |
+
var decr = 0;
|
1181 |
+
// fix box-sizing in ie7/8
|
1182 |
+
if(mfp.isLowIE) {
|
1183 |
+
decr = parseInt(item.img.css('padding-top'), 10) + parseInt(item.img.css('padding-bottom'),10);
|
1184 |
+
}
|
1185 |
+
item.img.css('max-height', mfp.wH-decr);
|
1186 |
+
}
|
1187 |
+
},
|
1188 |
+
_onImageHasSize: function(item) {
|
1189 |
+
if(item.img) {
|
1190 |
+
|
1191 |
+
item.hasSize = true;
|
1192 |
+
|
1193 |
+
if(_imgInterval) {
|
1194 |
+
clearInterval(_imgInterval);
|
1195 |
+
}
|
1196 |
+
|
1197 |
+
item.isCheckingImgSize = false;
|
1198 |
+
|
1199 |
+
_mfpTrigger('ImageHasSize', item);
|
1200 |
+
|
1201 |
+
if(item.imgHidden) {
|
1202 |
+
if(mfp.content)
|
1203 |
+
mfp.content.removeClass('mfp-loading');
|
1204 |
+
|
1205 |
+
item.imgHidden = false;
|
1206 |
+
}
|
1207 |
+
|
1208 |
+
}
|
1209 |
+
},
|
1210 |
+
|
1211 |
+
/**
|
1212 |
+
* Function that loops until the image has size to display elements that rely on it asap
|
1213 |
+
*/
|
1214 |
+
findImageSize: function(item) {
|
1215 |
+
|
1216 |
+
var counter = 0,
|
1217 |
+
img = item.img[0],
|
1218 |
+
mfpSetInterval = function(delay) {
|
1219 |
+
|
1220 |
+
if(_imgInterval) {
|
1221 |
+
clearInterval(_imgInterval);
|
1222 |
+
}
|
1223 |
+
// decelerating interval that checks for size of an image
|
1224 |
+
_imgInterval = setInterval(function() {
|
1225 |
+
if(img.naturalWidth > 0) {
|
1226 |
+
mfp._onImageHasSize(item);
|
1227 |
+
return;
|
1228 |
+
}
|
1229 |
+
|
1230 |
+
if(counter > 200) {
|
1231 |
+
clearInterval(_imgInterval);
|
1232 |
+
}
|
1233 |
+
|
1234 |
+
counter++;
|
1235 |
+
if(counter === 3) {
|
1236 |
+
mfpSetInterval(10);
|
1237 |
+
} else if(counter === 40) {
|
1238 |
+
mfpSetInterval(50);
|
1239 |
+
} else if(counter === 100) {
|
1240 |
+
mfpSetInterval(500);
|
1241 |
+
}
|
1242 |
+
}, delay);
|
1243 |
+
};
|
1244 |
+
|
1245 |
+
mfpSetInterval(1);
|
1246 |
+
},
|
1247 |
+
|
1248 |
+
getImage: function(item, template) {
|
1249 |
+
|
1250 |
+
var guard = 0,
|
1251 |
+
|
1252 |
+
// image load complete handler
|
1253 |
+
onLoadComplete = function() {
|
1254 |
+
if(item) {
|
1255 |
+
if (item.img[0].complete) {
|
1256 |
+
item.img.off('.mfploader');
|
1257 |
+
|
1258 |
+
if(item === mfp.currItem){
|
1259 |
+
mfp._onImageHasSize(item);
|
1260 |
+
|
1261 |
+
mfp.updateStatus('ready');
|
1262 |
+
}
|
1263 |
+
|
1264 |
+
item.hasSize = true;
|
1265 |
+
item.loaded = true;
|
1266 |
+
|
1267 |
+
_mfpTrigger('ImageLoadComplete');
|
1268 |
+
|
1269 |
+
}
|
1270 |
+
else {
|
1271 |
+
// if image complete check fails 200 times (20 sec), we assume that there was an error.
|
1272 |
+
guard++;
|
1273 |
+
if(guard < 200) {
|
1274 |
+
setTimeout(onLoadComplete,100);
|
1275 |
+
} else {
|
1276 |
+
onLoadError();
|
1277 |
+
}
|
1278 |
+
}
|
1279 |
+
}
|
1280 |
+
},
|
1281 |
+
|
1282 |
+
// image error handler
|
1283 |
+
onLoadError = function() {
|
1284 |
+
if(item) {
|
1285 |
+
item.img.off('.mfploader');
|
1286 |
+
if(item === mfp.currItem){
|
1287 |
+
mfp._onImageHasSize(item);
|
1288 |
+
mfp.updateStatus('error', imgSt.tError.replace('%url%', item.src) );
|
1289 |
+
}
|
1290 |
+
|
1291 |
+
item.hasSize = true;
|
1292 |
+
item.loaded = true;
|
1293 |
+
item.loadError = true;
|
1294 |
+
}
|
1295 |
+
},
|
1296 |
+
imgSt = mfp.st.image;
|
1297 |
+
|
1298 |
+
|
1299 |
+
var el = template.find('.mfp-img');
|
1300 |
+
if(el.length) {
|
1301 |
+
var img = document.createElement('img');
|
1302 |
+
img.className = 'mfp-img';
|
1303 |
+
if(item.el && item.el.find('img').length) {
|
1304 |
+
img.alt = item.el.find('img').attr('alt');
|
1305 |
+
}
|
1306 |
+
item.img = $(img).on('load.mfploader', onLoadComplete).on('error.mfploader', onLoadError);
|
1307 |
+
img.src = item.src;
|
1308 |
+
|
1309 |
+
// without clone() "error" event is not firing when IMG is replaced by new IMG
|
1310 |
+
// TODO: find a way to avoid such cloning
|
1311 |
+
if(el.is('img')) {
|
1312 |
+
item.img = item.img.clone();
|
1313 |
+
}
|
1314 |
+
|
1315 |
+
img = item.img[0];
|
1316 |
+
if(img.naturalWidth > 0) {
|
1317 |
+
item.hasSize = true;
|
1318 |
+
} else if(!img.width) {
|
1319 |
+
item.hasSize = false;
|
1320 |
+
}
|
1321 |
+
}
|
1322 |
+
|
1323 |
+
mfp._parseMarkup(template, {
|
1324 |
+
title: _getTitle(item),
|
1325 |
+
img_replaceWith: item.img
|
1326 |
+
}, item);
|
1327 |
+
|
1328 |
+
mfp.resizeImage();
|
1329 |
+
|
1330 |
+
if(item.hasSize) {
|
1331 |
+
if(_imgInterval) clearInterval(_imgInterval);
|
1332 |
+
|
1333 |
+
if(item.loadError) {
|
1334 |
+
template.addClass('mfp-loading');
|
1335 |
+
mfp.updateStatus('error', imgSt.tError.replace('%url%', item.src) );
|
1336 |
+
} else {
|
1337 |
+
template.removeClass('mfp-loading');
|
1338 |
+
mfp.updateStatus('ready');
|
1339 |
+
}
|
1340 |
+
return template;
|
1341 |
+
}
|
1342 |
+
|
1343 |
+
mfp.updateStatus('loading');
|
1344 |
+
item.loading = true;
|
1345 |
+
|
1346 |
+
if(!item.hasSize) {
|
1347 |
+
item.imgHidden = true;
|
1348 |
+
template.addClass('mfp-loading');
|
1349 |
+
mfp.findImageSize(item);
|
1350 |
+
}
|
1351 |
+
|
1352 |
+
return template;
|
1353 |
+
}
|
1354 |
+
}
|
1355 |
+
});
|
1356 |
+
|
1357 |
+
/*>>image*/
|
1358 |
+
|
1359 |
+
/*>>zoom*/
|
1360 |
+
var hasMozTransform,
|
1361 |
+
getHasMozTransform = function() {
|
1362 |
+
if(hasMozTransform === undefined) {
|
1363 |
+
hasMozTransform = document.createElement('p').style.MozTransform !== undefined;
|
1364 |
+
}
|
1365 |
+
return hasMozTransform;
|
1366 |
+
};
|
1367 |
+
|
1368 |
+
$.magnificPopup.registerModule('zoom', {
|
1369 |
+
|
1370 |
+
options: {
|
1371 |
+
enabled: false,
|
1372 |
+
easing: 'ease-in-out',
|
1373 |
+
duration: 300,
|
1374 |
+
opener: function(element) {
|
1375 |
+
return element.is('img') ? element : element.find('img');
|
1376 |
+
}
|
1377 |
+
},
|
1378 |
+
|
1379 |
+
proto: {
|
1380 |
+
|
1381 |
+
initZoom: function() {
|
1382 |
+
var zoomSt = mfp.st.zoom,
|
1383 |
+
ns = '.zoom',
|
1384 |
+
image;
|
1385 |
+
|
1386 |
+
if(!zoomSt.enabled || !mfp.supportsTransition) {
|
1387 |
+
return;
|
1388 |
+
}
|
1389 |
+
|
1390 |
+
var duration = zoomSt.duration,
|
1391 |
+
getElToAnimate = function(image) {
|
1392 |
+
var newImg = image.clone().removeAttr('style').removeAttr('class').addClass('mfp-animated-image'),
|
1393 |
+
transition = 'all '+(zoomSt.duration/1000)+'s ' + zoomSt.easing,
|
1394 |
+
cssObj = {
|
1395 |
+
position: 'fixed',
|
1396 |
+
zIndex: 9999,
|
1397 |
+
left: 0,
|
1398 |
+
top: 0,
|
1399 |
+
'-webkit-backface-visibility': 'hidden'
|
1400 |
+
},
|
1401 |
+
t = 'transition';
|
1402 |
+
|
1403 |
+
cssObj['-webkit-'+t] = cssObj['-moz-'+t] = cssObj['-o-'+t] = cssObj[t] = transition;
|
1404 |
+
|
1405 |
+
newImg.css(cssObj);
|
1406 |
+
return newImg;
|
1407 |
+
},
|
1408 |
+
showMainContent = function() {
|
1409 |
+
mfp.content.css('visibility', 'visible');
|
1410 |
+
},
|
1411 |
+
openTimeout,
|
1412 |
+
animatedImg;
|
1413 |
+
|
1414 |
+
_mfpOn('BuildControls'+ns, function() {
|
1415 |
+
if(mfp._allowZoom()) {
|
1416 |
+
|
1417 |
+
clearTimeout(openTimeout);
|
1418 |
+
mfp.content.css('visibility', 'hidden');
|
1419 |
+
|
1420 |
+
// Basically, all code below does is clones existing image, puts in on top of the current one and animated it
|
1421 |
+
|
1422 |
+
image = mfp._getItemToZoom();
|
1423 |
+
|
1424 |
+
if(!image) {
|
1425 |
+
showMainContent();
|
1426 |
+
return;
|
1427 |
+
}
|
1428 |
+
|
1429 |
+
animatedImg = getElToAnimate(image);
|
1430 |
+
|
1431 |
+
animatedImg.css( mfp._getOffset() );
|
1432 |
+
|
1433 |
+
mfp.wrap.append(animatedImg);
|
1434 |
+
|
1435 |
+
openTimeout = setTimeout(function() {
|
1436 |
+
animatedImg.css( mfp._getOffset( true ) );
|
1437 |
+
openTimeout = setTimeout(function() {
|
1438 |
+
|
1439 |
+
showMainContent();
|
1440 |
+
|
1441 |
+
setTimeout(function() {
|
1442 |
+
animatedImg.remove();
|
1443 |
+
image = animatedImg = null;
|
1444 |
+
_mfpTrigger('ZoomAnimationEnded');
|
1445 |
+
}, 16); // avoid blink when switching images
|
1446 |
+
|
1447 |
+
}, duration); // this timeout equals animation duration
|
1448 |
+
|
1449 |
+
}, 16); // by adding this timeout we avoid short glitch at the beginning of animation
|
1450 |
+
|
1451 |
+
|
1452 |
+
// Lots of timeouts...
|
1453 |
+
}
|
1454 |
+
});
|
1455 |
+
_mfpOn(BEFORE_CLOSE_EVENT+ns, function() {
|
1456 |
+
if(mfp._allowZoom()) {
|
1457 |
+
|
1458 |
+
clearTimeout(openTimeout);
|
1459 |
+
|
1460 |
+
mfp.st.removalDelay = duration;
|
1461 |
+
|
1462 |
+
if(!image) {
|
1463 |
+
image = mfp._getItemToZoom();
|
1464 |
+
if(!image) {
|
1465 |
+
return;
|
1466 |
+
}
|
1467 |
+
animatedImg = getElToAnimate(image);
|
1468 |
+
}
|
1469 |
+
|
1470 |
+
animatedImg.css( mfp._getOffset(true) );
|
1471 |
+
mfp.wrap.append(animatedImg);
|
1472 |
+
mfp.content.css('visibility', 'hidden');
|
1473 |
+
|
1474 |
+
setTimeout(function() {
|
1475 |
+
animatedImg.css( mfp._getOffset() );
|
1476 |
+
}, 16);
|
1477 |
+
}
|
1478 |
+
|
1479 |
+
});
|
1480 |
+
|
1481 |
+
_mfpOn(CLOSE_EVENT+ns, function() {
|
1482 |
+
if(mfp._allowZoom()) {
|
1483 |
+
showMainContent();
|
1484 |
+
if(animatedImg) {
|
1485 |
+
animatedImg.remove();
|
1486 |
+
}
|
1487 |
+
image = null;
|
1488 |
+
}
|
1489 |
+
});
|
1490 |
+
},
|
1491 |
+
|
1492 |
+
_allowZoom: function() {
|
1493 |
+
return mfp.currItem.type === 'image';
|
1494 |
+
},
|
1495 |
+
|
1496 |
+
_getItemToZoom: function() {
|
1497 |
+
if(mfp.currItem.hasSize) {
|
1498 |
+
return mfp.currItem.img;
|
1499 |
+
} else {
|
1500 |
+
return false;
|
1501 |
+
}
|
1502 |
+
},
|
1503 |
+
|
1504 |
+
// Get element postion relative to viewport
|
1505 |
+
_getOffset: function(isLarge) {
|
1506 |
+
var el;
|
1507 |
+
if(isLarge) {
|
1508 |
+
el = mfp.currItem.img;
|
1509 |
+
} else {
|
1510 |
+
el = mfp.st.zoom.opener(mfp.currItem.el || mfp.currItem);
|
1511 |
+
}
|
1512 |
+
|
1513 |
+
var offset = el.offset();
|
1514 |
+
var paddingTop = parseInt(el.css('padding-top'),10);
|
1515 |
+
var paddingBottom = parseInt(el.css('padding-bottom'),10);
|
1516 |
+
offset.top -= ( $(window).scrollTop() - paddingTop );
|
1517 |
+
|
1518 |
+
|
1519 |
+
/*
|
1520 |
+
|
1521 |
+
Animating left + top + width/height looks glitchy in Firefox, but perfect in Chrome. And vice-versa.
|
1522 |
+
|
1523 |
+
*/
|
1524 |
+
var obj = {
|
1525 |
+
width: el.width(),
|
1526 |
+
// fix Zepto height+padding issue
|
1527 |
+
height: (_isJQ ? el.innerHeight() : el[0].offsetHeight) - paddingBottom - paddingTop
|
1528 |
+
};
|
1529 |
+
|
1530 |
+
// I hate to do this, but there is no another option
|
1531 |
+
if( getHasMozTransform() ) {
|
1532 |
+
obj['-moz-transform'] = obj['transform'] = 'translate(' + offset.left + 'px,' + offset.top + 'px)';
|
1533 |
+
} else {
|
1534 |
+
obj.left = offset.left;
|
1535 |
+
obj.top = offset.top;
|
1536 |
+
}
|
1537 |
+
return obj;
|
1538 |
+
}
|
1539 |
+
|
1540 |
+
}
|
1541 |
+
});
|
1542 |
+
|
1543 |
+
|
1544 |
+
|
1545 |
+
/*>>zoom*/
|
1546 |
+
|
1547 |
+
/*>>iframe*/
|
1548 |
+
|
1549 |
+
var IFRAME_NS = 'iframe',
|
1550 |
+
_emptyPage = '//about:blank',
|
1551 |
+
|
1552 |
+
_fixIframeBugs = function(isShowing) {
|
1553 |
+
if(mfp.currTemplate[IFRAME_NS]) {
|
1554 |
+
var el = mfp.currTemplate[IFRAME_NS].find('iframe');
|
1555 |
+
if(el.length) {
|
1556 |
+
// reset src after the popup is closed to avoid "video keeps playing after popup is closed" bug
|
1557 |
+
if(!isShowing) {
|
1558 |
+
el[0].src = _emptyPage;
|
1559 |
+
}
|
1560 |
+
|
1561 |
+
// IE8 black screen bug fix
|
1562 |
+
if(mfp.isIE8) {
|
1563 |
+
el.css('display', isShowing ? 'block' : 'none');
|
1564 |
+
}
|
1565 |
+
}
|
1566 |
+
}
|
1567 |
+
};
|
1568 |
+
|
1569 |
+
$.magnificPopup.registerModule(IFRAME_NS, {
|
1570 |
+
|
1571 |
+
options: {
|
1572 |
+
markup: '<div class="mfp-iframe-scaler">'+
|
1573 |
+
'<div class="mfp-close"></div>'+
|
1574 |
+
'<iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe>'+
|
1575 |
+
'</div>',
|
1576 |
+
|
1577 |
+
srcAction: 'iframe_src',
|
1578 |
+
|
1579 |
+
// we don't care and support only one default type of URL by default
|
1580 |
+
patterns: {
|
1581 |
+
youtube: {
|
1582 |
+
index: 'youtube.com',
|
1583 |
+
id: 'v=',
|
1584 |
+
src: '//www.youtube.com/embed/%id%?autoplay=1'
|
1585 |
+
},
|
1586 |
+
vimeo: {
|
1587 |
+
index: 'vimeo.com/',
|
1588 |
+
id: '/',
|
1589 |
+
src: '//player.vimeo.com/video/%id%?autoplay=1'
|
1590 |
+
},
|
1591 |
+
gmaps: {
|
1592 |
+
index: '//maps.google.',
|
1593 |
+
src: '%id%&output=embed'
|
1594 |
+
}
|
1595 |
+
}
|
1596 |
+
},
|
1597 |
+
|
1598 |
+
proto: {
|
1599 |
+
initIframe: function() {
|
1600 |
+
mfp.types.push(IFRAME_NS);
|
1601 |
+
|
1602 |
+
_mfpOn('BeforeChange', function(e, prevType, newType) {
|
1603 |
+
if(prevType !== newType) {
|
1604 |
+
if(prevType === IFRAME_NS) {
|
1605 |
+
_fixIframeBugs(); // iframe if removed
|
1606 |
+
} else if(newType === IFRAME_NS) {
|
1607 |
+
_fixIframeBugs(true); // iframe is showing
|
1608 |
+
}
|
1609 |
+
}// else {
|
1610 |
+
// iframe source is switched, don't do anything
|
1611 |
+
//}
|
1612 |
+
});
|
1613 |
+
|
1614 |
+
_mfpOn(CLOSE_EVENT + '.' + IFRAME_NS, function() {
|
1615 |
+
_fixIframeBugs();
|
1616 |
+
});
|
1617 |
+
},
|
1618 |
+
|
1619 |
+
getIframe: function(item, template) {
|
1620 |
+
var embedSrc = item.src;
|
1621 |
+
var iframeSt = mfp.st.iframe;
|
1622 |
+
|
1623 |
+
$.each(iframeSt.patterns, function() {
|
1624 |
+
if(embedSrc.indexOf( this.index ) > -1) {
|
1625 |
+
if(this.id) {
|
1626 |
+
if(typeof this.id === 'string') {
|
1627 |
+
embedSrc = embedSrc.substr(embedSrc.lastIndexOf(this.id)+this.id.length, embedSrc.length);
|
1628 |
+
} else {
|
1629 |
+
embedSrc = this.id.call( this, embedSrc );
|
1630 |
+
}
|
1631 |
+
}
|
1632 |
+
embedSrc = this.src.replace('%id%', embedSrc );
|
1633 |
+
return false; // break;
|
1634 |
+
}
|
1635 |
+
});
|
1636 |
+
|
1637 |
+
var dataObj = {};
|
1638 |
+
if(iframeSt.srcAction) {
|
1639 |
+
dataObj[iframeSt.srcAction] = embedSrc;
|
1640 |
+
}
|
1641 |
+
mfp._parseMarkup(template, dataObj, item);
|
1642 |
+
|
1643 |
+
mfp.updateStatus('ready');
|
1644 |
+
|
1645 |
+
return template;
|
1646 |
+
}
|
1647 |
+
}
|
1648 |
+
});
|
1649 |
+
|
1650 |
+
|
1651 |
+
|
1652 |
+
/*>>iframe*/
|
1653 |
+
|
1654 |
+
/*>>gallery*/
|
1655 |
+
/**
|
1656 |
+
* Get looped index depending on number of slides
|
1657 |
+
*/
|
1658 |
+
var _getLoopedId = function(index) {
|
1659 |
+
var numSlides = mfp.items.length;
|
1660 |
+
if(index > numSlides - 1) {
|
1661 |
+
return index - numSlides;
|
1662 |
+
} else if(index < 0) {
|
1663 |
+
return numSlides + index;
|
1664 |
+
}
|
1665 |
+
return index;
|
1666 |
+
},
|
1667 |
+
_replaceCurrTotal = function(text, curr, total) {
|
1668 |
+
return text.replace(/%curr%/gi, curr + 1).replace(/%total%/gi, total);
|
1669 |
+
};
|
1670 |
+
|
1671 |
+
$.magnificPopup.registerModule('gallery', {
|
1672 |
+
|
1673 |
+
options: {
|
1674 |
+
enabled: false,
|
1675 |
+
arrowMarkup: '<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',
|
1676 |
+
preload: [0,2],
|
1677 |
+
navigateByImgClick: true,
|
1678 |
+
arrows: true,
|
1679 |
+
|
1680 |
+
tPrev: 'Previous (Left arrow key)',
|
1681 |
+
tNext: 'Next (Right arrow key)',
|
1682 |
+
tCounter: '%curr% of %total%'
|
1683 |
+
},
|
1684 |
+
|
1685 |
+
proto: {
|
1686 |
+
initGallery: function() {
|
1687 |
+
|
1688 |
+
var gSt = mfp.st.gallery,
|
1689 |
+
ns = '.mfp-gallery';
|
1690 |
+
|
1691 |
+
mfp.direction = true; // true - next, false - prev
|
1692 |
+
|
1693 |
+
if(!gSt || !gSt.enabled ) return false;
|
1694 |
+
|
1695 |
+
_wrapClasses += ' mfp-gallery';
|
1696 |
+
|
1697 |
+
_mfpOn(OPEN_EVENT+ns, function() {
|
1698 |
+
|
1699 |
+
if(gSt.navigateByImgClick) {
|
1700 |
+
mfp.wrap.on('click'+ns, '.mfp-img', function() {
|
1701 |
+
if(mfp.items.length > 1) {
|
1702 |
+
mfp.next();
|
1703 |
+
return false;
|
1704 |
+
}
|
1705 |
+
});
|
1706 |
+
}
|
1707 |
+
|
1708 |
+
_document.on('keydown'+ns, function(e) {
|
1709 |
+
if (e.keyCode === 37) {
|
1710 |
+
mfp.prev();
|
1711 |
+
} else if (e.keyCode === 39) {
|
1712 |
+
mfp.next();
|
1713 |
+
}
|
1714 |
+
});
|
1715 |
+
});
|
1716 |
+
|
1717 |
+
_mfpOn('UpdateStatus'+ns, function(e, data) {
|
1718 |
+
if(data.text) {
|
1719 |
+
data.text = _replaceCurrTotal(data.text, mfp.currItem.index, mfp.items.length);
|
1720 |
+
}
|
1721 |
+
});
|
1722 |
+
|
1723 |
+
_mfpOn(MARKUP_PARSE_EVENT+ns, function(e, element, values, item) {
|
1724 |
+
var l = mfp.items.length;
|
1725 |
+
values.counter = l > 1 ? _replaceCurrTotal(gSt.tCounter, item.index, l) : '';
|
1726 |
+
});
|
1727 |
+
|
1728 |
+
_mfpOn('BuildControls' + ns, function() {
|
1729 |
+
if(mfp.items.length > 1 && gSt.arrows && !mfp.arrowLeft) {
|
1730 |
+
var markup = gSt.arrowMarkup,
|
1731 |
+
arrowLeft = mfp.arrowLeft = $( markup.replace(/%title%/gi, gSt.tPrev).replace(/%dir%/gi, 'left') ).addClass(PREVENT_CLOSE_CLASS),
|
1732 |
+
arrowRight = mfp.arrowRight = $( markup.replace(/%title%/gi, gSt.tNext).replace(/%dir%/gi, 'right') ).addClass(PREVENT_CLOSE_CLASS);
|
1733 |
+
|
1734 |
+
arrowLeft.click(function() {
|
1735 |
+
mfp.prev();
|
1736 |
+
});
|
1737 |
+
arrowRight.click(function() {
|
1738 |
+
mfp.next();
|
1739 |
+
});
|
1740 |
+
|
1741 |
+
mfp.container.append(arrowLeft.add(arrowRight));
|
1742 |
+
}
|
1743 |
+
});
|
1744 |
+
|
1745 |
+
_mfpOn(CHANGE_EVENT+ns, function() {
|
1746 |
+
if(mfp._preloadTimeout) clearTimeout(mfp._preloadTimeout);
|
1747 |
+
|
1748 |
+
mfp._preloadTimeout = setTimeout(function() {
|
1749 |
+
mfp.preloadNearbyImages();
|
1750 |
+
mfp._preloadTimeout = null;
|
1751 |
+
}, 16);
|
1752 |
+
});
|
1753 |
+
|
1754 |
+
|
1755 |
+
_mfpOn(CLOSE_EVENT+ns, function() {
|
1756 |
+
_document.off(ns);
|
1757 |
+
mfp.wrap.off('click'+ns);
|
1758 |
+
mfp.arrowRight = mfp.arrowLeft = null;
|
1759 |
+
});
|
1760 |
+
|
1761 |
+
},
|
1762 |
+
next: function() {
|
1763 |
+
mfp.direction = true;
|
1764 |
+
mfp.index = _getLoopedId(mfp.index + 1);
|
1765 |
+
mfp.updateItemHTML();
|
1766 |
+
},
|
1767 |
+
prev: function() {
|
1768 |
+
mfp.direction = false;
|
1769 |
+
mfp.index = _getLoopedId(mfp.index - 1);
|
1770 |
+
mfp.updateItemHTML();
|
1771 |
+
},
|
1772 |
+
goTo: function(newIndex) {
|
1773 |
+
mfp.direction = (newIndex >= mfp.index);
|
1774 |
+
mfp.index = newIndex;
|
1775 |
+
mfp.updateItemHTML();
|
1776 |
+
},
|
1777 |
+
preloadNearbyImages: function() {
|
1778 |
+
var p = mfp.st.gallery.preload,
|
1779 |
+
preloadBefore = Math.min(p[0], mfp.items.length),
|
1780 |
+
preloadAfter = Math.min(p[1], mfp.items.length),
|
1781 |
+
i;
|
1782 |
+
|
1783 |
+
for(i = 1; i <= (mfp.direction ? preloadAfter : preloadBefore); i++) {
|
1784 |
+
mfp._preloadItem(mfp.index+i);
|
1785 |
+
}
|
1786 |
+
for(i = 1; i <= (mfp.direction ? preloadBefore : preloadAfter); i++) {
|
1787 |
+
mfp._preloadItem(mfp.index-i);
|
1788 |
+
}
|
1789 |
+
},
|
1790 |
+
_preloadItem: function(index) {
|
1791 |
+
index = _getLoopedId(index);
|
1792 |
+
|
1793 |
+
if(mfp.items[index].preloaded) {
|
1794 |
+
return;
|
1795 |
+
}
|
1796 |
+
|
1797 |
+
var item = mfp.items[index];
|
1798 |
+
if(!item.parsed) {
|
1799 |
+
item = mfp.parseEl( index );
|
1800 |
+
}
|
1801 |
+
|
1802 |
+
_mfpTrigger('LazyLoad', item);
|
1803 |
+
|
1804 |
+
if(item.type === 'image') {
|
1805 |
+
item.img = $('<img class="mfp-img" />').on('load.mfploader', function() {
|
1806 |
+
item.hasSize = true;
|
1807 |
+
}).on('error.mfploader', function() {
|
1808 |
+
item.hasSize = true;
|
1809 |
+
item.loadError = true;
|
1810 |
+
_mfpTrigger('LazyLoadError', item);
|
1811 |
+
}).attr('src', item.src);
|
1812 |
+
}
|
1813 |
+
|
1814 |
+
|
1815 |
+
item.preloaded = true;
|
1816 |
+
}
|
1817 |
+
}
|
1818 |
+
});
|
1819 |
+
|
1820 |
+
/*>>gallery*/
|
1821 |
+
|
1822 |
+
/*>>retina*/
|
1823 |
+
|
1824 |
+
var RETINA_NS = 'retina';
|
1825 |
+
|
1826 |
+
$.magnificPopup.registerModule(RETINA_NS, {
|
1827 |
+
options: {
|
1828 |
+
replaceSrc: function(item) {
|
1829 |
+
return item.src.replace(/\.\w+$/, function(m) { return '@2x' + m; });
|
1830 |
+
},
|
1831 |
+
ratio: 1 // Function or number. Set to 1 to disable.
|
1832 |
+
},
|
1833 |
+
proto: {
|
1834 |
+
initRetina: function() {
|
1835 |
+
if(window.devicePixelRatio > 1) {
|
1836 |
+
|
1837 |
+
var st = mfp.st.retina,
|
1838 |
+
ratio = st.ratio;
|
1839 |
+
|
1840 |
+
ratio = !isNaN(ratio) ? ratio : ratio();
|
1841 |
+
|
1842 |
+
if(ratio > 1) {
|
1843 |
+
_mfpOn('ImageHasSize' + '.' + RETINA_NS, function(e, item) {
|
1844 |
+
item.img.css({
|
1845 |
+
'max-width': item.img[0].naturalWidth / ratio,
|
1846 |
+
'width': '100%'
|
1847 |
+
});
|
1848 |
+
});
|
1849 |
+
_mfpOn('ElementParse' + '.' + RETINA_NS, function(e, item) {
|
1850 |
+
item.src = st.replaceSrc(item, ratio);
|
1851 |
+
});
|
1852 |
+
}
|
1853 |
+
}
|
1854 |
+
|
1855 |
+
}
|
1856 |
+
}
|
1857 |
+
});
|
1858 |
+
|
1859 |
+
/*>>retina*/
|
1860 |
+
_checkInstance(); }));
|
js/jquery.twentytwenty.js
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function($){
|
2 |
+
|
3 |
+
$.fn.twentytwenty = function(options) {
|
4 |
+
var options = $.extend({
|
5 |
+
default_offset_pct: 0.5,
|
6 |
+
orientation: 'horizontal',
|
7 |
+
before_label: 'Before',
|
8 |
+
after_label: 'After',
|
9 |
+
no_overlay: false,
|
10 |
+
move_slider_on_hover: false,
|
11 |
+
move_with_handle_only: true,
|
12 |
+
click_to_move: false
|
13 |
+
}, options);
|
14 |
+
|
15 |
+
return this.each(function() {
|
16 |
+
|
17 |
+
var sliderPct = options.default_offset_pct;
|
18 |
+
var container = $(this);
|
19 |
+
var sliderOrientation = options.orientation;
|
20 |
+
var beforeDirection = (sliderOrientation === 'vertical') ? 'down' : 'left';
|
21 |
+
var afterDirection = (sliderOrientation === 'vertical') ? 'up' : 'right';
|
22 |
+
|
23 |
+
|
24 |
+
container.wrap("<div class='twentytwenty-wrapper twentytwenty-" + sliderOrientation + "'></div>");
|
25 |
+
if(!options.no_overlay) {
|
26 |
+
container.append("<div class='twentytwenty-overlay'></div>");
|
27 |
+
var overlay = container.find(".twentytwenty-overlay");
|
28 |
+
overlay.append("<div class='twentytwenty-before-label' data-content='"+options.before_label+"'></div>");
|
29 |
+
overlay.append("<div class='twentytwenty-after-label' data-content='"+options.after_label+"'></div>");
|
30 |
+
}
|
31 |
+
var beforeImg = container.find("img:first");
|
32 |
+
var afterImg = container.find("img:last");
|
33 |
+
container.append("<div class='twentytwenty-handle'></div>");
|
34 |
+
var slider = container.find(".twentytwenty-handle");
|
35 |
+
slider.append("<span class='twentytwenty-" + beforeDirection + "-arrow'></span>");
|
36 |
+
slider.append("<span class='twentytwenty-" + afterDirection + "-arrow'></span>");
|
37 |
+
container.addClass("twentytwenty-container");
|
38 |
+
beforeImg.addClass("twentytwenty-before");
|
39 |
+
afterImg.addClass("twentytwenty-after");
|
40 |
+
|
41 |
+
var calcOffset = function(dimensionPct) {
|
42 |
+
var w = beforeImg.width();
|
43 |
+
var h = beforeImg.height();
|
44 |
+
return {
|
45 |
+
w: w+"px",
|
46 |
+
h: h+"px",
|
47 |
+
cw: (dimensionPct*w)+"px",
|
48 |
+
ch: (dimensionPct*h)+"px"
|
49 |
+
};
|
50 |
+
};
|
51 |
+
|
52 |
+
var adjustContainer = function(offset) {
|
53 |
+
if (sliderOrientation === 'vertical') {
|
54 |
+
beforeImg.css("clip", "rect(0,"+offset.w+","+offset.ch+",0)");
|
55 |
+
afterImg.css("clip", "rect("+offset.ch+","+offset.w+","+offset.h+",0)");
|
56 |
+
}
|
57 |
+
else {
|
58 |
+
beforeImg.css("clip", "rect(0,"+offset.cw+","+offset.h+",0)");
|
59 |
+
afterImg.css("clip", "rect(0,"+offset.w+","+offset.h+","+offset.cw+")");
|
60 |
+
}
|
61 |
+
container.css("height", offset.h);
|
62 |
+
};
|
63 |
+
|
64 |
+
var adjustSlider = function(pct) {
|
65 |
+
var offset = calcOffset(pct);
|
66 |
+
slider.css((sliderOrientation==="vertical") ? "top" : "left", (sliderOrientation==="vertical") ? offset.ch : offset.cw);
|
67 |
+
adjustContainer(offset);
|
68 |
+
};
|
69 |
+
|
70 |
+
// Return the number specified or the min/max number if it outside the range given.
|
71 |
+
var minMaxNumber = function(num, min, max) {
|
72 |
+
return Math.max(min, Math.min(max, num));
|
73 |
+
};
|
74 |
+
|
75 |
+
// Calculate the slider percentage based on the position.
|
76 |
+
var getSliderPercentage = function(positionX, positionY) {
|
77 |
+
var sliderPercentage = (sliderOrientation === 'vertical') ?
|
78 |
+
(positionY-offsetY)/imgHeight :
|
79 |
+
(positionX-offsetX)/imgWidth;
|
80 |
+
|
81 |
+
return minMaxNumber(sliderPercentage, 0, 1);
|
82 |
+
};
|
83 |
+
|
84 |
+
|
85 |
+
$(window).on("resize.twentytwenty", function(e) {
|
86 |
+
adjustSlider(sliderPct);
|
87 |
+
});
|
88 |
+
|
89 |
+
var offsetX = 0;
|
90 |
+
var offsetY = 0;
|
91 |
+
var imgWidth = 0;
|
92 |
+
var imgHeight = 0;
|
93 |
+
var onMoveStart = function(e) {
|
94 |
+
if (((e.distX > e.distY && e.distX < -e.distY) || (e.distX < e.distY && e.distX > -e.distY)) && sliderOrientation !== 'vertical') {
|
95 |
+
e.preventDefault();
|
96 |
+
}
|
97 |
+
else if (((e.distX < e.distY && e.distX < -e.distY) || (e.distX > e.distY && e.distX > -e.distY)) && sliderOrientation === 'vertical') {
|
98 |
+
e.preventDefault();
|
99 |
+
}
|
100 |
+
container.addClass("active");
|
101 |
+
offsetX = container.offset().left;
|
102 |
+
offsetY = container.offset().top;
|
103 |
+
imgWidth = beforeImg.width();
|
104 |
+
imgHeight = beforeImg.height();
|
105 |
+
};
|
106 |
+
var onMove = function(e) {
|
107 |
+
if (container.hasClass("active")) {
|
108 |
+
sliderPct = getSliderPercentage(e.pageX, e.pageY);
|
109 |
+
adjustSlider(sliderPct);
|
110 |
+
}
|
111 |
+
};
|
112 |
+
var onMoveEnd = function() {
|
113 |
+
container.removeClass("active");
|
114 |
+
};
|
115 |
+
|
116 |
+
var moveTarget = options.move_with_handle_only ? slider : container;
|
117 |
+
moveTarget.on("movestart",onMoveStart);
|
118 |
+
moveTarget.on("move",onMove);
|
119 |
+
moveTarget.on("moveend",onMoveEnd);
|
120 |
+
|
121 |
+
if (options.move_slider_on_hover) {
|
122 |
+
container.on("mouseenter", onMoveStart);
|
123 |
+
container.on("mousemove", onMove);
|
124 |
+
container.on("mouseleave", onMoveEnd);
|
125 |
+
}
|
126 |
+
|
127 |
+
slider.on("touchmove", function(e) {
|
128 |
+
e.preventDefault();
|
129 |
+
});
|
130 |
+
|
131 |
+
container.find("img").on("mousedown", function(event) {
|
132 |
+
event.preventDefault();
|
133 |
+
});
|
134 |
+
|
135 |
+
if (options.click_to_move) {
|
136 |
+
container.on('click', function(e) {
|
137 |
+
offsetX = container.offset().left;
|
138 |
+
offsetY = container.offset().top;
|
139 |
+
imgWidth = beforeImg.width();
|
140 |
+
imgHeight = beforeImg.height();
|
141 |
+
|
142 |
+
sliderPct = getSliderPercentage(e.pageX, e.pageY);
|
143 |
+
adjustSlider(sliderPct);
|
144 |
+
});
|
145 |
+
}
|
146 |
+
|
147 |
+
$(window).trigger("resize.twentytwenty");
|
148 |
+
});
|
149 |
+
};
|
150 |
+
|
151 |
+
})(jQuery);
|
js/post-slider.js
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function($){
|
2 |
+
|
3 |
+
var initializeBlock = function( $block ) {
|
4 |
+
|
5 |
+
function Bool(v) {
|
6 |
+
return v === 1 ? true : false;
|
7 |
+
}
|
8 |
+
|
9 |
+
|
10 |
+
var acfb_loop = $($block).find(".swiper-container").data('loop');
|
11 |
+
var acfb_psdelay = $($block).find(".swiper-container").data('psdelay') * 1000;
|
12 |
+
var acfb_pseffect = $($block).find(".swiper-container").data('pseffect');
|
13 |
+
var acfb_pscenterslide = $($block).find(".swiper-container").data('pscenterslide');
|
14 |
+
var acfb_psgutter = $($block).find(".swiper-container").data('psgutter');
|
15 |
+
var acfb_psautoplay = $($block).find(".swiper-container").data('psautoplay');
|
16 |
+
var acfb_psautoheight = $($block).find(".swiper-container").data('psautoheight');
|
17 |
+
var acfb_psslidesperview = $($block).find(".swiper-container").data('psslidesperview');
|
18 |
+
|
19 |
+
|
20 |
+
if(acfb_psslidesperview > 1 && acfb_pseffect === 'fade'){
|
21 |
+
acfb_pseffect = 'slide';
|
22 |
+
} else if(acfb_psslidesperview > 1 && acfb_pseffect === 'cube'){
|
23 |
+
acfb_pseffect = 'slide';
|
24 |
+
} else if(acfb_psslidesperview > 1 && acfb_pseffect === 'flip'){
|
25 |
+
acfb_pseffect = 'slide';
|
26 |
+
}
|
27 |
+
|
28 |
+
|
29 |
+
var acfbCrossFade = '';
|
30 |
+
if(acfb_pseffect === 'fade'){
|
31 |
+
acfbCrossFade = 'true';
|
32 |
+
}
|
33 |
+
|
34 |
+
|
35 |
+
$acfb_post_slider_script = $block.find('.swiper-container');
|
36 |
+
|
37 |
+
var postSliderObj = {
|
38 |
+
|
39 |
+
direction: 'horizontal',
|
40 |
+
centeredSlides: Bool(acfb_pscenterslide),
|
41 |
+
slidesPerView: acfb_psslidesperview,
|
42 |
+
autoHeight: Bool(acfb_psautoheight),
|
43 |
+
spaceBetween: acfb_psgutter,
|
44 |
+
effect: acfb_pseffect,
|
45 |
+
simulateTouch: true,
|
46 |
+
loop: true,
|
47 |
+
autoplay: {
|
48 |
+
delay: acfb_psdelay,
|
49 |
+
disableOnInteraction: false,
|
50 |
+
},
|
51 |
+
fadeEffect: {
|
52 |
+
crossFade: acfbCrossFade
|
53 |
+
},
|
54 |
+
|
55 |
+
|
56 |
+
// Responsive breakpoints
|
57 |
+
breakpoints: {
|
58 |
+
767: {
|
59 |
+
slidesPerView: 1,
|
60 |
+
}
|
61 |
+
},
|
62 |
+
|
63 |
+
// If we need pagination
|
64 |
+
pagination: {
|
65 |
+
el: '.swiper-pagination',
|
66 |
+
clickable: true,
|
67 |
+
},
|
68 |
+
|
69 |
+
// Navigation arrows
|
70 |
+
navigation: {
|
71 |
+
nextEl: '.acfb_button_next',
|
72 |
+
prevEl: '.acfb_button_prev',
|
73 |
+
},
|
74 |
+
|
75 |
+
|
76 |
+
}
|
77 |
+
|
78 |
+
if ( postSliderObj.slidesPerView === 1 ) {
|
79 |
+
delete postSliderObj.spaceBetween
|
80 |
+
}
|
81 |
+
|
82 |
+
|
83 |
+
if (!Bool(acfb_psautoplay)) {
|
84 |
+
delete postSliderObj.autoplay;
|
85 |
+
}
|
86 |
+
|
87 |
+
if (!Bool(acfb_psautoheight)) {
|
88 |
+
delete postSliderObj.autoHeight;
|
89 |
+
}
|
90 |
+
|
91 |
+
|
92 |
+
var postSlider = new Swiper($acfb_post_slider_script, postSliderObj);
|
93 |
+
postSlider.update();
|
94 |
+
}
|
95 |
+
|
96 |
+
// Initialize each block on page load (front end).
|
97 |
+
$(document).ready(function(){
|
98 |
+
|
99 |
+
$('.acfb_posts_slider_block').each(function(){
|
100 |
+
initializeBlock( $(this) );
|
101 |
+
});
|
102 |
+
|
103 |
+
const $container = $(this).find(".swiper-container")
|
104 |
+
|
105 |
+
// console.log($container.data());
|
106 |
+
});
|
107 |
+
|
108 |
+
// Initialize dynamic block preview (editor).
|
109 |
+
if( window.acf ) {
|
110 |
+
window.acf.addAction( 'render_block_preview/type=acfb-post-slider', initializeBlock );
|
111 |
+
}
|
112 |
+
|
113 |
+
})(jQuery);
|
js/post-ticker.js
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function($){
|
2 |
+
|
3 |
+
var initializeBlock = function( $block ) {
|
4 |
+
|
5 |
+
var acfb_tickerdelay = $($block).find(".swiper-container").data('tickerdelay') * 1000;
|
6 |
+
|
7 |
+
$acfb_post_ticker_slider_script = $block.find('.swiper-container');
|
8 |
+
|
9 |
+
var postTickerSliderObj = {
|
10 |
+
|
11 |
+
direction: 'horizontal',
|
12 |
+
slidesPerView: 1,
|
13 |
+
autoHeight: true,
|
14 |
+
loop: true,
|
15 |
+
autoplay: {
|
16 |
+
delay: acfb_tickerdelay,
|
17 |
+
},
|
18 |
+
|
19 |
+
|
20 |
+
navigation: {
|
21 |
+
nextEl: '.acfb-ticker-button-next',
|
22 |
+
prevEl: '.acfb-ticker-button-prev',
|
23 |
+
},
|
24 |
+
|
25 |
+
}
|
26 |
+
|
27 |
+
|
28 |
+
|
29 |
+
let mySwiper = new Swiper($acfb_post_ticker_slider_script, postTickerSliderObj);
|
30 |
+
|
31 |
+
mySwiper.update()
|
32 |
+
|
33 |
+
}
|
34 |
+
|
35 |
+
|
36 |
+
// Initialize each block on page load (front end).
|
37 |
+
$(document).ready(function(){
|
38 |
+
|
39 |
+
$('.acfb_post_ticker_block').each(function(){
|
40 |
+
initializeBlock( $(this) );
|
41 |
+
});
|
42 |
+
});
|
43 |
+
|
44 |
+
// Initialize dynamic block preview (editor).
|
45 |
+
if( window.acf ) {
|
46 |
+
window.acf.addAction( 'render_block_preview/type=acfb-post-ticker', initializeBlock );
|
47 |
+
}
|
48 |
+
|
49 |
+
})(jQuery);
|
js/skins.js
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
1 |
+
wp.blocks.registerBlockStyle( 'acf/acfb-pricingbox', {
|
2 |
+
name: 'red-title',
|
3 |
+
label: 'Red Title'
|
4 |
+
} );
|
js/swiper.min.js
CHANGED
File without changes
|
js/tabs.js
CHANGED
File without changes
|
js/toggle.js
CHANGED
File without changes
|
js/types/base.js
ADDED
@@ -0,0 +1,304 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
export default class BaseGalleryType {
|
2 |
+
constructor( settings ) {
|
3 |
+
this.settings = jQuery.extend( true, this.getDefaultSettings(), settings );
|
4 |
+
|
5 |
+
this.$container = jQuery( this.settings.container );
|
6 |
+
|
7 |
+
this.runGallery = this.debounce( this.runGallery.bind( this ), 300 );
|
8 |
+
|
9 |
+
this.initElements();
|
10 |
+
|
11 |
+
this.prepareGallery();
|
12 |
+
|
13 |
+
this.bindEvents();
|
14 |
+
}
|
15 |
+
|
16 |
+
getDefaultSettings() {
|
17 |
+
return {};
|
18 |
+
}
|
19 |
+
|
20 |
+
getItemClass( className ) {
|
21 |
+
return this.settings.classesPrefix + className;
|
22 |
+
}
|
23 |
+
|
24 |
+
initElements() {
|
25 |
+
this.elements = {
|
26 |
+
$window: jQuery( window ),
|
27 |
+
};
|
28 |
+
|
29 |
+
this.$container.addClass( this.getItemClass( this.settings.classes.container ) + ' ' + this.getItemClass( this.settings.type ) );
|
30 |
+
}
|
31 |
+
|
32 |
+
bindEvents() {
|
33 |
+
this.elements.$window.on( 'resize', this.runGallery );
|
34 |
+
}
|
35 |
+
|
36 |
+
getNestedObjectData( object, key ) {
|
37 |
+
const keyStack = key.split( '.' ),
|
38 |
+
currentKey = keyStack.splice( 0, 1 );
|
39 |
+
|
40 |
+
if ( ! keyStack.length ) {
|
41 |
+
return { object, key };
|
42 |
+
}
|
43 |
+
|
44 |
+
return this.getNestedObjectData( object[ currentKey ], keyStack.join( '.' ) );
|
45 |
+
}
|
46 |
+
|
47 |
+
getTemplateArgs( args, key ) {
|
48 |
+
const nestedObjectData = this.getNestedObjectData( args, key );
|
49 |
+
|
50 |
+
return nestedObjectData.object[ nestedObjectData.key ] || '';
|
51 |
+
}
|
52 |
+
|
53 |
+
getCurrentBreakpoint() {
|
54 |
+
const breakpoints = Object.keys( this.settings.breakpoints ).map( Number ).sort( ( a, b ) => a - b );
|
55 |
+
|
56 |
+
let currentBreakpoint = 0;
|
57 |
+
|
58 |
+
breakpoints.some( ( breakpoint ) => {
|
59 |
+
if ( innerWidth < breakpoint ) {
|
60 |
+
currentBreakpoint = breakpoint;
|
61 |
+
|
62 |
+
return true;
|
63 |
+
}
|
64 |
+
|
65 |
+
return false;
|
66 |
+
} );
|
67 |
+
|
68 |
+
return currentBreakpoint;
|
69 |
+
}
|
70 |
+
|
71 |
+
getCurrentDeviceSetting( settingKey ) {
|
72 |
+
const currentBreakpoint = this.getCurrentBreakpoint();
|
73 |
+
|
74 |
+
if ( currentBreakpoint ) {
|
75 |
+
return this.settings.breakpoints[ currentBreakpoint ][ settingKey ];
|
76 |
+
}
|
77 |
+
|
78 |
+
return this.settings[ settingKey ];
|
79 |
+
}
|
80 |
+
|
81 |
+
getActiveItems( returnIndexes = false ) {
|
82 |
+
const activeTags = this.settings.tags,
|
83 |
+
activeIndexes = [];
|
84 |
+
|
85 |
+
if ( ! activeTags.length ) {
|
86 |
+
return this.$items;
|
87 |
+
}
|
88 |
+
|
89 |
+
const filteredItems = this.$items.filter( ( index, item ) => {
|
90 |
+
let itemTags = item.dataset.eGalleryTags;
|
91 |
+
|
92 |
+
if ( ! itemTags ) {
|
93 |
+
return false;
|
94 |
+
}
|
95 |
+
|
96 |
+
itemTags = itemTags.split( /[ ,]+/ );
|
97 |
+
|
98 |
+
if ( activeTags.some( ( tag ) => itemTags.includes( tag ) ) ) {
|
99 |
+
if ( returnIndexes ) {
|
100 |
+
activeIndexes.push( index );
|
101 |
+
}
|
102 |
+
|
103 |
+
return true;
|
104 |
+
}
|
105 |
+
|
106 |
+
return false;
|
107 |
+
} );
|
108 |
+
|
109 |
+
if ( returnIndexes ) {
|
110 |
+
return activeIndexes;
|
111 |
+
}
|
112 |
+
|
113 |
+
return filteredItems;
|
114 |
+
}
|
115 |
+
|
116 |
+
getActiveImagesData( index ) {
|
117 |
+
if ( this.settings.tags.length ) {
|
118 |
+
const itemIndex = this.getActiveItems( true )[ index ];
|
119 |
+
return this.imagesData[ itemIndex ];
|
120 |
+
}
|
121 |
+
return this.imagesData[ index ];
|
122 |
+
}
|
123 |
+
|
124 |
+
compileTemplate( template, args ) {
|
125 |
+
return template.replace( /{{([^}]+)}}/g, ( match, placeholder ) => this.getTemplateArgs( args, placeholder.trim() ) );
|
126 |
+
}
|
127 |
+
|
128 |
+
createOverlay( overlayData ) {
|
129 |
+
const { classes, overlayTemplate } = this.settings,
|
130 |
+
$overlay = jQuery( '<div>', { class: this.getItemClass( classes.overlay ) } ),
|
131 |
+
overlayContent = this.compileTemplate( overlayTemplate, jQuery.extend( true, this.settings, overlayData ) );
|
132 |
+
|
133 |
+
$overlay.html( overlayContent );
|
134 |
+
|
135 |
+
return $overlay;
|
136 |
+
}
|
137 |
+
|
138 |
+
createItem( itemData ) {
|
139 |
+
const { classes } = this.settings,
|
140 |
+
$item = jQuery( '<div>', { class: this.getItemClass( classes.item ), 'data-e-gallery-tags': itemData.tags } ),
|
141 |
+
$image = jQuery( '<div>', { class: this.getItemClass( classes.image ) } ).css( 'background-image', 'url(' + itemData.thumbnail + ')' );
|
142 |
+
|
143 |
+
let $overlay;
|
144 |
+
|
145 |
+
if ( this.settings.overlay ) {
|
146 |
+
$overlay = this.createOverlay( itemData );
|
147 |
+
}
|
148 |
+
|
149 |
+
let $contentWrapper = $item;
|
150 |
+
|
151 |
+
if ( itemData.url ) {
|
152 |
+
$contentWrapper = jQuery( '<a>', { class: this.getItemClass( classes.link ), href: itemData.url } );
|
153 |
+
|
154 |
+
$item.html( $contentWrapper );
|
155 |
+
}
|
156 |
+
|
157 |
+
$contentWrapper.html( $image );
|
158 |
+
|
159 |
+
if ( $overlay ) {
|
160 |
+
$contentWrapper.append( $overlay );
|
161 |
+
}
|
162 |
+
|
163 |
+
return $item;
|
164 |
+
}
|
165 |
+
|
166 |
+
debounce( func, wait ) {
|
167 |
+
let timeout;
|
168 |
+
|
169 |
+
return function( ...args ) {
|
170 |
+
const context = this;
|
171 |
+
|
172 |
+
const later = () => {
|
173 |
+
timeout = null;
|
174 |
+
|
175 |
+
func.apply( context, args );
|
176 |
+
};
|
177 |
+
|
178 |
+
clearTimeout( timeout );
|
179 |
+
|
180 |
+
timeout = setTimeout( later, wait );
|
181 |
+
};
|
182 |
+
}
|
183 |
+
|
184 |
+
buildGallery() {
|
185 |
+
const { items } = this.settings;
|
186 |
+
|
187 |
+
this.$items = jQuery();
|
188 |
+
|
189 |
+
items.forEach( ( item ) => {
|
190 |
+
const $item = this.createItem( item );
|
191 |
+
|
192 |
+
this.$items = this.$items.add( $item );
|
193 |
+
|
194 |
+
this.$container.append( $item );
|
195 |
+
} );
|
196 |
+
}
|
197 |
+
|
198 |
+
calculateImageSize( image, index ) {
|
199 |
+
this.imagesData[ index ] = {
|
200 |
+
width: image.width,
|
201 |
+
height: image.height,
|
202 |
+
ratio: image.width / image.height,
|
203 |
+
};
|
204 |
+
}
|
205 |
+
|
206 |
+
loadImages() {
|
207 |
+
const allPromises = [];
|
208 |
+
|
209 |
+
this.imagesData = [];
|
210 |
+
|
211 |
+
if ( ! this.settings.items ) {
|
212 |
+
return;
|
213 |
+
}
|
214 |
+
|
215 |
+
this.settings.items.forEach( ( item, index ) => {
|
216 |
+
const image = new Image(),
|
217 |
+
promise = new Promise( ( resolve ) => {
|
218 |
+
image.onload = resolve;
|
219 |
+
} );
|
220 |
+
|
221 |
+
allPromises.push( promise );
|
222 |
+
|
223 |
+
promise.then( () => new Promise( ( resolve ) => {
|
224 |
+
this.calculateImageSize( image, index );
|
225 |
+
resolve();
|
226 |
+
} )
|
227 |
+
);
|
228 |
+
|
229 |
+
image.src = item.thumbnail;
|
230 |
+
} );
|
231 |
+
|
232 |
+
Promise.all( allPromises ).then( () => this.runGallery() );
|
233 |
+
}
|
234 |
+
|
235 |
+
makeGalleryFromContent() {
|
236 |
+
const { selectors } = this.settings,
|
237 |
+
items = [];
|
238 |
+
|
239 |
+
this.$items = this.$container.find( selectors.items );
|
240 |
+
|
241 |
+
if ( ! this.$items.length ) {
|
242 |
+
return;
|
243 |
+
}
|
244 |
+
|
245 |
+
this.$items.each( ( index, item ) => {
|
246 |
+
const $image = jQuery( item ).find( selectors.image ),
|
247 |
+
imageSource = $image.data( 'thumbnail' );
|
248 |
+
|
249 |
+
$image.css( 'background-image', `url("${ imageSource }")` );
|
250 |
+
|
251 |
+
items[ index ] = { thumbnail: imageSource };
|
252 |
+
} );
|
253 |
+
|
254 |
+
this.settings.items = items;
|
255 |
+
}
|
256 |
+
|
257 |
+
prepareGallery() {
|
258 |
+
if ( this.settings.items ) {
|
259 |
+
this.buildGallery();
|
260 |
+
} else {
|
261 |
+
this.makeGalleryFromContent();
|
262 |
+
}
|
263 |
+
|
264 |
+
this.loadImages();
|
265 |
+
}
|
266 |
+
|
267 |
+
runGallery( refresh ) {
|
268 |
+
if ( ! this.settings.items ) {
|
269 |
+
return;
|
270 |
+
}
|
271 |
+
|
272 |
+
const containerStyle = this.$container[ 0 ].style;
|
273 |
+
|
274 |
+
containerStyle.setProperty( '--hgap', this.getCurrentDeviceSetting( 'horizontalGap' ) + 'px' );
|
275 |
+
containerStyle.setProperty( '--vgap', this.getCurrentDeviceSetting( 'verticalGap' ) + 'px' );
|
276 |
+
containerStyle.setProperty( '--animation-duration', this.settings.animationDuration + 'ms' );
|
277 |
+
|
278 |
+
this.$items.hide();
|
279 |
+
|
280 |
+
this.getActiveItems().show();
|
281 |
+
|
282 |
+
this.run( refresh );
|
283 |
+
}
|
284 |
+
|
285 |
+
setSettings( key, value ) {
|
286 |
+
const nestedObjectData = this.getNestedObjectData( this.settings, key );
|
287 |
+
|
288 |
+
if ( nestedObjectData.object ) {
|
289 |
+
nestedObjectData.object[ nestedObjectData.key ] = value;
|
290 |
+
|
291 |
+
this.runGallery( true );
|
292 |
+
}
|
293 |
+
}
|
294 |
+
|
295 |
+
unbindEvents() {
|
296 |
+
this.elements.$window.off( 'resize', this.runGallery );
|
297 |
+
}
|
298 |
+
|
299 |
+
destroy() {
|
300 |
+
this.unbindEvents();
|
301 |
+
|
302 |
+
this.$container.empty();
|
303 |
+
}
|
304 |
+
}
|
js/types/grid.js
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import BaseGalleryType from './base';
|
2 |
+
|
3 |
+
export default class Grid extends BaseGalleryType {
|
4 |
+
getDefaultSettings() {
|
5 |
+
return {
|
6 |
+
aspectRatio: '16:9',
|
7 |
+
};
|
8 |
+
}
|
9 |
+
|
10 |
+
setItemsPosition() {
|
11 |
+
const columns = this.getCurrentDeviceSetting( 'columns' );
|
12 |
+
|
13 |
+
this.getActiveItems().each( ( index, item ) => {
|
14 |
+
item.style.setProperty( '--column', index % columns );
|
15 |
+
item.style.setProperty( '--row', Math.floor( index / columns ) );
|
16 |
+
} );
|
17 |
+
}
|
18 |
+
|
19 |
+
setContainerSize() {
|
20 |
+
const columns = this.getCurrentDeviceSetting( 'columns' ),
|
21 |
+
rows = Math.ceil( this.settings.items.length / columns ),
|
22 |
+
containerStyle = this.$container[ 0 ].style;
|
23 |
+
|
24 |
+
containerStyle.setProperty( '--columns', columns );
|
25 |
+
|
26 |
+
containerStyle.setProperty( '--rows', rows );
|
27 |
+
|
28 |
+
const itemWidth = this.getActiveItems().width(),
|
29 |
+
aspectRatio = this.settings.aspectRatio.split( ':' ),
|
30 |
+
aspectRatioPercents = aspectRatio[ 1 ] / aspectRatio[ 0 ],
|
31 |
+
itemHeight = aspectRatioPercents * itemWidth,
|
32 |
+
totalHeight = itemHeight * rows + ( this.getCurrentDeviceSetting( 'horizontalGap' ) * ( rows - 1 ) ),
|
33 |
+
calculatedAspectRatio = totalHeight / this.$container.width() * 100;
|
34 |
+
|
35 |
+
containerStyle.setProperty( '--aspect-ratio', ( aspectRatioPercents * 100 ) + '%' );
|
36 |
+
containerStyle.setProperty( '--container-aspect-ratio', calculatedAspectRatio + '%' );
|
37 |
+
}
|
38 |
+
|
39 |
+
run() {
|
40 |
+
const animatedClass = this.getItemClass( this.settings.classes.animated );
|
41 |
+
|
42 |
+
this.$container.addClass( animatedClass );
|
43 |
+
|
44 |
+
setTimeout( () => {
|
45 |
+
this.setItemsPosition();
|
46 |
+
|
47 |
+
this.setContainerSize();
|
48 |
+
|
49 |
+
setTimeout( () => this.$container.removeClass( animatedClass ), this.settings.animationDuration );
|
50 |
+
}, 100 );
|
51 |
+
}
|
52 |
+
}
|
js/types/justified.js
ADDED
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import BaseGalleryType from './base';
|
2 |
+
|
3 |
+
export default class Justified extends BaseGalleryType {
|
4 |
+
getDefaultSettings() {
|
5 |
+
return {
|
6 |
+
idealRowHeight: 200,
|
7 |
+
lastRow: 'auto',
|
8 |
+
breakpoints: {
|
9 |
+
1024: {
|
10 |
+
idealRowHeight: 150,
|
11 |
+
},
|
12 |
+
768: {
|
13 |
+
idealRowHeight: 100,
|
14 |
+
},
|
15 |
+
},
|
16 |
+
};
|
17 |
+
}
|
18 |
+
|
19 |
+
run() {
|
20 |
+
this.rowsHeights = [];
|
21 |
+
|
22 |
+
this.rowsCount = 0;
|
23 |
+
|
24 |
+
this.containerWidth = this.$container.width();
|
25 |
+
|
26 |
+
this.makeJustifiedRow( 0 );
|
27 |
+
}
|
28 |
+
|
29 |
+
makeJustifiedRow( startIndex ) {
|
30 |
+
let oldRowWidth = 0;
|
31 |
+
|
32 |
+
for ( let index = startIndex; ; index++ ) {
|
33 |
+
const imageData = this.getActiveImagesData( index );
|
34 |
+
|
35 |
+
if ( 'undefined' === typeof imageData ) {
|
36 |
+
break;
|
37 |
+
}
|
38 |
+
|
39 |
+
let itemComputedWidth = Math.round( this.getCurrentDeviceSetting( 'idealRowHeight' ) * imageData.ratio );
|
40 |
+
|
41 |
+
if ( itemComputedWidth > this.containerWidth ) {
|
42 |
+
itemComputedWidth = this.containerWidth;
|
43 |
+
}
|
44 |
+
|
45 |
+
const newRowWidth = oldRowWidth + itemComputedWidth;
|
46 |
+
|
47 |
+
if ( newRowWidth > this.containerWidth ) {
|
48 |
+
const oldDiff = this.containerWidth - oldRowWidth,
|
49 |
+
newDiff = newRowWidth - this.containerWidth;
|
50 |
+
|
51 |
+
if ( oldDiff < newDiff ) {
|
52 |
+
this.fitImagesInContainer( startIndex, index, oldRowWidth );
|
53 |
+
|
54 |
+
this.rowsCount++;
|
55 |
+
|
56 |
+
this.makeJustifiedRow( index );
|
57 |
+
|
58 |
+
break;
|
59 |
+
}
|
60 |
+
}
|
61 |
+
|
62 |
+
const isLastItem = index === this.getActiveItems().length - 1;
|
63 |
+
|
64 |
+
imageData.computedWidth = itemComputedWidth;
|
65 |
+
|
66 |
+
if ( isLastItem ) {
|
67 |
+
const lastRowMode = this.getCurrentDeviceSetting( 'lastRow' );
|
68 |
+
|
69 |
+
if ( 'hide' !== lastRowMode ) {
|
70 |
+
const totalRowWidth = 'fit' === lastRowMode || 0.7 <= newRowWidth / this.containerWidth ? newRowWidth : this.containerWidth;
|
71 |
+
|
72 |
+
this.fitImagesInContainer( startIndex, index + 1, totalRowWidth );
|
73 |
+
}
|
74 |
+
|
75 |
+
this.inflateGalleryHeight();
|
76 |
+
|
77 |
+
break;
|
78 |
+
}
|
79 |
+
|
80 |
+
oldRowWidth = newRowWidth;
|
81 |
+
}
|
82 |
+
}
|
83 |
+
|
84 |
+
fitImagesInContainer( startIndex, endIndex, rowWidth ) {
|
85 |
+
const gapCount = endIndex - startIndex - 1,
|
86 |
+
$items = this.getActiveItems();
|
87 |
+
|
88 |
+
let aggregatedWidth = 0;
|
89 |
+
|
90 |
+
for ( let index = startIndex; index < endIndex; index++ ) {
|
91 |
+
const imageData = this.getActiveImagesData( index );
|
92 |
+
|
93 |
+
if ( 'undefined' === typeof imageData ) {
|
94 |
+
break;
|
95 |
+
}
|
96 |
+
|
97 |
+
const percentWidth = imageData.computedWidth / rowWidth,
|
98 |
+
item = $items.get( index ),
|
99 |
+
firstRowItemClass = this.getItemClass( this.settings.classes.firstRowItem );
|
100 |
+
|
101 |
+
item.style.setProperty( '--item-width', percentWidth );
|
102 |
+
item.style.setProperty( '--gap-count', gapCount );
|
103 |
+
item.style.setProperty( '--item-height', ( ( imageData.height / imageData.width ) * 100 ) + '%' );
|
104 |
+
item.style.setProperty( '--item-left', aggregatedWidth );
|
105 |
+
item.style.setProperty( '--item-row-index', index - startIndex );
|
106 |
+
|
107 |
+
aggregatedWidth += percentWidth;
|
108 |
+
|
109 |
+
if ( index === startIndex ) {
|
110 |
+
item.classList.add( firstRowItemClass );
|
111 |
+
|
112 |
+
const imagePxWidth = percentWidth * ( this.containerWidth - ( gapCount * this.getCurrentDeviceSetting( 'horizontalGap' ) ) );
|
113 |
+
|
114 |
+
this.rowsHeights.push( imagePxWidth / imageData.ratio );
|
115 |
+
} else {
|
116 |
+
item.classList.remove( firstRowItemClass );
|
117 |
+
}
|
118 |
+
}
|
119 |
+
}
|
120 |
+
|
121 |
+
inflateGalleryHeight() {
|
122 |
+
const totalRowsHeight = this.rowsHeights.reduce( ( total, item ) => total + item ),
|
123 |
+
finalContainerHeight = totalRowsHeight + this.rowsCount * this.getCurrentDeviceSetting( 'verticalGap' ),
|
124 |
+
containerAspectRatio = finalContainerHeight / this.containerWidth,
|
125 |
+
percentRowsHeights = this.rowsHeights.map( ( rowHeight ) => rowHeight / finalContainerHeight * 100 );
|
126 |
+
|
127 |
+
let currentRow = -1,
|
128 |
+
accumulatedTop = 0;
|
129 |
+
|
130 |
+
this.getActiveItems().each( ( index, item ) => {
|
131 |
+
const itemRowIndex = item.style.getPropertyValue( '--item-row-index' ),
|
132 |
+
isFirstItem = '0' === itemRowIndex;
|
133 |
+
|
134 |
+
if ( isFirstItem ) {
|
135 |
+
currentRow++;
|
136 |
+
|
137 |
+
if ( currentRow ) {
|
138 |
+
accumulatedTop += percentRowsHeights[ currentRow - 1 ];
|
139 |
+
}
|
140 |
+
}
|
141 |
+
|
142 |
+
item.style.setProperty( '--item-top', accumulatedTop + '%' );
|
143 |
+
item.style.setProperty( '--item-height', percentRowsHeights[ currentRow ] + '%' );
|
144 |
+
item.style.setProperty( '--row', currentRow );
|
145 |
+
} );
|
146 |
+
|
147 |
+
this.$container[ 0 ].style.setProperty( '--container-aspect-ratio', containerAspectRatio );
|
148 |
+
}
|
149 |
+
}
|
js/types/masonry.js
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import BaseGalleryType from './base';
|
2 |
+
|
3 |
+
export default class Masonry extends BaseGalleryType {
|
4 |
+
run( refresh ) {
|
5 |
+
const currentBreakpoint = this.getCurrentBreakpoint();
|
6 |
+
|
7 |
+
if ( ! refresh && currentBreakpoint === this.currentBreakpoint ) {
|
8 |
+
return;
|
9 |
+
}
|
10 |
+
|
11 |
+
this.currentBreakpoint = currentBreakpoint;
|
12 |
+
|
13 |
+
const heights = [],
|
14 |
+
aggregatedHeights = [],
|
15 |
+
columns = this.getCurrentDeviceSetting( 'columns' ),
|
16 |
+
containerWidth = this.$container.width(),
|
17 |
+
horizontalGap = this.getCurrentDeviceSetting( 'horizontalGap' ),
|
18 |
+
itemWidth = ( containerWidth - ( horizontalGap * ( columns - 1 ) ) ) / columns,
|
19 |
+
$items = this.getActiveItems();
|
20 |
+
|
21 |
+
if ( ! $items ) {
|
22 |
+
return;
|
23 |
+
}
|
24 |
+
|
25 |
+
$items.each( ( index, item ) => {
|
26 |
+
const row = Math.floor( index / columns ),
|
27 |
+
indexAtRow = index % columns,
|
28 |
+
imageData = this.getActiveImagesData( index );
|
29 |
+
|
30 |
+
if ( 'undefined' === typeof imageData ) {
|
31 |
+
return;
|
32 |
+
}
|
33 |
+
const itemHeight = itemWidth / imageData.ratio;
|
34 |
+
|
35 |
+
item.style.setProperty( '--item-height', ( imageData.height / imageData.width * 100 ) + '%' );
|
36 |
+
item.style.setProperty( '--column', indexAtRow );
|
37 |
+
|
38 |
+
if ( row ) {
|
39 |
+
aggregatedHeights[ index ] = heights[ indexAtRow ];
|
40 |
+
|
41 |
+
heights[ indexAtRow ] += itemHeight;
|
42 |
+
} else {
|
43 |
+
heights.push( itemHeight );
|
44 |
+
}
|
45 |
+
} );
|
46 |
+
|
47 |
+
const highestColumn = Math.max( ...heights ),
|
48 |
+
highestColumnIndex = heights.indexOf( highestColumn ),
|
49 |
+
rows = Math.floor( this.settings.items.length / columns ),
|
50 |
+
rowsRemainder = this.settings.items.length % columns,
|
51 |
+
highestColumnsGapsCount = rowsRemainder > highestColumnIndex ? rows : rows - 1,
|
52 |
+
containerAspectRatio = highestColumn / containerWidth;
|
53 |
+
|
54 |
+
this.$container[ 0 ].style.setProperty( '--columns', columns );
|
55 |
+
this.$container[ 0 ].style.setProperty( '--highest-column-gap-count', highestColumnsGapsCount );
|
56 |
+
|
57 |
+
this.$container.css( 'padding-bottom', ( containerAspectRatio * 100 ) + '%' );
|
58 |
+
|
59 |
+
$items.each( ( index, item ) => {
|
60 |
+
const percentHeight = aggregatedHeights[ index ] ? aggregatedHeights[ index ] / highestColumn * 100 : 0,
|
61 |
+
row = Math.floor( index / columns );
|
62 |
+
|
63 |
+
item.style.setProperty( '--percent-height', percentHeight + '%' );
|
64 |
+
item.style.setProperty( '--row', row );
|
65 |
+
} );
|
66 |
+
}
|
67 |
+
}
|
readme.txt
CHANGED
@@ -1,26 +1,28 @@
|
|
1 |
=== Gutenberg Blocks - ACF Blocks Suite ===
|
2 |
Contributors: munirkamal
|
3 |
-
Tags: block,
|
4 |
Requires at least: 4.7
|
5 |
Requires PHP: 5.6
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
Supercharge your Gutenberg editor with high-quality
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
<strong>ACF Blocks - Ready to use Gutenberg Blocks</strong>
|
16 |
|
17 |
-
ACF Blocks is a collection of ready-to-use Gutenberg Blocks for WordPress. Supercharge your Gutenberg editor with high-quality
|
|
|
|
|
18 |
|
19 |
<strong>An Ultimate Gutenberg Blocks Suite</strong>
|
20 |
-
<
|
21 |
-
<li>Scrollable Image
|
22 |
-
<li>Tab Block
|
23 |
-
<li>Toggle Block
|
24 |
<li>Accordion Block</li>
|
25 |
<li>Image Slider Block</li>
|
26 |
<li>Social Sharing Block</li>
|
@@ -35,35 +37,41 @@ ACF Blocks is a collection of ready-to-use Gutenberg Blocks for WordPress. Super
|
|
35 |
<li>Progress Bar Block</li>
|
36 |
<li>Counter Number Block</li>
|
37 |
<li>Click to tweet Block</li>
|
38 |
-
</
|
39 |
|
40 |
-
== ACF Blocks Pro
|
41 |
|
42 |
-
|
43 |
|
44 |
-
|
45 |
|
46 |
-
<
|
47 |
<li>Flip Box Block</li>
|
48 |
-
<li>Timeline Block</li>
|
49 |
<li>Image Accordion Block</li>
|
50 |
<li>Call To Action Block</li>
|
51 |
<li>Before After Image Block</li>
|
52 |
<li>Image Hotspot Block</li>
|
53 |
-
<li>
|
54 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
|
56 |
-
Subscribe to
|
57 |
|
58 |
<strong>Many More Blocks On The Way!</strong>
|
59 |
|
60 |
Visit <a href="https://www.acfblocks.com/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme" target="_blank" rel="">ACF Blocks</a> for more info.
|
61 |
|
62 |
-
<strong>Important Note:</strong> ACF Blocks is built on-top of Advanced Custom Fields Pro. This plugin
|
63 |
|
64 |
== Installation ==
|
65 |
|
66 |
-
<strong>Important Note:</strong> ACF Blocks is built on-top of Advanced Custom Fields Pro. This plugin requires ACF Pro to function
|
67 |
|
68 |
1. Install ACF Blocks either via the WordPress plugin directory or by uploading the files to your server at wp-content/plugins.
|
69 |
|
@@ -89,16 +97,47 @@ Absolutely! You can definitely use the ACF Blocks on yours as well as your clien
|
|
89 |
|
90 |
== Screenshots ==
|
91 |
|
92 |
-
1.
|
93 |
|
94 |
-
2.
|
95 |
|
96 |
-
3.
|
97 |
-
|
98 |
-
4.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
|
100 |
== Changelog ==
|
101 |
|
|
|
|
|
|
|
|
|
|
|
102 |
= 1.6.0 =
|
103 |
* New: Scrollable Image Block Added
|
104 |
|
1 |
=== Gutenberg Blocks - ACF Blocks Suite ===
|
2 |
Contributors: munirkamal
|
3 |
+
Tags: block, gutenberg block, acf block, gutenberg, acf, editor
|
4 |
Requires at least: 4.7
|
5 |
Requires PHP: 5.6
|
6 |
+
Tested up to: 5.3
|
7 |
+
Stable tag: 1.7.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Supercharge your Gutenberg editor with high-quality creative Gutenberg Blocks. Ready-to-use ACF Blocks!
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
<strong>ACF Blocks - Ready to use Gutenberg Blocks</strong>
|
16 |
|
17 |
+
ACF Blocks is a collection of ready-to-use Gutenberg Blocks for WordPress. Supercharge your Gutenberg editor with high-quality creative WordPress blocks. This Gutenberg addon helps you make a beautiful WordPress website.
|
18 |
+
|
19 |
+
<a href="https://www.acfblocks.com/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme" target="_blank" rel="">Checkout Live ACF Blocks Demos.</a>
|
20 |
|
21 |
<strong>An Ultimate Gutenberg Blocks Suite</strong>
|
22 |
+
<ol>
|
23 |
+
<li>Scrollable Image Block</li>
|
24 |
+
<li>Tab Block</li>
|
25 |
+
<li>Toggle Block</li>
|
26 |
<li>Accordion Block</li>
|
27 |
<li>Image Slider Block</li>
|
28 |
<li>Social Sharing Block</li>
|
37 |
<li>Progress Bar Block</li>
|
38 |
<li>Counter Number Block</li>
|
39 |
<li>Click to tweet Block</li>
|
40 |
+
</ol>
|
41 |
|
42 |
+
== ACF Blocks Pro Brings More Power ==
|
43 |
|
44 |
+
ACF Blocks Pro is here. It brings more amazing Gutenberg blocks to the free plugin (which will also continue to get better) and power it up with features that make it the best #ACFBlocks plugin. You will also get premium support with the Pro.
|
45 |
|
46 |
+
Have a Sneak-peek to ACF Pro Blocks.
|
47 |
|
48 |
+
<ol>
|
49 |
<li>Flip Box Block</li>
|
50 |
+
<li>Content Timeline Block</li>
|
51 |
<li>Image Accordion Block</li>
|
52 |
<li>Call To Action Block</li>
|
53 |
<li>Before After Image Block</li>
|
54 |
<li>Image Hotspot Block</li>
|
55 |
+
<li>Devices Block</li>
|
56 |
+
<li>Shape Divider Block</li>
|
57 |
+
<li>Post Ticker Block</li>
|
58 |
+
<li>Post Tiled Block</li>
|
59 |
+
<li>Post Timeline Block</li>
|
60 |
+
<li>Post Slider Block</li>
|
61 |
+
<li>Many more to come...</li>
|
62 |
+
</ol>
|
63 |
|
64 |
+
Subscribe to get notified with the updates and any important announcements. <a href="http://acfblocks.com/subscribe" target="_blank" rel="">Subscribe Me</a>.
|
65 |
|
66 |
<strong>Many More Blocks On The Way!</strong>
|
67 |
|
68 |
Visit <a href="https://www.acfblocks.com/?utm_source=wp-repo&utm_medium=link&utm_campaign=readme" target="_blank" rel="">ACF Blocks</a> for more info.
|
69 |
|
70 |
+
<strong>Important Note:</strong> ACF Blocks is built on-top of Advanced Custom Fields Pro. This plugin requires ACF Pro to function. Make sure you have ACF Pro installed and activated.
|
71 |
|
72 |
== Installation ==
|
73 |
|
74 |
+
<strong>Important Note:</strong> ACF Blocks is built on-top of Advanced Custom Fields Pro. This plugin requires ACF Pro to function. Make sure you have ACF Pro installed and activated.
|
75 |
|
76 |
1. Install ACF Blocks either via the WordPress plugin directory or by uploading the files to your server at wp-content/plugins.
|
77 |
|
97 |
|
98 |
== Screenshots ==
|
99 |
|
100 |
+
1. Testimonial Block
|
101 |
|
102 |
+
2. Team Block
|
103 |
|
104 |
+
3. Multi Buttons Block
|
105 |
+
|
106 |
+
4. Pricing Box Block
|
107 |
+
|
108 |
+
5. Star Rating Block
|
109 |
+
|
110 |
+
6. Progress Bar Block
|
111 |
+
|
112 |
+
7. Counter Number Block
|
113 |
+
|
114 |
+
8. Price List Block
|
115 |
+
|
116 |
+
9. Click To Tweet Block
|
117 |
+
|
118 |
+
10. Posts Block
|
119 |
+
|
120 |
+
11. Photo Collage Block
|
121 |
+
|
122 |
+
12. Social Sharing Block
|
123 |
+
|
124 |
+
13. Image Slider Block
|
125 |
+
|
126 |
+
14. Tabs Block
|
127 |
+
|
128 |
+
15. Toggle Block
|
129 |
+
|
130 |
+
16. Accordion Block
|
131 |
+
|
132 |
+
17. Scrollable Image Block
|
133 |
|
134 |
== Changelog ==
|
135 |
|
136 |
+
= 1.7.0 =
|
137 |
+
* New: Template Overide Feature
|
138 |
+
* Bug Fixes & Code improvement
|
139 |
+
* ACF Blocks Pro Released
|
140 |
+
|
141 |
= 1.6.0 =
|
142 |
* New: Scrollable Image Block Added
|
143 |
|