Description
Generate LearnDash pdf certificates based on Word document templates. Requires PhpWord and PhpSpreadsheet to be installed via composer before use.
Prerequisites:
- OgreCore
- LibreOffice (core or full version)
- Unoconv (Unoserver not currently supported)
- PHP Unoconv
- PhpWord & PhpSpreadsheet
Installation
- 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/orcomposer require dompdf/dompdf
composer require phpoffice/phpword
composer require phpoffice/phpspreadsheet
- Upload the plugin files to the
/wp-content/plugins/learndash-certificates-phpword
directory and ensure that it is active. - 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.