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?

    Thread Starter berendraap

    (@berendraap)

    Hi,

    I am using firefox. You can check all of teh pages on https://alphatrots.nel for instance https://alphatrots.nl/2012/12/tienduizenden-hulpen-verliezen-baan/

    Thread Starter berendraap

    (@berendraap)

    Just tried with IE, same result

    Thread Starter berendraap

    (@berendraap)

    firefox on ubunto, allso same result

    Plugin Author Print & PDF by PrintFriendly

    (@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='https://pf-cdn.printfriendly.com/ssl/main.js'}else{js='https://cdn.printfriendly.com/printfriendly.js'}pf.src=js;document.getElementsByTagName('head')[0].appendChild(pf)})();</script>

    Thread Starter berendraap

    (@berendraap)

    Where exaclty do I put this?

    Thread Starter berendraap

    (@berendraap)

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

    <?php
    /* 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.
    */

    wp_footer();
    ?>

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