Skip to content

Commit

Permalink
Change follow button from Twitter to Mastodon
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jan 9, 2024
1 parent b5cd065 commit 9063a6e
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/wp-to-twitter-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -827,16 +827,7 @@ function wpt_sidebar() {
</p>
<div>
<p>
<a href="https://twitter.com/intent/follow?screen_name=joedolson" class="twitter-follow-button" data-size="small" data-related="joedolson">Follow @joedolson</a>
<script>!function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (!d.getElementById(id)) {
js = d.createElement(s);
js.id = id;
js.src = "https://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);
}
}(document, "script", "twitter-wjs");</script>
<a href="https://toot.io/@joedolson" class="mastodon-follow-button">Follow toot.io/@joedolson</a>
</p>
<?php
if ( 'premium' === $context ) {
Expand Down

0 comments on commit 9063a6e

Please sign in to comment.