Gutenberg Blocks – ACF Blocks Suite - Version 1.2.0

Version Description

  • New: Photo Collage Block Added
Download this release

Release Info

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

Code changes from version 1.1.0 to 1.2.0

Files changed (252) hide show
  1. acf-blocks.php +76 -2
  2. acf-json/group_5cbd743876860.json +0 -0
  3. acf-json/group_5cbd9e696a100.json +0 -0
  4. acf-json/group_5cbdba3909312.json +0 -0
  5. acf-json/group_5cbdd1a0caf81.json +0 -0
  6. acf-json/group_5cbef16c004be.json +294 -0
  7. acf-json/group_5cc04e691b1a8.json +0 -0
  8. acf-json/group_5cc6b8e86e751.json +0 -0
  9. acf-json/group_5cc6cf92e231a.json +0 -0
  10. acf-json/group_5cc6dfe67784b.json +0 -0
  11. acf-json/group_5cc7092c01eb4.json +0 -0
  12. acf-json/group_5cd00bce35670.json +1 -1
  13. acf-json/index.php +0 -0
  14. block-templates/click-to-tweet.php +0 -0
  15. block-templates/counter-number.php +0 -0
  16. block-templates/loop-templates/post-grid.php +0 -0
  17. block-templates/loop-templates/post-list.php +0 -0
  18. block-templates/multi-buttons.php +0 -0
  19. block-templates/photo-collage.php +83 -0
  20. block-templates/posts.php +0 -0
  21. block-templates/price-list.php +0 -0
  22. block-templates/pricing-box.php +0 -0
  23. block-templates/progress-bar.php +0 -0
  24. block-templates/star-rating.php +0 -0
  25. block-templates/team.php +0 -0
  26. block-templates/testimonial.php +0 -0
  27. css/acfblocks.css +218 -2
  28. freemius/.gitignore +0 -0
  29. freemius/LICENSE.txt +0 -0
  30. freemius/README.md +0 -0
  31. freemius/assets/css/admin/account.css +0 -0
  32. freemius/assets/css/admin/add-ons.css +0 -0
  33. freemius/assets/css/admin/affiliation.css +0 -0
  34. freemius/assets/css/admin/checkout.css +0 -0
  35. freemius/assets/css/admin/common.css +0 -0
  36. freemius/assets/css/admin/connect.css +0 -0
  37. freemius/assets/css/admin/debug.css +0 -0
  38. freemius/assets/css/admin/dialog-boxes.css +0 -0
  39. freemius/assets/css/admin/gdpr-optin-notice.css +0 -0
  40. freemius/assets/css/admin/index.php +0 -0
  41. freemius/assets/css/customizer.css +0 -0
  42. freemius/assets/css/index.php +0 -0
  43. freemius/assets/img/index.php +0 -0
  44. freemius/assets/img/plugin-icon.png +0 -0
  45. freemius/assets/img/theme-icon.png +0 -0
  46. freemius/assets/index.php +0 -0
  47. freemius/assets/js/index.php +0 -0
  48. freemius/assets/js/nojquery.ba-postmessage.js +0 -0
  49. freemius/assets/js/nojquery.ba-postmessage.min.js +0 -0
  50. freemius/assets/js/postmessage.js +0 -0
  51. freemius/assets/scss/_colors.scss +0 -0
  52. freemius/assets/scss/_functions.scss +0 -0
  53. freemius/assets/scss/_load.scss +0 -0
  54. freemius/assets/scss/_mixins.scss +0 -0
  55. freemius/assets/scss/_start.scss +0 -0
  56. freemius/assets/scss/_vars.scss +0 -0
  57. freemius/assets/scss/admin/_ajax-loader.scss +0 -0
  58. freemius/assets/scss/admin/_auto-install.scss +0 -0
  59. freemius/assets/scss/admin/_buttons.scss +0 -0
  60. freemius/assets/scss/admin/_deactivation-feedback.scss +0 -0
  61. freemius/assets/scss/admin/_gdpr-consent.scss +0 -0
  62. freemius/assets/scss/admin/_license-activation.scss +0 -0
  63. freemius/assets/scss/admin/_license-key-resend.scss +0 -0
  64. freemius/assets/scss/admin/_modal-common.scss +0 -0
  65. freemius/assets/scss/admin/_multisite-options.scss +0 -0
  66. freemius/assets/scss/admin/_plugin-upgrade-notice.scss +0 -0
  67. freemius/assets/scss/admin/_subscription-cancellation.scss +0 -0
  68. freemius/assets/scss/admin/_themes.scss +0 -0
  69. freemius/assets/scss/admin/_tooltip.scss +0 -0
  70. freemius/assets/scss/admin/account.scss +0 -0
  71. freemius/assets/scss/admin/add-ons.scss +0 -0
  72. freemius/assets/scss/admin/affiliation.scss +0 -0
  73. freemius/assets/scss/admin/checkout.scss +0 -0
  74. freemius/assets/scss/admin/common.scss +0 -0
  75. freemius/assets/scss/admin/connect.scss +0 -0
  76. freemius/assets/scss/admin/debug.scss +0 -0
  77. freemius/assets/scss/admin/dialog-boxes.scss +0 -0
  78. freemius/assets/scss/admin/gdpr-optin-notice.scss +0 -0
  79. freemius/assets/scss/admin/index.php +0 -0
  80. freemius/assets/scss/customizer.scss +0 -0
  81. freemius/assets/scss/index.php +0 -0
  82. freemius/config.php +0 -0
  83. freemius/includes/class-freemius-abstract.php +0 -0
  84. freemius/includes/class-freemius.php +0 -0
  85. freemius/includes/class-fs-admin-notices.php +0 -0
  86. freemius/includes/class-fs-api.php +0 -0
  87. freemius/includes/class-fs-logger.php +0 -0
  88. freemius/includes/class-fs-options.php +0 -0
  89. freemius/includes/class-fs-plugin-updater.php +0 -0
  90. freemius/includes/class-fs-security.php +0 -0
  91. freemius/includes/class-fs-storage.php +0 -0
  92. freemius/includes/class-fs-user-lock.php +0 -0
  93. freemius/includes/customizer/class-fs-customizer-support-section.php +0 -0
  94. freemius/includes/customizer/class-fs-customizer-upsell-control.php +0 -0
  95. freemius/includes/customizer/index.php +0 -0
  96. freemius/includes/debug/class-fs-debug-bar-panel.php +0 -0
  97. freemius/includes/debug/debug-bar-start.php +0 -0
  98. freemius/includes/debug/index.php +0 -0
  99. freemius/includes/entities/class-fs-affiliate-terms.php +0 -0
  100. freemius/includes/entities/class-fs-affiliate.php +0 -0
  101. freemius/includes/entities/class-fs-billing.php +0 -0
  102. freemius/includes/entities/class-fs-entity.php +0 -0
  103. freemius/includes/entities/class-fs-payment.php +0 -0
  104. freemius/includes/entities/class-fs-plugin-info.php +0 -0
  105. freemius/includes/entities/class-fs-plugin-license.php +0 -0
  106. freemius/includes/entities/class-fs-plugin-plan.php +0 -0
  107. freemius/includes/entities/class-fs-plugin-tag.php +0 -0
  108. freemius/includes/entities/class-fs-plugin.php +0 -0
  109. freemius/includes/entities/class-fs-pricing.php +0 -0
  110. freemius/includes/entities/class-fs-scope-entity.php +0 -0
  111. freemius/includes/entities/class-fs-site.php +0 -0
  112. freemius/includes/entities/class-fs-subscription.php +0 -0
  113. freemius/includes/entities/class-fs-user.php +0 -0
  114. freemius/includes/entities/index.php +0 -0
  115. freemius/includes/fs-core-functions.php +0 -0
  116. freemius/includes/fs-essential-functions.php +0 -0
  117. freemius/includes/fs-plugin-info-dialog.php +0 -0
  118. freemius/includes/i18n.php +0 -0
  119. freemius/includes/index.php +0 -0
  120. freemius/includes/l10n.php +0 -0
  121. freemius/includes/managers/class-fs-admin-menu-manager.php +0 -0
  122. freemius/includes/managers/class-fs-admin-notice-manager.php +0 -0
  123. freemius/includes/managers/class-fs-cache-manager.php +0 -0
  124. freemius/includes/managers/class-fs-gdpr-manager.php +0 -0
  125. freemius/includes/managers/class-fs-key-value-storage.php +0 -0
  126. freemius/includes/managers/class-fs-license-manager.php +0 -0
  127. freemius/includes/managers/class-fs-option-manager.php +0 -0
  128. freemius/includes/managers/class-fs-plan-manager.php +0 -0
  129. freemius/includes/managers/class-fs-plugin-manager.php +0 -0
  130. freemius/includes/managers/index.php +0 -0
  131. freemius/includes/sdk/Exceptions/ArgumentNotExistException.php +0 -0
  132. freemius/includes/sdk/Exceptions/EmptyArgumentException.php +0 -0
  133. freemius/includes/sdk/Exceptions/Exception.php +0 -0
  134. freemius/includes/sdk/Exceptions/InvalidArgumentException.php +0 -0
  135. freemius/includes/sdk/Exceptions/OAuthException.php +0 -0
  136. freemius/includes/sdk/Exceptions/index.php +0 -0
  137. freemius/includes/sdk/FreemiusBase.php +0 -0
  138. freemius/includes/sdk/FreemiusWordPress.php +0 -0
  139. freemius/includes/sdk/LICENSE.txt +0 -0
  140. freemius/includes/sdk/index.php +0 -0
  141. freemius/includes/supplements/fs-essential-functions-1.1.7.1.php +0 -0
  142. freemius/includes/supplements/fs-essential-functions-2.2.1.php +0 -0
  143. freemius/includes/supplements/index.php +0 -0
  144. freemius/index.php +0 -0
  145. freemius/languages/freemius-da_DK.mo +0 -0
  146. freemius/languages/freemius-da_DK.po +0 -0
  147. freemius/languages/freemius-en.mo +0 -0
  148. freemius/languages/freemius-en.po +0 -0
  149. freemius/languages/freemius-es_ES.mo +0 -0
  150. freemius/languages/freemius-es_ES.po +0 -0
  151. freemius/languages/freemius-fr_FR.mo +0 -0
  152. freemius/languages/freemius-fr_FR.po +0 -0
  153. freemius/languages/freemius-he_IL.mo +0 -0
  154. freemius/languages/freemius-he_IL.po +0 -0
  155. freemius/languages/freemius-hu_HU.mo +0 -0
  156. freemius/languages/freemius-hu_HU.po +0 -0
  157. freemius/languages/freemius-it_IT.mo +0 -0
  158. freemius/languages/freemius-it_IT.po +0 -0
  159. freemius/languages/freemius-ja_JP.mo +0 -0
  160. freemius/languages/freemius-ja_JP.po +0 -0
  161. freemius/languages/freemius-nl_NL.mo +0 -0
  162. freemius/languages/freemius-nl_NL.po +0 -0
  163. freemius/languages/freemius-ru_RU.mo +0 -0
  164. freemius/languages/freemius-ru_RU.po +0 -0
  165. freemius/languages/freemius.pot +0 -0
  166. freemius/languages/index.php +0 -0
  167. freemius/package.json +0 -0
  168. freemius/require.php +0 -0
  169. freemius/start.php +0 -0
  170. freemius/templates/account.php +0 -0
  171. freemius/templates/account/billing.php +0 -0
  172. freemius/templates/account/index.php +0 -0
  173. freemius/templates/account/partials/activate-license-button.php +0 -0
  174. freemius/templates/account/partials/addon.php +0 -0
  175. freemius/templates/account/partials/deactivate-license-button.php +0 -0
  176. freemius/templates/account/partials/index.php +0 -0
  177. freemius/templates/account/partials/site.php +0 -0
  178. freemius/templates/account/payments.php +0 -0
  179. freemius/templates/add-ons.php +0 -0
  180. freemius/templates/add-trial-to-pricing.php +0 -0
  181. freemius/templates/admin-notice.php +0 -0
  182. freemius/templates/ajax-loader.php +0 -0
  183. freemius/templates/auto-installation.php +0 -0
  184. freemius/templates/checkout.php +0 -0
  185. freemius/templates/connect.php +0 -0
  186. freemius/templates/contact.php +0 -0
  187. freemius/templates/debug.php +0 -0
  188. freemius/templates/debug/api-calls.php +0 -0
  189. freemius/templates/debug/index.php +0 -0
  190. freemius/templates/debug/logger.php +0 -0
  191. freemius/templates/debug/plugins-themes-sync.php +0 -0
  192. freemius/templates/debug/scheduled-crons.php +0 -0
  193. freemius/templates/email.php +0 -0
  194. freemius/templates/firewall-issues-js.php +0 -0
  195. freemius/templates/forms/affiliation.php +0 -0
  196. freemius/templates/forms/deactivation/contact.php +0 -0
  197. freemius/templates/forms/deactivation/form.php +0 -0
  198. freemius/templates/forms/deactivation/index.php +0 -0
  199. freemius/templates/forms/deactivation/retry-skip.php +0 -0
  200. freemius/templates/forms/index.php +0 -0
  201. freemius/templates/forms/license-activation.php +0 -0
  202. freemius/templates/forms/optout.php +0 -0
  203. freemius/templates/forms/premium-versions-upgrade-handler.php +0 -0
  204. freemius/templates/forms/premium-versions-upgrade-metadata.php +0 -0
  205. freemius/templates/forms/resend-key.php +0 -0
  206. freemius/templates/forms/subscription-cancellation.php +0 -0
  207. freemius/templates/forms/trial-start.php +0 -0
  208. freemius/templates/gdpr-optin-js.php +0 -0
  209. freemius/templates/index.php +0 -0
  210. freemius/templates/js/index.php +0 -0
  211. freemius/templates/js/jquery.content-change.php +0 -0
  212. freemius/templates/js/open-license-activation.php +0 -0
  213. freemius/templates/js/style-premium-theme.php +0 -0
  214. freemius/templates/partials/network-activation.php +0 -0
  215. freemius/templates/plugin-icon.php +0 -0
  216. freemius/templates/plugin-info/description.php +0 -0
  217. freemius/templates/plugin-info/features.php +0 -0
  218. freemius/templates/plugin-info/index.php +0 -0
  219. freemius/templates/plugin-info/screenshots.php +0 -0
  220. freemius/templates/powered-by.php +0 -0
  221. freemius/templates/pricing.php +0 -0
  222. freemius/templates/secure-https-header.php +0 -0
  223. freemius/templates/sticky-admin-notice-js.php +0 -0
  224. freemius/templates/tabs-capture-js.php +0 -0
  225. freemius/templates/tabs.php +0 -0
  226. img/gfour-eight.png +0 -0
  227. img/gfour-eleven.png +0 -0
  228. img/gfour-fifteen.png +0 -0
  229. img/gfour-five.png +0 -0
  230. img/gfour-four.png +0 -0
  231. img/gfour-fourteen.png +0 -0
  232. img/gfour-nine.png +0 -0
  233. img/gfour-one.png +0 -0
  234. img/gfour-seven.png +0 -0
  235. img/gfour-six.png +0 -0
  236. img/gfour-ten.png +0 -0
  237. img/gfour-thirteen.png +0 -0
  238. img/gfour-three.png +0 -0
  239. img/gfour-twelve.png +0 -0
  240. img/gfour-two.png +0 -0
  241. img/gthree-five.png +0 -0
  242. img/gthree-four.png +0 -0
  243. img/gthree-one.png +0 -0
  244. img/gthree-six.png +0 -0
  245. img/gthree-three.png +0 -0
  246. img/gthree-two.png +0 -0
  247. img/gtwo-one.png +0 -0
  248. img/gtwo-two.png +0 -0
  249. img/placeholder-image.jpg +0 -0
  250. js/acfblocks.js +0 -0
  251. js/custom.js +0 -0
  252. readme.txt +5 -1
