{"id":210,"date":"2008-07-24T11:28:53","date_gmt":"2008-07-24T16:28:53","guid":{"rendered":"http:\/\/bitpost.com\/news\/?p=210"},"modified":"2016-05-28T13:29:33","modified_gmt":"2016-05-28T18:29:33","slug":"persistent-category-toggle-on-your-wordpress-26-home-page","status":"publish","type":"post","link":"https:\/\/bitpost.com\/news\/2008\/persistent-category-toggle-on-your-wordpress-26-home-page\/","title":{"rendered":"Persistent category toggle on your WordPress 2.6 home page"},"content":{"rendered":"<p>I&#8217;ve upgraded this blog to WordPress 2.6, and tried to tidy up a bit. My favorite trick for today came from <a href=\"http:\/\/cerickscheu.com\/vault\/132#more-132\">here<\/a>, where the author discusses a &#8220;geek switch&#8221; to turn off his more technical material. I have a <a href=\"http:\/\/bitpost.com\/news\/category\/chatter\/\">Chatter category<\/a> that&#8217;s in the same boat &#8211; sometimes I want to see it, sometimes I don&#8217;t. And I don&#8217;t want first-time visitors to have to see it.<\/p>\n<p>I modified the original author&#8217;s toggle approach a bit, widgetized, with a touch more Javascript and updated for WordPress 2.6. You can see the toggle in the sidebar to the right, try clicking on it. Pretty fun eh?<\/p>\n<p>See my <a href=\"https:\/\/bitpost.com\/wiki\/Wordpress_Toggle_Category_widget_set\">Toggle Category wiki article<\/a> for the gory details on setting this baby up. I &lt;3 WordPress.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve upgraded this blog to WordPress 2.6, and tried to tidy up a bit. My favorite trick for today came from here, where the author discusses a &#8220;geek switch&#8221; to turn off his more technical material. I have a Chatter category that&#8217;s in the same boat &#8211; sometimes I want to see it, sometimes I [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"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,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[19,10,9,20],"tags":[86,61],"class_list":["post-210","post","type-post","status-publish","format-standard","hentry","category-opensource","category-tricks-tips-tools","category-websites","category-wordpress","tag-category-toggle","tag-wordpress-2"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9M11L-3o","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/comments?post=210"}],"version-history":[{"count":63,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/210\/revisions"}],"predecessor-version":[{"id":2012,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/210\/revisions\/2012"}],"wp:attachment":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/media?parent=210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/categories?post=210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/tags?post=210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}