WordPress.org

Ready to get started?Download WordPress

Forums

page ordering (2 posts)

  1. cornucopiaarts
    Member
    Posted 6 years ago #

    hi,

    i'm working on a new website. the page ordering is putting the pages in alphabetic order instead of in the order that we want. i set the order with the page order setup sidebar on the pages i'm writing. it is not putting them the order i'm setting. i don't know how to fix it.

    any help out there?

    bill

  2. brockangelo
    Member
    Posted 6 years ago #

    Your post has me a bit confused. I think what you are saying is that you want to arrange your page list other than alphabetically. What you need to do is edit the "template tag" that is pulling your list of pages in your sidebar.

    You should read up on Template Tags if you haven't already since they control how everything works. Well most everything. The template tag that is probably calling your page list is called wp_list_pages.

    First things first: search through your sidebar.php and see if you find wp_list_pages. If so, you can edit the parameter of that to something like this:

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

    Hope this helps/works

Topic Closed

This topic has been closed to new replies.

About this Topic