Email PDF Card
WordPress plugin to create PDFs with custom messages and send them by email. Pe. like "Get Well" cards
by Mario Yepes · github.com/marioy47/email-pdf-card · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/marioy47/email-pdf-card/archive/refs/heads/main.zipEmail 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