Support Home > Writing > Shortcode Embeds

Shortcode Embeds

Shortcodes allow you to embed videos from YouTube, tweets from Twitter, and other media across the web directly into your WordPress-powered site.

To enable this feature, visit  Jetpack → Settings → Writing in your site’s dashboard. Scroll down to the Composing section and toggle on the Compose using shortcodes to embed media from popular sites option.

This feature also allows you to embed elements by pasting URLs on a line by itself in your visual editor. These are called Inline Embeds.

What is a shortcode?

A shortcode is a WordPress-specific code that lets you do nifty things with very little effort. Shortcodes can embed files or create objects that would normally require lots of complicated, ugly code in just one line. A shortcode is like a shortcut.

Available shortcodes

Jetpack now uses the shortcode parameters in WordPress Core.

Video

Audio

  • [bandcamp] embeds audio from Bandcamp. » Full instructions
  • [mixcloud] embeds audio from Mixcloud.
  • [soundcloud] embeds audio from SoundCloud. » Full instructions
  • [spotify] embeds Spotify playlists.

Images and Documents

Miscellaneous
Shortcodes for adding a blog archive index, contact form, polls, WordAds, and more.

Feature-Dependent Shortcode
This shortcode only works when the corresponding feature is enabled.

Inline Embeds

PDF: Paste a link to PDF in your Media Library to embed in a post or page. » Full instructions

Embedding Facebook and Instagram Posts

Facebook and Instagram no longer support their oEmbed API. However, we’ve partnered with Meta to ensure this content continues to display as expected. All you need to do is connect your site to Jetpack and paste the link of the Facebook or Instagram content in the post or page editor.

Privacy Information

Shortcode Embeds are deactivated by default. You can activate them at any moment from your WP Admin. To do so:

  1. Go to Jetpack → Settings.
  2. Click the Writing tab.
  3. Scroll down to the Composing section and toggle on the Compose using shortcodes to embed media from popular sites option.
Data Used
Site Owners / Users

 

We use any information required for the actual configuration of any shortcodes; see the links in the above section accompanying each shortcode for those specific details. Note that, if you add a shortcode to one of your posts, anybody with access to edit that post will have access to those shortcode details. The following WordPress options are also used (these are synced): embed_autourls (Spotify, YouTube), page_on_front (Sitemap), embed_size_w (TED, YouTube).Additionally, for activity tracking (detailed below): IP address, WordPress.com user ID, WordPress.com username, WordPress.com-connected site ID and URL, Jetpack version, user agent, visiting URL, referring URL, timestamp of event, browser language, country code.

Site Visitors

 

See the Jetpack Stats privacy documentation for some shortcodes that record impressions (VideoPress and Slideshow).Note that, due to the nature of shortcodes (i.e. third-party content embeds), it is possible that third-party services may make use of certain pieces of data.

Activity Tracked
Site Owners / Users

 

We track when, and by which user, the feature is activated and deactivated.

Site Visitors

 

VideoPress: video plays; Slideshow: image views.Note that, due to the nature of shortcodes (i.e. third-party content embeds), it is possible that third-party services may track activity in some instances.

Data Synced (Read More)
Site Owners / Users

 

We sync an option that identifies whether or not the feature is activated. We also sync which specific shortcodes are currently used/active on your site.

Site Visitors

 

None.

  • Table Of Contents

  • Contact Us

    Need more help? Feel free to contact us.