Support » Plugin: Print, PDF, Email by PrintFriendly » Displays button but sends directly to printer

Viewing 7 replies - 1 through 7 (of 7 total)
  • Can I have the URL of the post you were having issue with? Also what browser/operating system are you on?


    I am using firefox. You can check all of teh pages on http://alphatrots.nel for instance

    Just tried with IE, same result

    firefox on ubunto, allso same result

    Plugin Author Print & PDF by PrintFriendly


    The page is missing the printfriendly JavaScript. Most likely caused by the template not using the WordPress footer.php hook.

    To fix, add the javascript directly to your template.

    <script>var pfHeaderImgUrl = '';var pfHeaderTagline = '';var pfdisableClickToDel = 0;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=''}else{js=''}pf.src=js;document.getElementsByTagName('head')[0].appendChild(pf)})();</script>

    Where exaclty do I put this?

    Ok, I did put the code below in my footer.php and now it works

    /* Always have wp_footer() just before the closing </body>
    * tag of your theme, or you will break many plugins, which
    * generally use this hook to reference JavaScript files.


Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Displays button but sends directly to printer’ is closed to new replies.