acf-blocks.php CHANGED
@@ -3,7 +3,7 @@
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.1.0
7
  * Author: munirkamal
8
  * Author URI: https://munirkamal.wordpress.com
9
  * License: GPL2
@@ -202,7 +202,7 @@ function acfb_blocks() {
202
  ));
203
 
204
 
205
- // register a Post block.
206
  acf_register_block_type(array(
207
  'name' => 'acfb-posts',
208
  'mode' => 'preview',
@@ -223,6 +223,23 @@ function acfb_blocks() {
223
  },
224
  ));
225
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
  }
227
  }
228
 
@@ -329,4 +346,61 @@ function acfb_post_grid_elements_defaults($value, $post_id, $field) {
329
  )
330
  );
331
  return $value;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
332
  }
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.2.0
7
  * Author: munirkamal
8
  * Author URI: https://munirkamal.wordpress.com
9
  * License: GPL2
202
  ));
203
 
204
 
205
+ // register a Post block.
206
  acf_register_block_type(array(
207
  'name' => 'acfb-posts',
208
  'mode' => 'preview',
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
+
243
  }
244
  }
245
 
346
  )
347
  );
348
  return $value;
349
+ }
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+ add_filter('acf/load_field/name=2_grid_layouts', 'acfb_two_grid_icons');
358
+ function acfb_two_grid_icons( $field ) {
359
+
360
+ $field['choices'] = array(
361
+ 'one' => '<img src="' . plugins_url( 'img/gtwo-one.png', __FILE__ ) . '" />',
362
+ 'two' => '<img src="' . plugins_url( 'img/gtwo-two.png', __FILE__ ) . '" />'
363
+ );
364
+
365
+ return $field;
366
+ }
367
+
368
+ add_filter('acf/load_field/name=3_grid_layouts', 'acfb_three_grid_icons');
369
+ function acfb_three_grid_icons( $field ) {
370
+
371
+ $field['choices'] = array(
372
+ 'one' => '<img src="' . plugins_url( 'img/gthree-one.png', __FILE__ ) . '" />',
373
+ 'two' => '<img src="' . plugins_url( 'img/gthree-two.png', __FILE__ ) . '" />',
374
+ 'three' => '<img src="' . plugins_url( 'img/gthree-three.png', __FILE__ ) . '" />',
375
+ 'four' => '<img src="' . plugins_url( 'img/gthree-four.png', __FILE__ ) . '" />',
376
+ 'five' => '<img src="' . plugins_url( 'img/gthree-five.png', __FILE__ ) . '" />',
377
+ 'six' => '<img src="' . plugins_url( 'img/gthree-six.png', __FILE__ ) . '" />'
378
+ );
379
+
380
+ return $field;
381
+ }
382
+
383
+
384
+ add_filter('acf/load_field/name=4_grid_layouts', 'acfb_four_grid_icons');
385
+ function acfb_four_grid_icons( $field ) {
386
+
387
+ $field['choices'] = array(
388
+ 'one' => '<img src="' . plugins_url( 'img/gfour-one.png', __FILE__ ) . '" />',
389
+ 'two' => '<img src="' . plugins_url( 'img/gfour-two.png', __FILE__ ) . '" />',
390
+ 'three' => '<img src="' . plugins_url( 'img/gfour-three.png', __FILE__ ) . '" />',
391
+ 'four' => '<img src="' . plugins_url( 'img/gfour-four.png', __FILE__ ) . '" />',
392
+ 'five' => '<img src="' . plugins_url( 'img/gfour-five.png', __FILE__ ) . '" />',
393
+ 'six' => '<img src="' . plugins_url( 'img/gfour-six.png', __FILE__ ) . '" />',
394
+ 'seven' => '<img src="' . plugins_url( 'img/gfour-seven.png', __FILE__ ) . '" />',
395
+ 'eight' => '<img src="' . plugins_url( 'img/gfour-eight.png', __FILE__ ) . '" />',
396
+ 'nine' => '<img src="' . plugins_url( 'img/gfour-nine.png', __FILE__ ) . '" />',
397
+ 'ten' => '<img src="' . plugins_url( 'img/gfour-ten.png', __FILE__ ) . '" />',
398
+ 'eleven' => '<img src="' . plugins_url( 'img/gfour-eleven.png', __FILE__ ) . '" />',
399
+ 'twelve' => '<img src="' . plugins_url( 'img/gfour-twelve.png', __FILE__ ) . '" />',
400
+ 'thirteen' => '<img src="' . plugins_url( 'img/gfour-thirteen.png', __FILE__ ) . '" />',
401
+ 'fourteen' => '<img src="' . plugins_url( 'img/gfour-fourteen.png', __FILE__ ) . '" />',
402
+ 'fifteen' => '<img src="' . plugins_url( 'img/gfour-fifteen.png', __FILE__ ) . '" />',
403
+ );
404
+
405
+ return $field;
406
  }
