Skip to content

Adding Content, Hyperlinks, and Embedding Videos

Hugo Chu edited this page Feb 4, 2025 · 1 revision

This guide covers the following topics:

  • How to add content to a page
  • How to add a hyperlink
  • How to embed a video in a page
  • Advanced: Modifying the file upload size limit

Adding Content

WordPress provides various content blocks that allow you to add text, media, and other elements to a page.

  1. Access the Dashboard Log in to the WordPress Dashboard of your website.

  2. Navigate to Pages In the left-hand menu, click Pages > All Pages This section contains all your website's pages.
    image

  • Find the page you want to edit and click Edit.
  • If you are creating a new page, refer to Creating a New Page
  1. Use the Page Editor
  • Type the content directly onto the page.
  • Click the + icon to add a content block.
    image
  1. Common Content Blocks Here are some common blocks you may use:
  • Paragraph image : Adds standard text content.
  • Heading image : Formats text as titles or subtitles.
  • List image : Creates bullet points or numbered lists.
  • Media & Text image : Aligns text with images or media.
  • Quote image : Highlights quoted text.
  • Table image : Inserts tabular data. To add images, refer to (Formatting of Pictures)[https://github.com/UoMResearchIT/SPRITE/wiki/Formatting-of-Pictures]

Adding a Hyperlink

Hyperlinks allow you to link to different pages within your site or to external resources.

  1. Highlight the text where you want to add the link.
    Screenshot 2025-02-04 174347

  2. Click the Link button image in the toolbar.

  3. Link to a page within your site:

  • Type a keyword related to the page you want to link to.
  • Select the correct page from the suggested list.
    image
  1. Link to an external resource:
  • Enter the full URL of the resource.
    image
  • Then press enter to this link.
  1. Editing Link Settings:
  • Click on the link text and then click the pencil icon to edit the link.
    image
  • By default, links open in the same tab. To open in a new tab, enable the "Open in new tab" option in the Advanced settings.
    image

Embedding a Video

  1. Open the Page Editor and click the + icon to add a block.
  2. Search for Video to see available video-related blocks:
  • Video image : Embeds a video from your media library.
  • YouTube image : Embeds a YouTube video using a link.
  1. Select the Video block and choose a video from your media library.
  2. Fill in optional details like Title and Caption.
    image
  3. Click Select to embed the video into your page.

Advanced: Uploading Large Files (Increasing File Upload Size)

  1. Access the Dashboard Log in to the WordPress Dashboard.
  2. Navigate to Theme File Editor Go to Appearance > Theme File Editor.
    Screenshot 2025-02-04 175716
  • If this is your first time accessing this section, you will see a warning message. Click "I Understand" to proceed.
  1. Modify functions.php
  • On the right side, locate and select functions.php.
    image
  • Scroll to the bottom of the file and paste the following code (set upload file size to 200MB):
@ini_set('upload_max_size', '200M');
@ini_set('post_max_size', '200M');
@ini_set('max_execution_time', '300');
  • Click Update File to save the changes.