• Great plugin..! I’m having a bit of an issue with dynamic content, though. My site uses Buddypress and I’m using the tool to generate ‘Member Certificates’ using a template and page with dynamic content (the logged in users name). However, as soon as one person has downloaded their ‘certificate’ all subsequent users can only download it with the original downloaders name. I’m assuming that upon generation the PDF is stored somewhere on the server and all subsequent downloads point to this saved version. Is there any way the PDF can be re-generated each time the page is opened…?

    https://wordpress.org/plugins/wp-pdf-templates/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Nathaniel Of The Hardwicks

    (@nathardwick)

    In case anyone else has this issue there’s an option in the main plugin file – it just needs uncommenting:

    /*
    * Option to disable PDF caching
    */
    define(‘DISABLE_PDF_CACHE’, true);

    Plugin Author Viljami Kuosmanen

    (@zuige)

    Hi, and thanks for trying out our plugin!

    I’m glad you found a solution to your issue. Please make sure to move the line define('DISABLE_PDF_CACHE', true); to your wp-config.php to make sure your changes won’t be overwritten when updating the plugin.

    All the best,
    Antti

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dynamic Content’ is closed to new replies.