WP Manifestindependent plugin directory
manifest / media / gallery-types

Gallery Types

Allows you to define a theme specific gallery type.

★ 0stars
3kcomposer installs

Install

Download source zip No release zip yet

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/wearerequired/gallery-types/archive/refs/heads/master.zip

On Packagist as wearerequired/gallery-types:

composer require wearerequired/gallery-types
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Gallery Types A plugin that allows you to define a theme specific gallery type. Props to Jetpack for their Gallery module. Add custom gallery types By default the plugin supports only one type, WordPress default thumbnail grid. To add more types you can use the gallerytypes.types filter. Each type has a key (slider) with two values: label for the label displayed in the select menu and supportscolumns to define whether the type supports columns. If supportscolumns is set to false the columns option will be hidden. Once a user selects a type the shortcode will get a new type attribute with the key of a gallery type as value. To change the default selected type you can use the gallerytypes.default-type filter. Customize gallery output This plugin does not change the ouput of the gallery shortcode. That needs to be part of your theme and could be something like this: Contributing Build Task To update the minfied JavaScript file you need Node.js installed.