GithubHelp home page GithubHelp logo

imranhsayed / acf-guten-blocks Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 5.0 252 KB

:electric_plug: This plugin creates Gutenberg blocks using ACF

PHP 100.00%
acf-block acf-php acf-wordpress wordpress wordpress-plugin wordpress-plugin-development gutenberg-blocks gutenberg-plugin

acf-guten-blocks's Introduction

ACF Guten Blocks

This plugin creates Gutenberg blocks using ACF

Getting Started ๐Ÿ“‹

These instructions will get you a copy of the project up and running on your local machine for development purposes.

Prerequisites ๐Ÿšช

You need to have any WordPress theme activated on your WordPress project, which has ACF Pro Plugin installed and activated.

Installation ๐Ÿ”ง

  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 ๐ŸŽฟ

  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 )

  1. Add a new post and select the block called Testimonial
  2. Add the values from the of the above custom fields using control panel on the right.
  3. 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 ๐Ÿ‘ฅ

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

I use Git for versioning.

Author ๐Ÿ“

License ๐Ÿ“„

License: GPL v2

acf-guten-blocks's People

Contributors

imranhsayed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.