WP Manifestindependent plugin directory
manifest / integrations / wp-graphql-widgets

WPGraphQL Widgets

This plugin adds widgets and sidebar queries to WPGraphQL.

by Benedict Adams · github.com/benada002/wp-graphql-widgets

13stars
3forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/benada002/wp-graphql-widgets/archive/refs/heads/master.zip

From the readme

WPGraphQL Widgets (Queries) This plugin registers for each active widget a new widget type which exposes all settings of the widget (and for some widgets a rendered field more here) and implements the WidgetInterface which exposes the following fields. It also adds sidebar queries. Requirements - WPGraphQL Installation You can install and activate it just like any other WordPress plugin. Usage Widget Examples Rendered field For the WPNavMenuWidget, WPMediaImageWidget, WPWidgetRecentPosts, WPWidgetCategories, WPWidgetPages and WPWidgetRecentComments types there is also rendered field which is a connection to their WPGraphQL type. Here is an example which would give you the menu of a menu widget. Sidebar Examples

Read the full README on GitHub →

Releases

TagPublished
v0.0.3 Aug 23, 2021
v0.0.2 May 20, 2021
v0.0.1 May 20, 2021

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.