You appear to be a bot. Output may be restricted
Description
Syntax help for the gallery shortcode
Usage
gallery__syntax();
Parameters
Returns
voidTO DO
Find out if the post__in and HTML5 stuff should be mentioned or not.$atts = shortcode_atts( array( 'order' => 'ASC', 'orderby' => 'menu_order ID', , "orderby" => BW_::bw_skv( "post__in", "<i>menu_order|ID|title|rand</i>", "Order by field" ) 'id' => $post ? $post->ID : 0, 'itemtag' => $html5 ? 'figure' : 'dl', 'icontag' => $html5 ? 'div' : 'dt', 'captiontag' => $html5 ? 'figcaption' : 'dd', 'columns' => 3, 'size' => 'thumbnail', 'include' => '', 'exclude' => '', 'link' => '' `
Source
File name: oik/libs/oik-sc-help.phpLines:
1 to 14 of 14
function gallery__syntax() { $syntax = array( 'order' => BW_::bw_skv( 'ASC', "DESC", __( "Order", null ) ) , 'orderby' => BW_::bw_skv( 'menu_order ID', "ID|title|rand", __( "Order by field", null ) ) , 'ids' => BW_::bw_skv( "", __( "ID" , null ), __( 'Post ID. Default: Current post ID', null ) ) , 'itemtag' => BW_::bw_skv( 'dl', "<i>" . __( "tag", null ) . "</i>", __( "Item tag", null ) ) , 'icontag' => BW_::bw_skv( 'dt', "<i>" . __( "tag", null ) . "</i>", __( "Icon tag", null ) ) , 'captiontag' => BW_::bw_skv( 'dd', "<i>" . __( "tag", null ) . "</i>", __( "Caption tag", null ) ) , 'columns' => BW_::bw_skv( 3, __( "numeric", null ), __( "Columns", null ) ) , 'size' => BW_::bw_skv( 'thumbnail', "medium|full", __( "Thumbnail image size", null ) ) , 'include' => BW_::bw_skv( null, "<i>" . __( "id1,id2", null ) . "</i>", __( "IDs to include", null ) ) , 'exclude' => BW_::bw_skv( null, "<i>" . __( "id1,id2", null ) . "</i>", __( "IDs to exclude", null ) ) ); return $syntax ; }View on GitHub View on Trac