Skip to content

Commit

Permalink
Update Twitter Button
Browse files Browse the repository at this point in the history
After the redesign of the Twitter page, the social button changed.
  • Loading branch information
mj1985 authored Jul 26, 2019
1 parent ade3740 commit 442f00d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/include/social.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
//set the $url and the $title before include this
$facebookURL = "https://www.facebook.com/sharer.php?u={$url}&title={$title}";
$twitterURL = "http://twitter.com/home?status={$title}+{$url}";
$twitterURL = "http://twitter.com/intent/tweet?text={$title}+{$url}";
$tumblr = "http://www.tumblr.com/share?v=3&u=$url&quote=$title&s=";
$pinterest = "http://pinterest.com/pin/create/button/?url=$url&description=";
$reddit = "http://www.reddit.com/submit?url=$url&title=$title";
Expand All @@ -20,4 +20,4 @@
<li><a href="<?php echo $pinboard; ?>" target="_blank" class="icoPinboard" title="Pinboard"><i class="fas fa-thumbtack"></i></a></li>


</ul>
</ul>

0 comments on commit 442f00d

Please sign in to comment.