A Gatsby theme for WordPress, using Decoupled Architecture. Front end in React. Backend in WordPress.
👨💻 Please star my repo to support my work 🙏
Name | Github Username |
---|---|
Imran Sayed | @imranhsayed |
Installation:
npm i gatsby-wordpress-theme-phoenix
Add the following configuration to your gatsby-config.js
and put your WordPress Site URL in wordPressUrl
e.g. https://example.com
module.exports = {
plugins: [
// Tell gatsby which theme you will be using.
{
resolve: "gatsby-wordpress-theme-phoenix",
options: {
wordPressUrl: 'xxxx',
frontendUrl: 'https://example.com'
}
} ]
};
Also add the following to your .env
file and set the GATSBY_ELEMENTOR_SUPPORT
GATSBY_SIDEBAR
if you would
like the theme to support page and post building with elementor and sidebar.
GATSBY_WORDPRESS_SITE_URL=xxx
GATSBY_ELEMENTOR_SUPPORT=true
GATSBY_SIDEBAR=false
a. Headless CMS b. wp-graphql c. wp-graphiql d. ACF WordPress plugin e. wp-graphql-acf f. Yoast-SEO g. wp-graphql-yoast-seo
HCMS Header Menu
You can also set text widgets in #HCMS Footer #1 and #HCMS Footer #2 under Appearance > Widgets in WordPress.
Import all the ACF data from wordpress/acf-data
json file of this repo, into WordPress by going to WordPress Dashboard > Custom Fields > Tools > Import
Create a Home Page ( if there isn't one already )and make sure you have a home page and Location rule is set to Home page.
Check in the source
Version | Tag | Published |
---|---|---|
3.0.0 | latest | 2yrs ago |