How to Use – AmeriCOM LP Certificate Button

AmeriCOM – LP Certificate Button Shortcode

Shortcode: [lp_certificate_button]

Quick Start

  1. Ensure LearnPress and LearnPress Certificates add-on are active.
  2. Attach a certificate template to your course (Course settings → Certificates).
  3. Place the shortcode on any page:
    [lp_certificate_button course_id="1234" label="Certificate" class="lp-button" show_login_prompt="yes"]

Attributes

  • course_id – required when not on a single course page.
  • label – button text (default: Certificate).
  • class – CSS classes for styling (default: lp-button).
  • show_login_promptyes/no, show login link if user is logged out.

Behavior

  • Hides button for logged-out users (unless show_login_prompt="yes").
  • Shows disabled button until the user finishes the course.
  • When finished, mirrors the LearnPress Certificates button behavior.

Troubleshooting

  • No button? Verify the course has a certificate attached.
  • Not finished? The button is disabled until the user completes the course.
  • Custom templates? The plugin tries the LearnPress template first, then falls back to a safe form.