Set up CloudFlare’s free Flexible SSL on your WordPress site

I’ve been meaning to play with CloudFlare’s free SSL options for a while, and I finally got around to give it a try. It took me a little while to get to a point where everything worked properly, but I think I finally figured everything out!

If you want to use CloudFlare’s free Flexible SSL on your WordPress site, here are some instructions that could help you!

Continue reading Set up CloudFlare’s free Flexible SSL on your WordPress site

A few weeks in Brittany

This is starting to become a tradition: come summer, my wife, my daughter, my dog, and I take a road trip across Europe and spend a few weeks at my parents’ in Brittany. It’s a nice change from Budapest and everyone likes the trip: my daughter gets to play outside and discover farm animals, my parents spend time with their grand-daughter, our dog runs around free, and my wife and I get spend a bit of time together.

Here are a few pictures of our last trip. That might convince you to take a trip to Brittany one day! :)

See all the pictures!

Happiness Bubble

6AM. A thick fog surrounds us. Luckily  the sun will rise soon.

It’s been a long night. We started 7 hours ago, and we still have 2 hours to go before we can stop and relax a bit. Snacks and redbulls aren’t enough to keep me awake now, so I turn up the volume a bit, hoping that the music will keep me awake for the rest of the trip.

Quick look in the rearview mirror: I can see the top of Lili’s little head, moving in rythym. She seems to like the music. She even starts singing along! My wife laughs and joins her. Watson, who was sleeping on the passenger seat next to me, looks up, wondering if everything is OK. And quickly goes back to his nap. I guess he was happy with the current situation. I couldn’t agree with him more. We’re together, we’re happy. We’re like a small bubble of happiness, blazing through the fog.

Jetpack: how to deal with missing images in the Related Posts module

Jetpack Related Posts are great. You should use them!

They are also customizable; we added a lot of filters to allow you to customize the output of the Related Posts. You can find a lot of examples here: Customize Related Posts (Kudos to Xiao for all the great work he’s done with Jetpack Related Posts).

The module also includes an option to “use a large and visually striking layout”. When that option is active, Jetpack will look for a large image (at least 350*200px) in your posts, and use that image when displaying Related Posts. It looks great, and I use it on this site:

Related Posts

What doesn’t look that good, however, is when some of the Related Posts don’t have any image.

Missing Related Image

There are 2 ways to solve this small issue.

Continue reading Jetpack: how to deal with missing images in the Related Posts module

Ingress FS: meet and greet other local players

I talked to you about Ingress before: this augmented reality game pushed me to get out of the house and proved to be quite addictive.

This past weekend I got to spend the day with other players and confirm that I wasn’t the only addict in town 😊

Continue reading Ingress FS: meet and greet other local players

Jetpack: remove a post from the Top Posts Widget

If you use the Jetpack plugin, you’re probably familiar with the Stats module. Once you’ve activated the module, you can also use the Top Posts widget to display a list of the most popular posts on your site.

But what if there is one post that you never want to display there, even if it’s a popular one? You can exclude specific posts from the widget thanks to the jetpack_widget_get_top_posts filter.

To do so, paste the following code into a functionality plugin:

function jeherve_remove_post_top_posts( $posts, $post_ids, $count ) {
	foreach ( $posts as $k => $post ) {
		// Replace 1215 by the ID of the Post you want to remove
		if ( '1215' == $post['post_id'] ) {
			unset( $posts[$k] );
		}
	}
	return $posts;
}
add_filter( 'jetpack_widget_get_top_posts', 'jeherve_remove_post_top_posts', 10, 3 );