So this was an interesting project. We use a GEL (global experience language) header and footer on nearly all of our core DCC sites. The issue we have come across is being able to maintain these easily.
WP REST API to the rescue! To make this a reality, I created a small plugin that create some custom endpoints for the, what I call, beacon site – the site where the menu will be pulled from by multiple other sites.
So I had a few question which led me to my current solution:
Is there an endpoint I can use already?… Read the rest