Contributors: fkrauthan
Donate link: fkrauthan.ca
Wordpress plugin page: wordpress.org/plugins/wp-mpdf/
Tags: print, printer, wp-mpdf, pdf, mpdf
Requires at least: 2.9
Tested up to: 6.5.3
Stable tag: 3.9
Print Wordpress posts as PDF. Optional with Geshi highlighting.
Print Wordpress posts as PDF. Optional with Geshi highlighting. It also has support for password protected posts and only logged in users can print post as pdf support.
mpdfbutton
shortcode to print the PDF button3.8.2
3.8
mpdf_adjust_settings
filter to allow overwriting any mpdf settingsFor the changelog of earlier versions, please refer to the separate changelog.md file.
/wp-content/plugins/
folder./wp-content/plugins/wp-mpdf/cache
<?php if(function_exists('mpdf_pdfbutton')) mpdf_pdfbutton(); ?>
" as a small button or "<?php if(function_exists('mpdf_pdfbutton')) mpdf_pdfbutton(false, 'my link', 'my login text'); ?>
" as a textlink. The second text specifies the text which should displayed if you have checked "needs login" and a user isn't loggend in. (if you wish to open the pdf print in a new tab you may pass "true" for the first parameter)/wp-content/wp-mpdf-themes
The mpdf_pdfbutton function signature: function mpdf_pdfbutton($opennewtab=false, $buttontext = '', $logintext = 'Login!', $print_button = true, $nofollow = false, $options = array())
The options array supports 'pdf_lock_image' => '/my/image/path/relative/to/wordpress/route' and 'pdf_image' => '/my/image/path/relative/to/wordpress/route' to overwrite which icon should be used.
This file is part of wp-mpdf.
wp-mpdf is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
wp-mpdf is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with wp-mpdf. If not, see www.gnu.org/licenses/.
You need to install the subversion client on your local system
Make sure that all your changes are committed to the repository. The deployment script will stop in case there are uncommitted changes to prevent any mistakes.
You just need to execute the release.sh
script. It will take care of some basic validation, and the full publish process.
./release.sh