Description
Since the shortcode has been selected we know that it is active therefore we can assume that the $ps_options fields have been populated If the fields are not set then we may get Notices:
Usage
portfolio_slideshow__syntax( $shortcode );Parameters
- $shortcode
- ( mixed ) optional default: portfolio_slideshow –
Returns
voidSource
File name: oik/shortcodes/oik-slideshows.phpLines:
1 to 29 of 29
function portfolio_slideshow__syntax( $shortcode="portfolio_slideshow" ) { global $ps_options; $syntax = array( "size" => BW_::bw_skv( $ps_options['size'], "thumbnail|medium|large|full", __( "Image size", "oik" ) ) , 'nowrap' => BW_::bw_skv( $ps_options['nowrap'], "true|false", __( "Disable slideshow wrapping", "oik" ) ) , 'speed' => BW_::bw_skv( $ps_options['speed'], "<i>" . __( "number", "oik" ) . "</i>", __( "Transition speed in milliseconds", "oik" ) ) , 'trans' => BW_::bw_skv( $ps_options['trans'], "fade|scrollHorz", __( "Transition effect", "oik" ) ) , 'timeout' => BW_::bw_skv( $ps_options['timeout'], "<i>" . __( "number", "oik" ) . "</i>", __( "Time per slide when slideshow is playing", "oik" ) ) , 'exclude_featured' => BW_::bw_skv( $ps_options['exclude_featured'], "true|false", __( "Exclude the featured image", "oik" ) ) , 'autoplay' => BW_::bw_skv( $ps_options['autoplay'], "true|false", __( "Autoplay the slideshow", "oik" ) ) , 'pagerpos' => BW_::bw_skv( $ps_options['pagerpos'], "top|bottom|disabled", __( "Position of the pager", "oik" ) ) , 'navpos' => BW_::bw_skv( $ps_options['navpos'], "top|bottom|disabled", __( "Position of the navigation links", "oik" ) ) , 'showcaps' => BW_::bw_skv( $ps_options['showcaps'], "true|false", __( "Show the image caption", "oik" ) ) , 'showtitles' => BW_::bw_skv( $ps_options['showtitles'], "true|false", __( "Show the image title", "oik" ) ) , 'showdesc' => BW_::bw_skv( $ps_options['showdesc'], "true|false", __( "Show the image description", "oik" ) ) , 'click' => BW_::bw_skv( $ps_options['click'], "advance|openurl", __( "Behavior when image clicked", "oik" ) ) , 'target' => BW_::bw_skv( $ps_options['target'], "_self|_blank|_parent", __( "New URL opens in", "oik" ) ) , 'centered' => BW_::bw_skv( $ps_options['centered'], "true|false", __( "Display centered slideshow", "oik" ) ) , 'thumbs' => BW_::bw_skv( '', "true", __( "Alternative to pagerpos=bottom", "oik" ) ) //, 'fluid' => BW_::bw_skv( $ps_options['allowfluid'], "true|false", "Support fluid layouts" ) , 'slideheight' => BW_::bw_skv( '', "<i>" . __( "number", "oik" ) . "</i>", __( "Force slide container height, in pixels", "oik" ) ) , 'id' => BW_::bw_skv( '', "post-id", __( "ID of post from which the slides should be taken", "oik" ) ) , 'exclude' => BW_::bw_skv( '', "id1,id2,etc", __( "IDs of attachments to exclude", "oik" ) ) , 'include' => BW_::bw_skv( '', "id1,id2,etc", __( "IDs of attachments to include", "oik" ) ) ); return( $syntax ); }View on GitHub View on Trac
Called by
1 to 2 of 2
