Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Gatsby Starter to launch your blog from WordPress
Gatsby Starter WordPress Community is a Gatsby starter template that builds a static blog site by pulling posts and pages from a WordPress.com source via the gatsby-source-wordpress-plugin.
Gatsby Starter WordPress Community is a starter project for Gatsby, a React-based static site generator. It connects to a WordPress.com site, fetches its posts and pages using the gatsby-source-wordpress-plugin, and outputs a pre-rendered static blog. The template is authored by GitHub user pablovila and is distributed as a public repository. To use it, you run gatsby new NAME https://github.com/pablovila/gatsby-starter-wordpress-community, then edit gatsby-config.js to change the baseUrl to your WordPress.com domain.
src/style/variables.scss.gatsby new command, and the only required configuration is setting your WordPress.com base URL.src/style/variables.scss to quickly change the visual design and see purgecss shrink the final CSS.The starter uses the Gatsby build system. After installation, you set the baseUrl in gatsby-config.js to your WordPress.com site address. During gatsby build, the gatsby-source-wordpress-plugin fetches posts and pages from that source, Gatsby generates static pages, and purgecss trims unused Bulma styles. The result is a deployable static site with a working menu of WordPress pages.
Yes. The repository is public on GitHub and is released as an open-source starter. You can clone or use it with gatsby new at no cost.
Edit the gatsby-config.js file and change the baseUrl value to the domain of your WordPress.com site. After that, run gatsby develop or gatsby build to pull in your posts and pages.
The starter and its documentation specifically mention WordPress.com posts. The page does not describe how to configure it for self-hosted WordPress, so additional manual configuration would likely be needed.
The starter uses Bulma. You can override Bulma's global variables in src/style/variables.scss to customize colors, fonts, and spacing. Purgecss is then used to strip unused CSS from the final bundle.
No. The repository's task list marks tags and categories pages as pending, so the current version only presents posts and WordPress pages in the menu.