$tag) { echo ''; if ($key < count($tags) - 1) { echo ', '; } } } } function windycoys_share_twitter_url() { $url = 'https://twitter.com/intent/tweet?text='; $title = get_the_title(); $link = get_the_permalink(); echo $url . urlencode($title . ': ' . $link . ' by @WindyCOYS'); }