How can I add a simple button to print a page and to recommend a page by email?
How can I add a simple button to print a page and to recommend a page by email?
Email A Friend Link:
<a href="mailto:blank?body=I thought you might be interested in <?php the_title(); ?>. You can view it at: <?php the_permalink() ?>">Send to a friend</a>
Adding a Print page link/button would require javascript.
Web browsers allow you to print.
File > Print...
The one thing that you would need is a 'Printer-friendly' page...
I'd suggest the feed pages for that, they do not contain graphics and only have basic elements... so 'more printer-friendly'...
This thread for example.
http://wordpress.org/support/rss/topic/285312
You'll notice the page is very basic and much more printer friendly then the one you're looking at now...
Esmi has you covered on the other question... ;)
I'd suggest the feed pages for that, they do not contain graphics and only have basic elements... so 'more printer-friendly'...
How do older versions of IE cope with what are, essentially, XML pages? That's not a route I ever considered before. But then I normally try to incorporate a print CSS sheet that makes things a bit more printer (and ink) friendly.
I don't bother personally, it was just the first thing that sprung to mind... :) And saves having to write any code... :)
This topic has been closed to new replies.