WP Manifestindependent plugin directory
manifest / media / image-gallery-metabox

Image Gallery Metabox

WordPress plugin that adds an intuitive image gallery meta box to the page editor screen.

by Alexis J. Villegas · github.com/ajvillegas/image-gallery-metabox · website

8stars
5forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/ajvillegas/image-gallery-metabox/archive/refs/heads/master.zip

Declares an update source (ajvillegas/image-gallery-metabox), so updates arrive through the plugin's own updater.

From the readme

Image Gallery Metabox This plugin adds an intuitive image gallery meta box to the page editor screen. Description This plugin adds an intuitive image gallery meta box to the page editor screen. Designed for theme developers, it outputs an array of attachment IDs that can be used to manage galleries and sliders in the front-end. Display Options By default, the plugin adds the image gallery meta box to pages only, but can be displayed on other post types, specific posts or pages, and page templates using the igmbdisplaymetabox filter. The example below demonstrates how you can implement this filter on your theme (the values shown below are the filter's default values): You can override all parameters at once or only include the ones you want to override in the filter. The following example would display the meta box only on the page assigned as Front page under Settings Reading: Front-end Usage To retrieve the gallery attachment IDs use getpostmeta like this: $images = getpostmeta( $postid, 'igmbimagegalleryid'

Read the full README on GitHub →