Hello.
Just want to know what is the best way to add a “share by email” button next to the other social sharing buttons. I would like to create a button to fit in with the other buttons of the theme and when clicked, it will call up and email dialogue box or an email client so the user can email the page to someone.
Hope you can help me.
Philip
Hi,
You can add this button next to the social sharing buttons by adding a code
to the td_module_blog.php file like this:
http://screencast.com/t/BpyIu2DzQni
You will then need to customize it to actually call up and email dialogue box or an email client when clicked, unfortunately this needs custom work and we don’t have time to do custom work, if you don’t know how to do it you can hire an professional developer.
After you added the button you can add this CSS in Teheme Panel -> Custom CSS to style it:
.td-sp-share-email {
width: 31px;
height: 31px;
background-position: -20px -1632px;
background-image: url('http://192.168.1.70/wp_demo_009/4/wp-
content/themes/008/images/header/elements-menu.png');
background-repeat: no-repeat;
display: block;
top: 2px !important;
left: 6px;
}
.td-social-email {
background-color: black;
}
@media (max-width: 767px) {
.td-sp-share-email {
top: 3px !important;
left: 3px !important;
}
}
You will get this result:
http://screencast.com/t/wnU8Ud2Lkg9U
Thank you
Lucian,
I have followed your instructions but am not getting the results as you describe. Could you take a look at my site to see if I am missing something please? http://www.tribyoot.org/456/meet-bianca-rinehart-who-loves-to-blow-stuff-up/
Thanks.
Philip
Hi Philip,
I am busy doing the exact same thing as you did here?
The button is showing, now I just need to code it to grab the article.
Could you assist me with this? I see you got it right?
Thanks
Tyron Frahm
