KEMBAR78
Coding with jetpack | PDF
Coding
with
Jetpack
Coding
with
Jetpack
Rich Collier
Code Wrangler @Automattic
Jetpack & VaultPress Teams
What is Jetpack?
What is Jetpack?
• Adds many of the most popular features from
WordPress.com to your self-hosted site
• Connects your site to the WordPress.com
infrastructure
• Provides feature parity with WordPress.com
Jetpack Features
• Photon - Free global CDN
• Stats - full featured analytics
• Related Posts - Elasticsearch
• Publicize - easy social sharing
• Protect - brute force protection
Extending

& 

Hacking

Jetpack
Staging Sites
Staging Sites
• Your staging site will act like a normal
production site, except no data is sent to
the WPCOM API
• You cannot disconnect your staging site
Dev Sites
Photonize
All The Things
Photon
Photon
Related Posts
Related Posts
+
Related Posts
• Writing a WP_Query or even MySQL
queries to get related content is very
difficult and sometimes impossible
• In practice, it can be done, but probably
won’t scale well
Related Posts
Related Posts
Related Posts
Related Posts
Related Posts
Jetpack Stats
Jetpack Stats
Jetpack Stats
• Not Google Analytics, but pretty darn
close!
• Very accessible via the WordPress.com API
• Make queries via stats_get_from_restapi()
Jetpack Stats
Jetpack Stats
Jetpack Stats
Jetpack Stats
VideoPress
VideoPress
• Adds awesome “native” video to your
Jetpack site
• Videos can be uploaded just like images
or other media
• Videos are hosted on WordPress.com
VideoPress
Carousel
Carousel
Carousel
Resources!
https://developer.jetpack.com
https://developer.wordpress.com/docs/api/
https://developer.wordpress.com/docs/api/console/
https://github.com/automattic/jetpack
Jetpack
Community
That’s All!

Coding with jetpack