Theming With WP REST API  / Episode  6  /  

Filter By Category

In this episode we are going to use WordPress REST API and Vue.js to create a list of categories and filter our posts by them.

In the previous episode we created a filter that filters our posts by name. In this episode we are continuing that trend and we are going to be creating a filter that will filter our posts by specific category.

As you will see this is just a bit more complicated than name filter because we have to connect to our WP REST API to get the categories and then display them with Vue.js on our page.

Wanna ask a question about video?

Like This Video?

Support it by sharing it ;)

© Watch And Learn,2024