Description
AT Gallery is a simple and easy-to-use gallery plugin for WordPress that allows you to add bulk images to a gallery, display galleries with a shortcode, and show images in a lightbox on the frontend.
Key Features:
– Create galleries using a custom post type.
– Bulk image upload support.
– Manage gallery images in the admin panel with options to remove individual images.
– Display galleries using a simple shortcode [atga id="gallery_id"]
.
– Images open in a lightbox for a smooth user experience.
– Easy to use with a minimal configuration.
Usage
Once activated, you can create galleries by going to the AT Galleries menu item in your WordPress admin. Here’s how to use the plugin:
-
Add a new gallery:
- Go to AT Galleries > Add New.
- Add a title and select the images you want to add to the gallery.
- You can add images using the Select Images button, and you will see them listed with a remove button if you wish to delete individual images.
- The gallery shortcode will be displayed at the top of the editor. Copy the shortcode and paste it into any page, post, or widget.
-
Display the gallery on the frontend:
- Use the shortcode
[atga id="gallery_id"]
whereGALLERY_ID
is the ID of the gallery you want to display. You can find the gallery ID in the URL when editing a gallery.
Example shortcode:
`[atga id=”gallery_id”]“`This will display the gallery with the specified ID.
- Use the shortcode
-
Images open in a lightbox:
- The gallery images will automatically open in a lightbox when clicked, providing a smooth user experience for your visitors.
Developer Notes
- The gallery images are stored as post meta under the key
_at_gallery_images
. - You can use
wp_get_attachment_image()
to display images in the gallery or customize the output to fit your theme’s needs. - The plugin is fully extendable. You can modify the display template by overriding the template in your theme if needed.
License
This plugin is licensed under the GPL-2.0-or-later license. You are free to modify and redistribute it as long as you adhere to the terms of the license.
Installation
- Download the plugin ZIP file.
- In your WordPress admin, go to Plugins > Add New.
- Click Upload Plugin, then choose the ZIP file you downloaded and click Install Now.
- After the plugin is installed, click Activate.
- After activation, a new menu item called AT Galleries will appear in your WordPress admin sidebar.
- Create a new gallery and add images using the AT Galleries custom post type.
- Use the provided shortcode
[atga id="gallery_id"]
to display the gallery on your pages or posts.
FAQ
-
How do I create a new gallery?
-
- Go to the WordPress admin dashboard and click on AT Galleries.
- Click Add New.
- Add a title for your gallery and select images to add.
- Once the gallery is created, copy the shortcode displayed at the top and paste it anywhere on your site.
-
Can I use this plugin on any WordPress theme?
-
Yes, this plugin is fully compatible with most WordPress themes. It uses standard WordPress functions like
wp_get_attachment_image()
to display images, ensuring compatibility. -
How do I change the image size for my galleries?
-
You can customize the size of images displayed in the gallery by editing the shortcode or modifying the code to use different image sizes. By default, the plugin uses the “medium” size for frontend images.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“AT Gallery” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “AT Gallery” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0
- Initial release of AT Gallery plugin.
- Added custom post type for galleries.
- Added bulk image upload functionality.
- Implemented shortcode to display galleries.
- Integrated lightbox functionality for gallery images.