Skip to content

Instantly share code, notes, and snippets.

@BFTrick
Last active August 10, 2016 21:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BFTrick/73363c9b6f6d4d7de8ce to your computer and use it in GitHub Desktop.
Save BFTrick/73363c9b6f6d4d7de8ce to your computer and use it in GitHub Desktop.
A Ninja Forms PDF Form Submissions template with a logo
<?php
/**
* PDF Included With Form Submission
*
* @author Patrick Rauland
* @version 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
?>
<html>
<head>
<link type="text/css" href="pdf.css" rel="stylesheet" />
</head>
<body>
<img src="../../../themes/your-theme/logo.png"/>
<h1><?php echo $title; ?></h1>
<?php echo $table; ?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment