Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/chrishursty/urban-spark-gallery-plugin/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Description: A simple and accessible gallery plugin with responsive grids and Magnific Popup.
Table of Contents
Features
- Adds a custom post type for galleries
- Easily manage galleries using the WordPress media uploader
- Display galleries anywhere using a shortcode
- Responsive 1-6 column grid layout
- Optional captions
- Magnific Popup lightbox functionality
- Keyboard navigation and accessibility support
- Automatic image compression and lazy loading
Requirements
- WordPress 5.0 or higher
- PHP 7.0 or higher
Installation
- Download the latest version of the plugin as a ZIP file.
- Upload the plugin to the
/wp-content/plugins/directory or via the WordPress plugin installer. - Activate the plugin through the 'Plugins' menu in WordPress.
Usage
-
Create a Gallery:
- Go to the 'US Galleries' menu in the WordPress dashboard.
- Click 'Add New Gallery.'
- Add images using the 'Add Images' button.
- Configure the gallery settings (columns, captions).
- Click 'Publish.'
-
Display the Gallery:
- Use the shortcode
[us_gallery id="1010"]to display the gallery.
- Use the shortcode
Settings
Gallery Settings (Meta Box):
- Columns: Choose the number of columns (1-6).
- Captions: Enable or disable captions.
Changelog
1.0.0
- Initial release of the Urban Spark Gallery Plugin.
Contributing
We welcome contributions! To contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/my-feature). - Commit your changes (
git commit -am 'Add my feature'). - Push to the branch (
git push origin feature/my-feature). - Create a new Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.