You appear to be a bot. Output may be restricted
Description
Display the images attached to a post or page
Note: Since this uses bw_attachments() this does not behave in the same manner as [[bw_posts]], [[bw_thumbs]] or [[bw_pages]] If they want the images attached to a different post from the current one then we'll need to override the post_parent parent parameter with the id parameter.
Usage
bw_images( $atts );
Parameters
- $atts
- ( mixed ) optional –
Returns
void
Source
File name: oik/shortcodes/oik-attachments.php
Lines:
1 to 6 of 6
function bw_images( $atts = NULL ) { $atts['post_mime_type'] = bw_array_get( $atts, 'post_mime_type', 'image' ); $atts['thumbnail'] = bw_array_get( $atts, 'thumbnail', 'full' ); $atts['class'] = bw_array_get( $atts, "class", "bw_images" ); return( bw_attachments( $atts )); }