From 295d91f648a09d0ab0adf7f734d0c3459da9c845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Folbert?= Date: Sat, 22 Apr 2017 16:41:37 +0200 Subject: [PATCH 1/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 468a148..22d16e1 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ The following words will be explained in detail later in this document, + Brick Layout - Not to be confused with ACFs layouts. Brick layouts are like layouts in the [Blade templating system](https://laravel.com/docs/5.2/blade#defining-a-layout). ## About -Fewbricks is a module system developed by [Björn Folbert](http://folbert.com) at [FEW Agency](http://fewagency.se). It is built on top of the awesome plugin [Advanced Custom Fields](http://www.advancedcustomfields.com/) (ACF) v5 PRO meaning that you must have that installed for this to work. +Fewbricks is a module system developed by [Björn Folbert](http://folbert.com) at [KAN Malmö](http://kan.se). It is built on top of the awesome plugin [Advanced Custom Fields](http://www.advancedcustomfields.com/) (ACF) v5 PRO meaning that you must have that installed for this to work. Instead of building field groups, repeaters, flexible content etc. using the GUI that comes with ACF, you build it all by writing code. So if you are looking for a way to create reusable fields within the GUI, Fewbricks is not what you are looking for. From cf22d33b42606abb8223d45b69a787357d58ae0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Folbert?= Date: Tue, 12 Dec 2017 21:45:54 +0100 Subject: [PATCH 2/4] Updated Readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 22d16e1..27bdc98 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ The following words will be explained in detail later in this document, + Brick Layout - Not to be confused with ACFs layouts. Brick layouts are like layouts in the [Blade templating system](https://laravel.com/docs/5.2/blade#defining-a-layout). ## About -Fewbricks is a module system developed by [Björn Folbert](http://folbert.com) at [KAN Malmö](http://kan.se). It is built on top of the awesome plugin [Advanced Custom Fields](http://www.advancedcustomfields.com/) (ACF) v5 PRO meaning that you must have that installed for this to work. +Fewbricks is a module system developed by [Björn Folbert](https://folbert.com) at [KAN Malmö](http://kan.se). It is built on top of the awesome plugin [Advanced Custom Fields](http://www.advancedcustomfields.com/) (ACF) v5 PRO meaning that you must have that installed for this to work. Instead of building field groups, repeaters, flexible content etc. using the GUI that comes with ACF, you build it all by writing code. So if you are looking for a way to create reusable fields within the GUI, Fewbricks is not what you are looking for. From b4bbb90cb7baad4a2352c32c3f0b33500022f2bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Folbert?= Date: Tue, 12 Dec 2017 22:41:47 +0100 Subject: [PATCH 3/4] Added demo for date picker and date time picker --- .../field-groups/field-group-template-fewbricks-demo.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fewbricks/field-groups/field-group-template-fewbricks-demo.php b/fewbricks/field-groups/field-group-template-fewbricks-demo.php index a5f3d13..bed4dc1 100755 --- a/fewbricks/field-groups/field-group-template-fewbricks-demo.php +++ b/fewbricks/field-groups/field-group-template-fewbricks-demo.php @@ -113,4 +113,8 @@ $fewbricks_fg->add_field(new acf_fields\text('Footer text', 'footer_text', '1603242348a')); -$fewbricks_fg->register(); \ No newline at end of file +$fewbricks_fg->add_field(new acf_fields\date_picker('Date picker', 'date_picker', '1712122240a')); + +$fewbricks_fg->add_field(new acf_fields\date_time_picker('Date time picker', 'date_time_picker', '1712122240b')); + +$fewbricks_fg->register(); From 43d27e7e10413d0aec12fbecd5263cb47a7bc8b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Folbert?= Date: Tue, 12 Dec 2017 22:46:34 +0100 Subject: [PATCH 4/4] Prepared for release v1.7 --- changelog.md | 7 ++++++- fewbricks.php | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/changelog.md b/changelog.md index e6b6201..c6d9f48 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Fewbricks changelog +## 1.7 - December 12, 2017 +* Added support for field "date_picker" +* Added support for field "date_time_picker" +* Thanks to https://github.com/mariemanandise for both of the above + ## 1.6 - March 19, 2017 * Added function `get_field_values()`to `brick` * Added function `get_get_html_arg()` to `brick` @@ -41,4 +46,4 @@ * Updates to the Readme file ## 1.0 - April 22, 2016 -* First stable release \ No newline at end of file +* First stable release diff --git a/fewbricks.php b/fewbricks.php index 7cd6906..5632321 100644 --- a/fewbricks.php +++ b/fewbricks.php @@ -5,7 +5,7 @@ Plugin URI: https://github.com/fewagency/fewbricks Description: A module extension to Advanced Custom Fields Author: Björn Folbert -Version: 1.6 +Version: 1.7 Author URI: http://folbert.com License: GPLv3 */ @@ -31,7 +31,7 @@ add_action('init', function() { // set auto-update params - $plugin_current_version = '1.6'; + $plugin_current_version = '1.7'; $plugin_remote_path = 'http://fewbricks.folbert.com/update/update.php'; $plugin_slug = plugin_basename(__FILE__); $license_user = 'null'; @@ -42,4 +42,4 @@ new wp_autoupdate ($plugin_current_version, $plugin_remote_path, $plugin_slug, $license_user, $license_key); } -}); \ No newline at end of file +});