Skip to content

Commit

Permalink
Merge pull request #1901 from mj1985/patch-2
Browse files Browse the repository at this point in the history
Update Twitter Button
  • Loading branch information
DanielnetoDotCom authored Jul 26, 2019
2 parents ade3740 + 442f00d commit 45ffbd6
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 = "https://twitter.com/home?status={$title}+{$url}";
$twitterURL = "https://twitter.com/intent/tweet?text={$title}+{$url}";
$tumblr = "https://www.tumblr.com/share?v=3&u=$url&quote=$title&s=";
$pinterest = "https://pinterest.com/pin/create/button/?url=$url&description=";
$reddit = "https://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 45ffbd6

Please sign in to comment.