WordPress: Using Patterns and Blocks

Learn when to use Patterns from the Pattern Library and when to use basic blocks in the WordPress editing environment for the University of Southern Maine's public website .

WARNING: You must be on campus or connected to the VPN to log in to WordPress. For instructions, refer to How to Connect Remotely Using the Remote Access VPN.

Table of contents

Definitions

  • Basic blocks: Default pieces of content that may require customizations to meet branding and accessibility compliance; find out which basic blocks are approved to use without a pattern 
  • Block Inserter: Button used to find a new pattern or block and then add it to a page
  • Greeked text: Nonsense text that often includes "lorem ipsum" or other Latin words as a placeholder; read the Wikipedia entry 
  • List view panel: A nested, structural view of all blocks on the current page (formerly called the "Page tree")
  • Pattern: A customized display of one block or a group of blocks with placeholder images and greeked text
  • Pattern Library: An approved group of Patterns available for page content display — except the "Admin Only" categories, which are strictly for use by the Marketing team
  • Placeholder: Text or images used to hold space in a Pattern and provide an example of the ideal word or character count and image size for that specific Pattern
  • Row Layout: A top-level block that uses Sections to provide structure for page content
  • Section: A block that helps provide structure for page content
  • Settings panel: Displays available settings for either the overall page or one selected block (check the "List view" panel to verify your selection)

Back to top 

Overview

Basic blocks are the smallest pieces of content on your page. Think of blocks like the individual parts of a new piece of flat-pack furniture you need to assemble yourself (i.e., IKEA or Wayfair). You have a general idea of what you're supposed to do, but when you look at the instructions, you realize it takes a lot of work to make the parts into a usable structure.

Patterns are pre-designed blocks with placeholder content. Think of patterns like the professional assembly option for flat-pack furniture (at no extra charge!), where someone else takes the time to ensure all the pieces are put together correctly, providing you with a ready-to-use piece of furniture.

Of course, there are times when you can use some of the basic blocks on their own , but this is where the flat-pack furniture metaphor falls apart. Blocks are most often used alone when adding paragraph content to a page that only requires headings and maybe a simple image or two (like a News Post). When you start adding lists, tables, accordions, calls to action, etc., you need to use the Pattern Library .

INFO: You must navigate directly to the Pattern Library to add new Patterns to your page . If you use the search option to find basic blocks and Patterns, you will get results for both and won't be able to tell which blocks and Patterns are approved for you to use. 

The Pattern Library is a collection of categorized Patterns — built by either US:IT or the Marketing team at USM — with instructional or greeked text and placeholder images you will need to replace with your own content. In some cases, Patterns have an optional heading or paragraph/text block that can be removed at the Section or Column level.

WARNING: Do not change fonts, colors, or other settings within a Pattern unless explicitly instructed to by someone on the Marketing team or a how-to article here in the TDX Knowledge Base.

Patterns are maintained by the Marketing team and updated as needed, so make sure to always pull new Patterns from the Pattern Library instead of duplicating elements already on your pages.

Back to top 


How-to: Add a new Pattern

Step 1: Use the block Inserter

If you don't have an empty paragraph block, add one and make sure it's selected. Then click on the block Inserter, which is the blue button with a plus sign in the top left corner of the page.

The block Inserter and a paragraph block are circled.

Step 2: Open the Pattern Library

By default, the block Inserter displays the "Blocks" tab. Click on the 'Patterns" tab to display a list of categories. This is the Pattern Library.

The Patterns tab and the list of categories are circled.

Step 3: Select a category and a pattern

Browse through the categories to find the pattern that best fits your content needs.

Click on a category and hover over the thumbnail images to see the Pattern titles. Click once on a Pattern to insert it into your page or post.

The Patterns tab, the category for accordion, tables, and tabs, and the accordion pattern are circled.

In the pictured example, we're selecting the accordion Pattern (click on the image thumbnail to see the full-sized version).

Step 4: Add your content to the Pattern

After placing a pattern, you can add your content. By default, each pattern includes greeked text to help you understand where to add your content and the ideal word or character count to use for the space. All placeholder or greeked text needs to be replaced or removed. Depending on the pattern, there may also be a placeholder image that will need to be replaced with one of yours.

If you are copying and pasting from another application — Word, Google Docs, email, etc. — make sure to use the "Paste and Match Style" option (language may vary slightly by browser) to paste your text into WordPress. If you don't use this specific paste option, hidden code may be carried over, changing how the content displays or even breaking the Pattern. 

INFO: Empty Blocks (e.g., Section, Paragraph, Text (Adv), Heading, Row Layout, etc.) will hold space on the front end. This may display as extra gaps in your content and can confuse screen reader users.
The heading and paragraph text are circled in the main edit space and the List View panel. In some cases, you can remove parts of a Pattern that don't serve your content needs. For example, you may not need a text block or a heading block above your accordion set.

