menu

WPGraphQL

Free Open Source WordPress plugin that adds an extendable GraphQL Schema and API to your WordPress site

Channels
Team
Posts
Members
Info

Help with token validation on an external server

Hi guys, I am using wordpress for the first time and we are using WPGraphQL. I needed to implement a validation of a token that I receive in calls from graphql, I need to validate that token on another server and if that token is valid the query can be executed. I did it using…

thumbsup
0
message-simple
0

Help with browser caching & compression

Hey guys, I'm very new to WPGraphQL and I want help with my page speed scores. When I test my site's speed in GTMetrix it says that all the images that came from Wordpress is not cached and compressed. I host all my sites in Netlify and this only happens in my WPGraphQL site,…

thumbsup
0
message-simple
0

How to get twitter/facebook of users

Hi guys, how to get twitter and facebook links that was set on users fields? It seens to be default fields but they are not included by default

thumbsup
1
message-simple
4

How to mutate custom post types nested?

I would like to update the upvotes inside Ranking > ranking > rankingsPost > upvotes However this is not an option with graphQL it appears.

thumbsup
0
message-simple
0

Custom Post Type not being added after register_post_type

I am using the GraphiQL to test if my custom post types are being added to GraphQL. Rankings is displayed on my navigation in WP-Admin, I can add/edit/delete items so I know the CPT is working. However I cannot see it in GraphiQL function.php …

thumbsup
0
message-simple
34

GraphQL error: Internal server error

I am using GraphQL with wpgraphql inside a WP setup. I have been using the service without any problems until I updated a Custom Post Type and it stopped working. message: "Internal server error", category: "internal", But what is odd is that it still returns the data, along…

thumbsup
1
message-simple
5

Problem with ACF inside custom post type

I created a custom block and added a few custom fields with ACF, when using the block inside a post or page the data looks fine. But when using the EXACT same custom fields inside a custom post type the post object inside the repeater is returning the same ID for all posts.

thumbsup
0
message-simple
11

How to restart schemer after db scheme changes

I am running my DB and wordpress via docker, I am struggling to get ACFs working with GraphQL and I wanted to confirm that after a db schema change you would need to close down the docker images and restart them, not just a page refresh?

thumbsup
0
message-simple
1

How to register a new Custom Post Type

I am trying to register a new Custom Post Type and have followed the following example: https://docs.wpgraphql.com/getting-started/custom-post-types/#register-a-new-post-type The following code snippet needs to be added to it own PostType nd then added to functions.php with the…

thumbsup
0
message-simple
1

Has anybody ever successfully got postgraphile to work?

thumbsup
0
message-simple
0