WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Page order not working (8 posts)

  1. neliban
    Member
    Posted 5 years ago #

    I have tried a variety of solutions previoulsy suggested, from installing mypageorder plugin to changing the php wp_list_pages, but the order of pages in the menu is still alphabetical. And yes I have tried inserting the numbers to order the pages. Nothing works! The theme I'm using is Vista-Like.

    SOMEONE PLEASE HELP!!

  2. MichaelH
    Member
    Posted 5 years ago #

    Link to download theme, please.

  3. neliban
    Member
    Posted 5 years ago #

  4. MichaelH
    Member
    Posted 5 years ago #

    That theme, if run at 2.7 and above uses the template tag, wp_page_menu().
    So in header.php of that theme, the wp_page_menu would need to be like this:

    wp_page_menu('sort_column=menu_order7show_home=1&menu_class=page-navi&depth=1');
  5. neliban
    Member
    Posted 5 years ago #

    I tried this but then I get 500 Internal Server Error!

  6. MichaelH
    Member
    Posted 5 years ago #

    Sorry had an '7' in that code ;{

    Try this:

    wp_page_menu('sort_column=menu_order&show_home=1&depth=1&menu_class=page-navi');

  7. neliban
    Member
    Posted 5 years ago #

    Thanks, that worked!

  8. mosillus
    Member
    Posted 4 years ago #

    MichaelH ///Thanx :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags