Skip to content

oleksandrkartashev/gutenberg-custom-accordion-block

Repository files navigation

Description

This plugin adds a custom Accordion block in the Gutenberg editor.

How it looks on page

image

Installation

  1. Download the zipped plugin. Unzip the plugin.
  2. From your WordPress dashboard, choose Plugins > Add New.
  3. Click Upload Plugin at the top of the page.
  4. Click Choose File, locate the plugin .zip file, then click Install Now.
  5. After the installation is complete, click Activate Plugin.
  6. Alternative: Go to plugin directory from terminal and Clone this repo in wp-content/plugins directory git clone https://github.com/maxwell111/gb-custom-accorion-block.git And then activate it from Plugins screen in your WordPress administrative dashboard.

Scripts

# install dependencies
npm install

# Hot reload for local development
npm run dev

# Lint your .js files in assets folder
npm run lint

# Formatting your styles in assets folder using Prettier
npm run format_styles

# Formatting your scripts in assets folder using Prettier
npm run format_scripts

# build for production with minification
npm run build