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