static pages – formatting php tags?
-
Hello
I’m a php/css newbie, so bear with me
With WP2, I’ve created a static page for listing contributors on my site, by simply using the php tag:
<?php wp_list_authors(‘optioncount=1’); ?>which just lists them with generic formatting
Now for example, currently in my theme (blix), in single.php it uses the following:
<em class=”author”><?php the_author(); ?>this formats the author name nicely with an icon etc.
But if I use the following in the static page:
<span class=”author”><?php wp_list_authors(‘optioncount=1’); ?></span>wp_list_authors doesn’t get formatted in the way it does when displaying the single page.
I’ve tried looking through the docs, but no luck. I guess I’m being a complete idiot here! but any help?
thanks
- The topic ‘static pages – formatting php tags?’ is closed to new replies.