Description
Usage
bw_portfolio__syntax( $shortcode );Parameters
- $shortcode
- ( mixed ) optional default: bw_portfolio –
Returns
voidSource
File name: oik/shortcodes/oik-attachments.phpLines:
1 to 9 of 9
function bw_portfolio__syntax( $shortcode="bw_portfolio" ) { $syntax = _sc_posts(); $syntax['post_type'] = BW_::bw_skv( "attachment", "<i>" . __( "post type", "oik" ) . "</i>", __( "Post type to display", "oik" ) ); $syntax['post_mime_type'] = BW_::bw_skv( "image,application/pdf", "", __( "Attachment types to pair", "oik" ) ); $syntax['orderby'] = BW_::bw_skv( "title", "date|ID|parent|rand|menu_order", __( "Sort sequence", "oik" ) ); $syntax['order'] = BW_::bw_skv( 'ASC', "DESC", __( "Sort order.", "oik" ) ); $syntax += _sc_classes(); return( $syntax ); }View on GitHub View on Trac
Called by
1 to 2 of 2
Invoked by
Calls
1 to 3 of 3
