Home / Shortcodes / gallery – Display the attached images in a gallery

Display the attached images in a gallery

Example

oik generated example.

[gallery]

Published: 24th April 2016 | Last updated: 24th April 2016

Information

Shortcode: gallery
Plugin ref: WordPress
Version: 5.0.3
API ref:
Enclosed content shortcode? Needs [/code]?: No
Expands in 'the_title'?: yes
Compatible with shortcake?: No
Letters:

Syntax

Syntax

[gallery
order="ASC| DESC - Order"
orderby="menu_order ID| ID| title| rand - Order by field"
ids="| ID - Post ID. Default: Current post ID"
itemtag="dl| tag - Item tag"
icontag="dt| tag - Icon tag"
captiontag="dd| tag - Caption tag"
columns="3| numeric - Columns"
size="thumbnail| medium| full - Thumbnail image size"
include="| id1,id2 - IDs to include"
exclude="| id1,id2 - IDs to exclude"]
  • Plugins
  • Themes
  • Shortcodes
  • APIs
  • Files
  • Hooks
  • Classes
  • Home
  • Sites
  • Sitemap
  • Blog
Genesis a2z Genesis Theme Framework a2z
WordPress Dynamic API Reference

Site:  genesis.wp-a2z.org
© Copyright Genesis a2z 2014-2019. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins