WP Manifestindependent plugin directory
manifest / email / email-pdf-card

Email PDF Card

WordPress plugin to create PDFs with custom messages and send them by email. Pe. like "Get Well" cards

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/marioy47/email-pdf-card/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Email PDF Card WordPress Plugin

Fairly simple plugin that a allows a website visitor to create a PDF card and have it sent by email to a recipient.

Use cases for this kind of plugin are:

  • Allow visitor to create "Get Well" cards and send them with email
  • Create price lists and have them sent by email

Installation

This is a standard WordPress plugin, you can install it using the Dashboard or expanding the .zip file in the wp-content/plugins dir of a WordPress installation

Developement

To contribute to the developement of this plugin, you need to have the following:

  • NodeJS
  • Composer
  • Npm (you should have it if you already have NodeJS)

To setup the dev environment just do:

cd /path/to/wordpress/wp-content/plugins
mkdir email-pdf-card
cd $_
git clone git@github.com:marioy47/email-pdf-card.git .
npm install
npm start

TODO

  • [x] Add composer installation to gulpfile.js
  • [x] Add zip taks on gulpfile.js
  • [x] Enable remove images in the settings page
  • [x] Organize the HTML for the image table on settings
  • [x] Make the TypeScript for the Settings Image Table work
  • [ ] Finish the ajax call
  • [ ] Create the TypeScript that handles the form submission
  • [ ] Fix X-Frame-Option for inline PDF (or open in a new window)
  • [ ] Add some usage documentation
  • [ ] Enable the usage of templates
  • [ ] Enable the selection of background images
  • [ ] Convert the admin image selector to TypeScript
  • [ ] Create a gutmberg block for the element inclusion