Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.25 KB

README.md

File metadata and controls

46 lines (37 loc) · 1.25 KB

cgb-image-slider

This project was bootstrapped with Create Guten Block.

Below you will find some information on how to run scripts.

You can find the most recent version of this guide here.

Requirements

  • Wordpress 5+
  • jQuery (only used to polyfill document.ready)
  • Fontsawesome Free (to resolve the default button classes)
  • tar (to create the plugin archive)
  • docker (for development)

Setup in Wordpress

  • Use bunde script to bundle the plugin ./bundle.sh
  • Extract in wp-content/plugins

Development

  • Run development task with watch
    • npm run start
  • Start wordpress & mysql via docker
    • docker-compose up -d
    • Create wp-content/uploads inside wordpress container
    • chown www-data:www-data uploads to be able to upload files

Known Issues

  • Block editing in german language only

Backlog

  • add scroll-snap webkit support
  • replace <a> as container class for an image
  • a11y
  • i18n for block editing
  • Move configuration to a sidebar
  • Get rid of jQuery
  • watch out for mozilla snap grid support

Changlog

1.0.2

  • add some snap grip support for mozilla

1.0.1

  • reduce stylings

1.0.0

  • initial version