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