Nothing at all. Frontity doesn’t even know that the one doing the request is WordPress and not the final user
Thanks for the quick reply! In Frontity can we handle the multiple post layout depends on category?
Sure.
You could use the Switch
component for example:
<Switch>
<Layout1 when={data.category === "nature"} />
<Layout2 when={data.category === "cities"} />
<DefaultLayout /> {/* rendered by default */}
</Switch>
Layout for particular category
Layout for normal articles
what say doable?
If you’d explain things like this on docs
Hey @inamkbmail thanks for the feedback
Just so you know, @juanma and @mburridge have joined the team and are full time working on improving our documentation. We would love to hear what’s missing or what could be improved from your point of view
Feel free to open discussions here, it will help us a lot
1 Like