Add Cool Print Button on your Website

NameCheap Domain Offer

Learn to add print button on your website

Add this code after where you want to show print button on your website

<b:if cond=”data:blog.pageType == &quot;item&quot;”> <span style=”background: url( left no-repeat; padding-left: 25px;display:inline;”><a class=”noprint” href=”javascript:window.print()” rel=”nofollow”>Print Now</a></span> </b:if>

Although most users know they can do something like “File > Print”, a “Print Now” option can be nice, and may even encourage users to print the page. Also, this code can be triggered automatically upon loading a printer friendly version.

How much did this article help you?


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.