BVNode - How to Use

How to create and edit templates

In this tutorial, we will show you how to create and edit PDF templates in WPForms® PDF Generator Plugin.

First off navigate to template editor:

Below we will describe functionalities available in the editor.

Template settings

At the top of the editor you can find template settings, that will apply to your PDF document:

  • Font family - determines which font family will be used in the PDF document,
  • Paper size - set's the size of the PDF document,
  • Orientation - allows you to switch between portrait and landscape mode,
  • Margins - here you can set margin for each side of the document.

There are also two switches that give you ability to enable or disable header / footer in the PDF:

  • Page Header
  • Page Footer

By enabling them you will be able to insert placeholders or any other content at the top and at the bottom parts of PDF pages.

Content of the template

Below template settings you can find those tab's / buttons:

  • Main Template,
  • Header Template (if enabled in template settings),
  • Footer Template (if enabled in template settings),
  • Stylesheet.

Each of them has it's own text area where you can enter content such as placeholders, HTML, CSS styles.

Main Template

This is where you put main content for your PDF document. Here you can enter placeholder or HTML.

If you would like to display all fields on the PDF simply enter {all_fields_table} in the textarea. In this case order of the fields will reflect their order in form.

If you want to place a field in a specific place in the PDF you need to create a placeholder and map a field to it in forms settings (mapping will be explained in a seperate tutorial).

In order to create a placeholder you have to enter it's name inside double brackets. Example:

{{Signature}}

Feel free to name it however you want although we advise to name it accordingly to the field it will be mapped to so you won't mix it up during the mapping process.

Remember to save your changes using "Save" button located at the bottom.

Header and Footer Templates

They work in the same way as Main Template does - only difference is that mapped fields or any other content will be displayed at the top (header) or at the bottom (footer) of each document page.

Stylesheet

In stylesheet you can enter CSS styles that will apply to elements in your PDF document.

Template in PRO version

In PRO version of the plugin you have the possiblity to create multiple templates.

If you click "Templates" in the sidebar then instead of redirecting you straight to template editor it will redirect you to a list where all of your templates are listed.

If you wish to add a new template click "Add Template" button.

There are 4 buttons located to the right of the templates name that allow you to:

  • Edit template,
  • Clone template,
  • Preview template,
  • Delete template.

Other tutorials

Check out other tutorials for WPForms® PDF Generator Plugin:

[LINK CONFIGURATION WPFORMS]

[LINK RESEND / DOWNLOAD]

Get your WPForms® PDF Generator WordPress Plugin

Sign up for a 14 day 
no commitment free trial.
Get started for free

Ready to transform your WordPress experience?

Explore BVNode's innovative plugins today and unlock new potentials for your website. From enhancing SEO with dynamic content to streamlining your workflow with automated PDF generation, our solutions are designed to elevate your site's functionality and user experience.

Don't wait to revolutionize your WordPress journey. Explore Our Plugins or Contact Us for more information on how BVNode can empower your digital presence. 
BVNode 2