Bookmarked Working Around Post Kinds Plugin Lock-In by Ton Zijlstra (zylstra.org)
I’ve been using the Post Kinds plugin for a few years on this WordPress site. It allows you to easily style a specific type of posting (a like, bookmark, reply, rsvp, read, check-in etc), it automatically pulls in the relevant information form the posting you’re reacting to, and adds the right m...

Although I’ve found the post kinds plug-in amazingly useful I’ve wondered about the problem of moving away from it.

As I review old posts I do find some surprises in the way the display of posts has changed, having the post kinds “stuff” in the post would help I think. I’ve no idea how I could do that if I wanted to.

Screenshot of previous post on the blog
Screenshot of previous post on the blog

I use the post kinds on this blog. I set different post kind for different types of post. One of the kinds I use is Read for books I’ve read. There is a section to site the books, author, link ect in the “Response Properties” section of the post editor. I use this for replies, bookmarks and other kinds but not for book. I am wondering how to have these show up without the empty quote and other empty brackets (). I can hid them with css but then they show in the rss feed and in micro.blog. I also use the read kind for some articles so want the cite section there.

I could change the 90 odd post to a different kind, but don’t want to go through them all one by one.

 

Firstly; I’ve removed most of the post formats leaving the 2 I actually use here. Standard goes to the front page, status to the status. I organise kinds with the post kinds plugin. My Format box now looks like this:

add_action( 'after_setup_theme', 'childtheme_formats', 11 );
function childtheme_formats(){
add_theme_support( 'post-formats', array( 'status') );
}

I added the above to my child themes function.php

Based on Post Formats Formats_in_a_Child_Theme in the WordPress Codex. Standard Format is formatless, so you just add the ones you want in addition.

Secondly; I’ve moved the quote and content generated from the Post Kinds plugin to below the post. This is in the Post Kinds setting so was simple. Having them above my remarks meant that the quote was going to micro.blog and twitter rather than my comment.

I hope to have a bit more time over the summer holidays to rethink and rewire the blog. Some of the decisions I’ve made were perhaps not the best.

Most of the functions that have do with micro.blog and microblogging that live in my child theme’s functions.php in a gist.