Fetch data from WordPress posts using JSON API