Type Company Name, App or Site...

13 Oct 2016

Add Print and PDF Buttons for Blogger

Hello guys,
Today i brought you a gadget of Print & PDF, Its from print Friendly. Some blogger might like it and some may not. However, it is an elegant gadget

To add it to your blog, From template clock Edit HTML , And by using Ctrl + F, Search for the tag <head> and bellow it past the bellow code and save. 

The Code

 <b:if cond='data:blog.pageType == "item"'>&lt;script&gt;var pfHeaderImgUrl = '';var pfHeaderTagline = '';var pfdisableClickToDel = 1;var pfHideImages = 0;var pfImageDisplayStyle = 'right';var pfDisablePDF = 0;var pfDisableEmail = 0;var pfDisablePrint = 0;var pfCustomCSS = '';var pfBtVersion='1';(function(){var js, pf;pf = document.createElement('script');pf.type = 'text/javascript';if ('https:' === document.location.protocol){js='https://pf-cdn.printfriendly.com/ssl/main.js'}else{js='http://cdn.printfriendly.com/printfriendly.js'}pf.src=js;document.getElementsByTagName('head')[0].appendChild(pf)})();&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;var pfButtonHTML = '&lt;a href=&quot;http://www.printfriendly.com&quot; style=&quot;margin-top:0.5em; float:left;display:block; margin-right: 0.5em; color:#6D9F00; text-decoration:none;&quot; class=&quot;printfriendly&quot; onclick=&quot;window.print(); return false;&quot; title=&quot;Printer Friendly and PDF&quot;&gt;&lt;img style=&quot;border:none;-webkit-box-shadow:none;box-shadow:none;&quot; src=&quot;http://cdn.printfriendly.com/pf-button-both.gif&quot; alt=&quot;Print Friendly and PDF&quot;/&gt;&lt;/a&gt;'; var pfBloggerJs; pfBloggerJs = document.createElement(&quot;script&quot;); pfBloggerJs.type =&quot;text/javascript&quot;; js= &quot;http://cdn.printfriendly.com/blogger.js&quot;; pfBloggerJs.src=js; document.getElementsByTagName(&quot;head&quot;)[0].appendChild(pfBloggerJs);&lt;/script&gt;</b:if>

Did You Like and Enjoy Reading This Article ? Please Share it

No comments

Copyright © All rights reserved Jaliloweb 2016 - 2017 | Privacy Policy | YouTube Subscribe Exchange | Advertise