Galleries

How do you guys handle galleries in Frontity? I want to be able to create Gallery from WordPress Admin via some plugin and then expose it via REST API and use it on Frontity side wherever I want. Is this a proper way to do it? How to achieve this?

Is this even possible or am I missing something?

Hi @mh123,

If the plugin doesn’t share that information in the REST API you’ll have to manually make it available through the REST API by registering some new endpoints

Another approach would be analyzing the final HTM, detecting a pattern for the HTML block of the gallery and creating a custom processor to extract the info and return a React gallery

You have more info about some thse approaches in this thread

Hope this helps