~/talk

Building Themes with the WP REST API

Talkat WordCamp Vienna 2015 · on Saturday, 2015-04-11· [wordpress, javascript]
slides:none on file

WordPress core REST API returns JSON at WP-JSON/posts (or /posts/17) so a theme can fetch full post content, featured image and comments and render it client-side with JavaScript. Examples include an Angular news front-end, Quartz on wordpress.com and a local proof‑of‑concept Picard theme built with vanilla JS/React, Browserify and Gulp that shows instant navigation, keyboard controls and instant comment posting using localStorage caching and optional ServiceWorker offline support while preserving an index.php loop for SEO and non‑JS users.

AI-written summary · about

  1. 0:00Introduction
  2. 0:33Demo
  3. 4:47Overview
  4. 5:11What is the REST API
  5. 7:02How does this relate to WordPress
  6. 8:40What does it look like
  7. 10:56Whats the big deal
  8. 11:57JavaScript frameworks
  9. 13:28The two supercomputers
  10. 14:59What is a single page application
  11. 16:13Gmail
  12. 17:55Theme Customizer
  13. 18:39REST API verbs
  14. 19:50Building themes with the REST API
  15. 20:39Benefits of the REST API
  16. 24:09How can you get started
  17. 26:08Ideas
  18. 28:01JavaScript
  19. 30:12React
  20. 30:41React Demo
  21. 32:04JavaScript Based Theme
  22. 36:24Questions
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.