Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

How do I add ShareThis at end of every post?


  #1  
Old Mar 12, 2010, 03:05 PM
kippiper
 
135 posts · Jun 2009
How do I add ShareThis at end of every post?

Hi guys!

I want to add the ShareThis button to the end of each post. However, I'm not sure where to put the ShareThis CSS code.

I have tried the Editi Post/Page Info Items in the Footer>Homepage, Multi Post Pages, and Single Post Pages. Withe Homepage, it appears in footer of all posts on the home page, but only the first occurrence works. It does not appear on when I add it to the Footer for Multi Post and Single Post.

The site is http://www.unlimited-air.com.

Where should I be adding this code?

And example of how I want it to look can be seen at:

http://fromthedeskofjeffherring.com/

Thanks so much!

KIP
  #2  
Old Mar 13, 2010, 07:25 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
that's where I would put it. what did you put in exactly?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Mar 13, 2010, 07:57 AM
kippiper
 
135 posts · Jun 2009
Good morning!

I think I am trying to make this too fancy with multiple minibuttons for ShareThis (email, Facebook, Twitter, and ShareThis minibuttons).

For the multiple minibuttons, the ShareThis instructions say:
Copy and paste this code between the <head> and </head> tags.

<script type="text/javascript" src="http://w.sharethis.com/button/sharethis.js#publisher=acd94e6e-ea81-4c9d-a928-4c1a597997c0&amp;type=website&amp;button=false"></script>
<style type="text/css">
body {font-family:helvetica,sans-serif;font-size:12px;}
a.stbar.chicklet img {border:0;height:16px;width:16px;margin-right:3px;vertical-align:middle;}
a.stbar.chicklet {height:16px;line-height:16px;}
</style>

Copy and paste this code between the <body> and </body> tags, where you would like the ShareThis Bar to appear on your page

<a id="ck_email" class="stbar chicklet" href="javascript:void(0);"><img src="http://w.sharethis.com/chicklets/email.gif" /></a>
<a id="ck_facebook" class="stbar chicklet" href="javascript:void(0);"><img src="http://w.sharethis.com/chicklets/facebook.gif" /></a>
<a id="ck_twitter" class="stbar chicklet" href="javascript:void(0);"><img src="http://w.sharethis.com/chicklets/twitter.gif" /></a>
<a id="ck_sharethis" class="stbar chicklet" href="javascript:void(0);"><img src="http://w.sharethis.com/chicklets/sharethis.gif" />ShareThis</a>
<script type="text/javascript">
var shared_object = SHARETHIS.addEntry({
title: document.title,
url: document.location.href
});

shared_object.attachButton(document.getElementById ("ck_sharethis"));
shared_object.attachChicklet("email", document.getElementById("ck_email"));
shared_object.attachChicklet("facebook", document.getElementById("ck_facebook"));
shared_object.attachChicklet("twitter", document.getElementById("ck_twitter"));
</script>
  #4  
Old Mar 13, 2010, 09:52 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
take a peek at the 'Add to Any: Share/Bookmark/Email Button' plugin - you can pick from a number of social sites.
check out http://callofthemuse.com to see it in action
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to I add a link To the end of every post?? baronsamedi Center area post/pages 23 Sep 13, 2010 07:11 AM
ShareThis-plugin disappeared after WP 2.8 liabelle Plugins & Atahualpa 4 Sep 4, 2010 06:38 AM
[SOLVED] ShareThis plugin: need to delete text it placed agrossman Atahualpa 3 Wordpress theme 2 Sep 2, 2009 08:46 PM
Adding ShareThis Code to Post Footer clearlygold Post-Kicker, -Byline & -Footer 4 Jun 4, 2009 09:54 AM
[SOLVED] ShareThis problems ppat2 Post-Kicker, -Byline & -Footer 2 May 26, 2009 01:44 AM


All times are GMT -6. The time now is 02:30 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.