-
Install Polylang plugin on your wordpress site.
-
Add polylang parameters to your graphQL with wp-graphql-polylang plugin.
-
Update gatsby-source-wordpress plugin settings in gatsby-config.js with your wordpress url where you setup polylang plugin.
-
Update gatsby-node.js and template files name based on your language selections.
- In my code the default template is english and additional template is turkish.
-
Enjoy. ✨
forked from gatsbyjs/gatsby-starter-wordpress-blog
-
Notifications
You must be signed in to change notification settings - Fork 0
Create multilingual dynamic pages and posts from wordpress
License
sedyldz/gatsby-starter-wordpress-blog
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Create multilingual dynamic pages and posts from wordpress
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- CSS 78.5%
- JavaScript 21.5%