• Resolved ul71m0

    (@ul71m0)


    Hi

    i have copied index-pdf.php to my theme directory but whatever change i make im still getting same results.

    Even if i delete all lines in file im still getting pdf printed when i go to /pdf/.

    I tried changing the one index-pdf.php in plugin directory itself and still no luck in adding my own elements.

    What am i doing wrong?

    https://www.ads-software.com/plugins/wp-pdf-templates/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Viljami Kuosmanen

    (@zuige)

    Sounds like a cache issue.

    Try reloading the page with ctrl + F5 (cmd + shift + R on os x)

    You can also try disabling the cache altogether in wp-config.php with

    define( 'DISABLE_PDF_CACHE', true )

    Thread Starter ul71m0

    (@ul71m0)

    Thank you. That worked.

    Hello Antti Kuosmanen, i am having a similar problem, my template copied to the theme directory, the page is not taking into account the index-pdf.php, simply loads the pdf with the whole content of the page including header and footer, this is in the case i use custom permalinks, but if i use the default like ?p=123&pdf loads perfect, but if i set any other permalink estructure, it doesn′t work.

    i really need to solve this situation by using pretty permalinks, thanks a lot

    Yunieski

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Template not changing’ is closed to new replies.