menu

WPGraphQL

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

Channels
Team
Posts
Members
Info

What does key represent for cartItem query?

Hi all, I would like to get all content of a cart. What value should I provide for the key? Following is my query: …

thumbsup
0
message-simple
0

Is it possible to create Post Connections with Custom Post Types?

Just recently implemented an example from this post, https://www.wpgraphql.com/2018/11/16/querying-sticky-posts-with-graphql/, but noticed it only works for basic posts and not custom post types. Are there any filters or a 'RootQueryTo{$post->post_type}ConnectionWhereArgs' that…

thumbsup
1
message-simple
0

Where is the best place to keep current on the direction of Gatsby+WordPress?

I have a general impression that WPGraphQL is the direction that future development of Gatsby+WordPress is going, and that support for the WP REST API will be deprecated at some point. But when you go to the Gatsby site or google for "Gatsby WordPress", you still only find the…

thumbsup
2
message-simple
2

How to get data from custom table into wpgraphql

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
3

Hi everyone, currently Im facing on issue with woocommerce+wpgraphql

I have installed PPOM plugin for products options. How to get these add-ons fields into the wpgraphql product query.

thumbsup
0
message-simple
0

graphql_register_types for pages

Hi I am using wp graphql with gatsby. In my wordpress I have custom meta fields for pages color and category. How should I add this under pages in graphql?

thumbsup
0
message-simple
0

Download remote file in a Gatsby instance

Hey gusy ! I'm trying to do the same thing as gatsby-source-wordpress is doing : download all media in the static folder. Is there a way to do the same with WPGraphQL ? I've one GraphQL element mediaItems but all media hasn't inside. Thanks !

thumbsup
0
message-simple
1

Dealing with GravityForms (and other shortcodes)

I am just getting started with WPGraphQL - and I'm not very good with GraphQL in general. One thing I'm trying to figure out a solution for is GravityForms forms embedded in WordPress pages with shortcodes (working on a Gatsby-powered redesign of a large Wordpress site.) So far…

thumbsup
0
message-simple
7

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