Support » Fixing WordPress » List pages by page-id

  • Resolved El Scampio


    Hi, i’m utterly new to wordpress and building a site as a whole.

    I currently have 7 pages.

    I notice they are listed by alphabetical order, is there a way to change this so they are displayed by what page number they are?



Viewing 9 replies - 1 through 9 (of 9 total)

<?php wp_list_pages('sort_column=menu_order'); ?>

sort_column not sort_row.

Oh i just noticed that it uses custom function dp_list_pages(). try replacing it with standard WordPress wp_list_pages(). Does it works like the custom one?

I changed it to <?php wp_list_pages('sort_colum=menu_order'); ?>

Is has worked but it has added the word “pages” in, bullet points and messed up the alignment.

That’s just an example. You need to customized it according to your theme:
<?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>


Thank you so much, that has worked.

I I offer you some of my scotch egg i’m devouring as a reward.

Thanks again

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘List pages by page-id’ is closed to new replies.