Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/radoslavgeorgiev/acf-code-helper
Helps you quickly create ACF fields via PHP.
https://github.com/radoslavgeorgiev/acf-code-helper
Last synced: 19 days ago
JSON representation
Helps you quickly create ACF fields via PHP.
- Host: GitHub
- URL: https://github.com/radoslavgeorgiev/acf-code-helper
- Owner: RadoslavGeorgiev
- Created: 2016-08-27T00:19:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-18T16:14:44.000Z (about 8 years ago)
- Last Synced: 2024-04-20T11:25:37.546Z (9 months ago)
- Language: PHP
- Size: 8.79 KB
- Stars: 7
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# ACF Code Helper
This is a small helper library, whose purpose is to ease your field creation process when using the [Advanced Custom Fields](https://www.advancedcustomfields.com/) plugin to register fields via PHP.Normally, ACF allows you to create fields via PHP, as you can read at [https://www.advancedcustomfields.com/resources/register-fields-via-php/](https://www.advancedcustomfields.com/resources/register-fields-via-php/). However, this process requires you to have a unique field key for each field, which is afterwards used in conditional logic statements and generally, this can be quite inconvinient.
This helper assists you by automatically generating field keys based on the name of a fields group and the name of the current field.
One of my other plugins, the [Twig Framework for WordPress](https://github.com/RadoslavGeorgiev/twig-framework) is a perfect match for this plugin, as the framework has built-in support for content blocks, widgets and more, which rely on this class.
## Installation
1. Download the repository as a .zip file and install as a plugin.
2. Create some groups.## Documentation
Please check the [Wiki](https://github.com/RadoslavGeorgiev/acf-code-helper/wiki) of the project.## Author
The framework is being developed by me, [Radoslav Georgiev](http://rageorgiev.com), web developer at [DigitalWerk](https://digitalwerk.agency/en/).