Add Cool Print Button on your Website

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.

Leave a Comment

Your email address will not be published. Required fields are marked *

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