You appear to be a bot. Output may be restricted
Description
Display thumbnail links to pagesFor each "page" display links using thumbnails only; no excerpt nor read more links
Usage
bw_thumbs( $atts );
Parameters
- $atts
- ( mixed ) optional –
Returns
voidSource
File name: oik/shortcodes/oik-thumbs.phpLines:
1 to 16 of 16
function bw_thumbs( $atts = NULL ) { $atts['orderby'] = bw_array_get( $atts, "orderby", "title" ); $atts['order'] = bw_array_get( $atts, "order", "ASC" ); $posts = bw_get_posts( $atts ); if ( count( $posts ) ) { foreach ( $posts as $post ) { if ( $post->post_type == 'attachment' ) { $atts['titles'] = 'n'; bw_format_attachment( $post, $atts ); } else { bw_format_thumb( $post, $atts ); } } } return( bw_ret() ); }View on GitHub View on Trac