Author Archives

Earlier, you saw how to include multiple sidebars using the get_sidebar() function. Listing 6-24 shows how sidebars might be included in an author.php template.

Listing 6-24. Including a sidebar file with author information

<?php get_sidebar('author'); ?> // sidebar-author.php

In an author sidebar, you might use a text widget to provide a short bio of the author in question. You'll see how to access the author profile information directly in Chapter 10.

Was this article helpful?

0 0

Post a comment