Forums

[resolved] Simple print page and email page buttons? (5 posts)

  1. jl2424
    Member
    Posted 2 years ago #

    How can I add a simple button to print a page and to recommend a page by email?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    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.

  3. Mark / t31os
    Moderator
    Posted 2 years ago #

    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... ;)

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    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.

  5. Mark / t31os
    Moderator
    Posted 2 years ago #

    I don't bother personally, it was just the first thing that sprung to mind... :) And saves having to write any code... :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.