pageList()

Description

This tag returns an HTML unordered list of all pages. The current page is marked with an 'active' class for CSS styling.

Example output

<ul> 
    <li id="about"> 
        <a href="/about">About</a> 
    </li> 
    <li id="work" class="active"> 
        <a href="/work">Work</a> 
    </li> 
    <li id="blog"> 
        <a href="/blog">Blog</a> 
    </li> 
</ul>

Usage

<div id="menu"> 
    <?php echo pageList(); ?> 
</div>