<span class='st_twitter_buttons' st_title='<?php the_title(); ?>' st_url='<?php the_permalink(); ?>' displayText='share'></span><span class='st_facebook_buttons' st_title='<?php the_title(); ?>' st_url='<?php the_permalink(); ?>' displayText='share'></span><span class='st_fblike_buttons' st_title='<?php the_title(); ?>' st_url='<?php the_permalink(); ?>' displayText='share'></span>
I took this code and pasted it in text widget, which was placed inside the graphene_after_post_content action hook. The buttons showed up but they did not function properly….when clicked, they would create a link….and that link would only show a blank screen instead of showing my content.
I also got this answer from the sharethis forum…but it is somewhat vague:
Is someone able to help me here?
AnonymousFebruary 8, 2012 at 9:41 pm #23572
Have you tried the “Social Sharing Buttons” option in the admin panel?
Appearance -> Graphene Options -> Social Sharing Buttons
AnonymousFebruary 8, 2012 at 11:50 pm #23574
It looks like you have customized your code beyond necessary means. I’m not even sure where all that code came from. Try using the basic default code provided from sharethis. Then, once you get that working, you can begin to customize it.
AnonymousFebruary 9, 2012 at 12:21 am #23576
Josh, sorry, another question….sharethis states that I need to put my ‘script tags’ in my Main index template(index.php) and ‘span tags’ in Single Post template(single.php). How do I do this? Just add the loop-single action hook and the graphene-index action hooks? And then add text widgets within the action hooks? (I don’t want to directly edit any php template files)Mod
AnonymousFebruary 9, 2012 at 4:24 am #23580
(Marking Thread as Resolved)
You must be logged in to reply to this topic.