Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Contest Code Checker

A plugin to allow for people to enter in a contest code and see if they won a prize

This plugin was created for people who have contest codes on a physical or electronic product that are tied to a prize. The user who receives the contest code can go to a page or post and enter in their name, email and code and get back if they have won or lost.

The following capabilies exist:

  • User-facing form to check contest codes
  • Admin area to manage contest codes with the ability to import codes
  • Admin area to view contestants, also export contestants
Author Swim or Die Software
Contributors mdedev
Tags contest code checkers, contest codes, contests
  1. contest-code-checker screenshot 1

    Contest submission form

  2. contest-code-checker screenshot 2

    Contestants admin listing

  3. contest-code-checker screenshot 3

    Contest code admin listing

  4. contest-code-checker screenshot 4

    Contest code admin import area

  5. contest-code-checker screenshot 5

    Contest code checker settings area

  1. Upload the contest-code-checker folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Add and/or import your contest codes via the admin area
  4. Set the general options like winning and losing text and date ranges for when the contest is active
  5. Add the short code [contest_code_checker] to any page or post


  • Fixed php short-code openings that don't work with some PHP configurations


  • Implemented boolval if the function does not exist which only happens in old versions of PHP


  • Another small fix for older PHP versions dealing with the empty function


  • Small fix for older PHP versions where the empty function can't be a recipient of a functions return value


  • Improved the export all functionality so it is quicker


  • Made it so deleting and exporting of a large set of contest codes (30,000+) worked


  • Fixed a bug where if you entered a code that did not have a prize you would get a message saying the code was already used when it wasn't
  • Set the execution time limit for deleting and exporting of contest codes to be unlimited to allow for large number of contest codes


  • Set the execution time limit for import files to be unlimited to allow for large contest codes to be imported


  • Made it so even anonymous users can use the ajax calls


  • Set email to winners to be text/html instead of a plain-text email


  • Included the generic prize information in the email to winners


  • Small label changes on the front-end form
  • Added ability to export contest codes
  • Added the ability to delete all contest codes
  • Added the option to show a message if the code is invalid, if nothing is specified the losing message will be displayed
  • Added the option to show a message if the code is already used, if nothing is specified the losing message will be displayed
  • Added the ability to specify the pop-up width and height in pixels
  • Split the contestant's name into two fields first and last


  • Added the ability to create generic prize information that could be associated with multiple prizes
  • Fixed a problem where the "has this code been used" form field was not properly checked on the admin side
  • Added the option to have the prize information show as a modal instead of on the page


  • Added options and functionality to email winners with their prize information


  • Initial release

Why can't this plugin do X?

Good question, maybe I didn't think about having this feature or didn't feel anyone would use it. Contact me at and I will see if I can get it added for you.

Is there a GitHub Repository?

Yes, that is where the main development is done -

Version 1.1.4

Requires WordPress version: 4.0 or higher

Compatible up to: 4.7.0

Last Updated 10 Jan 2017

Date Added: 10 Jul 2016

Plugin Homepage


5 stars
1 ratings


Not Enough Data

Works: 0
Broken: 0