Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Add WPML && / || Polylang support #39

Open
TylerBarnes opened this issue Feb 3, 2019 · 1 comment
Open

Add WPML && / || Polylang support #39

TylerBarnes opened this issue Feb 3, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@TylerBarnes
Copy link
Owner

Most likely all that needs to be done for WPML is to suppress filters in the collections.json endpoint query.

https://wpml.org/forums/topic/wp_query-all-posts-of-all-languages/

Since wordsby is just making paths from permalinks (eq site.com/your/page/2 becomes /your/page/2 in gatsby), subdomain WPML sites should just work by building a page for "/fr/your/page", "/en/your/page", "es/your/page", etc as long as they exist in the loop.

For polylang this looks like it will probably be good -> https://stackoverflow.com/questions/53480868/how-to-display-posts-in-all-languages-in-the-plugin-polylang

@TylerBarnes TylerBarnes added the enhancement New feature or request label Feb 3, 2019
@TylerBarnes
Copy link
Owner Author

Actually one more thing, these posts should have a field with links to the translated versions of the same page for language switching.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant