Use this plugin to generator PDF's. Note: this is a beta version!
- Download 'PDF creator'.
- Upload the 'PDF creator' directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, sftp, scp, etc...)
- Activate 'PDF creator' from your Plugins page.
- Initiate and use the plugin in your code by writing :
4.1. $mode = 'utf-8';
4.2. $size = array(212.72500, 276.22500);
4.3. $html = '
';
4.4. $css = site_url().'/wp-content/plugins/directorypress-extend-listings/includes/pdf-generation/sample-css.css';
$css = file_get_contents($css);
4.5. $footer = '
footer';
4.6. pdf_generation($css, mode, $size, $html, $footer);
1. Have fun! Send an email to info@hemmes.it or visit
http://www.hemmes.it/wordpress-pdf-creator/ if you have any questions related to this project.