Support » Themes and Templates » Formatting Page List

  • Hi,
    I’m new to the whole wordpress thing- and i’m trying to make my own template. The codex is pretty helpfull and i’ve found a few other websites so i can create a basic template.

    However i want to list pages in a way that works with a Javascript i found on the internet.

    <div id="navibar">
    <ul id="globalNav">
    <li><a href="" onmouseover="showInfo(0)">Page 0</a></li>
    <li><a href="" onmouseover="showInfo(1)">Page 1</a></li>

    <div id="breadCrumb_0" style="display: none">
    <li><a href="">1st Child of Page 0</a></li>
    <li><a href="">2nd Child of Page 0</a></li>

    <div id="breadCrumb_1" style="display: none">
    <li><a href="">1st Child of Page 1</a></li>
    <li><a href="">2nd Child of Page 1</a></li>

    For the first list, i have used <?php wp_list_pages('depth=1'); ?> but i don’t know how to get the onmouseover bit in there.

    And I have no idea what to do for the subpages.

    One more thing- the Pages will never change. They are set in stone. But the sub pages may be renamed, rewritten, moved etc etc.

    This seems too complecated for a someone who can’t code php (and is scared by template tags, because they LOOK LIKE php :p)

  • The topic ‘Formatting Page List’ is closed to new replies.