Releases: ashhitch/wp-graphql-yoast-seo
Releases · ashhitch/wp-graphql-yoast-seo
Fix undefined meta properties
Fix undefined meta properties
Filter site url
- Added filter to change site_url (thanks @matepaiva)
Decode HTML Enities in Strings
Strings now get run through PHP HTML Decoder.
Get_head Yoast meta fields
This release actually contains this work ...
query GetHead {
post(id: "1", idType: DATABASE_ID) {
seo {
fullHead
}
}
category(id: "1", idType: DATABASE_ID) {
seo {
fullHead
}
}
user(id: "1", idType: DATABASE_ID) {
seo {
fullHead
}
}
seo {
contentTypes {
post {
archive {
fullHead
}
}
}
}
}
Get_head Yoast meta fields
Yoast head meta fields as a single string (same as get_head in rest API)
Guard against undefined errors
Small release to guard against undefined errors
Reading time and archive details
2 more community feature requests
- Archive settings for post types
- Reading Time
query GetSettings {
seo {
contentTypes {
post {
title
metaDesc
schemaType
schema {
raw
}
archive {
archiveLink
breadcrumbTitle
hasArchive
metaDesc
metaRobotsNoindex
title
}
}
}
}
}
Updated deprecated function changed in WPGraphQL v1.1.0
Updated deprecated function changed in WPGraphQL v1.1.0 (thanks @jasonbahl)
Post type raw schema to the root settings
A small release to add the post type raw schema to the root settings
query GetSettings {
seo {
contentTypes {
post {
metaDesc
schemaType
schema {
raw
}
}
}
}
}
Add Raw Archive Schema data
query GetPostsWithIsPrimary {
posts {
pageInfo {
startCursor
seo {
schema {
raw
}
}
}
nodes {
title
slug
categories {
edges {
isPrimary
node {
name
count
}
}
}
}
}
}