Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2013-09-07 21:36:06
- Keepital
- Member
- Registered: 2013-07-11
- Posts: 13
Re: XtremeHire - GoPro Hire Website
I was able to successfully implement these, thank you guys. I went to ShareThis.com – The site generated code for me that looked generally like this:
<span class='st_facebook_large' displayText='Facebook'></span>
<span class='st_googleplus_large' displayText='Google +'></span>
<span class='st_pinterestfollow_large' displayText='Pinterest Follow' st_username='name'></span>
Once I pasted this into my default page and saw that I had positive results, I began to understand what was happening more in-depth. I went to the twitter website directly following philwarehame & carlahearne’s ideas, generated the twitter code, which looked a lot fancier and used a href link:
<a href="https://twitter.com/username" class="twitter-follow-button" data-show-count="false" data-size="large" data-show-screen-name="false">Follow @username</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
I pasted these code generations into my default page, between <div>
{Added some Textile to set off text and code. – Uli}
Last edited by uli (2013-09-08 13:06:29)
Offline