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.
Embedding Facebook and Instagram Posts
Facebook and Instagram no longer support their oEmbed API , however, we’ve partnered with Facebook to create a seamless transition and to make sure your posts will continue to display as you expected. All you need to do is connect your site to Jetpack!
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.
[brightcove]embeds a Brightcove video. » Full instructions
[dailymotion]embeds a Dailymotion video. » Full instructions
[flickr]embeds a Flickr video. » Full instructions
[ustream]embeds a ustream video. » Full instructions
[ted]embeds a TED talk. » Full instructions
[twitchtv]embeds a Twitch.tv video or live stream. Full instructions.
[vimeo]embeds a Vimeo video. » Full instructions
[youtube]embeds a YouTube video. » Full instructions
[audio]displays uploaded audio file as an audio player. Jetpack now uses the shortcode parameters in WordPress Core.
[soundcloud]embeds audio from SoundCloud. » Full instructions
[bandcamp]embeds audio from Bandcamp. » Full instructions
[mixcloud]embeds audio from Mixcloud. » Full instructions
[spotify]embeds Spotify playlists. » Full instructions
Images and Documents
[presentation]allows you to display a slide presentation on your site. » Full instructions
[scribd]embeds a document/file from Scribd. » Full instructions
[instagram]embeds an Instagram photo. » Full instructions
[slideshare]embeds a slideshow from Slideshare.net. » Full instructions
[gallery type="slideshow"]allows you to create a slideshow by using the built-in WordPress galleries. » Full instructions
[googleapps]embeds Google Documents. » Full instructions
[getty]embeds Getty Images. » Full instructions
[lytro]embeds living Lytro pictures. » Full instructions
[kickstarter]embeds Kickstarter projects. » Full instructions
[vr]embeds VR content. » Full instructions
- You can also embed Archive.org documents and books. » Full instructions
Shortcodes for adding a blog archive index, contact form, polls, WordAds, and more.
[wordads]embeds a WordAds advertisement (the Ads feature must be enabled) » Full instructions
[archives]displays an archive index of your blog posts. » Full instructions
[sitemap]displays your site’s sitemap. » Full instructions
[carto]embeds Carto maps. » Full instructions
[codepen]embeds code snippets from CodePen. » Full instructions
[facebook]embeds Facebook posts. » Full instructions
[gist]embeds code snippets from Gist. » Full instructions
[gravatar]embeds Gravatar Profiles. » Full instructions
[googlemaps]embeds Google Maps. » Full instructions
[houzz]embeds designs from Houzz. » Full instructions
[mailchimp_subscriber_popup]allows you to create MailChimp Subscriber Popup Forms. The shortcode uses the following format:
[mailchimp_subscriber_popup baseUrl="mc.us11.list-manage.com" uuid="your_uuid" lid="your_lid"]
[medium]embeds Medium posts.
[pinterest]embeds Pinterest pins, boards, and user profiles. » Full instructions
[[poll]]embeds a Crowdsignal poll. » Full instructions
[quiz]embeds a multiple choice quiz. » Full instructions
[recipe]embeds a recipe with consistent formatting, basic metadata, and an option to print. » Full instructions
[twitter-timeline]embeds a Twitter Timeline Widget. » Full instructions
[tweet]embeds a specific tweet » Full instructions
[untappd-menu]embeds beer menus from the location of your choice. » Full instructions
[wufoo]embeds Wufoo forms. » Full instructions
This shortcode only works when the corresponding feature is enabled.
[jetpack_subscription_form]displays a subscription form anywhere in your site. Works with the Subscription Feature. » Full instructions
[jetpack_top_posts_widget]displays the Top Posts & Pages Widget, if you’ve enabled the Extra Sidebar Widgets Feature. » Full instructions
[contact-form]shows a Jetpack contact form. Note – since Jetpack’s contact form is enabled by default and available in the Classic Editor and as a block, a shortcode shouldn’t be needed. If you are using a different editor and require only shortcodes, then this can be used. » Full instructions
- PDF: Paste a link to PDF in your Media Library to embed in a post or page. » Full instructions
This feature is de-activated by default. To activate it, follow the steps at the top of this page.
|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):
|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.
|Site Owners / Users
We track when, and by which user, the feature is activated and deactivated.
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.