Author: Sarah Dickson

Embedding Content from Box into WordPress

Embedding Content from Box into WordPress

Due to hard disk quota limitations, we highly recommend that LMU Build users host large media files (like videos or audio) on an external site and embedding it into WordPress instead of uploading your media content to WordPress directly. For videos, we recommend uploading them to YouTube or Vimeo, but Box can work as well. This tutorial will teach you how to use Box to host your media and embed into WordPress, using an audio file as an example.

All faculty, staff, and students at LMU have unlimited Box storage available to them. You can upload files up to 15GB in size and access them from any device with an internet connection. For more information about Box at LMU, please see this page.


Before you get started:

  1. Upload your media files to Box
  2. Create a new post or page on your WordPress site

Step 1. Navigate to your media file on Box. First, we have to make sure the correct sharing settings are in place so that visitors to your site will be able to view your media without logging in to Box. Hover your mouse over the file and click on the Share button.

Step 2. Toggle the option for a Share link, then change the sharing settings to ‘People with link‘ and ‘Can view‘.

Step 3. Close the Sharing settings, then hover over the file again and click on the three dots, then More Actions. Choose Embed Widget.

Step 4. Adjust the size of the widget as needed (you can also change this later), then click Copy.

Step 5. With the embed code copied to your clipboard, navigate to the WordPress page you want to embed the file into. Create a Custom HTML block (found in the Widgets category, or also by searching for ‘Custom HTML’).

Step 6. Paste the code into the new block, then click Preview to see how it will look on your site. If you decide to modify the size of the widget after previewing, note that you will need to re-copy the code into the Custom HTML block.

Once you’re satisfied with how the embedded content looks in the preview, go ahead and publish your page. Your media will now be accessible through your WordPress site, but it will not take up any space in your disk quota!


Still have questions?

Stay tuned for more LMU Build tutorials, or reach out to the ITS Service Desk for more targeted support!

Creating and Editing WordPress Pages

Creating and Editing WordPress Pages

This three-part tutorial will introduce you to Pages in WordPress. We will go over the different components of the Pages interface, as well as how to create new pages and edit existing ones.

Jump To: Pages Interface | Adding a New Page | Editing a Page


Part One: Navigating the Pages Interface

Log in to your WordPress site and click Pages on the sidebar.

Screenshot of the WordPress main navigation with the 'Pages' button highlighted in red.

This is where you can view all of your pages, who created them, and when they were last published or edited.

Screenshot of the pages interface with the title, author, and date columns highlighted

You can also delete and edit pages in bulk, add new pages, and search them from this panel. See below for more instructions on editing a single page at a time.

Screenshot of the pages interface with the bulk actions, add new page, and search bar highlighted

Part Two: Adding a New Page

The latest version of WordPress has greatly simplified and streamlined their page-editing tools so you can focus fully on creating content. When you click “Add New” on the Pages dashboard, you will be brought to the Page Editor for a new, blank page.

The WordPress Page Editor can be split into three sections:

  1. Content Editor
  2. Metadata and Block Settings Editor (Sidebar)
  3. Main Toolbar (Top)

Content Editor

The Content Editor is where you add text and media to your page. When you create a new page, you should give it a unique title that indicates what kind of content will be on the page (you can edit this at any time!). Then you can add content using WordPress’s block editor.

Screenshot of the content editor

The block editor makes it easy to add text, images, audio, videos, and other media to your page. By default, there will be a Paragraph block on your page, which allows you to type in text. You can add a new block by clicking on the black plus symbol on the right side of the content editor and choosing another block type from the list. Additionally, you can click on the blue plus symbol in the upper lefthand corner of the main toolbar.

Screenshot of the block selection window

For more information on all of the different WordPress blocks you can use, please see WordPress’s Blocks Guide.

Audio and Video Files

When adding audio or video, we recommend hosting your files on Box and embedding them into WordPress instead of uploading them to WordPress directly. All faculty, staff, and students at LMU have unlimited Box storage, whereas your LMU Build site is limited to 5GB of content. Instructions for this process can be found here.

Once you have added content to your block, a small toolbar will pop up when your mouse hovers over block. The options on this tool bar will vary depending on what type of block you have, but it will always let you:

  • Change the type of block
  • Move your block up and down on the page
  • Copy, duplicate, or save your block
  • Insert a new block above or below
  • Edit your block as HTML
  • Create a group of blocks

With all of these tools at hand, the options for laying out your new page are virtually limitless. If you would like to see a more in-depth tutorial of any of the features described above, please reach out to the ITS Service Desk.

