Grow your CSS skills. Land your dream job.

help with wp_list_pages()

  • # June 13, 2009 at 10:32 pm

    I am trying to list only a few pages in the nav of my site. I have it working, but for some reason it won’t list the last page. I think the reason it might not be working is because the page is a child page and not a main page. The code I am using is

    include=13,30,17,105

    number 105 won’t list in the nav.

    what is the trick to get the sub page to list?

    # June 13, 2009 at 10:55 pm

    got it figured out. I added another call of the wp_list pages and put in this

    <?php wp_list_pages (‘title_li=&include=105&sort_column=menu_order&depth=0′); ?>

    now my sub page is listed.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".