Hi everyone,
I am working on implementing the Fauna theme on my weblog, and there is a bug I do not understand at all.
There is a template file (template-authormeta.php, FYI) that makes use of the wordpress template tag wp_list_authors, which contains this code:
<?php /* Fix an annoying WP bug where wp_list_authors borks when there's only one user */
$numauthors = $wpdb->get_var("SELECT count(*) FROM $wpdb->users");
if ($numauthors > 1) { ?>
<?php printf(__('There are %s authors/users attached to this weblog:','fauna'), $num_authors) ?>
<ul>
<?php wp_list_authors('optioncount=1&feed=RSS'); ?>
</ul>
<?php } else { ?>
<?php _e('There is one author attached to this weblog.','fauna'); ?>
<?php } ?>
Now, if you look at my sidebar, on my testing blog, you notice that this template tag is not pared at all, nothing happens!?
http://baudesign.ca/ksl/?author=1
What is wrong here? Any idea?
Thanks
Patrick