• Resolved Ihks

    (@ihks)


    Hi everyone!

    I have a problem with my WordPress setup. I use pages, and i’ve added 5 of them and it worked great. The problem is the order they appear on the webpage, they are now alphabetical but I would rather choose the order myself and I did this in the Admin panel but they are still in Alphabetical order.

    You’ll find the project here:
    http://www.victorsvedberg.se/katolskakyrkan

    And the pages i’m talking about are:

    Bilder
    Katolsk tro
    Kontakta oss
    Om oss
    Ungdomsverksamhet

    Would rather see,
    Katolsk tro
    Ungdomsverksamhet
    Om oss
    Kontakta oss

Viewing 4 replies - 1 through 4 (of 4 total)
  • Ordering the Pages is a two step process:
    1. adding the proper number in the “page Order” field
    2. Using the proper parameter in the wp_list_pages template tag

    Thread Starter Ihks

    (@ihks)

    1.) Done

    2.) I’m new at this, and I don’t speak PHP and I can barely understand CSS. It would be terrific if you could be more specific. In what file in my folder do I need to add what to get the pages to line up according to the order I set in the Admin panel?

    I’, using the theme Fjords01 if it does help. I’d gladly post code from my setup if it helps in locating the things to change/replace.

    if you can post the code, you can find it.

    look in your theme’s .php files (start with the most logical-sounding ones first, and use your text-editor’s find feature to find ‘wp_list_pages’

    then read the link moshu posted… follow the instructions to use the correct page order.

    when you’re done doing that, you’ll have learned somthing and then you won’t be quite as new at this, right?

    … give a man a fish… teach a man to fish… you’ve heard it all before.

    Thread Starter Ihks

    (@ihks)

    Ahh, thanks! I took a quicknap and gave it a few minutes and problem solved, added:

      <?php
      wp_list_pages(‘sort_column=menu_order&title_li=<h2>’ . __(‘Prose’) . ‘</h2>’ ); ?>

    in the sidebar.php.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Help appriciated, order of pages’ is closed to new replies.