Metadata and Block Settings Editor

The sidebar to the right of the content editor is for editing the page’s settings and metadata, or the settings of a selected block. For the most part, you will not need to edit the metadata or settings of the page aside from its Status & visibility. The block settings, however, allow you to further customize certain features of your content blocks. For this tutorial we will look at the block settings for a Paragraph block, but keep in mind that different blocks will have different options.

Screenshot of the metadata editor

What is metadata?

Metadata is data that describes other data.  On a WordPress site, metadata includes the page title (which determines the permalink), categories, tags, and page description (or “excerpt“). These provide search engines like Google with important information about the content and purpose of each individual page on your website, and help them determine whether your website is relevant enough to display in search results. 

The Page settings tab has five sections:

  • Status & visibility: This is where you set whether the page is published or not, and who it is visible to (public or private).
  • Permalink: Here you can change the permalink of your page. By default it is generated based on the page title.
  • Featured image: If you would like a default image to appear in the header of the page, this is where you choose it.
  • Discussion: Enable or disable commenting.
  • Page Attributes: Set a template or a parent page.

The Block settings tab can have different settings depending on what type of block is selected. These settings allow you to further customize the appearance of your block. For a Paragraph block, it will have the following sections:

  • Typography: Edit the font size of your paragraph.
  • Color settings: Change the color of your text or the background of your paragraph block.
  • Text settings: For a Paragraph block, this section will give you the option to apply a Drop cap.
  • Advanced: All blocks have the ‘Advanced’ section. This allows you to apply a CSS class or an HTML anchor to your block.

Stay tuned for more specific tutorials on CSS classes and HTML anchors.

Main Toolbar

The main toolbar is probably the most straightforward part of the page editor. It is essentially used to show or hide different parts of the page editor interface, or switch over to a different type of editor if you have certain plugins installed (i.e., Elementor). We’ll break this down by focusing on the left side of the toolbar first, then the right.

Screenshot of the main toolbar

The left side of the toolbar consists of six buttons:

  • Add a block: In addition to adding a block by clicking the plus symbol in the content editor, you can also click the plus button in the toolbar. This will open up a gallery that shows all of the different block types you can choose from, and can be helpful for those who are new to WordPress.
  • Switch cursor mode: This button allows you to switch the cursor between Edit mode and Select mode. By default, the cursor is set to Edit mode. Select mode can make it easier to choose a block to edit.
  • Undo/redo
  • Page info: This shows you the document outline, word count, and other data about your page.
  • List view: This allows you to view a complete list of all of the blocks you have on your page, in order.

The right side of the toolbar has four buttons:

  • Preview: This allows you to preview your page before publishing.
  • Publish
  • Settings: This button shows or hides the Metadata/Block settings panel explained above.
  • Options: This button allows you to change the way your view mode, edit in HTML, manage your blocks, or change other various preferences that affect the way the block editor functions. Most users will not need to adjust these settings, though you are welcome to play around with it to customize your WordPress experience.

As you are editing your page, an additional button will show up to the left of the Preview button: Save Draft. This button allows you to manually save a draft of your page while you’re working on it. We highly recommend that you save regularly to avoid losing any work.


Part Three: Editing a Page

To edit or delete a specific page, hover your mouse over the name of the page. You will see a few options:

  • Edit allows you to modify the contents of the page.
  • Quick Edit allows you to modify the title, published status, slug (or URL), date, author, and password.
  • Trash moves the page to the trash bin.
  • View lets you view the page as site visitors would see it.

If you have certain plugins installed, you may see an additional option like Edit with Elementor.

Edit

The Edit button will bring you to the page editor described in part two of this guide.

Quick Edit

When you click Quick Edit, the page row will expand to give you some very basic editing options. Here you can change the title of the page, modify the slug (or URL), the publish date, the author, and the publish status. You can also create a password so only people with that password can view it.

What is a slug?

The slug is part of the URL or address of the page. It follows the URL for your site and tells your browser to navigate to that specific page. For example, if your website is www.support.lmu.build and the page’s slug is ‘home,’ the full URL of the page will be www.support.lmu.build/home. The slug will automatically generate based on the title of your site, but you may want to customize it to make it easier for visitors to remember the URL.


Still have questions?

Stay tuned for more LMU Build tutorials, or reach out to the ITS Service Desk for more targeted support!

Theme: Overlay by Kaira This site was created in WordPress.
css.php