diff --git a/inc/template-tags.php b/inc/template-tags.php index f9ad260..a6f4860 100755 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -115,15 +115,16 @@ function sunflower_the_social_media_sharers() { if ( sunflower_get_setting( 'sunflower_sharer_facebook' ) ) { $sharer[] = sprintf( '', - rawurlencode( (string) get_the_title() ), + get_permalink(), __( 'Share on Facebook ', 'sunflower' ) ); } if ( sunflower_get_setting( 'sunflower_sharer_whatsapp' ) ) { $sharer[] = sprintf( - '', + '', rawurlencode( (string) get_the_title() ), + get_permalink(), __( 'Share on WhatsApp ', 'sunflower' ) ); }