menu

WPGraphQL

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

Channels
Team
Posts
Members
Info

How to transfer local image using wpgraphql?

is it using createMediaItem mutation? and how? Thanks

thumbsup
0
message-simple
0

How to get filters items results from graphql ?

Hi everyone , I'm newbie wordpress and i'm using woocommerce with graphql. i want get products with filters result from category specific (category id) in product listing page ,i have try use query "productCategories" from graphql bit I can't find the sections filters , so could…

thumbsup
0
message-simple
0

How to get template from GraphQL ?

thumbsup
0
message-simple
0

Can't get data from hosting

hey I have a problem when I try query MyQuery2 { posts { …

thumbsup
0
message-simple
0

how to mutate custom taxonomy?

I have custom taxonomy named Sites, I just found out that I can not mutate custom taxonomy by default, any idea how to do that?

thumbsup
0
message-simple
0

how to get the styles for the post content that i received?

I am trying to fetch Post and in response I am getting post content that i created in the WordPress but I am not able to get the styling for that post. so how can i get that. Do I have to make modification in the query? sample query : '{ postBy(slug: "' + slug + '" ) { title…

thumbsup
0
message-simple
1

How to: acf post object

I have a wordpress site where I can set a "featured post" on the home page using ACF post object field type. I'm trying out wpgraphql to see if it would work to with converting my site to headless wordpress, and trying to follow some of the documentation to get this "featured…

thumbsup
0
message-simple
5

query users is not returning all users

hey everyone! I just wanted to say that I am completely in love with this plugin. I'm trying to query all users from my Appolo client in React and it is only returning the default user. I have created about 5 users now and I can't get them in my appolo query. However, I can see…

thumbsup
1
message-simple
0

Filter featuredImage by size name

Hey all, new to wpgraphql but loving it so far. Hoping someone can help me with this. I've got an homepage that displays posts 3 different ways, two of which use a featured image. How can I tell my component which featured image size to use? Here's my query: …

thumbsup
0
message-simple
0

How to: get all comments related to a post at once

I tried a simple (flat) query (limit: 1000, with `graphql_connection_max_query_amount` set to 1000) and I think I only get first level comments (parent: null). Is there a way to get all comments with a flat query? I tried this …

thumbsup
1
message-simple
6