acf-json/group_5cbd743876860.json CHANGED
File without changes
acf-json/group_5cbd9e696a100.json CHANGED
File without changes
acf-json/group_5cbdba3909312.json CHANGED
File without changes
acf-json/group_5cbdd1a0caf81.json CHANGED
File without changes
acf-json/group_5cbef16c004be.json ADDED
@@ -0,0 +1,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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\/acfblocks-master\/img\/gtwo-one.png\" \/>",
67
+ "two": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/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\/acfblocks-master\/img\/gthree-one.png\" \/>",
99
+ "two": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/img\/gthree-two.png\" \/>",
100
+ "three": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/img\/gthree-three.png\" \/>",
101
+ "four": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/img\/gthree-four.png\" \/>",
102
+ "five": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/img\/gthree-five.png\" \/>",
103
+ "six": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/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\/acfblocks-master\/img\/gfour-one.png\" \/>",
135
+ "two": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/img\/gfour-two.png\" \/>",
136
+ "three": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/img\/gfour-three.png\" \/>",
137
+ "four": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/img\/gfour-four.png\" \/>",
138
+ "five": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/img\/gfour-five.png\" \/>",
139
+ "six": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/img\/gfour-six.png\" \/>",
140
+ "seven": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/img\/gfour-seven.png\" \/>",
141
+ "eight": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/img\/gfour-eight.png\" \/>",
142
+ "nine": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/img\/gfour-nine.png\" \/>",
143
+ "ten": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/img\/gfour-ten.png\" \/>",
144
+ "eleven": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/img\/gfour-eleven.png\" \/>",
145
+ "twelve": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/img\/gfour-twelve.png\" \/>",
146
+ "thirteen": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/img\/gfour-thirteen.png\" \/>",
147
+ "fourteen": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/img\/gfour-fourteen.png\" \/>",
148
+ "fifteen": "<img src=\"http:\/\/localhost\/acf\/wp-content\/plugins\/acfblocks-master\/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
+ },
182
+ {
183
+ "key": "field_5cc85dee4e368",
184
+ "label": "Width",
185
+ "name": "acfb_photo_collage_layout_width",
186
+ "type": "range",
187
+ "instructions": "",
188
+ "required": 0,
189
+ "conditional_logic": 0,
190
+ "wrapper": {
191
+ "width": "",
192
+ "class": "",
193
+ "id": ""
194
+ },
195
+ "default_value": 100,
196
+ "min": "",
197
+ "max": "",
198
+ "step": "",
199
+ "prepend": "",
200
+ "append": "%"
201
+ },
202
+ {
203
+ "key": "field_5cda77ca5ecee",
204
+ "label": "Height",
205
+ "name": "acfb_photo_collage_layout_height",
206
+ "type": "range",
207
+ "instructions": "",
208
+ "required": 0,
209
+ "conditional_logic": 0,
210
+ "wrapper": {
211
+ "width": "",
212
+ "class": "",
213
+ "id": ""
214
+ },
215
+ "default_value": 500,
216
+ "min": "",
217
+ "max": 1000,
218
+ "step": "",
219
+ "prepend": "",
220
+ "append": "px"
221
+ },
222
+ {
223
+ "key": "field_5cc85e1b4e369",
224
+ "label": "Gutter Space",
225
+ "name": "acfb_photo_collage_layout_gutter_space",
226
+ "type": "range",
227
+ "instructions": "",
228
+ "required": 0,
229
+ "conditional_logic": 0,
230
+ "wrapper": {
231
+ "width": "",
232
+ "class": "",
233
+ "id": ""
234
+ },
235
+ "default_value": 10,
236
+ "min": "",
237
+ "max": "",
238
+ "step": "",
239
+ "prepend": "",
240
+ "append": "px"
241
+ },
242
+ {
243
+ "key": "field_5cda7f2de757c",
244
+ "label": "Design",
245
+ "name": "",
246
+ "type": "tab",
247
+ "instructions": "",
248
+ "required": 0,
249
+ "conditional_logic": 0,
250
+ "wrapper": {
251
+ "width": "",
252
+ "class": "",
253
+ "id": ""
254
+ },
255
+ "placement": "top",
256
+ "endpoint": 0
257
+ },
258
+ {
259
+ "key": "field_5cdfc746754f7",
260
+ "label": "No options available here yet.",
261
+ "name": "",
262
+ "type": "message",
263
+ "instructions": "",
264
+ "required": 0,
265
+ "conditional_logic": 0,
266
+ "wrapper": {
267
+ "width": "",
268
+ "class": "",
269
+ "id": ""
270
+ },
271
+ "message": "",
272
+ "new_lines": "wpautop",
273
+ "esc_html": 0
274
+ }
275
+ ],
276
+ "location": [
277
+ [
278
+ {
279
+ "param": "block",
280
+ "operator": "==",
281
+ "value": "acf\/acfb-photocollage"
282
+ }
283
+ ]
284
+ ],
285
+ "menu_order": 0,
286
+ "position": "normal",
287
+ "style": "default",
288
+ "label_placement": "top",
289
+ "instruction_placement": "label",
290
+ "hide_on_screen": "",
291
+ "active": 1,
292
+ "description": "",
293
+ "modified": 1558169540
294
+ }
acf-json/group_5cc04e691b1a8.json CHANGED
File without changes
acf-json/group_5cc6b8e86e751.json CHANGED
File without changes
acf-json/group_5cc6cf92e231a.json CHANGED
File without changes
acf-json/group_5cc6dfe67784b.json CHANGED
File without changes
acf-json/group_5cc7092c01eb4.json CHANGED
File without changes
acf-json/group_5cd00bce35670.json CHANGED
@@ -713,5 +713,5 @@
713
  "hide_on_screen": "",
