I’m having trouble with the <?php wp_list_authors(); ?>
tag ….
I’ve created a new template page (“All Authors”) and have uploaded successfully — I’m able to select it as a Page Template when creating a page, however, I cannot get this tag to work within the template page.
What am I missing?
<?php
/*
Template Name: All Authors
*/
?>
<?php get_header(); ?>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="188" valign="top">
<?php get_sidebar(); ?>
</td>
<td width="330" valign="top">
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<span class="title"><?php the_title(); ?></span>
<span class="text">
<br><br>
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
</span>
</div>
<div class="authorlist">
<?php wp_list_authors('optioncount=1&show_fullname=1'); ?>
</div>
<?php endwhile; endif; ?>
<br><br>
<small><?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?></small>
</div>
</td>
<td width="200" valign="top">
image
</td>
<td width="100%"> </td>
</tr>
<tr>
<td colspan="4" width="100%">
<?php get_footer(); ?>
</td>
</tr>
</table>