Skip to content

Commit

Permalink
Merge branch 'release/v1.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
folbert committed Dec 12, 2017
2 parents 6849941 + 43d27e7 commit 5a831ef
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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](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.

Expand Down
7 changes: 6 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down Expand Up @@ -41,4 +46,4 @@
* Updates to the Readme file

## 1.0 - April 22, 2016
* First stable release
* First stable release
6 changes: 3 additions & 3 deletions fewbricks.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -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';
Expand All @@ -42,4 +42,4 @@
new wp_autoupdate ($plugin_current_version, $plugin_remote_path, $plugin_slug, $license_user, $license_key);
}

});
});
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,8 @@

$fewbricks_fg->add_field(new acf_fields\text('Footer text', 'footer_text', '1603242348a'));

$fewbricks_fg->register();
$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();

0 comments on commit 5a831ef

Please sign in to comment.