Title: Count button Facebook does not work
Last modified: August 20, 2016

---

# Count button Facebook does not work

 *  [Superdaantje](https://wordpress.org/support/users/superdaantje/)
 * (@superdaantje)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/count-button-facebook-does-not-work/)
 * Hi I use this code on my site to show a button to share the article on Facebook.
   But the count button does not work. What I’m doing wrong ?
 *     ```
       }
   
       	$height = ($option['layout']=='button') ? 33 : 66;
   
       	$out = '<div style="height:'.$height.'px; padding-top:2px; padding-bottom:2px; clear:both;" class="really_simple_share">';
       	if ($option['active_buttons']['facebook']==true) {
       		$first_shown = true;
   
       		$option_layout = ($option['layout']=='button') ? 'button_count' : 'box_count';
       		// REMOVE HTTP:// FROM STRING
       		$facebook_link = (substr($link,0,7)=='http://') ? substr($link,7) : $link;
       		$out .= '<div style="float:left; width:100px;" class="really_simple_share_facebook">
       				<a name="fb_share" type="'.$option_layout.'" href="http://www.facebook.com/sharer.php" share_url="'.$facebook_link.'">Share</a>
       			</div>';
       ```
   

The topic ‘Count button Facebook does not work’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [Superdaantje](https://wordpress.org/support/users/superdaantje/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/count-button-facebook-does-not-work/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
