whitespace-se / wordpress-plugin-wp-graphql-extras
Wordpress plugin that adds additional types and fields to the GraphQL API
Installs: 3 800
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 10
Forks: 0
Open Issues: 0
Type:wordpress-plugin
pkg:composer/whitespace-se/wordpress-plugin-wp-graphql-extras
Requires
- composer/installers: ~1.0
Requires (Dev)
- wp-graphql/wp-graphql: ^1.3
- wpackagist-plugin/advanced-custom-fields: ^5.9
README
Wordpress plugin that adds additional types and fields to the GraphQL API.
How to install
If you want to use this plugin as an MU-plugin, first add this to your composer.json:
{
"extra": {
"installer-paths": {
"path/to/your/mu-plugins/{$name}/": [
"whitespace-se/wordpress-plugin-wp-graphql-extras"
]
}
}
}
Where path/to/your/mu-plugins is something like wp-content/mu-plugins or
web/app/mu-plugins.
Then get the plugin via composer:
composer require whitespace-se/wordpress-plugin-wp-graphql-extras
Features
- Adds
archiveDatesandarchiveDatesGmtfields toContentNode - Allows public querying of
labelsandhasArchiveonContentType - Adds
contentMediafield toNodeWithContentEditor - Adds
width,height,fileContentandbase64Urifields toMediaItem - Adds
slugfield toContentType - Overrides response headers, allowed request headers and
max_query_amount