Add Download PDF button

Home Forums Legacy Support Support queries Styling issues Add Download PDF button

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #208455
    hilmanf
    Spectator
    Hi, I need an additional button or link below certificate card for user to download their certificate on PDF. Refer: http://prntscr.com/nmg3mj
    #208651
    maximus
    Member
    Hello add this code in wp-admin->WPLMS->footer->Google Analytics Code <script> jQuery(document).ready(function (){ jQuery('.certifications ul.slides li a.pdf_view,.certifications ul.slides li a.ajax-certificate:not(.regenerate_certificate)').each(function (){ var $this = jQuery(this); $this.parent().append('<br><a href="'+$this.attr('href')+'" class="download_certi button" download="download">Download now</a>');   }); }); </script>
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Add Download PDF button’ is closed to new replies.