Support » Fixing WordPress » Page Order

  • rubicon

    (@rubicon)


    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • moshu

    (@moshu)

    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

    rubicon

    (@rubicon)

    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

    moshu

    (@moshu)

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

    rubicon

    (@rubicon)

    Yes.

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

    R

    moshu

    (@moshu)

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

    kmandras

    (@kmandras)

    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”);

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Page Order’ is closed to new replies.