• Resolved williamkwp

    (@williamkwp)


    First, I’m new to WP, using the default Twenty Fourteen theme.

    I’ve created a static “home page” and seven other pages, the titles of which (About, Contact, etc.) appear at the top right in alphabetical order in a horizontal line. All of that works fine.

    I learned from the Codex that I can have the order of the seven page titles appear in the order of my choosing (rather than alphabetical) based on the order number I assign to them in the Edit or Quick Edit section for each individual page. After putting order numbers in for each page, the page titles still appear in alphabetical order on the home page.

    Then I discovered in the Codex (on page “Function Reference/wp list pages”) that I need to insert some different code, I assume in the Twenty Fourteen template HTML. The Codex says to use this code to sort pages by their assigned order:

      <?php wp_list_pages(‘sort_column=menu_order’); ?>

    Question: Where do I insert this code?

    I went to DASHBOARD > APPEARANCE > EDITOR and see what I assume is the HTML for the Twenty Fourteen template. But I don’t know if this is where the above code is to be added. If so, where within the existing HTML? Or is it to be added somewhere else?

    I’m obviously trying to figure this out without having to hire a WP developer — but if I’m above my pay grade with these questions, let me know.

    Thanks for any help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    (@esmi)

    You’re actually approaching this from the wrong direction. Try using a custom menu instead. It’s a lot easier. ??

    Thread Starter williamkwp

    (@williamkwp)

    Done — and it worked perfectly.

    Thanks very much for this guidance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Setting order of page titles on home page’ is closed to new replies.