WordPress plugin intelligence profile

Featured Galleries

Do you like giving posts a Featured Image? Try out a Featured Gallery. It's like a Featured Images ... except as many images as you want.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 4.9
Current version2.1.0
WordPress coverageTested up to WordPress 4.9
Minimum stackWP 3.8.0 · PHP 5.4
Directory statusactive
Last directory update2 Aug 20188y ago
Active installations3K+Adoption metric — not a quality score
WordPress.org rating4.7 / 5 from 20 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Featured Galleries version 2.1.0 as active, updated 8y ago and tested up to WordPress 4.9.

Overview

About this plugin

Hello Theme Developers!

Have you ever added a Featured Image to a post and thought to yourself, “I wish I could add more than one image this way”? Well, now you can. Featured Galleries mirrors the Featured Images functionality of WordPress.

The only difference is that posts get an entire gallery rather than just a single image. These galleries behave almost exactly like Featured Images, and make use of WordPress’s built in Media Manager. Users can select images, define the order, and save the gallery, all through a simple drag-n-drop interface.

Note: This plugin DOES NOT HANDLE THE FRONTEND HTML CREATION.

That is left for themes to handle, to allow for maximum flexibility. Featured Galleries just handles the backend/admin interface for creating featured galleries and storing them as metadata. You will need to integrate this into your theme, or use a theme with prebuilt integration.

Quick Start Guide to Integrate Into Themes

For more information, see GitHub Wiki.

I’ve tried to make this as intuitive as possible. Themes can integrate Featured Galleries in the same way they integrate Featured Images. Inside any template file where the gallery should appear, the theme will call the get_post_gallery_ids() function.

As long as it is used inside the loop, the function doesn’t need any parameters. By default, it will return an array of image IDs.

Example

Set inside the Loop. This returns all images in the Featured Gallery, as an array, then loops through to display each using an HTML <img> tag.

$galleryArray = get_post_gallery_ids();

foreach ( $galleryArray as $id ) {

echo '<img src="'. '">';

}

You can also customize the returned value from the function to suit your needs. See the full function documentation page for details.

Custom Post Types

The plugin comes with a filter to easily add Featured Galleries to custom post types. See the fg_post_types documentation page for details.

Customizing the Media Manager

The media manager can be customized in sevearl ways. See the fg_show_sidebar and fg_use_legacy_selection filter documentation pages for details.

Want to Help?

I’d love some help with internationalization. It was working at one point, but drivingralle did that code because I don’t really understand it, and I’m not sure it’s still working.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • admin
  • backend
  • featured
  • galleries
  • images
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 4.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.9
Minimum requirementsWordPress 3.8.0 · PHP 5.4
Update activity2 Aug 20188y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.