This post gives you 4 different ways to choose from if you want to remove the number displayed next to each social button when using Jetpacks sharing module.
With Count
Without Count
Here’s the 4 solutions:
The first 2 methods involve PHP code you can add to your child themes functions file using a code editor and the second 2 solutions solutions use CSS you can add to your child themes style sheet.
1. This method forces the function which generates the sharing count to return false.
add_filter( 'jetpack_sharing_counts', '__return_false' );
2. This method disables the Javascript which outputs the count:
add_filter( 'sharing_js', '__return_false' );
3. This method hides the count using CSS:
.sd-button span.share-count {
display: none!important;
}
4. This method also hides the count using CSS:
.share-count {
display: none!important;
}
Was This Tutorial Helpful?