Skip to content

Puffbox

Simon Dickson's gov-tech blog, active 2005-14. Because permalinks.

2014 | 2013 | 2012 | 2011 | 2010 | 2009 | 2008 | 2007 | 2006 | 2005

Code For The People company e-government news politics technology Uncategorised

api award barackobama barcampukgovweb bbc bis blogging blogs bonanza borisjohnson branding broaderbenefits buddypress budget cabinetoffice careandsupport chrischant civilservice coi commentariat commons conservatives consultation coveritlive crimemapping dailymail datasharing datastandards davidcameron defra democracy dfid directgov dius downingstreet drupal engagement facebook flickr foi foreignoffice francismaude freedata gds google gordonbrown governanceofbritain govuk guardian guidofawkes health hosting innovation internetexplorer labourparty libdems liveblog lynnefeatherstone maps marthalanefox mashup microsoft MPs mysociety nhs onepolitics opensource ordnancesurvey ournhs parliament petitions politics powerofinformation pressoffice puffbox rationalisation reshuffle rss simonwheatley skunkworks skynews statistics stephenhale stephgray telegraph toldyouso tomloosemore tomwatson transparency transport treasury twitter typepad video walesoffice wordcamp wordcampuk wordpress wordupwhitehall youtube

Privacy Policy

  • X
  • Link
  • LinkedIn
  • 30 Jan 2009
    company, e-government
    blogs, dfid, simonwheatley

    DFID's new group blog function

    dfidgroups

    We rolled out a fairly modest enhancement to the DFID Bloggers website this week: probably unnoticed by most users, but one I’m quite proud of. At its heart, the DFID site is a group blog; but we do a few things to present it as a network of individual blogs by individual bloggers. Then the question came – ‘could we do a group blog?’

    What we’ve done is effectively hijack WordPress’s category functionality, turning it into a grouping function. We’ve created categories corresponding to the various ‘group blogs’ we want to run; and with the help of another custom plugin, we’ve added the ability to give each category its own ‘user image’, same as we’ve done with individuals. The WordPress category archive template then becomes, effectively, a ‘group homepage’ template.

    Then, with another plugin, we’ve added a function to give each individual user a ‘default category’. So when they go to write a post, the appropriate category is already ticked – or to put it another way, it’s already identified as being for the appropriate ‘group’. But as with any WordPress categorisation, you have the option to tick other categories, adding the post to multiple group blogs; or you can untick your default category, if you want to blog in an individual capacity for a change.

    Finally, we’ve changed the homepage code to handle both individual and group blogs. It took a while to get the logic right – but now, you should only ever see one entry per group blog, same as you only see one entry per individual blogger; and it all gets sorted together into reverse chronological order.

    The result is a remarkably flexible blogging platform, with the ability to do solo blogs, group blogs, or any combination thereof. And as with the previous DFID work, we’re releasing the plugins to the world: the Default Categories plugin should prove particularly useful for people running group blogs.

    Once again, it’s been a pleasure to work with Simon Wheatley: the man who makes my WordPress dreams come true. And the DFID guys have been great again too, giving us a general steer and letting us work out the best way to do it. I love this project.

    Responses

    1. Simon Davis
      30 Jan 2009

      Many thanks to you Simon for working out the best way to do it. It’s been really exciting for us to see this project grow and evolve with your expertise. Oh, and nice new site by the way. Good to see that you save some goodies for yourself! Right, I’m off to get a Gravatar…

    2. Simon Davis
      30 Jan 2009

      Oh you’re kidding me – what is that pink thing? Ok, now I really am off to get a gravatar

    3. Matt Wardman
      30 Jan 2009

      I like that as a motivator for getting Gravatars. I think I’ll adopt that.
      Rather like sheriff whoever it was and his pinks frilly uniforms to stop people coming back to jail.

    4. Matt Wardman
      30 Jan 2009

      Reflecting … a random late 80s photo of politcians as avatar to persuade commenters to get Gravatars. Mandy with ‘tache, Maggie, Theresa G, Young Blair, Tebbit … the potential is endless.
      But they’d probably stop leaving comments instead.

Proudly Powered by WordPress