We'll create fresh WordPress site with Post Kinds installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Post Kinds adds support to the Classic Editor for responding to and interacting with other sites using the standards
developed by the IndieWeb by implementing kinds of posts. It is not compatible with Gutenberg.
It can also distinguish certain types of passive posts in a manner similar to post formats. While it can work alongside
post formats, it is recommended as a replacement as it is designed as a replacement using IndieWeb Post Types.
Many sites will not need all of the kinds set up. What kinds of posts you wish to publish are specific to your needs.
Post Kinds stores extra data in a post indicating what you are responding to. This data is either hand-added or can be parsed from the source URL if provided. This means you have additional
responsibilities to responsibly use this data, and to remove information on request.
Post Kinds automatically adds information to the_content
and the_excerpt
filter. Being as this is inside the content block, which may or may not be desirable, you may remove these filters as noted
below and call kind_display
directly. This will allow it to appear outside the content block. To remove the automatic display, add the following to your theme.
* add_filter( 'kind_content_display', '__return_false' );
The functions has_post_kind
, set_post_kind
, and set_post_kind
will allow you to manipulate the kind settings in a post. get_post_kind_string
will return the display name of a kind.
If you want to customize the look of the display, you can create a directory in your theme called kind_views
, copy the file from the views directory of the plugin, and modify it. This will persist
through future plugin updates.