Bringing Svelte to 40% of the Web: Using Wordpress to Power Svelte
summary
Claim: WordPress powers over 40% of sites and can serve as a headless CMS that actually supports web, iOS and Android clients from one backend. The proof uses Local WP, the WPGraphQL + SvelteKit stack, an env var for the GraphQL endpoint, fetch inside SvelteKit load functions, and dynamic slug routes to render posts. The demo also mounts a persistent Buzzsprout iframe player in the app layout so audio survives navigation and verifies uninterrupted playback, showing the approach supports iOS and Android via the same GraphQL endpoint.
AI-written summary · about
chapters (7)
- 0:00Project overview
- 3:12Setting up WordPress
- 4:14SvelteKit integration
- 5:54Fetching blog data
- 12:27Dynamic blog pages
- 18:17Multi-client capability
- 19:27Persistent audio player
related talks
08mScaling WordPress with Next.js
36mSvelte - Web App Development Reimagined
16mSvelteKit
21mAPI-first Development with Headless WordPress
54mA Tinder Love Story: Create a Wordpress Blog with React, instead of PHP
07m(Headless) WordPress Shortcodes as Svelte Components
06mWordPress Meets WASM: Full Power of the CMS In Any...
34mFace Your Fear: The Headless WordPress!