714
  "active": 1,
715
  "description": "",
716
- "modified": 1557736059
717
  }
713
  "hide_on_screen": "",
714
  "active": 1,
715
  "description": "",
716
+ "modified": 1557752513
717
  }
acf-json/index.php CHANGED
File without changes
block-templates/click-to-tweet.php CHANGED
File without changes
block-templates/counter-number.php CHANGED
File without changes
block-templates/loop-templates/post-grid.php CHANGED
File without changes
block-templates/loop-templates/post-list.php CHANGED
File without changes
block-templates/multi-buttons.php CHANGED
File without changes
block-templates/photo-collage.php ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $uid = $block['id'];
3
+
4
+ $className = 'acfb_photo_collage_block';
5
+ if( !empty($block['className']) ) {
6
+ $className .= ' ' . $block['className'];
7
+ }
8
+ if( !empty($block['align']) ) {
9
+ $className .= ' align' . $block['align'];
10
+ }
11
+
12
+ $images_field = get_field('acfb_photo_collage_images');
13
+ $images0 = null;
14
+ $images1 = null;
15
+ $images2 = null;
16
+ $images3 = null;
17
+
18
+
19
+ if($images_field){
20
+ $images0 = $images_field['0']['url'];
21
+ } else{
22
+ $images0 = plugin_dir_url( __FILE__ ) . '../img/placeholder-image.jpg';
23
+ }
24
+
25
+ if ( $images_field && count($images_field) > 1 ) {
26
+ $images1 = $images_field['1']['url'];
27
+ } else{
28
+ $images1 = plugin_dir_url( __FILE__ ) . '../img/placeholder-image.jpg';
29
+ }
30
+
31
+ if ( $images_field && count($images_field) > 2 ) {
32
+ $images2 = $images_field['2']['url'];
33
+ } else{
34
+ $images2 = plugin_dir_url( __FILE__ ) . '../img/placeholder-image.jpg';
35
+ }
36
+
37
+ if ( $images_field && count($images_field) > 3 ) {
38
+ $images3 = $images_field['3']['url'];
39
+ } else{
40
+ $images3 = plugin_dir_url( __FILE__ ) . '../img/placeholder-image.jpg';
41
+ }
42
+
43
+ ?>
44
+
45
+
46
+ <div class="<?php echo $uid; ?> <?php echo esc_attr($className); ?>">
47
+ <style type="text/css">
48
+
49
+ .<?php echo $uid; ?> .acfb_photo_collage{
50
+ width: <?php the_field('acfb_photo_collage_layout_width'); ?>%;
51
+ height: <?php the_field('acfb_photo_collage_layout_height'); ?>px;
52
+ grid-gap: <?php the_field('acfb_photo_collage_layout_gutter_space'); ?>px;
53
+ }
54
+ </style>
55
+
56
+
57
+ <?php if(get_field('select_grid') == '2'): ?>
58
+
59
+ <div class="acfb_two-grid-style-<?php the_field('2_grid_layouts');?> acfb_collage_<?php the_field('select_grid');?> acfb_photo_collage">
60
+ <div class="acfb_one" style="background-image: url('<?php echo $images0; ?>');"></div>
61
+ <div class="acfb_two" style="background-image: url('<?php echo $images1; ?>');"></div>
62
+ </div>
63
+
64
+ <?php elseif( get_field('select_grid') == '3' ): ?>
65
+
66
+ <div class="acfb_three-grid-style-<?php the_field('3_grid_layouts');?> acfb_collage_<?php the_field('select_grid');?> acfb_photo_collage">
67
+ <div class="acfb_one" style="background-image: url('<?php echo $images0; ?>');"></div>
68
+ <div class="acfb_two" style="background-image: url('<?php echo $images1; ?>');"></div>
69
+ <div class="acfb_three" style="background-image: url('<?php echo $images2; ?>');"></div>
70
+ </div>
71
+
72
+ <?php elseif( get_field('select_grid') == '4' ): ?>
73
+
74
+ <div class="acfb_four-grid-style-<?php the_field('4_grid_layouts');?> acfb_collage_<?php the_field('select_grid');?> acfb_photo_collage">
75
+ <div class="acfb_one" style="background-image: url('<?php echo $images0; ?>');"></div>
76
+ <div class="acfb_two" style="background-image: url('<?php echo $images1; ?>');"></div>
77
+ <div class="acfb_three" style="background-image: url('<?php echo $images2; ?>');"></div>
78
+ <div class="acfb_four" style="background-image: url('<?php echo $images3; ?>');"></div>
79
+ </div>
80
+
81
+ <?php endif; ?>
82
+
83
+ </div><!-- Uid -->
block-templates/posts.php CHANGED
File without changes
block-templates/price-list.php CHANGED
File without changes
block-templates/pricing-box.php CHANGED
File without changes
block-templates/progress-bar.php CHANGED
File without changes
block-templates/star-rating.php CHANGED
File without changes
block-templates/team.php CHANGED
File without changes
block-templates/testimonial.php CHANGED
File without changes
css/acfblocks.css CHANGED
@@ -329,7 +329,6 @@ display: inline-block;
329
 
