The team is now working on the WordPress Interactivity API. This unblocks the same UX Frontity framework enabled but directly in WordPress Core, fully compatible with the new Site Editor.
I need to implement this because in the root location block i have another node.js application.
Thank you
David5
Hi Ucan,
We’re working on that right now. Next week we will have it ready, when we merge this PR.
In your case, all you will have to do is to add the subdirectory property with the "/folder2" value for the @frontity/wp-source package, in frontity.settings.js.
If you have any questions about how the settings work in Frontity you can look at the documentation.
3 Likes
pingram35416
Ohh subdirectory. Where can we find other undoc’d props like subdirectory? Is there specific file/files we can reference until docs are updated? Thx
p.s. tried grep -r "subdirectory" /path/to/frontity/* - no results
David7
Hi @pingram3541,
The code you’re searching for is still a work in progress, and so it isn’t in the main branch of the Frontity repository yet. But it’ll be very soon! We’ll notify when these changes are ready and published.
1 Like
luisherranz8
We have decided to rename wpDirectory to just subdirectory so I have edited the relevant posts accordingly.
@Ucan we have reviewed everything and yes, you will be able to use Frontity that way once @David finishes the PR
1 Like
luisherranz9
@Ucan the PR was already merged in Frontity v1.
Could you please update using
> npm update
add the subdirectory setting and let us know if it works?