Support » Plugin: WP Advanced PDF » PDF button on custom template

  • 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 3 replies - 1 through 3 (of 3 total)
  • 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?

    Plugin Author cedcommerce

    (@cedcommerce)

    Hello,

    we apologize for the delay as if the problem exists then you can contact us over our support at support@cedcommerce.com

    We are here for your help.

    Thanks

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