Query returning too few nodes
-
I have a custom post type. I’d like to get information on each instance. There are roughly 230 posts of the cpt available. All of them have the status ‘published’.
However, when I query, I ten results.
Running a google search I found this post, which includes a function that allows the return of up to 1000 results:
https://www.devtwins.com/blog/wpgraphql-increase-post-limitThe info in that post is very useful. But implimenting the function did not result in a change in the number of results that I get.
I thought that maybe my outcome might be related to an entry in ‘settings’>’reading’. But altering settings there didn’t change my results.
How can I get more than ten results?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Query returning too few nodes’ is closed to new replies.