WordPress Tags – Use Them!

Someone on asked how they could list the number of posts in every category. They were pointed at this page in the support forum. Even though we’re using Smarty as the templating system here, what’s stated there applies here! Add the following parameter to the call to {list_cats}:optioncount=1
ie. {list_cats optioncount=1 optional='0' all='All' sort_column='name'}
There’s a comprehensive list of WordPress Template Tags on the WP Wiki.
It should be the first port of call for anyone looking for help editing their template as the difference between Smarty syntax and PHP isn’t great and is easily learnt once you’ve digested what the template does.
And here are the docs on custom fields. It should be simple to add a Smarty function that’ll display my pic of the day again! (via the support forum)

WP Database Error – edit.php

Mark found a bug in the backend but it’s been discovered already and discussed. I applied my own fix below..
Error:

Warning: join(): Bad arguments. in …/wp-admin/edit.php on line 13

Fix:

if( is_array( $editable ) == false )
  $editable = array( "1" );
$editable = join(',', $editable);

On another note, if you can’t post blog entries as anything other than “Draft” or “Private”, then go to Options->Writing and check “May publish articles” for “Newly registered members:”
Now, if only we could set publishing rights to a certain user level, then new users could publish if the admin set their level high enough.

School Days in Mennonite Country

The author has 3 nice photos in this photo essay although his concerns in the last part are something to think about – is it an invasion of privacy and immoral to take these photos? I don’t think so, but I thought the photos could have been much better if the author had been able to photograph the kids from the front instead of shooting their backs and arousing suspicions.
Street photography is almost always difficult and add to that, on a “lonely country road” I can’t imagine any kids who’d stop to have their photograph taken by a stranger..

Now Running WordPress

The site is now running on WordPress. I’m going to get some breakfast.
Much Later – Still problems with feeds. I’m updating tonight to the CVS snapshot of WordPress from this morning so breakages are likely, but hang on in there! We’re almost home!
Later Still – Merging of the CVS version of WordPress is complete. I’ll have to track this as time goes by but it looks to have solved the problems we had earlier! 🙂