change social share options on posts

Posted in: Newspaper
Post count: 36

Hello,

In the social share bar above and below each post, I would like to replace the tweet button/counter with a StumbleUpon button/counter. I figured that was a reasonable idea since Twitter has stopped allowing websites to track numbers of tweets and a Twitter share button is already on the social shares bar.

What would I need to do to accomplish this?

Thanks,
Amy

Post count: 22421

Hello,
You can follow this topic to see how you can add a new sharing option to the list. The topic provides a solution for a whatsapp button (there was none at the time). https://forum.tagdiv.com/topic/whatsapp-share-icon/
You can adapt this t your preferred social network. If you want to remove the second twitter icon, the code can be found exactly below the one pointed out in the topic.
Thank you!

Post count: 45

Hi bros,
I used code of StumbleUp Badge

code here

<su:badge layout=”6″></su:badge>

<script type=”text/javascript”>
(function() {
var li = document.createElement(“script”); li.type = “text/javascript”; li.async = true;
li.src = (“https:” == document.location.protocol ? “https:” : “http:”) + “//platform.stumbleupon.com/1/widgets.js”;
var s = document.getElementsByTagName(“script”)[0]; s.parentNode.insertBefore(li, s);
})();
</script>
, but it not synchronized with others icon, see here:

http://www.screencast.com/users/livingnomads/folders/Default/media/e417eda2-f5a4-46d4-9aee-79e37097fddd

I need css for square of StumbleUpon.?

Can you guide me? Thank you!

Post count: 9544

You should post new thread with your question, not post same thing on multiple threads, please.

Post count: 45

Ok, I’m sorry 🙂

Post count: 36

mrtran,

Thanks for the info. Where did you place the code for the SU Badge?

Amy

Post count: 22421

Hello Amy,
You need to use this link and create your button and get the code: https://www.stumbleupon.com/dt/badges/create
Then you need to place the code in this file: http://screencast.com/t/b2SBp2UQg
Then you can use this css to position it properly:
.td-default-sharing iframe{
position:relative;
left:8px;
top:2px;
}

I hope this helps.
Thanks.

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.