Skip to content

Commit

Permalink
Update Twitter icon with X in blog post share popup
Browse files Browse the repository at this point in the history
  • Loading branch information
giovannimanetti11 committed Apr 9, 2024
1 parent 735192a commit c8a7881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion single-blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<span>Condividi sui social</span>
<div class="social-icons">
<a href="#" class="social-icon facebook" onclick="shareUrl('https://www.facebook.com/sharer/sharer.php?u=<?php echo urlencode(get_permalink()); ?>')"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="social-icon twitter" onclick="shareUrl('https://twitter.com/intent/tweet?url=<?php echo urlencode(get_permalink()); ?>')"><i class="fa-brands fa-twitter"></i></a>
<a href="#" class="social-icon twitter" onclick="shareUrl('https://twitter.com/intent/tweet?url=<?php echo urlencode(get_permalink()); ?>')"><i class="fa-brands fa-x-twitter"></i></a>
<a href="#" class="social-icon linkedin" onclick="shareUrl('https://www.linkedin.com/shareArticle?url=<?php echo urlencode(get_permalink()); ?>')"><i class="fa-brands fa-linkedin" aria-hidden="true"></i></a>
<a href="https://api.whatsapp.com/send?text=<?php echo urlencode(get_the_title() . ' ' . get_permalink()); ?>" class="social-icon whatsapp" onclick="return shareUrl(this.href);"><i class="fab fa-whatsapp" aria-hidden="true"></i></a>
<a href="#" class="social-icon telegram" onclick="shareUrl('https://telegram.me/share/url?url=<?php echo urlencode(get_permalink()); ?>&text=<?php echo urlencode(get_the_title()); ?>')"><i class="fab fa-telegram" aria-hidden="true"></i></a>
Expand Down

0 comments on commit c8a7881

Please sign in to comment.