You appear to be a bot. Output may be restricted
Description
Format the thumbnail when displayed in a blockThis code was originally written to display the thumbnail image left aligned in the block so that the text would go to the right There are problems with IE and certain themes where the alignleft styling seems to override attempts to make the image scalable. So, from 2013/05/13, I'm removing the "alignleft" class, but leaving "avatar" This fixed it for TwentyTwelve but not for my Artisteer theme! So I removed avatar as well. This has resolved some problems with oik-plugins but it may have adverse effects on other sites.
Usage
bw_format_thumbnail( $thumbnail, $post, $atts );
Parameters
- $thumbnail
- ( mixed ) required –
- $post
- ( mixed ) required –
- $atts
- ( mixed ) required –
Returns
voidSource
File name: oik/includes/bw_posts.phpLines:
1 to 5 of 5
function bw_format_thumbnail( $thumbnail, $post, $atts ) { sdiv( "bw_thumbnail" ); bw_link_thumbnail( $thumbnail, $post->ID, $atts ); ediv(); }View on GitHub View on Trac