WPChill / modula-lite

https://wordpress.org/plugins/modula-best-grid-gallery/
GNU General Public License v3.0
18 stars 9 forks source link

Modula Gallery - The Best WordPress Gallery Plugin 🏞️

Modula is the fastest, most customizable, and versatile image gallery plugin for WordPress. Built from the ground up with the latest technology, Modula ensures that your galleries load quickly while also looking fantastic on popular devices.


👉 Not a developer? Running WordPress? Download Modula on WordPress.org.

Plugin version WordPress Rating WordPress Downloads License

Welcome to the Modula Gallery Plugin GitHub repository. Here you can browse the source, look at open issues, and contribute to the project.

This repository exists for opening up new issues, reporting existing bugs, and anything else related to development. This is not the place to ask for support, so please reach out to us and we'll happily assist you.

🙋 Support

This repository is not suitable for WordPress support. Please don't use GitHub issues for non-development related support requests. Don't get us wrong, we're more than happy to help you! However, to get the support you need please use the following channels:

🌱 Getting Started

If you're looking to contribute to Modula, welcome! We're glad you're here. Please ⭐️ this repository and fork it to begin local development.

Most of us are using Local by Flywheel to develop on WordPress, which makes set up quick and easy. If you prefer Docker, VVV, or another flavor of local development that's cool too!

✅ Prerequisites

💻 Local Development

To get started developing you will need to perform the following steps:

  1. Create a new WordPress site using your favorite local development software.
  2. cd into your local plugins directory: /wp-content/plugins/
  3. Fork this repository from GitHub and then clone that into your plugins directory in a new modula-best-grid-gallery directory
  4. Run npm install to get the necessary npm packages
  5. Activate the plugin in WordPress
  6. Run npm run scss to start the watch process which will build the sass and script files and live reload using Browsersync

That's it. You're now ready to start development.

Available commands

Command Description
npm run min:js Use this command to minify plugin JavaScript files (note: this command does not minify Gutengerg assets).
npm run min:css Use this command to minify plugin CSS files (note: this command does not minify Gutengerg assets). This command will also concat files from the /front/ folder into front.css
npm run pot Use this command to build the .POT file for the plugin. Scans all of the plugin's files (includig JS files) and builds the .POT file.
npm run wpchill Use this command to minify all of the plugin's assets and generate the .POT file.
npm run plugin-zip Use this command to build a ZIP of the entire plugin folder, omitting node_modules, .dotfiles and .dotfolders
npm run build Official documentation: https://developer.wordpress.org/block-editor/reference-guides/packages/packages-scripts/#build
npm run start Official documentation: https://developer.wordpress.org/block-editor/reference-guides/packages/packages-scripts/#start
npm run lint:css Official documentation: https://developer.wordpress.org/block-editor/reference-guides/packages/packages-scripts/#lint-style
npm run lint:js Official documentation: https://developer.wordpress.org/block-editor/reference-guides/packages/packages-scripts/#lint-js

Development Notes