12. Creating page layouts

Featured image for Pitchfork Tutorial No. 12: Creating page layouts.

Explore the three ways to create a page layout and manage the page structure using Document Overview and the settings panel.

There are three main ways to create a page layout: copy another page, insert a pattern or build from scratch.

Method 1: Copy another page

1. Go to the page you want to copy and open the page editor.

2. In the top-right corner, click Options (⋮) > Code editor and copy all the code.

A screenshot WordPress page with arrows pointing to the three dot  menu in the top right corner and Code editor option.
A screenshot of the code editor version of a WordPress page with text indicating to copy all the code.

3. Go to Pages and click Add New Page.

A screenshot of WordPress dashboard with an opened Pages section and arrows pointing to Add New Page.

4. Add a title in the Title field.

5. In the first block below the title, paste the copied code directly in the block (you do not need to be in the Code editor).

A screenshot of WordPress page with arrows pointing to the title and block below the title with text indicating to paste the copied code.

6. Once the page renders, open the List View and make sure the settings panel is open, then proceed to edit the content.

A screenshot of WordPress page with arrows pointing to the Document Overview tool, List View and an opened Setting panel on the right.

Method 2: Insert a pattern

1. Go to Pages and click Add New Page.

2. Add a title in the Title field.

3. Open the block inserter (+), go to the Patterns tab and select Pitchfork: Page templates.

A screenshot of WordPress page with an arrow pointing block inserter toggle.
A screenshot of a WordPress page with an opened Patterns tab in the block inserter panel with arrows pointing the Pitchfork: Page templates and pre designed layouts.

4. Choose from several pre-designed layouts. Edit the template to customize it. This will not affect instances of the pattern on any other page.

Pitchfork page templates are not synced and are fully editable, meaning edits to a pattern on one page will not affect other pages.

The web team will be adding more patterns to the Pitchfork theme in the future.

Method 3: Build from scratch

With this method, you can build the page using mainly UDS blocks, as they are already customized to meet ASU Brand Standards for websites.

There are some patterns which are common elements in ASU pages. These can be found in the Block inserter (+) > Patterns tab > Pitchfork: Card Layouts and Pitchfork: Content section options.

A screenshot of a WordPress page with an opened Patterns tab in the block inserter panel with arrows pointing the Pitchfork: Card Layouts and pre designed card layout options.
A screenshot of a WordPress page with an opened Patterns tab in the block inserter panel with arrows pointing the Pitchfork: Content and pre designed content layout.

ASU brand standards for websites must be followed. Most UDS blocks are pre-styled, but these options must be manually implemented:

  • Text width: Text cannot exceed 2/3 of the width of the page. Use Columns to lay out the text so that it does not exceed 66% of the page width.
  • Heading Structure: Use proper heading levels (H1, H2, H3) for accessibility and usability
screenshot of the Column Block layout options in WordPress with arrows indicating the 66%-33% and 33%-66% layout options which meet ASU Web Standards for text with (66%) on websites.
A WordPress page screenshot showing various Heading levels with text indicating to use proper heading levels for accessibility and usability.

Tips for layout management

To manage the page layout and keep a track of your page structure use the Document Overview (List View) on the right side panel. It makes it easier to organize and move blocks.

A screenshot of WordPress page with arrow pointing to the Document Overview tool.

The right-side settings panel disappears, when you insert patterns. Click the Document Overview icon in the top-right to show it again.

WordPress glitch: When you insert a pattern, it gets placed at the bottom of the page instead of where your cursor is. Use the List View to drag and drop the pattern into the correct position.

A WordPress page screenshot of the List View with an arrow pointing to a newly added Pattern at the bottom and text indicating you can drag and drop the pattern to the correct position.

More information

For more information, see the documents: Pitchfork: Card Layouts and Pitchfork: Content Sections.