Closed JAZzmiX closed 4 years ago
On the last update you added slug to item object but it work from pages & posts, not for category.
in JS I took slug from url like:
const getSlug = url => { const parts = url.split('/'); return parts.length > 2 ? parts[parts.length - 2] : ''; }; .... getSlug(item.url);
Hi @JAZzmiX, thank you for your issue. I will fix this asap!
On the last update you added slug to item object but it work from pages & posts, not for category.
in JS I took slug from url like: