inc2734/wp-pure-css-gallery

A library to change WordPress gallery to pure css gallery.

2.0.0 2018-09-05 01:23 UTC

README

Build Status Latest Stable Version License

Install

$ composer require inc2734/wp-pure-css-gallery

How to use

<?php
// When Using composer auto loader
new Inc2734\WP_Pure_CSS_Gallery\Pure_CSS_Gallery();

Shortcode

/**
 * @param ids      Attachment IDs
 * @param link
 *   @var file     Lightbox
 *   @var none     No link
 *   @var (blank)  Attachment page
 * @param size     Thubmnail Size
 * @param columns  Column size
 * @param order    ASC or DESC
 * @param orderby
 */

[gallery ids="1,2,3" columns="3"]