You appear to be a bot. Output may be restricted
Description
Create a follow me link using genericonsThe genericons font currently supports:
- googleplus
- flickr
- foursquare
- github
- youtube
- picasa
Usage
bw_follow_link_gener( $social, $lc_social, $social_network, $me, $class );
Parameters
- $social
- ( string ) required – the URL
- $lc_social
- ( string ) required – lower case version of the social_network e.g. facebook
- $social_network
- ( string ) required – the social network e.g. Facebook
- $me
- ( string ) required – whoever me has resolved to be
- $class
- ( mixed ) required –
Returns
voidSource
File name: oik/shortcodes/oik-follow.phpLines:
1 to 17 of 17
function bw_follow_link_gener( $social, $lc_social, $social_network, $me, $class ) { switch ( $lc_social ) { case "googleplus": case "facebook": $lc_social .= "-alt"; } if ( !wp_style_is( 'genericons', 'registered' ) ) { wp_register_style( 'genericons', oik_url( 'css/genericons/genericons.css' ), false ); } wp_enqueue_style( 'genericons' ); $dash = retstag( "span", "genericon genericon-$lc_social bw_follow_me $class" ); $dash .= retetag( "span" ); $dash .= bw_follow_hash_at( $me ); $follow_me_tooltip = sprintf( __( 'Follow %1$s on %2$s', "oik" ), $me, $social_network ); BW_::alink( null, $social, $dash, $follow_me_tooltip ); }View on GitHub View on Trac