From 73cc7e7a655548e47cceff86b2f6332526fbaef7 Mon Sep 17 00:00:00 2001 From: Damon Cook Date: Wed, 15 Nov 2023 10:52:02 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20ADD:=20.gitattributes=20and=20READM?= =?UTF-8?q?E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitattributes | 4 ++++ README.md | 25 +++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 .gitattributes create mode 100644 README.md diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ec572bb --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +.gitattributes export-ignore +.gitignore export-ignore +.gitkeep export-ignore +README.md export-ignore \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..f8ea8b2 --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +# Demo ACF Plugin + +__Fork it, or download the [latest release](https://github.com/colorful-tones/acf-slider-block/releases), and make it your own!__ + +This is a demonstration of how you might create a custom [ACF Block](https://www.advancedcustomfields.com/resources/blocks/), which is a slider carousel UI. We're using SwiperJS (3rd-party dependency) for the slider JavaScript and CSS (mostly). + +## Installation + +__Required__ You must have [ACF PRO](https://https://www.advancedcustomfields.com/pro/) installed and activated in order to use the ACF Slider Block plugin. + +### Manual + +1. Upload the `acf-slider-block` folder to the plugins directory (typically `wp-content/plugins`) in your WordPress installation. +2. Activate the ACF Slider Block plugin. +3. Create a new post or page, and insert the Slider block. +4. That's it. + +## Changelog + +### 0.1.1 – 2023-11-15 + +Initial release, which includes: + +- Slider Block which uses [SwiperJS](https://swiperjs.com/) (v11.0.4) + - Two style variations: "Default" and "Complex" - examples of how you might have different variations. Feel free to fork and modify!