Episode 02 • Theming With WP REST API

Listing Posts

In this tutorial I'm going to show you how you can connect to WordPress REST API get the list of posts and then display them using Vue.js

In this tutorial series I'm not going to explain the basics of Vue.js but I will try to go slow with the Vue.js parts of this WordPress theme. If you want a bit more in-depth view of the Vue.js you Check out these videos where I talk about Vue.js in more detail.

My personal opinion is that Vue.js is much easier to understand then something like Angular or React.js, and this is why I chose it for this series. It is also lightweight so it won't add much overhead to our WordPress theme.

In this episode I'm going to show you how to get the list of posts form your WP REST API and then display them in your Vue.js template.

Download code
  • Episode 01 • Duration 16:46

    Setup

  • Episode 02 • Duration 20:54

    Listing Posts

  • Episode 03 • Duration 12:54

    Add Images To API

  • Episode 04 • Duration 05:27

    Display Categories

  • Episode 05 • Duration 05:36

    Filter Posts By Title

  • Episode 06 • Duration 09:57

    Filter By Category

  • Episode 07 • Duration 14:09

    Making Filters Pretty

  • Episode 08 • Duration 09:03

    Getting Post Preview

  • Episode 09 • Duration 08:51

    Previous / Next Post

  • Episode 10 • Duration 06:58

    Making Previews Pretty

  • Episode 11 • Duration 08:28

    Getting Full Post

  • Episode 12 • Duration 06:53

    Wrapping Up Full Post

  • Episode 13 • Duration 07:06

    Custom Post Types

  • Episode 14 • Duration 09:17

    Adding Custom Fields

  • Episode 15 • Duration 05:06

    Add Image To Post Type

  • Episode 16 • Duration 19:03

    Simple Pagination

  • Episode 17 • Duration 05:10

    Loading Screens

  • Episode 01 • Duration 16:46

    Setup

  • Episode 02 • Duration 20:54

    Listing Posts

  • Episode 03 • Duration 12:54

    Add Images To API

  • Episode 04 • Duration 05:27

    Display Categories

  • Episode 05 • Duration 05:36

    Filter Posts By Title

  • Episode 06 • Duration 09:57

    Filter By Category

  • Episode 07 • Duration 14:09

    Making Filters Pretty

  • Episode 08 • Duration 09:03

    Getting Post Preview

  • Episode 09 • Duration 08:51

    Previous / Next Post

  • Episode 10 • Duration 06:58

    Making Previews Pretty

  • Episode 11 • Duration 08:28

    Getting Full Post

  • Episode 12 • Duration 06:53

    Wrapping Up Full Post

  • Episode 13 • Duration 07:06

    Custom Post Types

  • Episode 14 • Duration 09:17

    Adding Custom Fields

  • Episode 15 • Duration 05:06

    Add Image To Post Type

  • Episode 16 • Duration 19:03

    Simple Pagination

  • Episode 17 • Duration 05:10

    Loading Screens