Snippet Embed
A Snippet Embed block is typically used to add features that can’t be created with standard WordPress blocks. This includes interactive tools, custom or specialized layouts, and third-party features such as forms, calendars, maps, and embedded videos. It’s also commonly used for content that is managed in another system and displayed on the website through embedded code, allowing that content to stay up to date without being edited directly in WordPress.
When to Use This Component
USE CASES OR SCENARIOS
- You’ve been given code by IT or Web Services
- A service (like a form) provides embed code
- A page requires a specific feature that isn’t available in standard WordPress blocks
- If you can achieve the same result with a normal WordPress block (text, image, video, button), use the normal block instead.
Component Do’s & Don’ts
There might be a time when you don’t know whether to use a Snippet Embed component or not. Here are some examples of how to effectively use a Snippet Embed component and when you shouldn’t use one:
DO
When using a Snippet Embed block, always use snippets that are approved or provided by your university and place them only where they are intended to appear on the page. After adding a snippet, be sure to test the page to confirm it displays and functions correctly. If you are unsure what a snippet does or how it should be used, ask for assistance before publishing the page.
When using a Snippet Embed block, do not edit the code unless you fully understand what it does, and never copy embed code from unapproved or random websites. Snippet embeds should not be used for regular content such as paragraphs or images, and adding multiple snippets without guidance can cause conflicts or unexpected issues on the page. Snippets may only be added with the approval and assistance of Web Services to ensure the website remains secure, accessible, and functioning properly.