wp-graphql-polylang
wp-graphql-polylang copied to clipboard
WPGraphQL Polylang Extension for WordPress
We need to be able to get all translated strings to our Gatsby frontend, per language and per group. We introduced a new `JSON` scalar which we have tested live...
Languages resolver returns every language, also those that are marked as not active. Test run was OK.
Tl;dr when `wp-graphql-polylang` is enabled, queries with `user.role` cause an Internal Server Error. This is due to `graphqul_connection_query_args` expecting an `array`, even though UserRoleConnectionResolver returns `null`. Details here: (https://github.com/wp-graphql/wp-graphql/issues/2048)) The...
Hi, It's more like a question but an issue. We're using Polylang in combination with WPGraphQL Plugin and also ACF. When we're trying to query specific ACF Options field values...
Hi! I have an encountered an issue when I was trying to fetch the currently logged in user through the `viewer` query. I have Polylang v2.8.4, WP GraphQL Polylang v0.5.0...
So we could do this ```graphql { menus(where: {location: FOOTER, language: EN}) { nodes { slug name } } } ``` ---------- Note! If you want to get menu items...
Hello, im trying to retrieve translations on post with **uri** which does not have a translation and it's giving me the following internal server error ``` post(id: "xyz", idType: URI)...
As the title says, querying translations in categories causes an internal server error. Query: ``` { categories { nodes { translations { id } } } } ``` Response: ```...
This could work ```php function get_polylang_strings($slug = 'en') { $values = []; $term = get_term_by( 'slug' , $slug , 'language' ); $posts = get_posts(array( 'name' => 'polylang_mo_'.$term->term_id , 'post_type' =>...