This WordPress plugin allow to you, generate a PDF file from a specific template file, totally customizable and send it via email from a specific mail template file
此WordPress插件允许您从特定模板文件生成PDF文件,并且完全可自定义,并通过电子邮件从特定邮件模板文件发送 p>
How to
操作方法 h3>
Put the below shortcode where you want to access Advanced PDF Generator features.
将以下简码放置在要访问高级PDF生成器功能的位置。 p>
To enable specific features go to admin menu in dashboard: Advanced PDF Generator
要启用特定功能,请转到信息中心中的管理菜单:高级PDF生成器 strong> p>[advanced-pdf-generator] [advanced-pdf-generator]
code> pre>
Follow next steps for customize labels, texts and function
请按照以下步骤自定义标签,文本和功能 p>
View PDF
查看PDF h4>
In admin pane check view option and type values for this feature
在管理窗格中,查看视图选项并为此功能输入值 p>
Download PDF
下载PDF h4>
In admin pane check download option and type values for this feature
在管理窗格中,检查下载选项并为此功能输入值 p>
Send PDF
发送PDF h4>
Important: If you want to send PDF via email, you need the correct setup to send emails from your WP site
重要 strong>:如果要通过电子邮件发送PDF,则需要正确的设置才能从WP网站发送电子邮件 p>In admin pane check send option and type values for this feature, set form labels and success-error messages
在管理窗格中,选中“发送”选项并为此功能键入值,设置表单标签和成功错误消息 p>
Templates
模板 h3>
Create apg-templates directory in your theme root and put the follow files to customize.
在主题根目录中创建apg-templates目录,并将以下文件进行自定义。
– Create a pdf.php file to write the content will be in your PDF
–创建一个pdf.php文件,将内容写入您的PDF
– Create a mail.php file to write the content will be in you email sent.
–创建一个mail.php文件来编写内容将在您发送的电子邮件中。
For personalization user $name and $file_url to show the info previously typed in the form.
对于个性化用户,$ name和$ file_url显示先前在表单中键入的信息。 p>