Hello, you need to make a slider in the application, the server of which is wordpress (or rather, its api). How can you derive from json WordPress, which will be an array of images, as well as titles and links to them.
1 answer
It is necessary in the library to give the required array of pictures some general description. For the test, I added the word Mountains one picture in the title
another in the description.
Then I used the search on media files:
http://test.kagg.eu/wp-json/wp/v2/media/?search=Mountains
The result can be viewed at the link above or in the picture:
|


