Ordering Lesson Pages (Without BU Navigation)

The BULB Lesson Page custom post type uses a hierarchical alignment. This means that users can set the order of lesson pages. Otherwise, the system will arrange them either by date published or alphabetical order – whichever your default installation uses.

Turn on Page Attributes

  1. The Lesson Page Attributes module in Document Settings allows you to set page parents and to change the order of your pages.
  2. If you do not see the Document settings, click the Settings icon next to “Publish/Update” to expand your sidebar menu.
document settings locations
Document Settings

On the right of your screen, under Document Settings, look for Lesson Page Attributes. Here, you can:

  1. Assign your Lesson Page to a parent page
  2. Set its order with the other child Lesson Pages.

Assign a Parent Page

Making the first page of your Lesson the Parent Page allows you to organize your Lesson Pages into an ordered hierarchy. The Parent Page is a top level page, with child pages nested under it. Please note, although WordPress allows multiple hierarchy levels, this version of BULB only utilizes two levels, the Parent and 1st Child.

For example, you could have an “Introduction to Economics” page as a top level or parent page, and then have child pages “Macro-Economics” and “Micro-Economics” under it. The URLs might look like this:

  • http://example.com/lessons/introduction-to-economics/
  • http://example.com/lessons/introduction-to-economics/macro-economics/
  • http://example.com/lessons/introduction-to-economics/micro-economics/

Some page slugs, such as “author,” “tag,” and “category” are reserved for special uses. You cannot create a child page if the parent page uses one of those reserved slugs.

Let’s say you have three lesson pages: Introduction to Economics, Micro-Economics and Macro-Economics. If you want Introduction to Economics, to be the parent page:

  1. From the dashboard, select BULB Lessons » All Lesson Pages on the left side navigation bar. This will take you to a list of all of the lesson pages you’ve created.
  2. On the Introduction to Economics editor page, locate the Lesson Page Attributes module to the right of the editor.
  3. Assign “(no parent)” for the Parent Lesson Page since this page will be the lesson’s parent page.
steps for assigning a parent page
Assign a Parent Page

Assigning Child Pages

Child Pages are assigned to a Parent Page in the Lesson Page Attributes module:

  1. Locate the Lesson Page Attributes module to the right of the editor.
  2. With the Parent Lesson Page drop down, select a parent page from the list of available Lesson Pages.
  3. Click the Update button.
steps to assign a child page
Assign a Child Page

Ordering From the Page Editor

You can set the order in which Lesson Pages are displayed by using the Lesson Page Attributes module on the page editor.

  1. Locate the Lesson Page Attributes module to the right of the editor.
  2. In the Order box, assign an order number for the page. This tells WordPress to display this page in the order assigned relative to the Lesson Pages.
  3. Click the Update button.
steps to order from the editor
Ordering from the Editor

Leaving the page order as “0” means that this will be the first page in your list. If more pages are set to “0” as well, then the hierarchy will either be publish date or alphabetical (as set up on your site). If you put a “1” in this box, all pages that are “0” will come before it. This allows WordPress to reorder pages in the order you want to display.

Ordering From Quick Edit of the Page

The “Quick Edit” feature gives you access to the administrative portions of the page. When you hover your cursor over a title of a page (without clicking), a few links appear below the title name. One of these links is “Quick Edit.” It does not show content, only the publishing information.

quick edit
Hover over the page title to find Quick Edit

In the column of tools on the right side of your browser, you can change the order of the page by changing the “Order” number.

quick edit fields
Quick Edit fields

BU Navigation Plugin

In order to make page assignment and ordering easier for the user, Boston University provides an open source page ordering plugin called BU Navigation. The BU Navigation plugin creates an Edit Order tab which allows the user to view and edit the navigational structure of their site. Improving upon the standard WordPress interface, users are now able to visually move pages to their desired position, gain insight into the permission status, size and structure of each section and even add and edit links.

Information on BU Navigation can be found at https://developer.bu.edu/bu-navigation/