• snehal118

    (@snehal118)


    I am using the wp-mpdf plugin for creating the pdf file from html content file template.But it shows output of demo file of plugin.I want to change the content of pdf file.Please help me sort out this problem.

    I am done with following steps:
    -Installed plugin.
    -added short-code to my template or post page.
    -after that it gives the demo output instead of my html file where I pest short-code.

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

    (@fkrauthan)

    What do you mean by changing the content of the PDF? It should create your current post as PDF so you need to change your blog post/page.

    Thread Starter snehal118

    (@snehal118)

    I want to change the content of pdf by using separate html file like invoice generation.Is it possible??

    mitesh1990

    (@mitesh1990)

    In order to use default template for view just you need to find out “mpdf_caching” key in your “wp_options” table and give value option_value = 0. Now you can design your own pdf template as your wish.I was success in doing this.
    To change default theme go to: plugins/wp-mpdf/themes/default.php
    @snehal118

    • This reply was modified 7 years ago by mitesh1990.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to use wp-mpdf plugin for change the content of pdf’ is closed to new replies.