• michaelbuddy

    (@michaelbuddy)


    I’m working on a site: https://www.acappellau.com

    I installed wordpress and I’m using a theme called “Pool”

    found it here: https://www.alexking.org/software/wordpress/theme_browser.php

    Anyway, this particular theme has a horizontal nav bar. in the php code for the header it says:

    <div id=”pages”>
    <div class=”alignleft”>

    • “>Home
    • <?php wp_list_pages(‘title_li=’); ?>

    </div>

    this wp_list_pages snippet is supposed to create a list nav bar from the pages I have created. But it’s not doing it and I’m curious why not. In the theme browser linked above it appears to be working, displaying pages. Anyone know of a code tweak? I’m running wp 2.0 right now.

Viewing 1 replies (of 1 total)
  • fruitfly

    (@fruitfly)

    The <?php wp_list_pages('title_li='); ?> tag will pull pages that you’ve created by going to Write – Write Page, but from what I can see, you haven’t created Pages, only posts.

    If you have in fact created Pages, what are the ID numbers for your Pages? (To find this, go to Manage – Pages in your dashboard. You’ll see a list of any Pages you’ve created, and the ID numbers will be in the list.) I’ve run through 1 – 10, and the only IDs that have anything are 2 and 8, which are both posts.

Viewing 1 replies (of 1 total)
  • The topic ‘Can’t get my top navigation to show the pages correctly’ is closed to new replies.