Add or Edit a Page
Creating a Page with the Block Editor: In Brief
- Enter a title.
- Save your work. (Save often.)
- Enter page content as blocks.
- Place the page under the correct Page parent.
- Preview & Publish. (Preview, Preview, Preview.)
Steps for Adding or Editing a Page: In Detail
1. Enter a Title
The title block will always be pre-populated as the very first element of the block editor content area. Every page must have a title. Do not leave this blank. On the front end this displays the main page title and is the heading level 1 (h1
) element on the page. This will also be the page’s URL “slug”, so it’s important to choose something descriptive but also concise.
2. Save Your Work
The buttons to save, preview, and publish the page can be found in the Editor top bar. WordPress will periodically autosave your work, but it is still good to get in the habit of periodically saving manually with the “Save Draft” button.
You should always select the Preview Changes button before publishing your changes. Previewing allows you to make sure everything looks right before updating for real.
3. Enter Your Page Content as Blocks
4. Place the page under the correct parent
Every HRS page except several reserved top-level pages must have another page as its parent.
To assign a page’s parent locate the Page Attributes panel in the Document tab of the inspector sidebar. Select the appropriate parent page from the Page Parent menu.
Why is this important? Pages in WordPress are organized hierarchically in relation to the main domain or “root” (usually the home page). You can picture this like a tree or an outline:
- Home page (the root)
- Top-level page
- Top-level page (parent page)
- A sub-page (child page)
- A sub-page (child & parent page)
- A sub-page (child page)
This hierarchy corresponds to the web address (URL) of every page. Take the Faculty Recruitment Toolkit page, for example. Its address is https://hrs.wsu.edu/managers/recruitment-toolkit/faculty-recruitment-toolkit/
. It is a sub-page of the Recruitment Toolkit page (https://hrs.wsu.edu/managers/recruitment-toolkit/
), which is itself a sub-page of the Managers page (https://hrs.wsu.edu/managers/
), which is a top-level page.
On the HRS website the root domain is https://hrs.wsu.edu/
. All pages at the top level come immediately after the root — pages like Managers (https://hrs.wsu.edu/managers/), Employees (https://hrs.wsu.edu/employees/), and HRS Contacts (https://hrs.wsu.edu/hrs-contacts/). Only reserved landing pages and cornerstone pages should be at the top level. All other pages must be assigned as sub-pages to another page.
5. Preview & Publish/Update
Before publishing the page, make sure to use the Preview tool to view what the page will look like when published. When you’re ready to make the new page (or changes to the existing page) public for all the world, select the Publish or Update button.
If you’d like to schedule it to be published some time in the future: select the Immediately link next to the Publish label in the Status and visibility panel of the document inspector settings. Enter a date and time, select OK, and then select Publish.