manifest / integrations / wordpress-plugin-wp-graphql-extras
Whitespace WP GraphQL Extras
Wordpress plugin that adds additional types and fields to the GraphQL API
★ 0stars
4.1kcomposer installs
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/whitespace-se/wordpress-plugin-wp-graphql-extras/archive/refs/heads/main.zipOn Packagist as whitespace-se/wordpress-plugin-wp-graphql-extras:
composer require whitespace-se/wordpress-plugin-wp-graphql-extrasNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
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:
{
"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