Open Renesauve opened 5 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
next-wordpress-starter | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 16, 2024 9:15pm |
nextwp-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 16, 2024 9:15pm |
For whatever reason the postType post.has_archive === false
not sure why this might be
For whatever reason the postType post.has_archive === false
not sure why this might be
Is this happening just for the nextwordpress.wpengine.com used in the starter example, or for all WP sites?
Also, you should review the getPageData
function to see how we are currently including taxonomy and term pages.
If I remember correctly, I think for any post type that is enabled, we are just getting all taxonomies that are used on that post type, not just getting all taxonomies for everything.
Also, you should review the
getPageData
function to see how we are currently including taxonomy and term pages.If I remember correctly, I think for any post type that is enabled, we are just getting all taxonomies that are used on that post type, not just getting all taxonomies for everything.
Thanks for the tip! I'll take a look and see if I can reduce the complexity
For whatever reason the postType post.has_archive === false not sure why this might be
Is this happening just for the nextwordpress.wpengine.com used in the starter example, or for all WP sites?
ill test this
it's woooooooooooooorking!!!!! did it break anything?
i don't know
It would be great if we could write a test for generateStaticParams and generateSitemap and make sure these are always generating the same page urls.
It would be great if we could write a test for generateStaticParams and generateSitemap and make sure these are always generating the same page urls.
YEAH! I was also thinking that considering it's starting to get more complex, what would you recommend for testing?
Just seeing if it breaks or not here:
Still need to add pagination
Example
/blog/ /blog/1 ? /blog/2