Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TylerBarnes/wp-graphql-enable-all-post-types
Add all custom post types to WP GraphQL
https://github.com/TylerBarnes/wp-graphql-enable-all-post-types
Last synced: about 1 month ago
JSON representation
Add all custom post types to WP GraphQL
- Host: GitHub
- URL: https://github.com/TylerBarnes/wp-graphql-enable-all-post-types
- Owner: TylerBarnes
- Created: 2019-03-31T23:59:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-08T21:48:29.000Z (over 4 years ago)
- Last Synced: 2024-10-24T16:18:49.066Z (about 2 months ago)
- Language: PHP
- Size: 1.95 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-wordpress-gatsby - WPGraphQL Enable All Post Types (TylerBarnes) - This FREE plugin from @tylbar automatically adds ALL registered post types to the WPGraphQL Schema. (Plugins / WordPress)
README
# wp-graphql-enable-all-post-types
This plugin adds all registered custom post types to WP GraphQL
Note that this plugin uses the post type name as the GraphQL single and plural field names. If you have translations for your post type names and view the schema in a specific language, this plugin may register those fields based on the current language which will result in an inconsistent schema.