You can use shortcodes to embed videos from YouTube, tweets from Twitter, and other media across the web directly into your WordPress-powered site.
How to get started with shortcode embeds
To begin embedding media you can follow the steps:
- Visit Jetpack → Settings → Writing in your site’s WP-Admin dashboard.
- Scroll down to the Composing section and toggle on the option Compose using shortcodes to embed media from popular sites.
- Paste URLs directly into your visual editor to embed various elements. These are called Inline Embeds.
Types of media you can embed
Jetpack supports a wide range of media types through shortcodes, so you can add diverse content to your site:
Video
[archiveorg]
embeds a video from The Internet Archive. » Full instructions to embed Internet Archive video[brightcove]
embeds a Brightcove video. » Full instructions to embed Brightcode video[dailymotion]
embeds a Dailymotion video.[flickr]
embeds a Flickr video. » Full instructions to embed a Flickr video[kickstarter]
embeds a Kickstarter video.[ted]
embeds a TED talk.[twitchtv]
embeds a Twitch.tv video or live stream. Full instructions to embed Twitch[vimeo]
embeds a Vimeo video. » Full instructions to embed Vimeo video[wpvideo]
embeds a VideoPress video. » Full instructions to embed VideoPress video[youtube]
embeds a YouTube video. » Full instructions to embed YouTube video
Audio
[bandcamp]
embeds audio from Bandcamp. » Full instructions to embed Bandcamp audio[mixcloud]
embeds audio from Mixcloud.[soundcloud]
embeds audio from SoundCloud. » Full instructions to embed SoundCloud audio[spotify]
embeds Spotify playlists.
Images and Documents
[archiveorg]
embed Archive.org documents and books. » Full instructions to embed Internet Archive documents[gallery type="slideshow"]
embed a slideshow using WordPress galleries. » Full instructions to embed a slideshow[googleapps]
embeds Google Documents. » Full instructions to embed Google documents[instagram]
embeds an Instagram photo. » Full instructions to embed an Instagram photo[kickstarter]
embeds Kickstarter projects.[presentation]
embed a slide presentation. » Full instructions to embed a slide presentation[scribd]
embeds a document/file from Scribd.[slideshare]
embeds a slideshow from Slideshare.net.[vr]
embeds VR content. » Full instructions to embed VR content
Miscellaneous
Shortcodes for adding a blog archive index, contact form, polls, WordAds, and more.
[archives]
displays an archive index of your blog posts. » Full instructions to embed a blog archive[carto]
embeds Carto maps. » Full instructions to embed Carto maps[codepen]
embeds code snippets from CodePen.[facebook]
embeds Facebook posts. » Full instructions to embed Facebook posts[gist]
embeds code snippets from Gist.[googlemaps]
embeds Google Maps. » Full instructions to embed Google Maps[gravatar]
embeds Gravatar profiles. » Full instructions to embed Gravatar profiles[houzz]
embeds designs from Houzz.[mailchimp_subscriber_popup]
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 to embed Pinterest[poll]
embeds a Crowdsignal poll. » Full instructions to embed Crowdsignal[quiz]
embeds a multiple choice quiz. » Full instructions to embed a quiz[recipe]
embeds a recipe » Full instructions to embed a recipe[sitemap]
displays your site’s sitemap. » Full instructions to embed a sitemap[tweet]
embeds a specific Tweet » Full instructions to embed a Tweet[untappd-menu]
embeds beer menus from the location of your choice. » Full instructions to embed a beer menu[wordads]
embeds a WordAds advertisement (the Ads feature must be enabled) » Full instructions to embed WordAds[wufoo]
embeds Wufoo forms. » Full instructions to embed Wufoo forms
Feature-Dependent Shortcode
This shortcode only works when the corresponding feature is enabled.
[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, unless you are using a different editor which requires only shortcodes. » Full instructions to embed a Jetpack form[jetpack_subscription_form]
displays a subscription form anywhere in your site. Works with the Subscription Feature. » Full instructions to embed a subscription form[jetpack_top_posts_widget]
displays the Top Posts & Pages Widget, if you’ve enabled the Extra Sidebar Widgets Feature. » Full instructions to embed Top Posts & Pages Widget
Inline Embeds
PDF: Embed a PDF in a post or page using the File block. » Full instructions to embed a PDF
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. Make sure your site is connected to Jetpack and paste the link of the Facebook or Instagram content in the post or page editor. Please note that for Instagram, the post embedded on the site will show a link to Instagram where the post can be viewed.
Privacy Information
Shortcode Embeds are deactivated by default. You can activate them at any moment from your WP Admin. To do so:
- Go to Jetpack → Settings.
- Click the Writing tab.
- 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): | 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. |