Event post type for Indiekit.
npm install @indiekit/post-type-event
Add @indiekit/post-type-event
to your list of plug-ins, specifying options as required:
{
"plugins": ["@indiekit/post-type-event"],
"@indiekit/post-type-event": {
"name": "Event"
}
}
Option | Type | Description |
---|---|---|
name |
string |
Post type name. |
fields |
Array |
Fields to show in post interface. |