Non wordpress php website


I am preparing for an exam and i am struggling with this question. Please help
Suppose you have a non-WordPress video compressor PHP website with a WordPress instance in the “/blog/” folder. How can you show a list of the last 3 posts in your non-WordPress pages?


I believe the WP REST API v2 way to do this is to call:


…from your non-WordPress PHP website.


…is the number of posts you want to call.


…is the WP ID of the tag you want to display.

If you wanted to call a category instead of a tag, you’d simply state:


…in place of tag.

Anyone else want to add to this; or correct it :wink:

closed #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.