If you were previously using Grow (Social Pug) for defining custom Pinterest images and descriptions, you can use the following code to use that data for the Pinterest share button in Shared Counts.
When users pin a specific image in your post, Pinterest works through the following hierarchy to find the pin description. The first one it finds, it uses. data-pin-description attribute, which is a custom attribute specifically for the Pinterest description. You can manage this using a plugin like Tasty Pins. For more information, see our article […]
Tasty Pins is a popular plugin for optimizing your content for Pinterest. It includes a feature to specify a Pinterest-specific image and description, just like the Shared Counts – Pinterest Image addon. The following code will let Shared Counts use the image and description you specify in Tasty Pins:
When someone clicks your Pinterest sharing button, Shared Counts uses the current post’s featured image as the image, and the current post’s title as the description. Want a more descriptive description? The code below will use the featured image’s description if provided, and if empty it will fall back to the post title. Use the […]
Shared Counts includes buttons for the most popular social sharing platforms, and you can use the built-in filters to add support for additional services. The code below adds a Reddit share button. Note that this will not increase the total share count when shared on reddit. This only adds a sharing button. Here’s some information […]
When using the “Included Total” field with the Icons style, the output looks something like this: With the following code, you can change it to “Shares” for multiple shares, or “Share” if there’s only one share, like this:
The following code snippet will add your twitter username to the end of a tweet shared from your website. Make sure to change “billerickson” to your twitter username.
If you’re using the “Included Total” option to display your total share count, the code below will let you hide the count if it is below a certain threshold. In the code below, we are only showing the total if it is greater than 100.
The “Included Total” field in Shared Counts displays the sum total of counts across all the other buttons you’re displaying. It does not use the “total” value you see when editing a post. For instance, if you don’t include a Pinterest button on your site, it won’t include your Pinterest pins in the count total. […]
You can modify what URL is used to find share counts, and what URL is shared when a share button is clicked. This is useful when you’re building a website locally or in a staging environment and want to see the actual counts for the production (live) version of a post.