Tag: Post Kinds

array_key_exists() error in class-parse-mf2.php

dshanske/indieweb-post-kinds (GitHub)

indieweb-post-kinds - adds support for responding to and interacting with other sites using the standards developed by the Indieweb Community

This occasionally happens when I use a post kind that requires a URL. I am using the native WordPress editor. [Wed Jul 18 07:03:34.179394 2018] [:error] [pid 17074] [client 69.142.91.253:45190] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/html/wp-content/plugins/indieweb-post-kinds/includes/class-parse-mf2.php on line 249, referer: http://142.93.124.147/wp-admin/post-new.php [Wed Jul 18 07:03:34.179463 2018] [:error] [pid…

Read Full Post

Specialty Post Kinds

Manually adding a new post kind to the Post Kinds Plugin for WordPress by Chris AldrichChris Aldrich (Chris Aldrich | BoffoSocko)

Naturally, some people may want to display particular exotic kinds which might not extend to the broader public. A chicken post type certainly falls under this umbrella as I wouldn’t expect that other than for novelty, obsessive IndieWeb post kinds completeness, or for a very small handful of specialized farming, juggling, or comedy websites that anyone else in their right mind would really want to be doing a lot of posting about chickens on their site.

David Shanske, the plugin’s creator, has made it possible to create a sub-plugin of sorts so that one can add one-off support to these types using a variety of filters and functions. This could be useful so that updates to the plugin don’t overwrite one’s work and require adding the pieces outlined above back in again. Sadly, this is a tad beyond my present abilities, so I won’t address it further at the moment other than to say that it’s possible and perhaps someone might document it for others to use a similar template in the future.

Chris, when I have some free time, I think I'll add a beer kind to use with my Untappd activity.

Read Full Post