manifest / integrations / wordpress-plugin-wp-graphql-extras
Whitespace WP GraphQL Extras
Wordpress plugin that adds additional types and fields to the GraphQL API
by Whitespace · github.com/whitespace-se/wordpress-plugin-wp-graphql-extras · website
★ 0stars
4.1kcomposer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/whitespace-se/wordpress-plugin-wp-graphql-extras/archive/refs/heads/main.zipAlso on Packagist as whitespace-se/wordpress-plugin-wp-graphql-extras:
composer require whitespace-se/wordpress-plugin-wp-graphql-extrasFrom the readme
Whitespace WP GraphQL Extras plugin for Wordpress
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:
Where path/to/your/mu-plugins is something like wp-content/mu-plugins or
web/app/mu-plugins.
Then get the plugin via composer:
Features
- Adds archiveDates and archiveDatesGmt fields to ContentNode
- Allows public querying of labels and hasArchive on ContentType
- Adds contentMedia field to NodeWithContentEditor
- Adds width, height, fileContent and base64Uri fields to MediaItem
- Adds slug field to ContentType
- Overrides response headers, allowed request headers and maxqueryamount