Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
939 views
in Themes by
Q2A version: 1.8

2 Answers

0 votes
by
edited by

You can use (addtoany code) share buttons
from this link : https://www.addtoany.com


And it is better to use Widget Anywhere Plugin
for locate the share buttons in any where you like 

   from here

by
I do not want to use plugin or javascript.
is there a way by editing code of theme?
0 votes
by

You can do a custom widget that would cause zero-load to you website server. Because it wont include any js, img, css files or mysql queries.

Just assign the link you want to share to a variable, say $share_link, and use following links to share in facebook or twitter.

'https://www.facebook.com/sharer/sharer.php?u='.$share_link

'https://twitter.com/intent/tweet?url='.$share_link

by
can you please explain in detail?
which code and where should I paste it?
by
Where do I put this code?
by
you need to create a custom widget and put the code there.
...