Gutenberg Blocks – ACF Blocks Suite - Version 1.0.0

Version Description

  • Initial Release with 9 Blocks.
Download this release

Release Info

Developer munirkamal
Plugin Icon 128x128 Gutenberg Blocks – ACF Blocks Suite
Version 1.0.0
Comparing to
See all releases

Version 1.0.0

Files changed (78) hide show
  1. acf-blocks.php +235 -0
  2. acf-json/group_5cbd743876860.json +297 -0
  3. acf-json/group_5cbd9e696a100.json +324 -0
  4. acf-json/group_5cbdba3909312.json +193 -0
  5. acf-json/group_5cbdd1a0caf81.json +575 -0
  6. acf-json/group_5cc04e691b1a8.json +201 -0
  7. acf-json/group_5cc6b8e86e751.json +234 -0
  8. acf-json/group_5cc6cf92e231a.json +205 -0
  9. acf-json/group_5cc6dfe67784b.json +332 -0
  10. acf-json/group_5cc7092c01eb4.json +214 -0
  11. acf-json/index.php +3 -0
  12. block-templates/click-to-tweet.php +40 -0
  13. block-templates/counter-number.php +24 -0
  14. block-templates/multi-buttons.php +40 -0
  15. block-templates/price-list.php +50 -0
  16. block-templates/pricing-box.php +80 -0
  17. block-templates/progress-bar.php +32 -0
  18. block-templates/star-rating.php +33 -0
  19. block-templates/team.php +54 -0
  20. block-templates/testimonial.php +58 -0
  21. css/acfblocks.css +265 -0
  22. freemius/.gitignore +11 -0
  23. freemius/LICENSE.txt +674 -0
  24. freemius/README.md +253 -0
  25. freemius/assets/css/admin/account.css +1 -0
  26. freemius/assets/css/admin/add-ons.css +2 -0
  27. freemius/assets/css/admin/affiliation.css +1 -0
  28. freemius/assets/css/admin/checkout.css +1 -0
  29. freemius/assets/css/admin/common.css +2 -0
  30. freemius/assets/css/admin/connect.css +1 -0
  31. freemius/assets/css/admin/debug.css +1 -0
  32. freemius/assets/css/admin/dialog-boxes.css +2 -0
  33. freemius/assets/css/admin/gdpr-optin-notice.css +1 -0
  34. freemius/assets/css/admin/index.php +3 -0
  35. freemius/assets/css/customizer.css +1 -0
  36. freemius/assets/css/index.php +3 -0
  37. freemius/assets/img/index.php +3 -0
  38. freemius/assets/img/plugin-icon.png +0 -0
  39. freemius/assets/img/theme-icon.png +0 -0
  40. freemius/assets/index.php +3 -0
  41. freemius/assets/js/index.php +3 -0
  42. freemius/assets/js/nojquery.ba-postmessage.js +140 -0
  43. freemius/assets/js/nojquery.ba-postmessage.min.js +12 -0
  44. freemius/assets/js/postmessage.js +135 -0
  45. freemius/assets/scss/_colors.scss +79 -0
  46. freemius/assets/scss/_functions.scss +0 -0
  47. freemius/assets/scss/_load.scss +4 -0
  48. freemius/assets/scss/_mixins.scss +270 -0
  49. freemius/assets/scss/_start.scss +4 -0
  50. freemius/assets/scss/_vars.scss +6 -0
  51. freemius/assets/scss/admin/_ajax-loader.scss +49 -0
  52. freemius/assets/scss/admin/_auto-install.scss +33 -0
  53. freemius/assets/scss/admin/_buttons.scss +28 -0
  54. freemius/assets/scss/admin/_deactivation-feedback.scss +55 -0
  55. freemius/assets/scss/admin/_gdpr-consent.scss +81 -0
  56. freemius/assets/scss/admin/_license-activation.scss +47 -0
  57. freemius/assets/scss/admin/_license-key-resend.scss +68 -0
  58. freemius/assets/scss/admin/_modal-common.scss +194 -0
  59. freemius/assets/scss/admin/_multisite-options.scss +40 -0
  60. freemius/assets/scss/admin/_plugin-upgrade-notice.scss +8 -0
  61. freemius/assets/scss/admin/_subscription-cancellation.scss +30 -0
  62. freemius/assets/scss/admin/_themes.scss +21 -0
  63. freemius/assets/scss/admin/_tooltip.scss +66 -0
  64. freemius/assets/scss/admin/account.scss +302 -0
  65. freemius/assets/scss/admin/add-ons.scss +449 -0
  66. freemius/assets/scss/admin/affiliation.scss +97 -0
  67. freemius/assets/scss/admin/checkout.scss +5 -0
  68. freemius/assets/scss/admin/common.scss +220 -0
  69. freemius/assets/scss/admin/connect.scss +548 -0
  70. freemius/assets/scss/admin/debug.scss +135 -0
  71. freemius/assets/scss/admin/dialog-boxes.scss +10 -0
  72. freemius/assets/scss/admin/gdpr-optin-notice.scss +17 -0
  73. freemius/assets/scss/admin/index.php +3 -0
  74. freemius/assets/scss/customizer.scss +125 -0
  75. freemius/assets/scss/index.php +3 -0
  76. freemius/config.php +388 -0
  77. freemius/includes/class-freemius-abstract.php +597 -0
  78. freemius/includes/class-freemius.php +18337 -0
