Support » Fixing WordPress » Arranging Page Order on actual website

  • Okay. I can change the Page Order under the admin thing, and have done so a million times, rearranging it over and over. It works just fine. BUT – when I click “View Website”, the pages are arranged alphabetically. No matter what I do. I’ve tried adding fields, that worked to rearrange the posts under admin too. But it didn’t change anything on the actual website… still alphabetical.

    I’m usually a very resourceful person and I hate asking for help. But this is very annoying, and I can’t find any way to modify the presentation on the website. I do NOT want it alphabetical. Sigh.

    Help?!?! Explain slowly, please, I’m code-stupid.

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • In the sidebar code for your page, there is a php function which basically asks WordPress for a list of pages. In the default template, it is on line 41 of sidebar.php, and looks like this:

    <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>

    To get it to list pages in the in the order defined by the Page Order option in Write->Write Page, replace that line with the following:

    <?php wp_list_pages('sort_column=menu_order&title_li=<h2>Pages</h2>' );

    There’s more information on the wp_list_pages function in the Codex.

    Thread Starter Seeker

    (@seeker)

    Thanks.

    I don’t have access to the sidebar php to make it writable, I had someone else install it for me. I guess I need an ftp client and access to the server.

    Ah. Maybe not. “Note: of course, you can also edit the files/templates in your text editor of choice and upload them. This online editor is only meant to be used when you don’t have access to a text editor or FTP client.”

    Thanks again.

    If you have access to the admin panel, you can directly edit pages there as well. Either under manage files, or theme editor.

    Thread Starter Seeker

    (@seeker)

    Ah, yes. That I could, if only the files were writable. I’m beginning to hate the “If this file was writable you could edit it” message. I also cannot upload files without access to the server, so there went that option.

    Now if only the guy who set it up for me (the one with access to the hosting server) would get online, I could get him to make that folder writable, give me ftp access, and then I’ll be set. I’ll have to yell at him for not doing it in the first place, but not too loud, since he set it up for me. Heh. 🙂

    Thanks for your help. Now, to learn XHTML and CSS *rolls eyes*. If only computers spoke english…

    As I see you are on a subdomain and usually it is possible to set up the ftp access ONLY for that subdomain separately, without access to the rest of the site – and in that case you’d be OK.

    A great Ftp client:

    http://www.cuteftp.com/

    Its cool and U can reinstall after 30 days to use longer. Fixed all my ftp probs.

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