{"id":7272,"date":"2018-06-23T09:51:07","date_gmt":"2018-06-23T08:51:07","guid":{"rendered":"http:\/\/johnjohnston.info\/blog\/?p=7272"},"modified":"2018-06-23T09:51:07","modified_gmt":"2018-06-23T08:51:07","slug":"a-couple-of-quick-blog-tweaks","status":"publish","type":"post","link":"https:\/\/johnjohnston.info\/blog\/a-couple-of-quick-blog-tweaks\/","title":{"rendered":"A couple of quick blog tweaks"},"content":{"rendered":"<p>Firstly; I&#8217;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:<\/p>\n<p><a href=\"http:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2018\/06\/post-formats.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"7273\" data-permalink=\"https:\/\/johnjohnston.info\/blog\/a-couple-of-quick-blog-tweaks\/post-formats\/\" data-orig-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2018\/06\/post-formats.png\" data-orig-size=\"310,140\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"post-formats\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2018\/06\/post-formats.png\" class=\"aligncenter size-full wp-image-7273\" src=\"https:\/\/johnjohnston.info\/blog\/wp-content\/uploads\/2018\/06\/post-formats.png\" alt=\"\" width=\"310\" height=\"140\" \/><\/a><\/p>\n<p><code>add_action( 'after_setup_theme', 'childtheme_formats', 11 );<br \/>\nfunction childtheme_formats(){<br \/>\nadd_theme_support( 'post-formats', array( 'status') );<br \/>\n}<\/code><\/p>\n<p>I added the above to my child themes function.php<\/p>\n<p>Based on <a href=\"https:\/\/codex.wordpress.org\/Post_Formats#Formats_in_a_Child_Theme\">Post Formats Formats_in_a_Child_Theme in the WordPress Codex<\/a>.\u00a0Standard Format is formatless, so you just add the ones you want in addition.<\/p>\n<p>Secondly; I&#8217;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.<\/p>\n<p>I hope to have a bit more time over the summer holidays to rethink and rewire the blog. Some of the decisions I&#8217;ve made were perhaps not the best.<\/p>\n<p>Most of the <a href=\"https:\/\/gist.github.com\/troutcolor\/d8efe232e030fcb94660fcb4813a98f0\">functions that have do with micro.blog and microblogging that live in my child theme&#8217;s functions.php<\/a> in a gist.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Firstly; I&#8217;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( &#8216;after_setup_theme&#8217;, &#8216;childtheme_formats&#8217;, 11 ); function childtheme_formats(){ add_theme_support( &#8216;post-formats&#8217;, array( &#8216;status&#8217;) ); } I added [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"mf2_syndication":[],"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"webmentions_disabled_pings":false,"webmentions_disabled":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[660,6],"tags":[10,522,643,798,11],"post_format":[],"class_list":{"0":"post-7272","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-micro","7":"category-wwwd","8":"tag-blogging","9":"tag-indieweb","10":"tag-microblogging","11":"tag-post-kinds-plugin","12":"tag-wordpress","13":"kind-article","15":"h-entry","16":"hentry"},"better_featured_image":null,"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p57zFQ-1Ti","jetpack_likes_enabled":false,"jetpack_sharing_enabled":true,"kind":false,"_links":{"self":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/7272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/comments?post=7272"}],"version-history":[{"count":1,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/7272\/revisions"}],"predecessor-version":[{"id":7274,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/posts\/7272\/revisions\/7274"}],"wp:attachment":[{"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/media?parent=7272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/categories?post=7272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/tags?post=7272"},{"taxonomy":"post_format","embeddable":true,"href":"https:\/\/johnjohnston.info\/blog\/wp-json\/wp\/v2\/post_format?post=7272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}