Skip to content

pmaojo/gridsome-starter-wordpress

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

WordPress starter for Gridsome

Deploy to Netlify

Install

gridsome create my-gridsome-project wordpress

Guide

Add your WordPress URL to the plugin options.

// gridsome.config.js

module.exports = {
  plugins: [
    {
      use: '@gridsome/source-wordpress',
      options: {
        baseUrl: 'YOUR_WEBSITE_URL', // required
        typeName: 'WordPress', // GraphQL schema name (Optional)
        routes: {
          post: '/:year/:month/:day/:slug', //adds route for "post" post type (Optional)
          post_tag: '/tag/:slug' // adds route for "post_tag" post type (Optional)
        }
      }
    }
  ]
}

See all options.

Included templates

This starter includes basic templates for categories, tags and posts.

About

πŸ‘©β€πŸ’» WordPress starter for Gridsome

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 88.4%
  • JavaScript 11.6%