Title: [Plugin: Twitter Widget Pro] Hide follower count
Last modified: August 20, 2016

---

# [Plugin: Twitter Widget Pro] Hide follower count

 *  Resolved [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-twitter-widget-pro-hide-follower-count/)
 * There’s a shortcode to hide the follow button but is there a shortcode to hide
   just the followers count?
 * [http://wordpress.org/extend/plugins/twitter-widget-pro/](http://wordpress.org/extend/plugins/twitter-widget-pro/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [J. Gay](https://wordpress.org/support/users/jgay/)
 * (@jgay)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-twitter-widget-pro-hide-follower-count/#post-2802274)
 * I’m looking for a solution to the same problem, if anyone has an answer yet. 
   Thanks!
 *  Plugin Author [Aaron D. Campbell](https://wordpress.org/support/users/aaroncampbell/)
 * (@aaroncampbell)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-twitter-widget-pro-hide-follower-count/#post-2802275)
 * There’s no option for this, but there IS a filter in the code so that you can
   do this if you want. Add this code to the end of your theme’s functions.php file:
 *     ```
       function range_hide_follower_count( $attributes ) {
       	if ( ! empty( $attributes['class'] ) && 'twitter-follow-button' == $attributes['class'] )
       		$attributes['data-show-count'] = 'false';
   
       	return $attributes;
       }
       add_filter( 'widget_twitter_link_attributes', 'range_hide_follower_count' );
       ```
   
 * That will add a new data element to the follow link, which tells Twitter you 
   don’t want to show your follow count.
 *  [J. Gay](https://wordpress.org/support/users/jgay/)
 * (@jgay)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-twitter-widget-pro-hide-follower-count/#post-2802276)
 * Thanks, Aaron. I had just figured out how to do this in the widget’s php file
   but your solution is much better!
 *  [heisdnice](https://wordpress.org/support/users/heisdnice/)
 * (@heisdnice)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-twitter-widget-pro-hide-follower-count/#post-2802288)
 * thanks
 *  [indirectdesign](https://wordpress.org/support/users/indirectdesign/)
 * (@indirectdesign)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-twitter-widget-pro-hide-follower-count/#post-2802325)
 * Many thanks, Aaron, very useful!!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: Twitter Widget Pro] Hide follower count’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/twitter-widget-pro_eaeae4.svg)
 * [Twitter Widget Pro](https://wordpress.org/plugins/twitter-widget-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/twitter-widget-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/twitter-widget-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/twitter-widget-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/twitter-widget-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/twitter-widget-pro/reviews/)

## Tags

 * [twitter](https://wordpress.org/support/topic-tag/twitter/)

 * 5 replies
 * 5 participants
 * Last reply from: [indirectdesign](https://wordpress.org/support/users/indirectdesign/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/plugin-twitter-widget-pro-hide-follower-count/#post-2802325)
 * Status: resolved