• Resolved Azamat Xodjakov

    (@azamat88)


    Hi,

    Thank you for this awesome plugin! It works perfect.

    I’m developing a custom theme and I need to include PDF button on frontend page template. I understand that you don’t offer a shortcode in free version of the plugin. But is there any php code (hook, filter?) to get PDF button in a custom position of a php page template?

    Any help would be appreciated.
    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Azamat Xodjakov

    (@azamat88)

    I made use of this code:

    <?php add_query_arg ( 'format', 'pdf', get_permalink ( $post->ID ) ) ); ?>

    Download PDF button is displaying fine. You may use the above code to display the PDF button anywhere in your php template. This code can be used instead of shortcode.

    Azamat,

    used this code however it breaks my template, is there another way?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PDF button on custom template’ is closed to new replies.