It's not enough to delete the text within a "Section" or "Column" block; you need to remove the entire "Section" or "Column". Patterns are fully labeled in the List View panel, as shown in the example (click the image thumbnail to see the full-sized version), to help you identify what to remove.

Step 5: Delete the optional intro text

In some patterns, you can remove the introductory heading and paragraph text, or just the paragraph text, depending on your needs. However, you must delete these blocks at the Column or Section level to maintain the Pattern's integrity.

Do not delete the heading and keep the paragraph text; use the heading to introduce the contents of your accordion.

The paragraph text is circled in the List View panel and the main edit screen, and the delete menu item is circled. The heading and paragraph are circled in the List View panel and the main edit screen, and the delete menu item is circled.

Back to top 


Approved basic blocks

Section Basic block title Additional settings
Kadence Blocks Row Layout Change number of rows/columns
Kadence Blocks Section n/a
Kadence Blocks Text (Adv) Change heading level if not paragraph
Kadence Blocks Spacer / Divider Height: 80px, Divider color: #647982, Divider height: 3, Divider width: 100% (or 95% for full-width pages)
Text Paragraph n/a
Text Heading Change heading levels as needed
Media Image Change alignment based on your needs (left, right, center, etc.)
Media Gallery n/a
Design Group n/a
Design Row n/a
Design Stack n/a
Design Grid n/a
Design Separator Use the "Wide Line" version
Design Spacer Height is flexible based on your needs

Back to top 


Patterns to use instead of basic blocks

Category Pattern title Basic block title
Accordions, tables, & tabs Accordion section Accordion
Accordions, tables, & tabs Table: Header row and column Table
Accordions, tables, & tabs Table: Header row only Table
Accordions, tables, & tabs Tabs: Horizontal Tabs
Buttons Button: Dark blue Buttons (Adv)
Callout blocks Count up block with title Count Up
Callout blocks Count up block without title Count Up
Callout blocks Highlights: Gold Icon List
Callout blocks Testimonial carousel Testimonials
Forms Long form Form
Forms Short form Form
Lists Bulleted list List
Lists Numbered list List
Media: Images & video Image carousel Gallery (Adv)
Media: Images & video Video: Full-width with caption Embed
Icon blocks Icon CTA: Single Icon
Icon blocks Icon CTA: Double
Icon CTA: Double with heading
Icon
Icon blocks Icon CTA: Triple
Icon CTA: Triple with heading
Icon
Icon blocks Icon CTA: Quad
Icon CTA: Quad with heading
Icon
Icon blocks Info box: Double icon grid
Info box: Double icon grid with heading
Info box
Icon blocks Info box: Double icon grid with CTAs
Info box: Double icon grid with CTAs & heading
Info box
Icon blocks Info box: Single icon
Info box: Single icon with CTA
Info box
Icon blocks Info box: Triple icon grid
Info box: Triple icon grid with heading
Info box
Icon blocks Info box: Triple icon grid with CTAs
Info box: Triple icon grid with CTAs & heading
Info box
Info blocks Info box: Double image with button CTAs
Info box: Double image with hyperlink CTAs
Info box
Info blocks Info box: Triple image with button CTAs
Info box: Triple image with hyperlink CTAs
Info box

More Pattern Library options

Category Pattern title Included basic blocks
Callout blocks Block quote: Gold Row layout, Section, Text (Adv), Buttons (Adv)
Callout blocks Disclaimer Section, Text (Adv)
Callout blocks Pullquote Text (Adv)
Callout blocks Subsite alert Row layout, Section, Text (Adv)
Info blocks Wide info block: Left image Row layout, Section, Image, Text (Adv), Buttons (Adv)
Info blocks Wide info block: Right image   Row layout, Section, Image, Text (Adv), Buttons (Adv)
Info blocks Info block: Single image with button CTA Row layout, Section, Image, Text (Adv), Buttons (Adv)
Media: Images & video Image: Full-width with caption Row layout, Section, Image
People profile Profile bio Row layout, Section, Buttons (Adv), Text (Adv)
Spacer Main column spacer Spacer

Special request Patterns

If you are interested in adding any of the following patterns to your subsite, submit a Website Service Request . The patterns in the following table require additional customization from the Marketing team before they will work properly for you.

Category Pattern title Additional settings
Admin only News carousel Marketing customizes by department
Admin only Events carousel Marketing customizes by department
Admin only People page default Marketing customizes by department
Admin only Hours page default Marketing customizes by department
Admin only Academic Programs page default Marketing customizes by department
Admin only Icon CTA grid with background – 1 row Marketing customizes based on needs
Admin only Icon CTA grid with background – 2 rows Marketing customizes based on needs

Back to top 

Print Article

Related Articles (1)

Upload images to the WordPress Media Library of a department subsite or the shared Calendar of Events, Directories, News, or Scholarships subsites for the University of Southern Maine public website.