astro-wordpress-starter
astro-wordpress-starter copied to clipboard
I had an issue where category pages were not loading. So, for instance https://sitename.com/category/ would result in an empty page. The console would complain with: `[getStaticPaths] Route pattern matched, but...
With a brand new WordPress website, this (from lib/api.js) now fails: `{ menus(where: {location: PRIMARY}) { nodes { name menuItems { nodes { uri url order label } } }...
In WP 6.5.3, Menus have been deprecated in favor of Navigation #18 With a brand new WordPress website, this (from lib/api.js) now fails: `{ menus(where: {location: PRIMARY}) { nodes {...
Firstly, this isn's an issue per se. I just cant figure out how to stop child items in my menu rendering as top line menu items. Essentially the graphQL gets...
`astro dev` watching ignored files  https://app.warp.dev/block/cZZwh5mntk3SvGhRflu1fC
added .env.example
In my wordpress, i have home page and it sets as static home page. In astro landing page, i want to display this home page contents. no posts. is it...
Randomly, when running Astro 2.10.9, I get this error: ```bash Transform failed with 1 error: /Volumes/Evo/Sites/astro-wordpress-starter/src/components/SiteNav.astro?astro&type=script&index=0&lang.ts:2:0: ERROR: Unexpected "const" components/SiteNav.astro?astro&type=script&index=0&lang.ts:2 ``` All of my menu items have urls and names,...
When I create a page in wordpress, and after I refresh astro page and go to it, I get a 404 and i get message: ``` [getStaticPaths] A `getStaticPaths()` route...
Since the output is server, then providing a try/catch to the fetch might be useful in case the data can't be returned for some reason.