WP Manifestindependent plugin directory
manifest / integrations / vuewp-graphql

WordPress Simplified GraphQL

GraphQL backend for VueWP Project

★ 10stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/whuysmans/vuewp-graphql/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

graphql-wp

A simplified GraphQL endpoint for WordPress. Forked from Tim Field for my vuewp project.

You can find the original repo here: graphql-wp.

Here are some changes I made:

Added a count result for pagination

A 'count' result is returned with every response, like the 'X-WP-Total' header in the WP Rest Api. To get the number of posts in each response, the 'get_posts' method in WPQuery had to be replaced by WPQuery->query.

Added acf response

ACF response was added to WPPost. This still needs some work.

Requires

  • php >= 5.6