Description
Display an honour badge in any one of 6 styles [wf_badge company=nnnnnnn style=1|2|3|4|5|6] to display your company's honour badge with a link to read the reviews
Usage
oikwf_badge( $atts );Parameters
- $atts
- ( mixed ) optional –
Returns
voidSource
File name: oik-working-feedback/shortcodes/oik-wf-badge.phpLines:
1 to 10 of 10
function oikwf_badge( $atts=null ) { $dd = "http://www.thediscdirectory.co.uk/"; oik_require( "shortcodes/oik-working-feedback.php", "oik-working-feedback" ); $company = bw_array_get_dcb( $atts, "company", "company", "oikwf_default" ); $style = bw_array_get( $atts, "style", "1" ); $img = retimage( null, "$dd/honour/?id=$company&style=$style", "Honour badge" ); alink( null, "$dd/$company", $img, "Read our reviews", null, "target='_blank'"); return( bw_ret()); }
Called by
Invoked by
Calls
Call hooks
API Letters:
