A Gatsby theme plugin for creating blogs from headless WordPress CMS.
Turn your WordPress blog into a lightning fast static website. This Gatsby theme is a frontend replacement of the WordPress engine featuring the standard Libre 2 skin and functionality. All content is sourced from a headless WordPress CMS.
This starter is being used at Draftbox. Get lightning fast, secure front-end for your WordPress or Ghost blog, in 5 minutes or less, without coding. For our fellow devs, we also provide code export feature.
Play with the Demo to get a first impression.
- WordPress Libre 2 skin
- SEO optimized
- Fully responsive
- Gatsby images
- Styled 404 page
- RSS Feed
- AMP Pages
- Sitemap
- Contact Form
- Subscribe Form
- Social Sharing
- Composable and extensible
Head over to the starter repo to get up and running quickly! The starter is recommended if you are creating a new site.
This repository contains the example code and the Gatsby theme. If you are here to install the Gatsby theme plugin in your existing project, check out the theme specific README for further details.
In case you want to work with this repository (for local development, pull requests, etc.):
- Clone or fork this repository:
git clone https://github.com/draftbox-co/gatsby-wordpress-theme-libre.git
cd gatsby-wordpress-theme-libre
create .wordpress-config.json
in example directory and add your wordpress config.
If your wordpress blog is self hosted it should look like
{
"baseUrl": "yourwordpressblog.com",
"protocol": "https",
"hostingWPCOM": false,
"useACF": true,
"includedRoutes": [
"**/categories",
"**/posts",
"**/pages",
"**/media",
"**/tags",
"**/taxonomies",
"**/users"
]
}
if your blog is hosted on wordpress.com you will have to add few extra keys for reference check out wordpress-source-docs.
-
Run
yarn
in directory where you cloned theme to install dependencies. -
Run
yarn workspace example develop
to start the example locally.
- Arun Priyadarshi (@Gunnerforlife) – Draftbox
- Keyur Raval (@thandaanda) – Draftbox
- Shyam Lohar (@shyamlohar) – Draftbox
- Tanmay Desai (@tanmaydesai89) – Draftbox
PRs are welcome! Consider contributing to this project if you are missing feature that is also useful for others.
Theme Ported from Libre
Copyright (c) 2020 Draftbox - Released under the MIT license.