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