Les secrets de Jetpack — WordCamp Paris

Pour ma première participation à WordCamp Paris, j’ai décidé de parler d’un sujet qui me tient à coeur : Jetpack !

Voici donc ma présentation : en attendant que la vidéo soit mise en ligne, vous pouvez parcourir mes notes ci-dessous, jeter un coup d’oeil à mon diaporama, tout en écoutant mes commentaires dans la vidéo au bas de cet article.

Découvrez les secrets de Jetpack pour gagner du temps dans vos projets

Static Site Generators: are we doomed?

I am writing this in response to this post. Start there and come back; I’ll wait!
Continue reading

Jetpack: add UTM tracking to sharing buttons

After figuring out a nice little challenge in the Jetpack support forums last week, I wanted to share the results with you.

First of all, I need to thank Aquif Shaikh for his question in the original thread. This thread required a bit more digging than usual, and I love a good challenge.

The question was actually quite simple: how to add UTM tracking to the Jetpack sharing buttons. If you’re not familiar with UTM tracking, you’ll want to check this generator. UTM tracking allows you to track specific URLs in Google Analytics.

Let’s get started.

Continue reading

Découvrez la face cachée de Jetpack au WordCamp Paris

WordCamp Paris 2016, c’est l’occasion pour tous les fans de WordPress de se rencontrer, le 5 et 6 février, à Paris. Vous y serez ? Moi aussi, il faut qu’on se voit ! 😊

Continue reading

New theme, new logo, new PHP!

Fresh coat of paint for my blog: new theme, new logo, new version of PHP, and HTTP/2!

Check our the new looks

❆ Let It Snow (or not) — All about Jetpack Holiday Snow

It’s that time of the year again. Starting today and until January 4th, the Jetpack plugin will add an option at the bottom of the General settings screen in your dashboard. Turn that option on, and snow will fall on your blog ❆ !

Of course, like with all Jetpack features, we’ve added some filters allowing you to extend or customize it. Here is all you need to know about Holiday Snow in Jetpack.

Ready for some snow?

A week in India

Back in September, I got the chance to travel to India for a few days. I was invited to speak at WordCamp Pune, and had a few days to discover a part of the Indian WordPress community, meet wonderful people, chat about Jetpack, and share my experiences as a Happiness Engineer at Automattic.

Continue reading

Color Posts: an update for your Android readers

About a year ago I released a small plugin named Color Posts. It’s a fairly simple plugin, and it can be extended with filters. I use it on this site, and I’ve made extensive use of the filters to add some color to the sidebar as well as in other areas of the site.

Among all these customizations, there is one that I really like: if you use Chrome in Android, the browser’s background color matches the color picked by my plugin:

2015-11-23 11.14.33
Color Posts changes Chrome’s background color to match the post’s color.

I thought this little detail could be useful for everyone, so added it to the plugin itself! If you use Color Posts, go update now! 😊

Jetpack: redirect your subscribers to a Thank You page

Jetpack includes a Subscriptions module that makes it easy for your readers to subscribe to your site, and then receive email or Reader notifications for each one of the posts you publish on your site.

Your readers can use a Subscription widget to subscribe to your site. You can see how it looks on this very site (oh, and subscribe if you haven’t already 😊 ).

By default, when submitting your email address into the form, the page reloads and success message appears instead of the email form. However, starting with Jetpack 3.8, you can now redirect your subscribers to a specific page on your site instead. It could be a “Thank You” page, it could be a little explanation of what they need to do to confirm their subscription, … That’s up to you.

To create that redirection, you can use the new jetpack_subscriptions_form_submission action, like so:

/**
 * Redirect all successful subscription submissions to a 'thank-you' page
 */
function jeherve_custom_sub_redirect_page( $result ) {
	if ( 'success' === $result ) {
		$thanks_page = 'thank-you';
		wp_safe_redirect( $thanks_page );
		exit;
	}
}
add_action( 'jetpack_subscriptions_form_submission', 'jeherve_custom_sub_redirect_page' );

Place that code in a functionality plugin, and you’re all set!

WordPress Security — WPBudapest meetup

Another month, another #wpbudapest meetup! If you live in Budapest and like WordPress, you should join us next time!

This month, we talked about security and I volunteered to give a talk to outline some basic WordPress security principles. You’ll find my slides below, as well as an outline of my talk with some links, and a small screencast of me going through my talk. Our meetup location is quite dark so I opted to record myself at home instead; it’s a good way to practice! :)

Continue reading