Skip to content

Enable SEO field for contentNode and nodeByUri

Compare
Choose a tag to compare
@ashhitch ashhitch released this 10 Jun 13:17
· 47 commits to master since this release
f5d277e

Enable SEO field for contentNode and nodeByUri

query get_post {
  contentNode(id: "1", idType: DATABASE_ID) {
    id
    contentTypeName
    seo {
      title
      metaDesc
    }
  }
  post(id: "1", idType: DATABASE_ID) {
    id
    contentTypeName
    seo {
      title
      metaDesc
    }
  }
  node(id: "cG9zdDox",) {
    ... on NodeWithTitle {
      seo {
        title
        metaDesc
      }
    }
  
  }
  nodeByUri(uri: "/") {
    ... on NodeWithTitle {
      seo {
        title
        metaDesc
      }
    }
  }
}