GithubHelp home page GithubHelp logo

toolset-wp-graphql's Introduction

WPGraphQL for Toolset, Toolset for WPGraphQL

Expose Toolset's custom post types, taxonomies and post fields in WPGraphQL.

Just install this plugin together with Toolset Types and WPGraphQL and see for yourself.

Installation

  1. Download or clone the plugin files.
  2. Run composer install from within the plugin directory.

Usage

By default, the plugin exposes those Toolset custom posts and taxonomies that have the show_in_rest option set. At the moment, this behaviour can be altered by using the toolset_wpgraphql_show filter.

The structure of exposed fields is very similar to the REST API integration done by Toolset.

Future development

This is my personal project (at least for the time being) and it's still in very early stages.

Possible next steps include:

  • Making the current implementation more robust and adding test coverage.
  • Toolset user and term fields.
  • Toolset relationship data (relationships, associations, repeatable field groups).
  • Allow access to field values using parameters like for the types shortcode.
  • Venture into Views, WPAs, Content Templates, and so on.

Contributions, feature request, issue reports and generally any sort of feedback is always very welcome. The best way to get involved is direcly via GitHub.

Made with ❤️ for Toolset and OnTheGoSystems.

toolset-wp-graphql's People

Contributors

zaantar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

toolset-wp-graphql's Issues

vendor/autoload.php does not exist

Hi,

Thanks for writing this.

However, installation failed because in line 19.

./vendor/autoload.php does not exist

in the file toolset-wp-graphql.php

Gather ideas for the relationship support

What would you expect from this plugin in terms of Toolset relationship functionality? What problems could it help you to solve?

Please elaborate in comments. Any feedback or suggesion is appreciated. 🧡

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.