How To: Adding a Print This Button to Your Theme
Category: Themes and Tricks
- CSS We Are The Buzz




(5 out of 5) - Throw




(5 out of 5) - qmula




(5 out of 5) - Heartworker




(5 out of 5) - Decently Exposed




(5 out of 5) - Gmcosta




(5 out of 5) - FreelanceDaddy




(5 out of 5) - LifeStyle Web




(5 out of 5) - Tech Tunes




(5 out of 5) - DePo Masthead




(3 out of 5)
If you ever visit our actual website, you’ve probably noticed the “Print This” button that we display below each post. Depending on the type of website or blog you are running, having a button like this may be a good fit for your blog. I’ve found it to be good to have this button available to readers for any type of website that offers tutorials, recipes, guides, or pretty much anything that might require a visitor to print something you’ve written.
If you think you’d like to offer your readers the option to print something on your blog, here is the code I use on my blogs (uses Javascript):
<a href="javascript:window.print()" rel="nofollow">Print This!</a></span>
It prints the page you are on, so it is probably best to use it mostly on post and pages. If you place it on the blog’s homepage, it will print the entire homepage, not just that post.
—
Enjoy writing about WordPress? Get yourself more exposure by joining the Hack WordPress writing team!
Digg This Post! | Stumble This Post! | Add this Post to Del.icio.us | Google Bookmark This Post! | Netscape it! | No comment
Hack WordPress © 2008
—
Related Articles at Hack WordPress:
- How To: Adding a Date Button To Your WordPress Blog
- How To: Adding Edit Buttons To Your WordPress Theme
- How To: Displaying Content Only For The Admin To See
- How To: Add Del.icio.us Daily Blog Posting To Your WordPress Blog
- WordPress Hack: Using WordPress Conditional Tags
- Hack: Adding Buttons To The WordPress Write Panel
