WPML

Overview of the Issue

An issue has been identified where querying translated posts by their slugs throws null results using WPGraphQL and Types Order plugin.

Workaround

This issue is fixed in WPML GraphQL 5.0.0. Updating solves it on your site, so you only need this workaround if you can’t update yet.

Update to WPML GraphQL 5.0.0 or later. Slug queries now return the translated post in secondary languages, also when the translation has the same slug as the original.

If you cannot update yet:

Go to DashboardSettingsPost Types Order page and deactivate the Auto Sort option.

Still Seeing This Issue?

If updating doesn’t fix it, ask a support question and we’ll look into it with you.

Ask a support question

All known issues