Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gridsome/gridsome-starter-wordpress
👩💻 WordPress starter for Gridsome
https://github.com/gridsome/gridsome-starter-wordpress
gridsome static-site-generator vuejs wordpress
Last synced: about 1 month ago
JSON representation
👩💻 WordPress starter for Gridsome
- Host: GitHub
- URL: https://github.com/gridsome/gridsome-starter-wordpress
- Owner: gridsome
- Created: 2018-08-03T23:20:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-03T17:03:44.000Z (over 4 years ago)
- Last Synced: 2024-08-04T03:04:15.310Z (4 months ago)
- Topics: gridsome, static-site-generator, vuejs, wordpress
- Language: Vue
- Homepage: https://gridsome-starter-wordpress.netlify.app/
- Size: 54.7 KB
- Stars: 91
- Watchers: 8
- Forks: 31
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-gridsome - gridsome-starter-wordpress
README
# WordPress starter for Gridsome
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/gridsome/gridsome-starter-wordpress)
## Install
`gridsome create my-gridsome-project wordpress`
## Guide
Add your WordPress URL to the plugin options.
```js
// gridsome.config.jsmodule.exports = {
plugins: [
{
use: '@gridsome/source-wordpress',
options: {
baseUrl: 'YOUR_WEBSITE_URL', // required
typeName: 'WordPress', // GraphQL schema name
}
}
],
// Setup template routes for any WordPress collection
templates: {
WordPressPost: '/:year/:month/:day/:slug',
WordPressTag: '/tag/:slug'
},
}```
See all [options](https://gridsome.org/plugins/@gridsome/source-wordpress).
## Included templates
This starter includes basic templates for categories, tags and posts.