You appear to be a bot. Output may be restricted
Description
Format the HTML captions for the nivo sliderUses oik's format= parameter – from [bw_pages] to display whatever you like in the content. Note: For attachments the Caption is stored as the post_excerpt and the Description in the post_content
Usage
bw_format_nivo_html_captions( $posts, $atts );
Parameters
- $posts
- ( array ) required – array of posts
- $atts
- ( array ) required – array of shortcode parameters
Returns
voidSource
File name: oik-nivo-slider/nivo.phpLines:
1 to 13 of 13
function bw_format_nivo_html_captions( $posts, $atts ) { $format = bw_array_get( $atts, "format", null ); if ( $format ) { oik_require( "shortcodes/oik-pages.php" ); $bw_post_formatter = bw_query_post_formatter( $atts ); foreach ( $posts as $post ) { // bw_trace2( $post ); sdiv( "nivo-html-caption", $atts['slider-id'] . "-" . $post->ID ); $bw_post_formatter( $post, $atts ); ediv(); } } }View on GitHub View on Trac