acf-blocks.php ADDED
@@ -0,0 +1,235 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.0.0
7
+ * Author: munirkamal
8
+ * Author URI: https://munirkamal.wordpress.com
9
+ * License: GPL2
10
+ * License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
+ * Text Domain: acfb
12
+ * Domain Path: /languages
13
+ */
14
+
15
+ // Freemius
16
+ if ( ! function_exists( 'acfb_fs' ) ) {
17
+ // Create a helper function for easy SDK access.
18
+ function acfb_fs() {
19
+ global $acfb_fs;
20
+
21
+ if ( ! isset( $acfb_fs ) ) {
22
+ // Include Freemius SDK.
23
+ require_once dirname(__FILE__) . '/freemius/start.php';
24
+
25
+ $acfb_fs = fs_dynamic_init( array(
26
+ 'id' => '3703',
27
+ 'slug' => 'acf-blocks',
28
+ 'type' => 'plugin',
29
+ 'public_key' => 'pk_5e62b729dd843294873241dcc6402',
30
+ 'is_premium' => false,
31
+ 'has_addons' => false,
32
+ 'has_paid_plans' => false,
33
+ 'menu' => array(
34
+ 'first-path' => 'plugins.php',
35
+ 'account' => false,
36
+ 'support' => false,
37
+ ),
38
+ ) );
39
+ }
40
+
41
+ return $acfb_fs;
42
+ }
43
+
44
+ // Init Freemius.
45
+ acfb_fs();
46
+ // Signal that SDK was initiated.
47
+ do_action( 'acfb_fs_loaded' );
48
+ }
49
+
50
+
51
+ // Add Custom Blocks Panel in Gutenberg
52
+ function acfb_block_categories( $categories, $post ) {
53
+ return array_merge(
54
+ $categories,
55
+ array(
56
+ array(
57
+ 'slug' => 'acfb-blocks',
58
+ 'title' => __( 'ACF Blocks', 'acfblocks-master' ),
59
+ ),
60
+ )
61
+ );
62
+ }
63
+ add_filter( 'block_categories', 'acfb_block_categories', 10, 2 );
64
+
65
+
66
+ // Register Blocks
67
+ add_action('acf/init', 'acfb_blocks');
68
+ function acfb_blocks() {
69
+
70
+ // check function exists.
71
+ if( function_exists('acf_register_block') ) {
72
+
73
+ // register a testimonial block.
74
+ acf_register_block(array(
75
+ 'name' => 'acfb-testimonial',
76
+ 'mode' => 'preview',
77
+ 'title' => __('Testimonial'),
78
+ 'description' => __('Let others know what your clients or customers say about you.'),
79
+ 'render_template' => plugin_dir_path( __FILE__ ) . 'block-templates/testimonial.php',
80
+ 'category' => 'acfb-blocks',
81
+ '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>',
82
+ 'enqueue_assets' => function(){
83
+ wp_enqueue_style( 'acfb-blocks-css', plugin_dir_url( __FILE__ ) . 'css/acfblocks.css' );
84
+ },
85
+ ));
86
+
87
+ // register a team block.
88
+ acf_register_block(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(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(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(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(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(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/acfblocks.js', array('jquery'), '', false );
171
+ },
172
+ ));
173
+
174
+ // register a Price List block.
175
+ acf_register_block(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(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
+ }
206
+
207
+
208
+
209
+
210
+ add_filter('acf/settings/save_json', 'acfb_json_save_point');
211
+ function acfb_json_save_point( $acfb_path ) {
212
+
213
+ // update path
214
+ $acfb_path = plugin_dir_path( __FILE__ ) . '/acf-json';
215
+
216
+ // return
217
+ return $acfb_path;
218
+
219
+ }
220
+
221
+
222
+ add_filter('acf/settings/load_json', 'acfb_json_load_point');
223
+ function acfb_json_load_point( $acfb_path ) {
224
+
225
+ // remove original path (optional)
226
+ unset($acfb_path[0]);
227
+
228
+ // append path
229
+ $acfb_path[] = plugin_dir_path( __FILE__ ) . '/acf-json';
230
+
231
+ // return
232
+ return $acfb_path;
233
+
234
+ }
235
+
acf-json/group_5cbd743876860.json ADDED
@@ -0,0 +1,297 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "group_5cbd743876860",
3
+ "title": "Testimonials Block",
4
+ "private" : true,
5
+ "fields": [
6
+ {
7
+ "key": "field_5cc81f63ae3fb",
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_5cbd749b53ab6",
24
+ "label": "Text",
25
+ "name": "acfb_testimonial_text",
26
+ "type": "textarea",
27
+ "instructions": "",
28
+ "required": 0,
29
+ "conditional_logic": 0,
30
+ "wrapper": {
31
+ "width": "",
32
+ "class": "",
33
+ "id": ""
34
+ },
35
+ "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",
36
+ "placeholder": "",
37
+ "maxlength": "",
38
+ "rows": "",
39
+ "new_lines": ""
40
+ },
41
+ {
42
+ "key": "field_5cbd74eb53ab7",
43
+ "label": "Image",
44
+ "name": "acfb_testimonial_image",
45
+ "type": "image",
46
+ "instructions": "",
47
+ "required": 0,
48
+ "conditional_logic": 0,
49
+ "wrapper": {
50
+ "width": "",
51
+ "class": "",
52
+ "id": ""
53
+ },
54
+ "return_format": "url",
55
+ "preview_size": "thumbnail",
56
+ "library": "all",
57
+ "min_width": "",
58
+ "min_height": "",
59
+ "min_size": "",
60
+ "max_width": "",
61
+ "max_height": "",
62
+ "max_size": "",
63
+ "mime_types": ""
64
+ },
65
+ {
66
+ "key": "field_5cbd844b488e6",
67
+ "label": "Image Alt",
68
+ "name": "acfb_testimonial_image_alt",
69
+ "type": "text",
70
+ "instructions": "",
71
+ "required": 0,
72
+ "conditional_logic": 0,
73
+ "wrapper": {
74
+ "width": "",
75
+ "class": "",
76
+ "id": ""
77
+ },
78
+ "default_value": "Avatar",
79
+ "placeholder": "Avatar",
80
+ "prepend": "",
81
+ "append": "",
82
+ "maxlength": ""
83
+ },
84
+ {
85
+ "key": "field_5cbd752e53ab8",
86
+ "label": "Name",
87
+ "name": "acfb_testimonial_name",
88
+ "type": "text",
89
+ "instructions": "",
90
+ "required": 0,
91
+ "conditional_logic": 0,
92
+ "wrapper": {
93
+ "width": "",
94
+ "class": "",
95
+ "id": ""
96
+ },
97
+ "default_value": "Name Here",
98
+ "placeholder": "Name Here",
99
+ "prepend": "",
100
+ "append": "",
101
+ "maxlength": ""
102
+ },
103
+ {
104
+ "key": "field_5cbd753753ab9",
105
+ "label": "Position",
106
+ "name": "acfb_testimonial_position",
107
+ "type": "text",
108
+ "instructions": "",
109
+ "required": 0,
110
+ "conditional_logic": 0,
111
+ "wrapper": {
112
+ "width": "",
113
+ "class": "",
114
+ "id": ""
115
+ },
116
+ "default_value": "Position",
117
+ "placeholder": "Position",
118
+ "prepend": "",
119
+ "append": "",
120
+ "maxlength": ""
121
+ },
122
+ {
123
+ "key": "field_5cc81fc1ae3fc",
124
+ "label": "Style",
125
+ "name": "",
126
+ "type": "tab",
127
+ "instructions": "",
128
+ "required": 0,
129
+ "conditional_logic": 0,
130
+ "wrapper": {
131
+ "width": "",
132
+ "class": "",
133
+ "id": ""
134
+ },
135
+ "placement": "top",
136
+ "endpoint": 0
137
+ },
138
+ {
139
+ "key": "field_5cbd95e83fdd9",
140
+ "label": "Background Color",
141
+ "name": "acfb_testimonial_background_color",
142
+ "type": "color_picker",
143
+ "instructions": "",
144
+ "required": 0,
145
+ "conditional_logic": 0,
146
+ "wrapper": {
147
+ "width": "",
148
+ "class": "",
149
+ "id": ""
150
+ },
151
+ "default_value": "#f3f4f5"
152
+ },
153
+ {
154
+ "key": "field_5cbd960d3fdda",
155
+ "label": "Text Color",
156
+ "name": "acfb_testimonial_text_color",
157
+ "type": "color_picker",
158
+ "instructions": "",
159
+ "required": 0,
160
+ "conditional_logic": 0,
161
+ "wrapper": {
162
+ "width": "",
163
+ "class": "",
164
+ "id": ""
165
+ },
166
+ "default_value": "#191e23"
167
+ },
168
+ {
169
+ "key": "field_5cbd96f33fddc",
170
+ "label": "Text Size",
171
+ "name": "acfb_testimonial_text_size",
172
+ "type": "range",
173
+ "instructions": "",
174
+ "required": 0,
175
+ "conditional_logic": 0,
176
+ "wrapper": {
177
+ "width": "",
178
+ "class": "",
179
+ "id": ""
180
+ },
181
+ "default_value": 18,
182
+ "min": "",
183
+ "max": 200,
184
+ "step": "",
185
+ "prepend": "",
186
+ "append": "px"
187
+ },
188
+ {
189
+ "key": "field_5cbd967a3fddb",
190
+ "label": "Image Size",
191
+ "name": "acfb_testimonial_image_size",
192
+ "type": "range",
193
+ "instructions": "",
194
+ "required": 0,
195
+ "conditional_logic": 0,
196
+ "wrapper": {
197
+ "width": "",
198
+ "class": "",
199
+ "id": ""
200
+ },
201
+ "default_value": 55,
202
+ "min": "",
203
+ "max": 200,
204
+ "step": "",
205
+ "prepend": "",
206
+ "append": "px"
207
+ },
208
+ {
209
+ "key": "field_5cbd97143fddd",
210
+ "label": "Name Color",
211
+ "name": "acfb_testimonial_name_color",
212
+ "type": "color_picker",
213
+ "instructions": "",
214
+ "required": 0,
215
+ "conditional_logic": 0,
216
+ "wrapper": {
217
+ "width": "",
218
+ "class": "",
219
+ "id": ""
220
+ },
221
+ "default_value": "#191e23"
222
+ },
223
+ {
224
+ "key": "field_5cbd97423fdde",
225
+ "label": "Name Size",
226
+ "name": "acfb_testimonial_name_size",
227
+ "type": "range",
228
+ "instructions": "",
229
+ "required": 0,
230
+ "conditional_logic": 0,
231
+ "wrapper": {
232
+ "width": "",
233
+ "class": "",
234
+ "id": ""
235
+ },
236
+ "default_value": 18,
237
+ "min": "",
238
+ "max": 200,
239
+ "step": "",
240
+ "prepend": "",
241
+ "append": "px"
242
+ },
243
+ {
244
+ "key": "field_5cbd977a3fddf",
245
+ "label": "Position Color",
246
+ "name": "acfb_testimonial_position_color",
247
+ "type": "color_picker",
248
+ "instructions": "",
249
+ "required": 0,
250
+ "conditional_logic": 0,
251
+ "wrapper": {
252
+ "width": "",
253
+ "class": "",
254
+ "id": ""
255
+ },
256
+ "default_value": "#191e23"
257
+ },
258
+ {
259
+ "key": "field_5cbd979b3fde0",
260
+ "label": "Position Size",
261
+ "name": "acfb_testimonial_position_size",
262
+ "type": "range",
263
+ "instructions": "",
264
+ "required": 0,
265
+ "conditional_logic": 0,
266
+ "wrapper": {
267
+ "width": "",
268
+ "class": "",
269
+ "id": ""
270
+ },
271
+ "default_value": 14,
272
+ "min": "",
273
+ "max": 200,
274
+ "step": "",
275
+ "prepend": "",
276
+ "append": "px"
277
+ }
278
+ ],
279
+ "location": [
280
+ [
281
+ {
282
+ "param": "block",
283
+ "operator": "==",
284
+ "value": "acf\/acfb-testimonial"
285
+ }
286
+ ]
287
+ ],
288
+ "menu_order": 0,
289
+ "position": "normal",
290
+ "style": "default",
291
+ "label_placement": "top",
292
+ "instruction_placement": "label",
293
+ "hide_on_screen": "",
294
+ "active": 1,
295
+ "description": "",
296
+ "modified": 1556892181
297
+ }
acf-json/group_5cbd9e696a100.json ADDED
@@ -0,0 +1,324 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "group_5cbd9e696a100",
3
+ "title": "Team Block",
4
+ "private" : true,
5
+ "fields": [
6
+ {
7
+ "key": "field_5cc828ec4ea06",
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_5cbda662bd5e1",
24
+ "label": "Image",
25
+ "name": "acfb_team_image",
26
+ "type": "image",
27
+ "instructions": "",
28
+ "required": 0,
29
+ "conditional_logic": 0,
30
+ "wrapper": {
31
+ "width": "",
32
+ "class": "",
33
+ "id": ""
34
+ },
35
+ "return_format": "url",
36
+ "preview_size": "medium",
37
+ "library": "all",
38
+ "min_width": "",
39
+ "min_height": "",
40
+ "min_size": "",
41
+ "max_width": "",
42
+ "max_height": "",
43
+ "max_size": "",
44
+ "mime_types": ""
45
+ },
46
+ {
47
+ "key": "field_5cbda572fa5ba",
48
+ "label": "Image Position",
49
+ "name": "acfb_team_image_position",
50
+ "type": "select",
51
+ "instructions": "",
52
+ "required": 0,
53
+ "conditional_logic": 0,
54
+ "wrapper": {
55
+ "width": "",
56
+ "class": "",
57
+ "id": ""
58
+ },
59
+ "choices": {
60
+ "top": "top",
61
+ "left": "left"
62
+ },
63
+ "default_value": [
64
+ "top"
65
+ ],
66
+ "allow_null": 0,
67
+ "multiple": 0,
68
+ "ui": 0,
69
+ "return_format": "value",
70
+ "ajax": 0,
71
+ "placeholder": ""
72
+ },
73
+ {
74
+ "key": "field_5cbda70c97bc3",
75
+ "label": "Image Alt",
76
+ "name": "acfb_team_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": "Avatar",
87
+ "placeholder": "Avatar",
88
+ "prepend": "",
89
+ "append": "",
90
+ "maxlength": ""
91
+ },
92
+ {
93
+ "key": "field_5cbda67ebd5e2",
94
+ "label": "Name",
95
+ "name": "acfb_team_name",
96
+ "type": "text",
97
+ "instructions": "",
98
+ "required": 0,
99
+ "conditional_logic": 0,
100
+ "wrapper": {
101
+ "width": "",
102
+ "class": "",
103
+ "id": ""
104
+ },
105
+ "default_value": "Name Here",
106
+ "placeholder": "Name Here",
107
+ "prepend": "",
108
+ "append": "",
109
+ "maxlength": ""
110
+ },
111
+ {
112
+ "key": "field_5cbda699bd5e3",
113
+ "label": "Position",
114
+ "name": "acfb_team_position",
115
+ "type": "text",
116
+ "instructions": "",
117
+ "required": 0,
118
+ "conditional_logic": 0,
119
+ "wrapper": {
120
+ "width": "",
121
+ "class": "",
122
+ "id": ""
123
+ },
124
+ "default_value": "Position",
125
+ "placeholder": "Position",
126
+ "prepend": "",
127
+ "append": "",
128
+ "maxlength": ""
129
+ },
130
+ {
131
+ "key": "field_5cbda6a8bd5e4",
132
+ "label": "Description",
133
+ "name": "acfb_team_description",
134
+ "type": "textarea",
135
+ "instructions": "",
136
+ "required": 0,
137
+ "conditional_logic": 0,
138
+ "wrapper": {
139
+ "width": "",
140
+ "class": "",
141
+ "id": ""
142
+ },
143
+ "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",
144
+ "placeholder": "",
145
+ "maxlength": "",
146
+ "rows": "",
147
+ "new_lines": ""
148
+ },
149
+ {
150
+ "key": "field_5cc8292d4ea07",
151
+ "label": "Style",
152
+ "name": "",
153
+ "type": "tab",
154
+ "instructions": "",
155
+ "required": 0,
156
+ "conditional_logic": 0,
157
+ "wrapper": {
158
+ "width": "",
159
+ "class": "",
160
+ "id": ""
161
+ },
162
+ "placement": "top",
163
+ "endpoint": 0
164
+ },
165
+ {
166
+ "key": "field_5cbdb1729c361",
167
+ "label": "Background Color",
168
+ "name": "acfb_team_background_color",
169
+ "type": "color_picker",
170
+ "instructions": "",
171
+ "required": 0,
172
+ "conditional_logic": 0,
173
+ "wrapper": {
174
+ "width": "",
175
+ "class": "",
176
+ "id": ""
177
+ },
178
+ "default_value": "#f3f4f5"
179
+ },
180
+ {
181
+ "key": "field_5cbdb1ba9c362",
182
+ "label": "Image Size",
183
+ "name": "acfb_team_image_size",
184
+ "type": "range",
185
+ "instructions": "",
186
+ "required": 0,
187
+ "conditional_logic": 0,
188
+ "wrapper": {
189
+ "width": "",
190
+ "class": "",
191
+ "id": ""
192
+ },
193
+ "default_value": 150,
194
+ "min": "",
195
+ "max": 250,
196
+ "step": "",
197
+ "prepend": "",
198
+ "append": "px"
199
+ },
200
+ {
201
+ "key": "field_5cbdb1fb9c363",
202
+ "label": "Name Color",
203
+ "name": "acfb_team_name_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_5cbdb2429c364",
217
+ "label": "Name Size",
218
+ "name": "acfb_team_name_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": 25,
229
+ "min": "",
230
+ "max": 200,
231
+ "step": "",
232
+ "prepend": "",
233
+ "append": "px"
234
+ },
235
+ {
236
+ "key": "field_5cbdb2749c365",
237
+ "label": "Position Color",
238
+ "name": "acfb_team_position_color",
239
+ "type": "color_picker",
240
+ "instructions": "",
241
+ "required": 0,
242
+ "conditional_logic": 0,
243
+ "wrapper": {
244
+ "width": "",
245
+ "class": "",
246
+ "id": ""
247
+ },
248
+ "default_value": "#191e23"
249
+ },
250
+ {
251
+ "key": "field_5cbdb2a39c366",
252
+ "label": "Position Size",
253
+ "name": "acfb_team_position_size",
254
+ "type": "range",
255
+ "instructions": "",
256
+ "required": 0,
257
+ "conditional_logic": 0,
258
+ "wrapper": {
259
+ "width": "",
260
+ "class": "",
261
+ "id": ""
262
+ },
263
+ "default_value": 18,
264
+ "min": "",
265
+ "max": 200,
266
+ "step": "",
267
+ "prepend": "",
268
+ "append": "px"
269
+ },
270
+ {
271
+ "key": "field_5cbdb2da9c367",
272
+ "label": "Description Color",
273
+ "name": "acfb_team_description_color",
274
+ "type": "color_picker",
275
+ "instructions": "",
276
+ "required": 0,
277
+ "conditional_logic": 0,
278
+ "wrapper": {
279
+ "width": "",
280
+ "class": "",
281
+ "id": ""
282
+ },
283
+ "default_value": "#191e23"
284
+ },
285
+ {
286
+ "key": "field_5cbdb3069c368",
287
+ "label": "Description Size",
288
+ "name": "acfb_team_description_size",
289
+ "type": "range",
290
+ "instructions": "",
291
+ "required": 0,
292
+ "conditional_logic": 0,
293
+ "wrapper": {
294
+ "width": "",
295
+ "class": "",
296
+ "id": ""
297
+ },
298
+ "default_value": 18,
299
+ "min": "",
300
+ "max": 200,
301
+ "step": "",
302
+ "prepend": "",
303
+ "append": "px"
304
+ }
305
+ ],
306
+ "location": [
307
+ [
308
+ {
309
+ "param": "block",
310
+ "operator": "==",
311
+ "value": "acf\/acfb-team"
312
+ }
313
+ ]
314
+ ],
315
+ "menu_order": 0,
316
+ "position": "normal",
317
+ "style": "default",
318
+ "label_placement": "top",
319
+ "instruction_placement": "label",
320
+ "hide_on_screen": "",
321
+ "active": 1,
322
+ "description": "",
323
+ "modified": 1556892184
324
+ }
acf-json/group_5cbdba3909312.json ADDED
@@ -0,0 +1,193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "group_5cbdba3909312",
3
+ "title": "Multi Buttons",
4
+ "private" : true,
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
+ "key": "field_5cbdc09af082b",
43
+ "label": "Text",
44
+ "name": "acfb_multibutton_text",
45
+ "type": "text",
46
+ "instructions": "",
47
+ "required": 0,
48
+ "conditional_logic": 0,
49
+ "wrapper": {
50
+ "width": "",
51
+ "class": "",
52
+ "id": ""
53
+ },
54
+ "default_value": "Button Text",
55
+ "placeholder": "Button Text",
56
+ "prepend": "",
57
+ "append": "",
58
+ "maxlength": ""
59
+ },
60
+ {
61
+ "key": "field_5cbdc0b8f082c",
62
+ "label": "Link",
63
+ "name": "acfb_multibutton_url",
64
+ "type": "url",
65
+ "instructions": "",
66
+ "required": 0,
67
+ "conditional_logic": 0,
68
+ "wrapper": {
69
+ "width": "",
70
+ "class": "",
71
+ "id": ""
72
+ },
73
+ "default_value": "#",
74
+ "placeholder": "#"
75
+ },
76
+ {
77
+ "key": "field_5cbdc0f7f082d",
78
+ "label": "Background Color",
79
+ "name": "acfb_multibutton_background_color",
80
+ "type": "color_picker",
81
+ "instructions": "",
82
+ "required": 0,
83
+ "conditional_logic": 0,
84
+ "wrapper": {
85
+ "width": "",
86
+ "class": "",
87
+ "id": ""
88
+ },
89
+ "default_value": "#f3f4f5"
90
+ },
91
+ {
92
+ "key": "field_5cbdc132f082e",
93
+ "label": "Text Color",
94
+ "name": "acfb_multibutton_text_color",
95
+ "type": "color_picker",
96
+ "instructions": "",
97
+ "required": 0,
98
+ "conditional_logic": 0,
99
+ "wrapper": {
100
+ "width": "",
101
+ "class": "",
102
+ "id": ""
103
+ },
104
+ "default_value": "#191e23"
105
+ },
106
+ {
107
+ "key": "field_5cbdc6f9d7da3",
108
+ "label": "Background Hover Color",
109
+ "name": "acfb_multibutton_background_hover_color",
110
+ "type": "color_picker",
111
+ "instructions": "",
112
+ "required": 0,
113
+ "conditional_logic": 0,
114
+ "wrapper": {
115
+ "width": "",
116
+ "class": "",
117
+ "id": ""
118
+ },
119
+ "default_value": "#f3f4f5"
120
+ },
121
+ {
122
+ "key": "field_5cbdc720d7da4",
123
+ "label": "Text Hover Color",
124
+ "name": "acfb_multibutton_text_hover_color",
125
+ "type": "color_picker",
126
+ "instructions": "",
127
+ "required": 0,
128
+ "conditional_logic": 0,
129
+ "wrapper": {
130
+ "width": "",
131
+ "class": "",
132
+ "id": ""
133
+ },
134
+ "default_value": "#191e23"
135
+ }
136
+ ]
137
+ },
138
+ {
139
+ "key": "field_5cc84ee0f7cb9",
140
+ "label": "Style",
141
+ "name": "",
142
+ "type": "tab",
143
+ "instructions": "",
144
+ "required": 0,
145
+ "conditional_logic": 0,
146
+ "wrapper": {
147
+ "width": "",
148
+ "class": "",
149
+ "id": ""
150
+ },
151
+ "placement": "top",
152
+ "endpoint": 0
153
+ },
154
+ {
155
+ "key": "field_5cbdc740d7da5",
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": 1556892229
193
+ }
acf-json/group_5cbdd1a0caf81.json ADDED
@@ -0,0 +1,575 @@