Skip to content

Instantly share code, notes, and snippets.

@jakejackson1 jakejackson1/hello-world.php Secret

Last active Dec 6, 2019
What would you like to do?
A simple Hello World template for Gravity PDF with additional styling
* Template Name: Hello World
* Version: 0.1
* Description: A basic "Hello World" PDF template showing custom PDF templates in action
* Author: Jake Jackson
* Author URI:
* Group: Sol System
* License: GPLv2
* Required PDF Version: 4.0
* Tags: space, solar system, getting started
/* Prevent direct access to the template (always good to include this) */
if ( ! class_exists( 'GFForms' ) ) {
<!-- Any PDF CSS styles can be placed in the style tag below -->
h1 {
text-align: center;
text-transform: uppercase;
color: #a62828;
border-bottom: 1px solid #999;
<h1>Hello World</h1>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.