DEV Community

Discussion on: Vue Application as a Wordpress Plugin

Collapse
 
dstearle profile image
Dallas Earle

Well I am currently using WP API to fetch data from custom posts but the images I need are stored in a folder in the Theme. Wouldnt the "/wp/v2/media" endpoint only be good to retrieve media from posts? I am pretty new to using WP so I am not entirely familar with how the WP API works yet.

Thread Thread
 
dgmann profile image
DGMANN

I'm sorry. I did not read that correctly.
If you know where the pictures are stored, can you access this folder in your Vue app?