Image Gallery Shortcode

Single images must be enabled in the A2Z Community Settings in order to use this option.  If this option is not available to you, please contact your site administrators for more information.

To view your single image posts in a WordPress gallery, use the shortcode [a2z_image_gallery]

limit: The maximum number of images to show. The default is 20.

orderby: The order for retrieving and displaying the images. The default is ‘date’ which will display the last images added. You may must any of the WP_Query ordeby options. Some other options are ‘rand’ for a random selection, ‘title’,  ‘menu_order’, etc.

order: Whether to use ascending (‘ASC’) or descending (‘DESC’) order when applying the orderby parameter. The default is “ASC”.


Leave a question or comment

Your comment can be viewed by the public. Do not include personal information.

Your email address will not be published. Required fields are marked *