Using REST API to get content on a site from a wordpress powered site


I have a stiuation where on the shared hosting where I need to setup a wordpress website, I don’t have the php support and the database. I’m planning so to use a third party hosting where I can run wordpress to create contents, and then access to posts or pages using the REST API of wp and VueJs to put the JSON on the DOM where I have only the html support. My question is, since I don’t want to let the users access the wordpress installation for the front-end part and I want only use the REST API, I’m thinking to restrict the access to only admin, but this means that the content will be unavailable if I made an ajax request right?

, sialfa 10 months 0 Answers 95 views 0

Leave an answer