Skip to content

sedyldz/gatsby-starter-wordpress-blog

 
 

Repository files navigation

Generation multilingual blog archive page with seperate blog post templates

  • Install Polylang plugin on your wordpress site.

  • Add polylang parameters to your graphQL with wp-graphql-polylang plugin.

    https://github.com/valu-digital/wp-graphql-polylang

  • 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. ✨

Check my medium post for step-by-step explanation. 👇

https://medium.com/@sedanuryildiz/building-a-multilingual-blog-with-headless-wordpress-gatsby-66a4031a1ce5

About

Create multilingual dynamic pages and posts from wordpress

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 78.5%
  • JavaScript 21.5%