From the course: WordPress: REST API

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution: Add dynamic related posts navigation

Solution: Add dynamic related posts navigation - WordPress Tutorial

From the course: WordPress: REST API

Start my 1-month free trial

Solution: Add dynamic related posts navigation

(upbeat tech music) - [Narrator] Welcome back! If you are able to solve the challenge I gave you in the previous movie, great! If not, that's fine because this was a really difficult challenge and I made it so on purpose because I wanted to push you and I want to show you that there's a lot going on when we work with the REST API. Now, like I said all the answers to all the questions you may have had as you work through it are available in the exercise files from the previous movies, but finding them is not all that easy because you have to pull pieces out from different script files and put them in to get everything to work. So, let me show you how I solve this challenge. Just a quick refresher. What we're looking for here is sending a request to the REST API for the three most recent posts based on the categories of the current post. So, we're really saying, give me the three most recent posts from these…

Contents