Topics

⌘K
  1. Home
  2. Topics
  3. Tickets
  4. Ticket themes
  5. Updating ticket themes

Updating ticket themes

From time to time, it may be necessary to update your ticket theme(s) so that you can access new features added to FooEvents. There are two methods you can use to update ticket themes:

Update via the WordPress Admin Area #

Similar to how you update WordPress plugins, you can update existing ticket themes in the Ticket Themes section of your WordPress admin area.

Before you update your ticket themes, please note:

  • Make a backup of the ticket theme(s) you currently have installed, especially if you have made any customizations to the ticket theme code.
  • If you previously made changes to the ticket theme code, you will need to reapply those changes to the updated version, or copy the new updates into your modified version.

Follow these steps to update your ticket themes:

FooEvents Ticket Theme Update

  1. Download the most recent version of the ticket theme(s) from FooEvents Account > Downloads.
  2. In your WordPress admin area, go to FooEvents > Ticket Themes.
  3. Click the Upload Ticket Theme button, then click the Choose File or Browse button and select the ticket theme ZIP file that you downloaded.
  4. Check the Overwrite ticket themes with matching folder names setting. This will ensure that the existing theme files are replaced with the updated files.
  5. Click Upload. A confirmation message will appear, warning that the original ticket theme files will be overwritten. Click OK to continue

You need to upload the ticket theme ZIP file. Some browsers automatically unzip files when downloading themes, so if you only see an extracted folder on your desktop, you will need to compress it into a ZIP file before uploading it. Also ensure that the ZIP file name matches the original folder name (for example, admission_ticket_theme.zip).

Once done, confirm the latest version is reflecting:

FooEvents Ticket Theme version number

Update using FTP #

If the upload and overwrite option does not work for your setup, you can update your ticket theme(s) manually via FTP.

  1. Connect to your web server via FTP.
  2. Navigate to the folder: wp-content/uploads/fooevents/themes.
  3. Make a backup of the FooEvents ticket theme(s) that you currently have installed. This is especially important if you have made any changes to the ticket theme code.
  4. Delete the existing ticket theme folder(s) on your server. If you are updating the Default 2020, Default PDF Single, or Default PDF Multiple themes, please note that the FooEvents plugins may recreate these theme folders automatically after they are deleted. If you see these folders again after deleting them, you can skip the upload step below.
  5. Download the most recent version of the ticket theme(s) from the Downloads tab in your FooEvents Account.
  6. Unzip the latest ticket theme ZIP files that you downloaded, then upload the extracted theme folder(s) to wp-content/uploads/fooevents/themes.
  7. If you previously made changes to the ticket theme code, you will need to copy those changes into the new ticket theme files. Alternatively, you can copy the updates from the new ticket theme files into your current modified ticket theme files.

The main change you may need to make when updating custom ticket theme code is to use the newer image URL variables as the src values for your image tags:

  • Logo: $ticket['WooCommerceEventsTicketLogo']
  • Header image: $ticket['WooCommerceEventsTicketHeaderImage']
  • Barcode: $barcodeURL
  • Location icon: $locationIcon
  • Time icon: $timeIcon
  • Ticket icon: $ticketIcon
  • Scissors/dotted lines: $cut1 and $cut2
  • Divider image: $divider
Tags , ,

How can we help?