CleverOgre Logo

LearnDash LMS – PhpWord Certificates

Created On February 2nd, 2023 | Last Update February 14th, 2023

Description

Generate LearnDash pdf certificates based on Word document templates. Requires PhpWord and PhpSpreadsheet to be installed via composer before use.

Prerequisites:

Installation

  1. Install prerequisites:
    • Install OgreCore plugin to wordpress instance
    • Install root user level packages (only required if using Unoconv)
      • yum install libreoffice-core (as root user)
      • yum install unoconv
    • Install composer packages within plugin directory (wp-content/plugins/learndash-certificates-phpword)
      • composer require php-unoconv/php-unoconv and/or composer require dompdf/dompdf
      • composer require phpoffice/phpword
      • composer require phpoffice/phpspreadsheet
  2. Upload the plugin files to the /wp-content/plugins/learndash-certificates-phpword directory and ensure that it is active.
  3. Create new certificate and assign template file from media library in "PhpWord Template Settings" meta box. Use template placeholders within template file as needed.

FAQ

What is this plugin?

If you do know what plugin you have downloaded, please contact CleverOgre for more information. This plugin is only developed for a small, private audience.

Screenshots


Details

  • Requires at least: 5.0
  • Tested up to: 6.0.2
  • Stable tag: 0.1.1
  • License: GPLv2 or later

Changelog

0.1.1 - 2023-02-14

  • Decreased required PHP version to 7.3. NOTE: PDF conversion will be functional with PHP <8.0.
  • Support for Dompdf as alternative to Unoconv.

    0.1.0 - 2023-02-01

  • Initial build of learndash-certificates-phpword plugin.

Download Plugin