Posted by : Unknown Jumat, 07 September 2012

Cara membuat tombol Print dan Save PDF di tiap halaman postingan, untuk bisa membuatnya sobat ikuti saja langkah-langkahnya seperti dibawah ini.

Langkah 1:
Copas script di bawah ini


<b:if cond='data:blog.pageType == "index"'><a expr:href='data:post.url + "?pfstyle=wp"' style="margin-right:1em; color:#6D9F00; text-decoration:none;" class="printfriendly" title="Printer Friendly and PDF"><img style="border:none;" src="http://cdn.printfriendly.com/pf-button-both.gif" alt="Print Friendly and PDF"/></a><b:else/><b:if cond='data:blog.pageType == "archive"'><a expr:href='data:post.url + "?pfstyle=wp"' style=" margin-right:1em; color:#6D9F00; text-decoration:none;" class="printfriendly" title="Printer Friendly and PDF"><img style="border:none;" src="http://cdn.printfriendly.com/pf-button-both.gif" alt="Print Friendly and PDF"/></a><b:else/><script src="http://cdn.printfriendly.com/printfriendly.js" type="text/javascript"></script><a href="http://www.printfriendly.com" style=" color:#6D9F00; text-decoration:none;" class="printfriendly" onclick="window.print(); return false;" title="Printer Friendly and PDF"><img style="border:none;" src="http://cdn.printfriendly.com/pf-button-both.gif" alt="Print Friendly and PDF"/></a></b:if></b:if>

Langkah 2 :

Pilih Template, kemudian Edit HTML, dan centang  Expand Template Widget.


Langkah ke 3 :

Sisipkan kode diatas  ke Template, setelah tag <div class='post-footer'> , dan terakhir Simpan Template.





Sumber artikel:Wan-Soe
Sumber gambar:Elites-run

{ 1 komentar... read them below or add one }

:a: :b: :c: :d: :e: :f: :g: :h: :i: :j: :k: :l: :m: :n: :o: :p: :q: :r: :s: :t: :u: :v: :w: :x: :y: :z: :1: :2: :3: :4: :5: :6: :7: :8:
  1. Ruame banget blognya kang, saya akan coba cara diatas..
    Thanks banget..

    kunjungan balik muslim-kreativ.blogspot.com

    BalasHapus

Total Pengunjung

Follower

Arsip Blog

Copyright © Dead Master World -Black Rock Shooter- Powered by Blogger - Designed by Johanes Djogan