acf-extended
Last commit date
assets
7 years ago
includes
7 years ago
acf-extended.php
7 years ago
init.php
7 years ago
readme.txt
7 years ago
readme.txt
239 lines
| 1 | === Advanced Custom Fields: Extended === |
| 2 | Contributors: hwk-fr |
| 3 | Donate link: https://hwk.fr/ |
| 4 | Tags: acf, custom fields, meta, admin, fields, form, repeater, content |
| 5 | Requires at least: 4.9 |
| 6 | Tested up to: 5.1.1 |
| 7 | Requires PHP: 5.6 |
| 8 | Stable tag: 0.5.8.1 |
| 9 | License: GPLv2 or later |
| 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 11 | |
| 12 | All-in-one enhancement suite which improves Advanced Custom Fields administration. |
| 13 | |
| 14 | == Description == |
| 15 | |
| 16 | ACF Extended is a all-in-one enhancement suite which improves Advanced Custom Fields administration. |
| 17 | |
| 18 | **Requires at least ACF Pro 5.7.10** |
| 19 | |
| 20 | *If you don't already own [ACF Pro](https://www.advancedcustomfields.com/pro/), I can only advise you to seriously consider it. It's one of the most powerful WordPress plugin, with a life-time licence for unlimited websites. What more could anyone want?* |
| 21 | |
| 22 | == Field Groups == |
| 23 | |
| 24 | * **Auto Sync PHP** |
| 25 | Automatically synchronize field groups with local PHP files upon field group updates. This feature will create, include and update a local PHP file for each field group (just like the native Json sync feature). |
| 26 | Default folder: `/wp-content/themes/my-theme/acfe-php/` |
| 27 | |
| 28 | * **Auto Sync Json** |
| 29 | Control which field groups you want to synchronize with local Json files. Display warnings if the Json file has been manually deleted. Manually synchronize Json from field group screen. |
| 30 | |
| 31 | * **Categories** |
| 32 | Spice up your field groups with a custom taxonomy and filter field groups by terms. |
| 33 | |
| 34 | * **Permissions** |
| 35 | Add permission layer to field groups. Choose which roles can view & edit field groups in the post edition screen. |
| 36 | |
| 37 | * **Alternative Title** |
| 38 | Display an alternative field group title in post edition screen. |
| 39 | |
| 40 | * **Note** |
| 41 | Add a personal note in the field group administration. Only visible to administrators |
| 42 | |
| 43 | * **Custom meta data** |
| 44 | Add custom metas (key/value) in the field group administration |
| 45 | |
| 46 | * **View raw data** |
| 47 | Display raw field group data in a modal to check your configuration & settings |
| 48 | |
| 49 | * **Custom key** |
| 50 | Set custom field group key. ie: `group_custom_name` |
| 51 | |
| 52 | == Field Groups List == |
| 53 | |
| 54 | * **Column: Category** |
| 55 | Display and filter field groups categories |
| 56 | |
| 57 | * **Column: Locations** |
| 58 | Quick view of field groups locations informations using icons & popover |
| 59 | |
| 60 | * **Column: Load** |
| 61 | Quick view of field groups load engine (DB or PHP. See Sync PHP) |
| 62 | |
| 63 | * **Column: Sync PHP / Json** |
| 64 | Quick view of field groups synchronization status with warnings |
| 65 | |
| 66 | * **Row action: Export PHP / Json** |
| 67 | One-click export for each field groups |
| 68 | |
| 69 | * **Row action: Field group key** |
| 70 | Quick view of field groups keys |
| 71 | |
| 72 | == Fields == |
| 73 | |
| 74 | * **Bidirectional fields** |
| 75 | An advanced bidirectional setting (also called post-to-post) is available for the following fields: Relationship, Post object, User & Taxonomy terms. |
| 76 | Fields will work bidirectionally and automatically updating each others. Works in groups & clones (prefixed field names must be turned off). |
| 77 | [Usage example is available in the FAQ](#faq) |
| 78 | |
| 79 | * **Advanced validation** |
| 80 | A more sophisticated validation conditions (AND/OR) with custom error messages in the post edition screen. |
| 81 | |
| 82 | * **Advanced update filter** |
| 83 | Add specific PHP filters right before the value is saved in the database. |
| 84 | |
| 85 | * **Permissions** |
| 86 | Add permission layer to fields. Choose which roles can view & edit fields in the post edition screen. (can be combinated with field groups permissions) |
| 87 | |
| 88 | * **View raw data** |
| 89 | Display raw field data in a modal to check your configuration & settings |
| 90 | |
| 91 | * **New field: Dynamic message** |
| 92 | Display dynamic PHP content using `acf/render_field` |
| 93 | |
| 94 | * **New field: Button** |
| 95 | Display a submit button |
| 96 | |
| 97 | * **New field: Post type selection** |
| 98 | Select any post type (format: checkbox, radio or select) |
| 99 | |
| 100 | * **New field: Taxonomy selection** |
| 101 | Select any taxonomy (format: checkbox, radio or select) |
| 102 | |
| 103 | * **New field: Slug** |
| 104 | A slug text input (ie: `my-text-input`) |
| 105 | |
| 106 | == ACF Settings == |
| 107 | |
| 108 | * **Settings page** |
| 109 | Display all ACF settings in one page. |
| 110 | |
| 111 | == Dynamic Post Types == |
| 112 | |
| 113 | Create and manage post types from your WordPress administration (Tools > Post Types). All WordPress post types arguments can be set and managed. But also: |
| 114 | |
| 115 | * Manage Posts per page, order by and order for the post type archive |
| 116 | * Manage Posts per page, order by and order for the post type administration screen |
| 117 | * Set custom single template (ie: `my-single.php`) instead of the native `single-{post_type}.php` |
| 118 | * Set custom archive template (ie: `my-archive.php`) instead of the native `archive-{post_type}.php` |
| 119 | |
| 120 | == Dynamic Taxonomies == |
| 121 | |
| 122 | Create and manage taxonomies from your WordPress administration (Tools > Taxonomies). All WordPress taxonomies arguments can be set and managed. But also: |
| 123 | |
| 124 | * Manage Posts per page, order by and order for the taxonomy term archive |
| 125 | * Manage Posts per page, order by and order for the taxonomy administration screen |
| 126 | * Set custom taxonomy template (ie: `my-taxonomy.php`) instead of the native `taxonomy-{taxonomy}.php` |
| 127 | |
| 128 | == Ajax Author Box == |
| 129 | |
| 130 | Replaced the native WP Author Metabox with a dynamic version allowing to manage thousands of users without slowing down the post administration. |
| 131 | |
| 132 | == Options == |
| 133 | |
| 134 | BETA: Manage all WordPress options from Settings > Options. |
| 135 | |
| 136 | * View, add, edit and remove simple options (string/boolean) |
| 137 | * View and remove serialized options (displayed as array for readability) |
| 138 | |
| 139 | == Installation == |
| 140 | |
| 141 | = Wordpress Install = |
| 142 | |
| 143 | 1. Install Advanced Custom Fields: Pro |
| 144 | 2. Upload the plugin files to the `/wp-content/plugins/advanced-custom-fields-extended` directory, or install the plugin through the WordPress plugins screen directly. |
| 145 | 3. Activate the plugin through the 'Plugins' screen in WordPress. |
| 146 | 4. Everything is ready! |
| 147 | |
| 148 | == Frequently Asked Questions == |
| 149 | |
| 150 | = How to activate Auto Sync PHP? = |
| 151 | |
| 152 | Create a folder `/acfe-php/` in your theme. Go to your field group administration, check to 'Sync PHP' option in the sidebar and save the field group. |
| 153 | |
| 154 | = How the bidirectional field setting works? = |
| 155 | |
| 156 | An advanced bidirectional setting (also called post-to-post) is available for the following fields: Relationship, Post object, User & Taxonomy terms. |
| 157 | Fields will work bidirectionally and automatically updating each others. Works in groups & clones (prefixed field names must be turned off). |
| 158 | |
| 159 | Usage example: |
| 160 | |
| 161 | * Create a field group "Page: Relation" displaying on the post type: page |
| 162 | |
| 163 | * Inside it, create a relationship field, allowing the post type: post |
| 164 | |
| 165 | * Create an another field group "Post: Relation" displaying on the post type: post |
| 166 | |
| 167 | * Inside it, create a relationship field, allowing the post type: page |
| 168 | |
| 169 | * Activate the "Bidirectional" setting and select the "Page: Relation" relationship field |
| 170 | |
| 171 | * Edit any page, and select any post of the post type post in the relationship field |
| 172 | |
| 173 | * The page is now also saved in the said post relationship field |
| 174 | |
| 175 | == Screenshots == |
| 176 | |
| 177 | 1. Field Groups List |
| 178 | 2. Field Groups List (Labeled) |
| 179 | 3. Field Group |
| 180 | 4. Field Group (Labeled) |
| 181 | 5. Field Group: Raw Data (Modal) |
| 182 | 6. Field |
| 183 | 7. Field: Raw Data (Modal) |
| 184 | 8. ACF Settings |
| 185 | |
| 186 | == Changelog == |
| 187 | |
| 188 | = 0.5.8.1 = |
| 189 | * Plugin: Less aggressive ACF Pro check on activation. Now displaying a notice (allowing pre-activation of ACF Extended) |
| 190 | * Plugin: Readme text fix |
| 191 | |
| 192 | = 0.5.8 = |
| 193 | * Field: Added Bidirectional setting for the following fields: relationship, post object, user & taxonomy terms |
| 194 | * Module: Added 'Ajax Author' field to replace the native WP Author Meta Box |
| 195 | * Module: Dynamic Post Type & Taxonomy - Better exclusion from ACF post types selection (location & fields) |
| 196 | * General: Fixed ACF Select2 CSS to fit ACF input styles (border-radius, border-color & line-height) |
| 197 | * General: Renamed ACF-Extended assets for better readability in the browser console resources tab |
| 198 | * Compatibility: Removed the Taxonomy Order submenu created under ACF for the taxonomy 'Field Group Category' by the plugin 'Category Order and Taxonomy Terms Order' |
| 199 | |
| 200 | = 0.5.5.1 = |
| 201 | * Module: Dynamic Taxonomy - Fixed Terms PHP warning |
| 202 | * General: Plugin readme |
| 203 | |
| 204 | = 0.5.5 = |
| 205 | * Module: Added Dynamic Post Type module |
| 206 | * Module: Added Dynamic Taxonomy module |
| 207 | * Admin: Added WP Options page |
| 208 | * Field: Added Post Type Selection field |
| 209 | * Field: Added Taxonomy Selection field |
| 210 | * Field: Added Slug field |
| 211 | * Field Groups: Fixed 'no field groups found' wrong colspan |
| 212 | * General: Reworked plugin folders and files hierarchy |
| 213 | |
| 214 | = 0.5.2.3 = |
| 215 | * Field Groups: Fixed unused category column on Field Groups Sync page |
| 216 | * Fields: Fixed subfields 'ghost' acfcloneindex saved when duplicating flexible content (thanks to @AsmussenBrandon) |
| 217 | |
| 218 | = 0.5.2.1 = |
| 219 | * Field Group: Fixed Left Label Placement overwriting existing field groups (thanks to @AsmussenBrandon) |
| 220 | |
| 221 | = 0.5.2 = |
| 222 | * Fields: Added new dynamic message field |
| 223 | * Fields: Added new button field |
| 224 | * General: Added compatibility filters for 'Post Types Order' plugin |
| 225 | * Plugin: Updated assets |
| 226 | * Plugin: Reworked readme |
| 227 | * Plugin: Fixed typos |
| 228 | |
| 229 | = 0.5.1 = |
| 230 | * Plugin: Added screenshots |
| 231 | * Field Group: Moved Auto Sync Warnings below Auto Sync instructions |
| 232 | * Field: Added filters variation to `acfe/validate` & `acfe/update` |
| 233 | |
| 234 | = 0.5 = |
| 235 | * Initial release |
| 236 | |
| 237 | == Upgrade Notice == |
| 238 | |
| 239 | None |