External REST-API into WordPress
-
Hi guys!
I have a customer with the wish, to include information from a separate Software. I see, that this software also serves a REST-API. Now I need someone to prove my idea of doing this or giving me ideas to improve it.
My plan looks like this:
1. Information from REST-API into the functions.php File
2. Generate an Object/Array and serve those informations to a template
3. Include the templates in content-blocks
4. Include the content-blocks on the pages, where they are usedDoes this make sense or does it even work? Or is there another way, go get this done faster?
I decided to put the templates into the blocks, because it is easier to include those blocks in different regions/sections on the page.
Thanks in advance.
The topic ‘External REST-API into WordPress’ is closed to new replies.