Add "Email Page" social "button"

Posted in: Newspaper
Post count: 156

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

Post count: 6600

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

Post count: 156

Lucian and Tagdiv crew,

You are all simply awesome, with an amazing theme and support. Thanks for the continue excellence.

Philip

Post count: 156

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

Post count: 156

Actually, I got it to work, sort of. I have the javascript necessary to mail the current page. Where should I put the javascript?

Thanks.

Philip

Post count: 156

One more update: Got it working properly. Thanks for the help!

Philip

Post count: 8

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

Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.