• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress develop tests

WordPress develop tests

WordPress develop tests a2z

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Shortcodes / gallery – Display the attached images in a gallery

Display the attached images in a gallery

Example

oik generated example.

[gallery]

Published: 8th July 2016 | Last updated: 8th July 2016

Information

Shortcode: gallery
Plugin ref:
Version:
API ref:
Enclosed content shortcode? Needs [/code]?: No
Expands in 'the_title'?: yes
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"]

Footer

WordPress develop tests
WordPress develop tests
WordPress develop tests a2z
WordPress 5.9.3
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  develop.wp-a2z.org
© Copyright WordPress develop tests 2014-2022. All rights reserved.


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

  • Home
  • Blog
  • Sitemap
  • Sites