WordPress.org

Forums

Page Order (7 posts)

  1. rubicon
    Member
    Posted 10 years ago #

    Hi everyone,

    Bit of a newbie to all this. Downloaded and installed all the files yesterday and everyhting seems to be working which is great.

    However when I create new "Pages" and try and order them differently, nothing changes?

    How do I change the order? What do I type in the "Page Order" slot?

    I've tried different numbers but no change - any suggestions?

    Thanks in advance

    Rubicon

  2. moshu
    Member
    Posted 10 years ago #

    The number typed in the Page Order field works only if the proper parameter is included in the template tag. See
    http://codex.wordpress.org/Template_Tags/wp_list_pages

  3. rubicon
    Member
    Posted 10 years ago #

    Thanks moshu.

    I tried adding the following:

      <?php wp_list_pages('sort_column=menu_order&title_li=<h2>' . __('The Word') . '</h2>' ); ?>

    into the sidebar.php file

    but no change?

    Can anyone help?

    Thanks

    Rubicon

  4. moshu
    Member
    Posted 10 years ago #

    And do you have also the numbers for the order typed and saved in the Edit Pages > Page order field?

  5. rubicon
    Member
    Posted 10 years ago #

    Yes.

    Do I have to enter the code in a particular place in the sidebar.php file to make it work?

    R

  6. moshu
    Member
    Posted 10 years ago #

    Try a hard refresh: Ctrl+F5. If it still doesn't work, delete everything from the /cache/ folder under the /wp-content/

  7. kmandras
    Member
    Posted 10 years ago #

    Haven't you installed Widgets? If yes, you have to modify /wp-content/plugins/widgets/widgets.php too.

    line 639: wp_list_pages("sort_column=menu_order&title_li=0");

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags