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

---

# [Plugin: Twitter Widget Pro] Hide counter

 *  Resolved [dgraydesign](https://wordpress.org/support/users/dgraydesign/)
 * (@dgraydesign)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-twitter-widget-pro-hide-counter/)
 * I’m trying to hide the counter that’s next to the follow button in my style sheet,
   but none of the code I’ve used will work. Using:
 * `.btn-o, .count-o, .btn, .btn .label, #count {display:none;visibility:hidden;}`
 * [http://wordpress.org/extend/plugins/twitter-widget-pro/](http://wordpress.org/extend/plugins/twitter-widget-pro/)

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

 *  Plugin Author [Aaron D. Campbell](https://wordpress.org/support/users/aaroncampbell/)
 * (@aaroncampbell)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-twitter-widget-pro-hide-counter/#post-3027652)
 * That count is actually in an iframe showing from Twitter’s site, so you don’t
   have much control over it using CSS. However, there *is* a way to hide it. 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.
 *  Thread Starter [dgraydesign](https://wordpress.org/support/users/dgraydesign/)
 * (@dgraydesign)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-twitter-widget-pro-hide-counter/#post-3027680)
 * Worked like a charm. Thanks so much, Aaron!
 *  [hakaje](https://wordpress.org/support/users/hakaje/)
 * (@hakaje)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-twitter-widget-pro-hide-counter/#post-3027922)
 * Thanks so much! mr. aoron
 *  [Ramzii](https://wordpress.org/support/users/ramzii/)
 * (@ramzii)
 * [13 years ago](https://wordpress.org/support/topic/plugin-twitter-widget-pro-hide-counter/#post-3027938)
 * How about changing the locale language of this follow button?

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

The topic ‘[Plugin: Twitter Widget Pro] Hide counter’ 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/)

 * 4 replies
 * 4 participants
 * Last reply from: [Ramzii](https://wordpress.org/support/users/ramzii/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/plugin-twitter-widget-pro-hide-counter/#post-3027938)
 * Status: resolved