oddevan / oddevan-gatsby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gatsby Starter - WordPress Twenty Twenty

A port of the WordPress Twenty Twenty theme to Gatsby.

This is still a work in progress

This starter uses an early alpha version of the upcoming gatsby-source-wordpress@v4. You can find rough documentation for that package here.

Checkout some options of the source plugin: defaultPluginOptions

WordPress Setup

  1. Make sure to install the two WP plugins wp-gatsby-0.2.5.zip and wp-graphql-0.8.3.zip
  2. Best you install and activate the default WordPress Twenty Twenty theme
  3. Make sure you have Menus with the following slugs:
    • primary - Thats the top menu
    • extended - That is the menu that opens on the right side as drawer
    • social-links-menu - For the Social menu in the footer and in the expanded drawer
      • For the social Icons you need to adjust SocialMenu.js. There is a SocialIcon function that parses svgs depending on the Link label
  4. Rename .env.example file to .env and edit it with your domain variables.

Limitations

  • Comments are no implemented yet.
  • The monthly archive pages are not implemented.
  • Tags are not implemented (only Categories).
  • Surely there is more. Feel free to suggest things as issues.

Links

Acknowledgements

About

License:MIT License


Languages

Language:CSS 86.3%Language:JavaScript 13.7%