103 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
25
views
WPgraphQL Is it possible to duplicate results programmaticaly based on acf repeater
I'm working on wpgraphql2.1.0 with acf6 and WPGraphQL for ACF 2.4.1 and I need to get a content type named "evenement" (that we'll call events) that I filter based on their date.
The ...
0
votes
0
answers
41
views
Gatsby not fetching related posts from WordPress using gatsby-source-wordpress
I'm using Gatsby with a headless WordPress setup and WPGraphQL. I have a custom post type Talk, and within this post type, I am trying to retrieve related posts through a custom field relatedPosts.
...
0
votes
1
answer
255
views
Issues with WPGraphQL Smart Cache Integration in Next.js 14 with Apollo Client
I’m having trouble integrating WPGraphQL Smart Cache with my Next.js 14 application using Apollo Client. The integration isn’t working as expected, and I’m not seeing the x-cache header in my ...
0
votes
1
answer
152
views
Possible to return ACF fields from Post Object or Relationship type?
I have an ACF field group named Product Type. It contains a few very simple fields such as part_number (text), store_url (URL), and description (text). This field group is only displayed for posts, ...
0
votes
1
answer
192
views
Why is WPGraphQL Smart Cache not working?
I installed the WPGraphQL Smart Cache plugin on my Wordpress site and there is no caching when sending a request to the server.
There is no X-Cache header in the Response headers.
Server configuration:...
0
votes
1
answer
124
views
Getting a Pre-Render error when trying to deploy to Vercel
I'm building a headless site that is using Wordpress as the cms. Using wpgraphql as a plugin. I'm running into a pre-render error/type error, when I try and upload my code to vercel. During the build ...
0
votes
1
answer
215
views
GraphQL query on WordPress returns creation date instead of last modified date for posts
I'm working on a Vue.js project where I use GraphQL (WPGraphQL v1.26.0) to fetch posts from a WordPress site (with Apollo).
I need to display the last modified date of each post, but the "...
1
vote
1
answer
316
views
Dynamic Page Routing in Next.js 14 (app router) with WordPress as a Headless CMS
Could you please describe how page routing would be implemented in Next.js 14 using the App Router, considering the scenario where WordPress is employed as a headless CMS? This setup should ...
1
vote
0
answers
18
views
WPGraphiQL how to ask for "non null"?
I can't find a way to tell "not null count" in the WPGraphiQL editor.
My knowledge of GraphQL is limited.
Can this be achieved?
2
votes
2
answers
510
views
How to get the thumbnail image from a GraphQL WP headless query
How do you get the thumbnail not the feature image from the posts query using WPGraphQL Headless?
I can see that you can quite easily get the featured image and then it has srcSets for different ...
0
votes
0
answers
1k
views
Nuxt 3 - useFetch when one query depends on the result of another
I'm working on a headless Nuxt 3 app and I'm running into an issue with my blog. I think this exposing a gap in my knowledge of how Nuxt 3's fetch utils work. Here's the overview of what I need to ...
0
votes
1
answer
345
views
WpgraphQL Viewer query always returns null
I am working on a headless WordPress + Next.js app
In my GraphiQL ide when i query the current viewer (me !) I keep getting null as a result
I am using the latest WP version + latest wpgraphqQL + ...
0
votes
1
answer
249
views
Querying custom term_meta field using WPGraphQL returns an empty field for that term
I have a custom color field in the wp_termmeta table for my wordpress theme tags. The values are saved in the database fine. However I have issues registering it with the WPGQL plugin - when I run the ...
0
votes
1
answer
399
views
Getting all post data even when specifying post id to get just one - WPGraphql
I am trying to get a cursor for a post given the postId but in return I am getting cursors of all posts. Note that this query works fine when I hardcode the id into the query.
query:
export const ...
1
vote
2
answers
334
views
WPGraphQL query variables not updating data
I'm trying to add a "Load More" feature to my blog posts page using Apollo/GraphQL/React, and am following the exact instructions founds here. However when I click on the load more button, ...