Made in the U.S.A.
The Raffle Ticket Generator has 2 options to automatically pick a winner for your raffle. Random drawing from the back end admin panel of WordPress or a Live Drawing Shortcode option on a WordPress page.
To do a backend drawing – simply select the raffle from the Select a Raffle to Pick Winner section.
This will display the number of tickets. To begin the random selection, simply click start. This will start cycling through orders and tickets randomly. When you are ready to pick the winner, simply click stop and the random selection will be displayed.
To add the winner to the Winner Table and save it, simply click “Add this winner to the winner table” This is for record keeping and also to allow you to select multiple winners. Many of our large raffle prizes have strict guidelines and they need to select a First Runner Up or Second Runner Up in case the winner is ineligible. This also allows for a Grand Prize, First Prize, Second Prize, etc. for multi-prize raffles.
To do a live drawing on the website, you will need the shortcode reference for the raffle. This is on the Select Winners page. This shortcode is only Supported on a WordPress Page, not a Post. Currently we support one raffle winner shortcode per WordPress page.
In this example it displays the name of the raffle (Raffle with ticket images) and then the information for the Shortcode:
When you click Generate Shortcode it will create the shortcode and display in a pop up. You can copy and paste it from there.
The settings shown above generate this code:
[winnerpage catid=”21″ numberofwinners=”2″ winnertype1=”Grand Prize Winner” winnertype2=”Winner2″ time=”30″ format=”s” textstart=”Winner Selection has started” textend=”Winner Selection is complete”]
**DO NOT CUT AND PASTE THE SHORTCODE FROM ABOVE! WordPress may change the ” above and the code may not be the same. Copy the code from the admin page in the plugin on your website. We strongly recommend using text editor mode to paste the shortcodes. Many WYSIWYG editors visual mode will mess up shortcodes.
NOTE – The shortcode will not display ANYTHING if there are no tickets sold. There must be tickets in the tickets table for that raffle category to display the countdown timer.
Gutenberg is not the friendliest with shortcodes. If you have problems, we suggest using a plugin called “disable gutenberg” and using the classic editor to save your page for the live drawing on that particular page.
Like Gutenberg, most pagebuilder and wsyiwyg editors add a lot of extraneous code to the page. As we state prior to purchasing, we expect basic web developer skills. If you have issues with the shortcode displaying, you should use the text editor and do a simple page, test it, then add all the other content.
The Shortcode is what you will need to put on a WordPress page. Here are the meaning behind the various attributes:
The Gold and Platinum editions also have the ability to do winner selection by date range. This is useful for interim drawings for promotions where people who purchase tickets during the weekend are also entered into a raffle for an additional prize. Simply select Ranged from the Shortcode Type dropdown and then add the date and time.
To use the shortcode, create a WordPress page and add the shortcode in the text editor. This shortcode only works on a WordPress PAGE. It is not compatible with a POST
Below the text editor is a date field for Automatic Winner Setting for RTG. Use the calendar widget and select the time you want to being the drawing. The time operates on the WordPress time zone, BUT we have seen instances on various hosts, where the WordPress time is not getting set and the time is actually UTC. Test the time to make sure the time is what you want. When the time is set and shortcode is entered – this is what you will see. When the timer ends – it will cycle through and then select the winner(s).
We cannot stress this enough. Especially since all the changes in WordPress 5.6 with how jquery is processed. Do several tests PRIOR to going live. You can delete the test winners from the winners table in the Raffles Winners page. Many things can conflict in a theme. We see many storebought themes that have maintenance counters in them that do not close the script in their code. If you see NNN NNN NNN on the page with the shortcode, you did not set the time and date as noted above.
Powered by BetterDocs