I need to put multiple wordpress pages in my app.js. file
I managed to call them with let pagesURL like this:
http: // localhost / react-wordpress / headless-react / admin / wp-json / wp / v2 / pages? include [] = 25 & include [] = 2
but I want to call them individually
for example:
{page1} </ div>
{page2} </ div>
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I need to put multiple wordpress pages in my app.js. file
I managed to call them with let pagesURL like this:
http: // localhost / react-wordpress / headless-react / admin / wp-json / wp / v2 / pages? include [] = 25 & include [] = 2
but I want to call them individually
{page1} </ div>for example:
{page2} </ div>