Gallery shortcode

From Unusual Light Wiki

Revision as of 14:31, 27 September 2012 by Jamesdodd (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The gallery shortcode or [better_gallery] is what is used to generate galleries on posts and pages.

It has many different options and a load of layout templates.

Here's a few explained.

[better_gallery template=single random=true ] This one’s nice and simple. It’s going to pull out a random single image. Super useful for homepages or maybe an about, contact or even an error page.

[better_gallery template=autoslideshow ] Another cracker for your homepage needs. This one’s is an automatic slideshow of every image you’ve added to the page. And you can throw in the random tag if your that way inclined.