You appear to be a bot. Output may be restricted
Description
Format the matched post link
Usage
bw_format_matched_link( $post, $matched_post, $atts );
Parameters
- $post
- ( post ) required – the .pdf file for the link
- $matched_post
- ( post ) required – the image file with the matching name
- $atts
- ( array ) required – shortcode parameters
Returns
voidSource
File name: oik/shortcodes/oik-attachments.phpLines:
1 to 9 of 9
function bw_format_matched_link( $post, $matched_post, $atts ) { $class = bw_array_get( $atts, "class", "" ); sdiv( $class ); $image = bw_thumbnail_full( $matched_post ); //$image = retimage( "bw_portfolio", $matched_post->guid, $post->post_title ); $ptspan = "<span>".$post->post_title."</span>"; BW_::alink( "bw_portfolio", $post->guid, $image.$ptspan ); ediv( $class ); }View on GitHub View on Trac