Create pagination for a WordPress REST API request
I need a push on a very precise subject. I have a fetch function to get results from a WordPress blog. function getTags() { let page = 1, tagURL = `https://css-tricks.com/wp-json/wp/v2/posts?_embed&per_page=4&tags=833&page=1`; console.log(tagURL) $loader.style.display = "block"; fetch(tagURL) .then(response => response.json()) .then(dataTag…