=== Advanced Custom Fields: Flexible Content Field ===
Contributors: elliotcondon
Author: Elliot Condon
Author URI: http://www.elliotcondon.com
Plugin URI: http://www.advancedcustomfields.com
Requires at least: 3.0
Tested up to: 3.5.1
Stable tag: trunk
Homepage: http://www.advancedcustomfields.com/add-ons/flexible-content-field/
Version: 1.0.1


== Copyright ==
Copyright 2011 - 2013 Elliot Condon

This software is NOT to be distributed, but can be INCLUDED in WP themes: Premium or Contracted.
This software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


== Description ==

= Create unique page designs with a flexible layout! =

The Flexible content field acts as a blank canvas to which you can add an unlimited number of layouts with full control over the order.

Similar to the repeater field, this field contains sub fields. However, instead of 1 set of sub fields, the flexible content field allows you to create an infinite set of sub field groups (called layouts). With these layouts predefined, you can then add them into your field when ever you want and where ever you want.

http://www.advancedcustomfields.com/add-ons/flexible-content-field/


== Installation ==

This software can be treated as both a WP plugin and a theme include.
However, only when activated as a plugin will updates be available/

= Plugin =
1. Copy the 'acf-flexible-content' folder into your plugins folder
2. Activate the plugin via the Plugins admin page

= Include =
1. Copy the 'acf-flexible-content' folder into your theme folder (can use sub folders)
   * You can place the folder anywhere inside the 'wp-content' directory
2. Edit your functions.php file and add the following code to include the field:

`
add_action('acf/register_fields', 'my_register_fields');

function my_register_fields()
{
	include_once('acf-flexible-content/flexible-content.php');
}
`

3. Make sure the path is correct to include the flexible-content.php file


== Changelog ==

= 1.0.1 =
* [Updated] Updated sub field type list to remove 'Tab' and 'Flexible Content' as these do not work as sub fields

= 1.0.0 =
* [Updated] Updated update_field parameters
* Official Release

= 0.1.7 =
* [IMPORTANT] This update requires the latest ACF v4 files available on GIT - https://github.com/elliotcondon/acf4
* [Added] Added category to field to appear in the 'Layout' optgroup
* [Updated] Updated dir / path code to use acf filter

= 0.1.6 =
* [Fixed] Fix JS bug preventing a new field to be added to a new field group - https://github.com/elliotcondon/acf4/issues/41

= 0.1.5 =
* [IMPORTANT] This update requires the latest ACF v4 files available on GIT - https://github.com/elliotcondon/acf4
* [Updated] Updated naming conventions in field group page

= 0.1.4 =
* [Fixed] Fix wrong str_replace in $dir

= 0.1.3 =
* [Fixed] Fix random code showing in bottom of flexible-content.php

= 0.1.2 =
* [Updated] Drop support of old filters / actions

= 0.1.1 =
* [Fixed] Fix bug causing sub fields to not display choices correctly

= 0.1.0 =
* [IMPORTANT] This update requires the latest ACF v4 files available on GIT - https://github.com/elliotcondon/acf4
* [Fixed] Fixed bug where field would appear empty after saving the page. This was caused by a cache conflict which has now been avoided by using the format_value filter to load sub field values instead of load_value

= 0.0.9 =
* [Fixed] Fix field key issues when duplicating a layout

= 0.0.8 =
* [Fixed] Fix PHP bug where clone_fields are not being unset

= 0.0.7 =
* [Updated] Update save method to use uniqid for field keys, not pretty field keys

= 0.0.6 =
* [Fixed] Fix wrong css / js urls on WINDOWS server.

= 0.0.5 =
* [Fixed] Fix bug preventing WYSIWYG sub fields to load.

= 0.0.4 =
* [Fixed] Fix load_field hook issues with nested fields.

= 0.0.3 =
* [Fixed] acf_load_field-${parent_hook}-${layout_name}-${child_hook} now works!

= 0.0.2 =
* [Fixed] get_field is returning array with sub field key's, not sub field names!

= 0.0.1 =
* Initial Release.
