https://github.com/imranhsayed/acf-guten-blocks
:electric_plug: This plugin creates Gutenberg blocks using ACF
https://github.com/imranhsayed/acf-guten-blocks
acf-block acf-php acf-wordpress gutenberg-blocks gutenberg-plugin wordpress wordpress-plugin wordpress-plugin-development
Last synced: about 1 year ago
JSON representation
:electric_plug: This plugin creates Gutenberg blocks using ACF
- Host: GitHub
- URL: https://github.com/imranhsayed/acf-guten-blocks
- Owner: imranhsayed
- Created: 2019-08-31T16:15:36.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-09T01:39:29.000Z (over 6 years ago)
- Last Synced: 2024-12-28T09:04:07.263Z (over 1 year ago)
- Topics: acf-block, acf-php, acf-wordpress, gutenberg-blocks, gutenberg-plugin, wordpress, wordpress-plugin, wordpress-plugin-development
- Language: PHP
- Homepage:
- Size: 246 KB
- Stars: 12
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ACF Guten Blocks
> This plugin creates Gutenberg blocks using ACF
## Getting Started :clipboard:
These instructions will get you a copy of the project up and running on your local machine for development purposes.
## Prerequisites :door:
You need to have any WordPress theme activated on your WordPress project, which has [ACF Pro](https://www.advancedcustomfields.com/pro/) Plugin installed and activated.
## Installation :wrench:
1. Clone the plugin directory in the `/wp-content/plugins/` directory, or install a zipped directory of this plugin through the WordPress plugins screen directly ( also remove the -master from the plugin directory )
2. Activate the plugin through the 'Plugins' screen in WordPress
## Use :ski:
1. Click on `Custom Fields` menu item on WordPress dashboard.
2. Create a new Field group called `Testimonial` and add below fields
- Testimonial ( type: text )
- Author ( type: text )
- Role ( type: text )
- Image ( type: image )
- Background Color ( type: text )
- Text Color ( type: text )

2. Add a new post and select the block called `Testimonial`
3. Add the values from the of the above custom fields using control panel on the right.
4. Now you will be able to see the content of your block template written in php inside the block.

You can also add the values of custom field by clicking on the inspector control edit icon, in the block.
## Contributing :busts_in_silhouette:
Please read [CONTRIBUTING.md](https://gist.github.com/PurpleBooth/b24679402957c63ec426) for details on our code of conduct, and the process for submitting pull requests to us.
## Versioning
I use [Git](https://github.com/) for versioning.
## Author :pencil:
* **[Imran Sayed](https://codeytek.com)**
## License :page_facing_up:

- **[GPLv2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)**