generated from pascalmartineau/wp-skeleton
refactor: better project structure
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 6m3s
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 6m3s
This commit is contained in:
31
wp-content/themes/ccat/app/graphql/nodeByUri.gql
Normal file
31
wp-content/themes/ccat/app/graphql/nodeByUri.gql
Normal file
@@ -0,0 +1,31 @@
|
||||
query nodeByUri($uri: String!) {
|
||||
nodeByUri(uri: $uri) {
|
||||
__typename
|
||||
id
|
||||
breadcrumbs {
|
||||
label
|
||||
to
|
||||
}
|
||||
... on Page {
|
||||
...ThePage
|
||||
}
|
||||
... on Post {
|
||||
...TheArticle
|
||||
}
|
||||
... on Event {
|
||||
...TheEvent
|
||||
}
|
||||
... on Location {
|
||||
...TheLocation
|
||||
}
|
||||
... on Membership {
|
||||
...TheMembership
|
||||
}
|
||||
... on Project {
|
||||
...TheProject
|
||||
}
|
||||
... on Resource {
|
||||
...TheResource
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user