{"repo":"valu-digital/wp-graphql-polylang","free":true,"listed":false,"github":"https://github.com/valu-digital/wp-graphql-polylang","clone":"git clone https://github.com/valu-digital/wp-graphql-polylang.git","description":"WPGraphQL Polylang Extension for WordPress","language":"PHP","stars":148,"topics":["wordpress-plugin","graphql","polylang","wpml"],"license":"GPL-2.0","category":"api-integrations-sdks","readme_excerpt":"WPGraphQL Polylang Extension Extend WPGraphQL schema with language data from the Polylang plugin. Features For posts and terms (custom ones too!) - Adds language and translations fields - Filter with a language where argument - Set the language on create and update mutations - Show all translations in the api by default - Polylang patches the WP Query to only list items with the current default language. This plugin reverts that for the GraphQL api - ACF Options Pages support Root queries - defaultLanguage get the current default language - languages list all configured languages Menu - Filter menu items by language For details please refer to the generated docs in GraphiQL. Example Example showing all features Requirements - PHP 7.2 or later - [WPGraphQL][] 0.13.x or later - Polylang 2.6.5 or later - The free version is enough - If you get the PRO version the pro features such as translated slugs will work too [pll context]: https://github.com/polylang/polylang/commit/2203b9e16532797fa530f9b73024b53885d728ef [polylang-github]: https://github.com/polylang/polylang [wpgraphql]: https://github.com/wp-graphql/wp-graphql/releases Installation If you use composer you can install it from Packagist composer require valu/wp-graphql-polylang Otherwise you can clone it from Github to your plugins using the stable branch cd wp-content/plugins git clone --branch stable https://github.com/valu-digital/wp-graphql-polylang.git ACF Options Pages In addition to WPGraphQL and Polylang plugins ","default_branch":null,"files":null,"tree":[],"storefront":"/r/valu-digital","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/valu-digital/wp-graphql-polylang/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}