You appear to be a bot. Output may be restricted
Description
Create a follow me link using dashiconsWordPress's dashicons font currently supports: facebook twitter googleplus LinkedIn
Usage
bw_follow_link_dash( $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 12 of 12
function bw_follow_link_dash( $social, $lc_social, $social_network, $me, $class ) { if ( $lc_social == "facebook" ) { $lc_social .= "-alt"; } wp_enqueue_style( 'dashicons' ); $dash = retstag( "span", "dashicons dashicons-$lc_social bw_follow_me $class" ); $dash .= retetag( "span" ); $dash .= bw_follow_hash_at( $me ); /* translators: %1 who to follow, %2 network name */ $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