How to Embed YouTube Shorts in a WordPress Website Using Plugins

图片[1]-如何在 WordPress 网站中使用插件嵌入 YouTube Shorts-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

With the rapid growth of short-form video content, embedding YouTube Shorts in your WordPress website can be a great way to increase the interactivity of your site. YouTube Shorts are not only eye-catching, but they can quickly grab the attention of your users, making them a powerful marketing tool. In this article, we'll detail three easy ways to embed YouTube Shorts in WordPress.

What are YouTube Shorts?

YouTube Shorts are short, vertical videos that range in length from a few seconds to a minute.YouTube Shorts officially launched in March 2021 and provide users with a quick way to engage their audience, similar to Instagram Reels and TikTok videos. These videos are typically shot using a smartphone camera, making it easy for users to quickly create and share them.

How to Embed YouTube Shorts in WordPress

1、Using plug-ins

Using a plugin is the easiest and beginner-friendly way to embed YouTube Shorts in your WordPress website. Here are the steps to embed YouTube Shorts using a plugin:

Step 1: Install Elementor's Plus Plugin

First, go to the WordPress dashboard on theplug-in (software component) > Add New PluginSearch and install The Plus Addons for Elementor. After purchasing a Pro subscription and activating the plugin, you can visit the YouTube Embed WidgetThe

图片[2]-如何在 WordPress 网站中使用插件嵌入 YouTube Shorts-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

Step 2: Open YouTube Embed Widget

Go to Plus Settings on your WordPress dashboard. Under Plus Widgets, search for Social Embed Widget and flip the switch to enable the widget. Click "save (a file etc) (computing)".

图片[3]-如何在 WordPress 网站中使用插件嵌入 YouTube Shorts-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

Step 3: Add YouTube Embed Widget

Once the widget is enabled, go to the Elementor page builder and drag and drop the widget into the editor.

图片[4]-如何在 WordPress 网站中使用插件嵌入 YouTube Shorts-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

In "element" tab, select "YouTube" as an embed option. Copy and paste the video/playlist ID to display individual videos, playlists or user videos from YouTube. You can also adjust the start and end time of the video and set options such as autoplay.

图片[5]-如何在 WordPress 网站中使用插件嵌入 YouTube Shorts-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

Step 4: Customize YouTube Shorts Layout

After adding YouTube Shorts, you can customize the layout and design as needed. You can adjust content alignment, choose border styles, colors, and shadows, and customize the background of the video player.

图片[6]-如何在 WordPress 网站中使用插件嵌入 YouTube Shorts-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

2、Use iFrame code

An iFrame code is an HTML tag that allows you to embed another HTML document within the current document. Here's how to embed YouTube Shorts in a WordPress website using iFrame code:

  1. Open the YouTube Short you want to add to your website.
  2. Click Share and then Embed.
  3. Copy the iFrame code provided in the popup window.
<iframe width="560" height="315" src="https://www.youtube.com/embed/abc123" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
  1. In the WordPress editor, add an HTML block and paste this iFrame code to embed the YouTube clip into your website.
图片[7]-如何在 WordPress 网站中使用插件嵌入 YouTube Shorts-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

3. By modifying the URL

Another quick and easy way to embed YouTube Short in WordPress is to modify the YouTube Short URL. Here are the steps:

  1. Copy the YouTube Short that you want to display on your website. URLThe
  2. In the copied URL, replace "shorts/" with "watch?v=".

For example, it will be https://www.youtube.com/shorts/abc123 Replace with https://www.youtube.com/watch?v=abc123The

  1. On a website page or post in the Gutenberg editor, add an HTML block and paste this modified URL. this will quickly embed the YouTube clip into the WordPress website.

summarize

Embedding YouTube Shorts on your WordPress website can enhance the user experience, increase site engagement, and engage your audience with rich content. The three methods described in this article are easy to follow and require no technical knowledge, whether you're using thePlugins, iFrame code, or changing URLsYou can easily embed YouTube Shorts into your website to fully utilize the marketing potential of short videos.


Contact Us
Can't read the article? Contact us for free answers! Free help for personal, small business sites!
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
Author: xiesong
THE END
If you like it, support it.
kudos0 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments