Advanced PDF generation for WordPress