Rich Email Content via Jetpack Subscriptions

If you post regularly on your blog you probably use various shortcodes to embed content on a regular basis (and if you don’t, learn more here as they’re super useful).

A shortcode is usually a line of plain text that might look like this:

shortcode

Jetpack converts this line of plain text into the necessary HTML and JavaScript needed to display the video directly on your blog post or website page.

You can just as easily embed videos from other services, picture galleries, Spotify playlists, Google Maps, and so much more.

Readers subscribing to your site using Jetpack’s (free) email subscriptions service would, until now, receive in their inbox the plain text version rather than the beautiful, embedded, rich version.

The latest version of Jetpack however solves this elegantly. Subscribers now receive email-friendly content and layout for over 200 of our most popular shortcodes so that your emails look the way you intended. 

So now, you can expect your emails to look more like the email on the right of this:

email-shortcodes-3

This improvement, we hope, makes your Jetpack experience even better and continues bringing you closer to your readers and customers.

Upgrade to the latest version of Jetpack or install it today for free.

Pro Tip: Personal plan customers benefit from priority support and faster assistance.
Posted in Features | Tagged , , , | 13 Comments

Jetpack 4.0.3: Critical Security Update

Jetpack 4.0.3 contains a critical security update, and you should update all the sites you manage as soon as possible. You can update through your dashboard, or download Jetpack manually here.

jetpack-security

Continue reading → Jetpack 4.0.3: Critical Security Update

Posted in Releases | Tagged , , | 2 Comments

Hook of the Month: Customize Modules, Shortcodes, and Widgets

Whether you’re a blogger, a business owner, or a developer – Jetpack comes with many different features you can use to build your site, write your posts, and promote them. However, you may not use all of these features. This month, we’ll discover how to use filters to customize the list of features added by Jetpack.

Photo: Andrewfhart / Flickr

Photo: Andrewfhart / Flickr

Use filters to customize the Jetpack features available on your site

Posted in Code snippets, Tips & Tricks | Tagged , , , , , | 1 Comment

Jetpack 3.9.5 and 3.9.6: Maintenance Releases

WordPress 4.5 will be released in a few weeks, and we’ve made updates to Jetpack to account for the significant changes that will be introduced in this new version of WordPress.

These updates have involved making sure that certain Jetpack features work properly in the Customizer view, namely adding support for selective refresh. Big thanks to @westonruter for contributing the code!

Other enhancements and bug fixes:

miguel

  • Contact Form: no longer calling the datepicker method if it’s not available.
  • Single Sign On: settings checkboxes now honor filters and constants that restrict certain sign-in modes.
  • Shortcodes: fixed a problem with Gist fetching.
  • Shortcodes: fixed invalid HTML5 markup in YouTube embed code.
  • Shortcodes: made Vimeo links work properly in case of multiple mixed uses in one post.

Thanks to everyone who contributed to 3.9.5:

Christopher Finke, Derek Smart, Elio Rivero, Igor Zinovyev, Jeremy Herve, Matt Wiebe, Michael Cain, Miguel Lezama, Mo Jangda, Philip John, Tammie Lister, and Weston Ruter.

Jetpack 3.9.6 was also released today to fix an issue with some comments incorrectly rendering video embeds. Our apologies! Consider it an early April Fools’ Day joke…

Posted in Releases | Tagged , , , , , | Comments Off on Jetpack 3.9.5 and 3.9.6: Maintenance Releases

Jetpack 3.8.2 – Photon and YouTube Shortcode Fixes

Jetpack 3.8.2 is out! In this release, we focused on fixing a few specific and annoying bugs that popped up.

Jetpack – Supercharge your WordPress

Photon:

We fixed a regression created in version 3.8.1 where Photon did not respect some custom image sizes from other plugins or themes. Photon respects all image sizes again.

YouTube Shortcode:

WordPress 4.4 made some changes to the way Shortcodes are parsed, which broke our YouTube shortcode.  We’re now filtering this shortcode to output properly so you don’t need to go back update your shortcodes in your existing posts – we’ve taken care of that for you.

Wufoo Shortcode:

We’ve tightened up security in the Wufoo shortcode.  If you use this shortcode, you should upgrade to 3.8.2 as soon as possible.

Other minor fixes:

We’ve also cleared up a couple very minor bugs with Carousel, Publicize, Google+ widget, and Infinite Scroll.

Contributors for this release include Aaron Graham, Alex Mills, Alexander Concha, Brandon Kraft, Derek Smart, Eduardo Reveles, Elio Rivero, Eric Binnion, Igor Zinovyev, Jeremy Herve, Kat Hagan, Lance Willett, Miguel Lezama, Rocco Tripaldi, Sam Hotchkiss, and Takashi Irie.

Thank you for your contributions!

See full changelog.

Posted in Releases | Tagged , , , | 3 Comments

How to disable specific shortcodes in Jetpack

Jetpack includes many shortcodes allowing you to embed videos, audio files, images, and other media into your posts.

If you want to deactivate a specific shortcode without deactivating the Shortcodes module, you can add the following code to your theme’s functions.php file, or to a functionality plugin:

function my_remove_shortcode_function( $shortcodes ) {
	$jetpack_shortcodes_dir = WP_CONTENT_DIR . '/plugins/jetpack/modules/shortcodes/';
	
	$shortcodes_to_unload = array( 'ted.php', 'soundcloud.php', );

	foreach ( $shortcodes_to_unload as $shortcode ) {
		if ( $key = array_search( $jetpack_shortcodes_dir . $shortcode, $shortcodes ) ) {
			unset( $shortcodes[$key] );
		}
	}
		
	return $shortcodes;
}
add_filter( 'jetpack_shortcodes_to_include', 'my_remove_shortcode_function' );

In the code above, you’ll need to add to or remove shortcodes from the $shortcodes_to_unload array. It requires the file name of the shortcode you want to deactivate.

Posted in Code snippets, Tips & Tricks | Tagged | Comments Off on How to disable specific shortcodes in Jetpack
  • Recent Comments

    Jeremy on Improved Stats and Distraction…
    Jeremy on Improved Stats and Distraction…
    Germain on Improved Stats and Distraction…
    fohrmann2017 on Improved Stats and Distraction…
    Stalyn on Improved Stats and Distraction…
  • Archives

  • Enter your email address to follow this blog and receive notifications of new posts by email.

  • Relied on by millions of WordPress professionals worldwide.

    Install Free   See Pricing

    Created by Automattic: bringing the power of WordPress.com to every WordPress site.