330
 
331
  @media only screen and (max-width: 767px) {
332
-
333
  .acfb_posts_block .acfb_post_2, .acfb_posts_block .acfb_post_3, .acfb_posts_block .acfb_post_4, .acfb_posts_block .acfb_post_5, .acfb_posts_block .acfb_post_6{
334
  grid-template-columns: 1fr;
335
  }
@@ -337,15 +336,232 @@ display: inline-block;
337
  .acfb_posts_block .acfb_post_list .acfb_post{
338
  grid-template-columns: 1fr;
339
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
340
 
 
 
 
 
 
 
341
  }
342
 
 
 
 
 
 
 
 
343
 
 
 
 
 
 
 
 
344
 
 
 
 
 
 
 
 
345
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
346
 
 
 
 
 
 
 
 
347
 
348
 
349
 
350
 
351
- .acfb_svg_icon{fill:none;stroke:#555d66;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}
329
 
330
 
331
  @media only screen and (max-width: 767px) {
 
332
  .acfb_posts_block .acfb_post_2, .acfb_posts_block .acfb_post_3, .acfb_posts_block .acfb_post_4, .acfb_posts_block .acfb_post_5, .acfb_posts_block .acfb_post_6{
333
  grid-template-columns: 1fr;
334
  }
336
  .acfb_posts_block .acfb_post_list .acfb_post{
337
  grid-template-columns: 1fr;
338
  }
339
+ }
340
+
341
+
342
+ /************ Photo Collage CSS ************/
343
+
344
+ /* Two Gird Style 1*/
345
+ .acfb_two-grid-style-one {
346
+ display: grid;
347
+ grid-template-columns: 1fr 1fr;
348
+ grid-template-rows: 1fr;
349
+ grid-template-areas: "one two";
350
+ }
351
+
352
+ /* Two Gird Style 2*/
353
+ .acfb_two-grid-style-two {
354
+ display: grid;
355
+ grid-template-columns: 1fr;
356
+ grid-template-rows: 1fr 1fr;
357
+ grid-template-areas: "one" "two";
358
+ }
359
+
360
+ .acfb_collage_2 .acfb_one{ grid-area: one; background-size: cover; background-position: center; }
361
+ .acfb_collage_2 .acfb_two{ grid-area: two; background-size: cover; background-position: center; }
362
+
363
+
364
+ /* Three Gird Style 1*/
365
+ .acfb_three-grid-style-one {
366
+ display: grid;
367
+ grid-template-columns: 1fr 1fr;
368
+ grid-template-rows: 1fr 1fr;
369
+ grid-template-areas: "one one" "two three";
370
+ }
371
+
372
+ /* Three Gird Style 2*/
373
+ .acfb_three-grid-style-two {
374
+ display: grid;
375
+ grid-template-columns: 1fr 1fr;
376
+ grid-template-rows: 1fr 1fr;
377
+ grid-template-areas: "one two" "three three";
378
+ }
379
+
380
+ /* Three Gird Style 3 */
381
+ .acfb_three-grid-style-three {
382
+ display: grid;
383
+ grid-template-columns: 1fr 1fr;
384
+ grid-template-rows: 1fr 1fr;
385
+ grid-template-areas: "one two" "one three";
386
+ }
387
+
388
+ /* Three Gird Style 4 */
389
+ .acfb_three-grid-style-four {
390
+ display: grid;
391
+ grid-template-columns: 1fr 1fr;
392
+ grid-template-rows: 1fr 1fr;
393
+ grid-template-areas: "two one" "three one";
394
+ }
395
+
396
+ /* Three Gird Style 5 */
397
+ .acfb_three-grid-style-five {
398
+ display: grid;
399
+ grid-template-columns: 1fr 1fr;
400
+ grid-template-rows: 1fr 1fr 1fr;
401
+ grid-template-areas: "one one" "two two" "three three";
402
+ }
403
+
404
+ /* Three Gird Style 6 */
405
+ .acfb_three-grid-style-six {
406
+ display: grid;
407
+ grid-template-columns: 1fr 1fr 1fr;
408
+ grid-template-rows: 1fr 1fr;
409
+ grid-template-areas: "one two three" "one two three";
410
+ }
411
+
412
+
413
+ .acfb_collage_3 .acfb_one{ grid-area: one; background-size: cover; background-position: center; }
414
+ .acfb_collage_3 .acfb_two{ grid-area: two; background-size: cover; background-position: center; }
415
+ .acfb_collage_3 .acfb_three{ grid-area: three; background-size: cover; background-position: center; }
416
+
417
+
418
+
419
+
420
+ /* Four Gird Style 1 */
421
+ .acfb_four-grid-style-one {
422
+ display: grid;
423
+ grid-template-columns: 1fr 1fr;
424
+ grid-template-rows: 1fr 1fr 1fr 1fr;
425
+ grid-template-areas: "one one" "two two" "three three" "four four";
426
+ }
427
+
428
+ /* Four Gird Style 2 */
429
+ .acfb_four-grid-style-two {
430
+ display: grid;
431
+ grid-template-columns: 1fr 1fr 1fr 1fr;
432
+ grid-template-rows: 1fr 1fr;
433
+ grid-template-areas: "one two three four" "one two three four";
434
+ }
435
+
436
+ /* Four Gird Style 3 */
437
+ .acfb_four-grid-style-three {
438
+ display: grid;
439
+ grid-template-columns: 1fr 1fr 1fr;
440
+ grid-template-rows: 1fr 1fr;
441
+ grid-template-areas: "one one one" "two three four";
442
+ }
443
+
444
+ /* Four Gird Style 4 */
445
+ .acfb_four-grid-style-four {
446
+ display: grid;
447
+ grid-template-columns: 1fr 1fr 1fr;
448
+ grid-template-rows: 1fr 1fr;
449
+ grid-template-areas: "one two three" "four four four";
450
+ }
451
+
452
+ /* Four Gird Style 5 */
453
+ .acfb_four-grid-style-five {
454
+ display: grid;
455
+ grid-template-columns: 1fr 1fr;
456
+ grid-template-rows: 1fr 1fr 1fr;
457
+ grid-template-areas: "one two" "one three" "one four";
458
+ }
459
+
460
+ /* Four Gird Style 6 */
461
+ .acfb_four-grid-style-six {
462
+ display: grid;
463
+ grid-template-columns: 1fr 1fr;
464
+ grid-template-rows: 1fr 1fr 1fr;
465
+ grid-template-areas: "one four" "two four" "three four";
466
+ }
467
+
468
+ /* Four Gird Style 7 */
469
+ .acfb_four-grid-style-seven {
470
+ display: grid;
471
+ grid-template-columns: 1fr 1fr 1fr;
472
+ grid-template-rows: 1fr 1fr;
473
+ grid-template-areas: "one one two" "three four four";
474
+ }
475
+
476
+ /* Four Gird Style 8 */
477
+ .acfb_four-grid-style-eight {
478
+ display: grid;
479
+ grid-template-columns: 1fr 1fr 1fr;
480
+ grid-template-rows: 1fr 1fr;
481
+ grid-template-areas: "one two two" "three three four";
482
+ }
483
+
484
+ /* Four Gird Style 9 */
485
+ .acfb_four-grid-style-nine {
486
+ display: grid;
487
+ grid-template-columns: 1fr 1fr;
488
+ grid-template-rows: 1fr 1fr 1fr;
489
+ grid-template-areas: "one three" "one four" "two four";
490
+ }
491
+
492
+ /* Four Gird Style 10 */
493
+ .acfb_four-grid-style-ten {
494
+ display: grid;
495
+ grid-template-columns: 1fr 1fr;
496
+ grid-template-rows: 1fr 1fr 1fr;
497
+ grid-template-areas: "one three" "two three" "two four";
498
+ }
499
 
500
+ /* Four Gird Style 11 */
501
+ .acfb_four-grid-style-eleven {
502
+ display: grid;
503
+ grid-template-columns: 1fr 1fr;
504
+ grid-template-rows: 1fr 1fr 1fr;
505
+ grid-template-areas: "one two" "three three" "four four";
506
  }
507
 
508
+ /* Four Gird Style 12 */
509
+ .acfb_four-grid-style-twelve {
510
+ display: grid;
511
+ grid-template-columns: 1fr 1fr;
512
+ grid-template-rows: 1fr 1fr 1fr;
513
+ grid-template-areas: "one one" "two three" "four four";
514
+ }
515
 
516
+ /* Four Gird Style 13 */
517
+ .acfb_four-grid-style-thirteen {
518
+ display: grid;
519
+ grid-template-columns: 1fr 1fr;
520
+ grid-template-rows: 1fr 1fr 1fr;
521
+ grid-template-areas: "one one" "two two" "three four";
522
+ }
523
 
524
+ /* Four Gird Style 14 */
525
+ .acfb_four-grid-style-fourteen {
526
+ display: grid;
527
+ grid-template-columns: 1fr 1fr 1fr;
528
+ grid-template-rows: 1fr 1fr;
529
+ grid-template-areas: "one three four" "two three four";
530
+ }
531
 
532
+ /* Four Gird Style 15 */
533
+ .acfb_four-grid-style-fifteen {
534
+ display: grid;
535
+ grid-template-columns: 1fr 1fr;
536
+ grid-template-rows: 1fr 1fr;
537
+ grid-template-areas: "one three" "two four";
538
+ }
539
+
540
+ .acfb_collage_4 .acfb_one { grid-area: one; background-size: cover; background-position: center; }
541
+ .acfb_collage_4 .acfb_two { grid-area: two; background-size: cover; background-position: center; }
542
+ .acfb_collage_4 .acfb_three { grid-area: three; background-size: cover; background-position: center; }
543
+ .acfb_collage_4 .acfb_four { grid-area: four; background-size: cover; background-position: center; }
544
+
545
+
546
+ .acfb_radio_image .acf-input .acf-radio-list:before, .acfb_radio_image .acf-input .acf-radio-list:after{
547
+ content: none;
548
+ }
549
+
550
+ .acfb_radio_image .acf-input .acf-radio-list{
551
+ display: grid;
552
+ grid-template-columns: 1fr 1fr 1fr 1fr;
553
+ grid-gap: 10px;
554
+ }
555
 
556
+ .acfb_radio_image .acf-input .acf-radio-list li input{
557
+ display: none;
558
+ }
559
+
560
+ .acfb_radio_image .acf-input .acf-radio-list li .selected img{
561
+ border: 2px solid #48a8f4;
562
+ }
563
 
564
 
565
 
566
 
567
+ .acfb_svg_icon{fill:none;stroke:#555d66;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}
freemius/.gitignore CHANGED
File without changes
freemius/LICENSE.txt CHANGED
File without changes
freemius/README.md CHANGED
File without changes
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/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 CHANGED
File without changes
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/gfour-eight.png ADDED
Binary file
img/gfour-eleven.png ADDED
Binary file
img/gfour-fifteen.png ADDED
Binary file
img/gfour-five.png ADDED
Binary file
img/gfour-four.png ADDED
Binary file
img/gfour-fourteen.png ADDED
Binary file
img/gfour-nine.png ADDED
Binary file
img/gfour-one.png ADDED
Binary file
img/gfour-seven.png ADDED
Binary file
img/gfour-six.png ADDED
Binary file
img/gfour-ten.png ADDED
Binary file
img/gfour-thirteen.png ADDED
Binary file
img/gfour-three.png ADDED
Binary file
img/gfour-twelve.png ADDED
Binary file
img/gfour-two.png ADDED
Binary file
img/gthree-five.png ADDED
Binary file
img/gthree-four.png ADDED
Binary file
img/gthree-one.png ADDED
Binary file
img/gthree-six.png ADDED
Binary file
img/gthree-three.png ADDED
Binary file
img/gthree-two.png ADDED
Binary file
img/gtwo-one.png ADDED
Binary file
img/gtwo-two.png ADDED
Binary file
img/placeholder-image.jpg CHANGED
File without changes
js/acfblocks.js CHANGED
File without changes
js/custom.js CHANGED
File without changes
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: acf, acf blocks, gutenberg, block, gutenberg blocks
4
  Requires at least: 4.7
5
  Requires PHP: 5.6
6
  Tested up to: 5.2
7
- Stable tag: 1.1.0
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -19,6 +19,7 @@ ACF Blocks is a collection of ready-to-use Gutenberg Blocks for WordPress. Super
19
  <strong>An Ultimate Gutenberg Blocks Suite</strong>
20
 
21
  <ul>
 
22
  <li>Posts Block (New)</li>
23
  <li>Testimonial Block</li>
24
  <li>Team Block</li>
@@ -65,6 +66,9 @@ Absolutely! You can definitely use the ACF Blocks on yours as well as your clien
65
 
66
  == Changelog ==
67
 
 
 
 
68
  = 1.1.0 =
69
  * New: Posts Block Added
70
  * ACF Api Updates.
4
  Requires at least: 4.7
5
  Requires PHP: 5.6
6
  Tested up to: 5.2
7
+ Stable tag: 1.2.0
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
19
  <strong>An Ultimate Gutenberg Blocks Suite</strong>
20
 
21
  <ul>
22
+ <li>Photo Collage Block (New)</li>
23
  <li>Posts Block (New)</li>
24
  <li>Testimonial Block</li>
25
  <li>Team Block</li>
66
 
67
  == Changelog ==
68
 
69
+ = 1.2.0 =
70
+ * New: Photo Collage Block Added
71
+
72
  = 1.1.0 =
73
  * New: Posts Block Added
74
  * ACF Api Updates.