Removing Reply, Retweet and Favorite
-
I maintain a website for a homeowners association which uses Twitter as a notification tool only without the expectations of anyone tweeting back so they don’t need the Reply, Retweet, Favorite on each post. Unless I have missed something to better accomplish this I modified the list.php and removed the following block of code:
<a class="kreply" title="<?php esc_attr_e('Reply', 'kebo_twitter'); ?>" href="<?php echo esc_url( 'https://twitter.com/intent/tweet?in_reply_to=' . $tweet_id ); ?>"></a>
<a class="kretweet" title="<?php esc_attr_e('Re-Tweet', 'kebo_twitter'); ?>" href="<?php echo esc_url( 'https://twitter.com/intent/retweet?tweet_id=' . $tweet_id ); ?>"></a>
<a class="kfavorite" title="<?php esc_attr_e('Favorite', 'kebo_twitter'); ?>" href="<?php echo esc_url( 'https://twitter.com/intent/favorite?tweet_id=' . $tweet_id ); ?>"></a>
As a suggestion, it would be nice to have expanded footer settings to be able to disable these but by choices, perhaps a checkbox per each option. As an example, perhaps someone may only want to allow Favorite to appear and not all three options.
Otherwise I think this is one of the easiest no nonsense plugins available. Thank you Peter!
- The topic ‘Removing Reply, Retweet and Favorite’ is closed to new replies.