WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Help With <?php wp_list_pages() ?> Tag

[Resolved] Help With <?php wp_list_pages() ?> Tag

  • Hey there,

    I have a question with the wp_list_pages tag. Currently, I have the following in the argument section of the tag: ‘exclude=21,15,18,19,20,22&title_li=’
    I was wondering how to include this line of code in there as well: ‘sort_column=time_created&show_date=created’

    I tried incorporating them into the same space like this:
    <?php wp_list_pages(‘exclude=21,15,18,19,20,22&title_li=’, ‘sort_column=time_created&show_date=created’); ?>
    But it didn’t work.

    Anybody know anything about php?

    Mainly, what I’m trying to do is change the way the pages are sorted. I’ve got a horizontal nav bar on the site I’m working on, and it ended up with “Welcome” page on the right side of the navigation, and my client would like it to be on the left.

    Thanks,

    �Andrew

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Help With <?php wp_list_pages() ?> Tag’ is closed to new replies.
Skip to toolbar