list post with photo of a wordpress blog on a php site

Asked

Viewed 128 times

0

I would like to list post aletorio with photo, or by category but on another site. kind picked up from a wordpress blog and put on a php site, as I have a 4 blogs would do it from each one, creating a direct blog post aggregator

1 answer

1

Evandro,

with the arrival of WP REST API (which is already in its second version), it is now possible to get content from other sites in Wordpress to display them in some application that interprets this information in JSON format.

As I do not know a plugin/ tool ready to make available exactly what you are looking for, I will indicate this link so that you understand how to get to the solution of your demand (despite being in English, this tutorial will cover the essential ready you are looking for).

Hugs!

  • is very interesting, however I look for something outside of wpress, I want to capitalise the post wpress and put the result in a php platform

  • 2

    But what he said is exactly "outside of Wordpress", since with the API working, just make a request "on a php platform".

  • i managed to understand a pokin, installed the plugin, but the wp-json folder does not exist on my server, do you know how to fix it? da essa resposta --> file_get_contents(http://fotoshot.net/wp-json/posts?filter[posts_per_page]=4): failed to open stream: HTTP request failed!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.