SweepWidget Shortcode Documentation


Introduction

This guide shows you how to add videos, images and social media posts to your SweepWidget contests with shortcodes.

Getting started

Plan required: Pro or higher.

Create a new contest or edit an existing one. Shortcodes can be used in two places:

  • Main giveaway description – the description field on the Basic Info tab.
  • Entry method instructions – the Additional Instructions and Entry Textarea fields within an entry method.

In the builder, click Shortcodes for embedding media to see the full list. Copy a shortcode, paste it into the field, and replace the URL with your own. For example, after you add a YouTube shortcode to the description, the video shows in your live contest.

Table of Contents

  • Image Shortcode
  • YouTube Video Shortcode
  • YouTube Playlist Shortcode
  • Spotify Shortcode
  • SoundCloud Shortcode
  • Facebook Shortcode
  • Instagram Shortcode
  • TikTok Shortcode
  • Twitter Shortcode
  • LinkedIn Shortcode
  • Pinterest Shortcode
  • Reddit Shortcode
  • Vimeo Shortcode
  • SlideShare Shortcode

Image Shortcode

Embed an Image

Note: the image never gets wider than the screen (max width 100%), even on mobile. If you leave width and height out, it shows at full width.

Options:

  • URL
  • Width (Optional)
  • Height (Optional)

Example: [image url="imageURL" width="500" height="300"]

YouTube Video Shortcode

Embed a YouTube Video

Options:

  • URL
  • Width (Optional)
  • Height (Optional)

Example: [youtube url="videoURL"]

YouTube Playlist Shortcode

Embed a YouTube Playlist

Options:

  • URL
  • Width (Optional)
  • Height (Optional)

Example: [youtube-playlist url="playlistUrl"]

Spotify Shortcode

Embed a Spotify Track

Spotify tracks only (not playlists or albums).

Options:

  • URL

Example: [spotify url="trackURL"]

SoundCloud Shortcode

Embed a SoundCloud Track

Options:

  • URL

Example: [soundcloud url="trackURL"]

Facebook Shortcode

Embed a Facebook Post

Options:

  • URL

Example: [facebook url="postURL"]

Instagram Shortcode

Embed an Instagram Post

Options:

  • URL

Example: [instagram url="postURL"]

TikTok Shortcode

Embed a TikTok Video

Options:

  • URL

Example: [tiktok url="videoURL"]

Twitter Shortcode

Embed a Twitter Tweet

Options:

  • URL

Example: [twitter url="tweetURL"]

LinkedIn Shortcode

Embed a LinkedIn Post

Options:

  • URL

Example: [linkedin url="postURL"]

Pinterest Shortcode

Embed a Pinterest Pin

Options:

  • URL

Example: [pinterest url="pinURL"]

Reddit Shortcode

Embed a Reddit Post

Options:

  • URL

Example: [reddit url="postURL"]

Vimeo Shortcode

Embed a Vimeo Video

Options:

  • URL

The video is shown at full width. Do not add width or height to this shortcode; if you do, it will not display.

Example: [vimeo url="videoURL"]

SlideShare Shortcode

Embed a SlideShare Presentation

Options:

  • ID

Example: [slideshare id="presentationID"]