Hi,
I’m trying to use the Facebook/Google+/Twitter like/share/tweet ABOVE the content (as well as BELOW). Currently it is set default BELOW the content, and I like that, but I also want one above the content. Is there a shortcode I can enter, or a line of code to insert somewhere that can help me achieve this?
For clarification: http://s11.postimg.org/j2vpcwjc3/Sharing_Above_The_Content.jpg
Like this? http://www.styzic.com/tech/gadgets/retina-display-macbook-air-colors/787/
Use plugins like sharaholic
I use AddThis to put the social both above/below the post, but some people have also taken the code from the loop-single.php file (or whichever post template you’re using) and cloned it to above the post block.
I think it’s this code in loop-single.php (based on theme v 4.22):
<?php echo $td_mod_single->get_social_sharing();?>
Hi,
@GosuSama
As Christopher wrote you will have to add this line:
<?php echo $td_mod_single->get_social_like_tweet();?>
..to the post template you are using, like this: http://screencast.com/t/H1cP82hF7EE
Result: http://screencast.com/t/hh4HA0OjgWAC
Thanks
Hello,
And thanks for all your replies.
The above line of code: <?php echo $td_mod_single->get_social_sharing();?>
Is exactly what I was looking for.
However, the placement (http://screencast.com/t/hh4HA0OjgWAC) is not where I wish for it to go. I am looking for right above the content, as shown here: http://s11.postimg.org/j2vpcwjc3/Sharing_Above_The_Content.jpg
Where would I have to input that code now?
I assume I will have to change the following files you have red-boxed in here: http://screencast.com/t/H1cP82hF7EE
AKA -> loop-single.php, loop-single-1.php, single_template_2.php, single_template_3.php, single_template_4.php, single_template_5.php.
Thank you.
Hi,
Yes, you can see here an ex for post template style 3:
* http://screencast.com/t/QsAh8vLVg
* result: http://screencast.com/t/NeqI8f71Z
Do the same for all template and add it as you like.
Thanks
