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.
Hi, i am trying to make Frontpage in Frontity js code. I registered custom api route which is featured-posts it show featured-posts with meta key. I am done with show post title image and link. But when click on link it redirect to 404 same post under category when click on that it show post content. Can you help me, i don’t know where i missed.
Custom routes in Frontity can be created by using handlers as explained in this thread
These handlers are used when actions.source.fetch is called.
harpreet.freelance12
here my git repo
harpreet.freelance13
please help me, my project is stuck because of this issue
juanma15
Hi @harpreet.freelance
I’m sorry but I cannot reproduce your issue with the current status of the code of the repository you’re providing. It throws an Internal Server Error and no content is showed in the brower.
In the terminal is throwing the following error
TypeError: Cannot read property 'id' of undefined
That I think it can be solved with the suggestion I’m providing you in this other thread
Can you create a codeSandbox with the minimal code to reproduce the issue?
Or can you solve the issues with the project so it can be properly launched locally and the specific issue you comment in this thread can be reproduced?