Creating Svelte, Sapper and WordPress Website Episode 4

Handling Categories

In this episode of we are going to learn how to handle categories from WordPress in our Sapper for Svelte app.

So first we are going to list our WordPress categories in our Sapper and Svelte app. An then of course we wanna display the posts from those categories once the user clicks on a certain category.

However, as you will learn in this video, this will not be the preferred of doing this, so I will dedicate one episode in the future to refactor this code and make it better and more performat. But that is not to say that this method will not be valuable on your Svelte and Sapper journey - because it definitely will be.

Wanna ask a question about video?

Like This Video?

Support it by sharing it ;)

© Watch And Learn,2024