-
Notifications
You must be signed in to change notification settings - Fork 0
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
WordPress provides various content blocks that allow you to add text, media, and other elements to a page.
-
Access the Dashboard Log in to the WordPress Dashboard of your website.
-
Navigate to Pages In the left-hand menu, click Pages > All Pages This section contains all your website's pages.
- Find the page you want to edit and click Edit.
- If you are creating a new page, refer to Creating a New Page
- Use the Page Editor
- Type the content directly onto the page.
- Click the + icon to add a content block.
- Common Content Blocks Here are some common blocks you may use:
- Paragraph
: Adds standard text content.
- Heading
: Formats text as titles or subtitles.
- List
: Creates bullet points or numbered lists.
- Media & Text
: Aligns text with images or media.
- Quote
: Highlights quoted text.
- Table
: Inserts tabular data. To add images, refer to (Formatting of Pictures)[https://github.com/UoMResearchIT/SPRITE/wiki/Formatting-of-Pictures]
Hyperlinks allow you to link to different pages within your site or to external resources.
-
Highlight the text where you want to add the link.
-
Click the Link button
in the toolbar.
-
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.
- Link to an external resource:
- Enter the full URL of the resource.
- Then press enter to this link.
- Editing Link Settings:
- Click on the link text and then click the pencil icon to edit the link.
- 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.
- Open the Page Editor and click the + icon to add a block.
- Search for Video to see available video-related blocks:
- Video
: Embeds a video from your media library.
- YouTube
: Embeds a YouTube video using a link.
- Select the Video block and choose a video from your media library.
- Fill in optional details like Title and Caption.
- Click Select to embed the video into your page.
- Access the Dashboard Log in to the WordPress Dashboard.
- Navigate to Theme File Editor
Go to Appearance > Theme File Editor.
- If this is your first time accessing this section, you will see a warning message. Click "I Understand" to proceed.
- Modify functions.php
- On the right side, locate and select functions.php.
- 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.