Skip to content

Instantly share code, notes, and snippets.

@lorenzocaum
Created January 5, 2016 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lorenzocaum/031c69b52877289f5412 to your computer and use it in GitHub Desktop.
Save lorenzocaum/031c69b52877289f5412 to your computer and use it in GitHub Desktop.
How to force one ticket per page with the Ticketing add-on for Event Espresso 4

This can be done by making some quick edits to the ticket message type.

Login to your WP dashboard (WP-admin) and go to Event Espresso --> Messages. Now look for the ticket message type and then click on Registrant.

You'll now be viewing the ticket message type in the messages editor. Click on the Text toggle in the top right area of the main content page.

Now at the very top on the main content area, add this CSS:

<style>
@media print { .newpage { page-break-before:always } }
</style>

Then scroll down to the very bottom of the main content area and add this HTML:


<div class="newpage"></div>

Then look for the Save button in the top right area of your screen and click on it.