Skip to content

Preparing your giveaway experienceโ€ฆ

Hot Deal

Spin & Grab 100% OFF

Get Powerful Giveaway Lottery Plugin & More Exciting Tools Limited time

00 Days
00 Hrs
00 Min
00 Sec
Claim now
๐Ÿ”ค Developer Reference

WinRocket Shortcodes

Embed any WinRocket element anywhere on your WordPress site โ€” product pages, landing pages, sidebars, or Elementor layouts โ€” with a single shortcode tag.

7
Total Shortcodes
3
Free Shortcodes
4
Pro Shortcodes
How It Works

Using WinRocket Shortcodes

Drop any shortcode into any WordPress page, post, widget area, or Elementor block. They just work.

1

Copy the Shortcode

Find the shortcode you need on this page and click "Copy" to grab it.

2

Open Your Page Editor

Go to any page/post in WordPress or open your Elementor layout.

3

Paste into Shortcode Block

Add a "Shortcode" block (Gutenberg) or "Shortcode" widget (Elementor) and paste.

4

Publish & Preview

Save the page and preview. Your WinRocket element will appear exactly as designed.

๐Ÿ†

Basic Usage

Free
Embed winner reveal on a dedicated page
shortcode
[wxg_winner_reveal]
Live Preview
๐Ÿ†

Sarah Johnson

iPhone 15 Pro Giveaway โ€” Draw Complete

#WIN-007
โ—Winner name & ticket number
โ—Animated fireworks celebration
โ—Countdown before draw date
โ—Campaign name & draw date
๐Ÿ’ก Pro Tip

Create a dedicated page (e.g. /winner-reveal/) and add this shortcode. Then set this page URL in WooCommerce โ†’ WinRocket โ†’ Winner Settings โ†’ Reveal Page URL. The "Show Winner" button on product pages will redirect here automatically.

๐ŸŽก

Basic Usage

Free
Embed default lucky wheel
shortcode
[wcs_lucky_wheel]
Live Preview

Lucky Wheel Prizes

๐ŸŽ Free Gift (5%)
๐Ÿ’ฐ 20% Coupon (20%)
๐ŸŽŸ๏ธ Free Ticket (15%)
๐Ÿ† Jackpot (2%)
โญ 500 Points (18%)
๐Ÿ˜” Try Again (40%)
โฑ

Basic Usage

Pro
shortcode โ€” required product_id
[wxgiveaway_countdown_timer product_id="123"]
Live Preview
Draw closes in
04
Days
18
Hours
32
Mins
07
Secs
ParameterTypeDefaultRequiredDescription
product_idnumberโ€”requiredThe giveaway product ID to attach the slider to.
๐Ÿ“‹

All Winners List

Pro
Shows winners from every giveaway campaign
shortcode
[wxgiveaway_winner_list]
Live Preview
#WinnerCampaignDate
1Sarah J. โ€” #WIN-007iPhone 15 ProJun 30, 2026
2Mike R. โ€” #WIN-042Gaming ChairMay 28, 2026
3Ana C. โ€” #WIN-118AirPods MaxApr 15, 2026

Single Product Winner List

Pro
Shows winner(s) for one specific giveaway product
shortcode โ€” required product_id
[wxgiveaway_single_product_winner_list product_id="123"]
Parameters
ParameterTypeDefaultRequiredDescription
product_idnumberโ€”requiredThe WooCommerce product ID of the specific giveaway product to show winners for.
๐Ÿ’ก Pro Tip โ€” Campaign Landing Page

Create a dedicated landing page for each giveaway campaign. Embed this shortcode on it so participants can come back after the draw to see results โ€” without the product page being the only destination.

๐Ÿ“

Quantity Range Slider

Pro
shortcode โ€” required product_id
[wxgiveaway_range_slider product_id="123"]
Live Preview
Ticket Quantity
Min: 1Max: 5
3 tickets sold
ParameterTypeDefaultRequiredDescription
product_idnumberโ€”requiredThe giveaway product ID to attach the slider to.
๐Ÿ‘ฅ

All Participant List Show Shortcode (Pro)

Pro
Show all participants for a giveaway product
shortcode โ€” required id
[wxgiveaway_participants id="0"]
Live Preview
#NameTicketsJoinedStatus
1Sarah J.5Jun 1๐Ÿ† Winner
2Mike R.10Jun 3Entered
3Ana C.3Jun 5Entered
4Tom B.1Jun 6Entered

Showing 4 of 142 participants

โ—Participant name & ticket count
โ—Entry date & winner status
โ—Pagination, load more, or infinite scroll
โ—Privacy-safe name display options
ParameterTypeDefaultRequiredDescription
idnumber0requiredThe WooCommerce product ID of the giveaway. Replace 0 with your product ID (e.g. 123).
๐Ÿ’ก Pro Tip

Add this shortcode to a campaign landing page so visitors can see who has already entered โ€” great for building FOMO and trust before they buy tickets.

Quick Reference

All Shortcodes at a Glance

Copy any shortcode or jump to its full documentation section.

Shortcode Description Plan Parameters
[wxg_winner_reveal]
Animated winner reveal page with countdown and fireworks Free None required โ†’
[wcs_lucky_wheel]
Interactive spin-to-win lucky wheel on any page Free None required โ†’
[wxgiveaway_countdown_timer product_id="0"]
Live draw countdown timer for a specific product Pro product_id, colors โ†’
[wxgiveaway_winner_list]
Complete winner history across all campaigns Pro None required โ†’
[wxgiveaway_single_product_winner_list product_id="0"]
Winner list for one specific giveaway product Pro product_id โ†’
[wxgiveaway_range_slider product_id="0"]
Interactive ticket quantity range slider Pro product_id โ†’
[wxgiveaway_participants id="0"]
Public participant list for a giveaway product Pro id โ†’
Elementor Guide

Using Shortcodes in Elementor

WinRocket shortcodes work perfectly inside Elementor. Use the built-in Shortcode widget to embed any element into any Elementor-built page, section, or popup.

1
Open Elementor Editor

Edit the page where you want to embed the WinRocket element.

2
Search for "Shortcode" Widget

In the Elementor widget panel, search for "Shortcode" and drag it to your section.

3
Paste Your Shortcode

In the widget settings, paste the WinRocket shortcode (e.g. [wcs_lucky_wheel]) into the field.

4
Preview & Publish

Click Preview to confirm the element renders correctly, then Update & Publish.

Elementor Layout
yourstore.com/win

๐Ÿ† iPhone 15 Pro Giveaway

Win the latest iPhone! Tickets from $5.

๐ŸŽก Lucky Wheel
[wcs_lucky_wheel]
โฑ Countdown Timer
[wxgiveaway_countdown_timer product_id="42"]
โœจ Works with WooCommerce Single Product Page

In WooCommerce single product page all shortcode that use product_id here pass value 0.

Ready to Start Using Shortcodes?

Download WinRocket free, or upgrade to Pro for the full shortcode library.

Free forever ยท Pro $89 lifetime ยท 30-day refund guarantee

โœ… Shortcode copied to clipboard!
Wait…

Spin & grab 100% off

Check your luck โ€” grab exclusive discounts on advanced Woo plugins, or better luck next time.

Click to Win
No spam. Limited-time offer.
//
Verified by MonsterInsights