Do you want to automatically create WordPress posts from YouTube videos?
Many YouTube publishers want to auto-post YouTube videos to WordPress. Luckily, there are multiple ways to auto-post from YouTube to your WordPress website.
In this article, we will show you how to easily create a WordPress post from a YouTube video.
Why Auto Post YouTube Videos to WordPress?
Videos are one of the most engaging content types on the internet. User engagement and the time users spend on a website are important SEO ranking factors.
WordPress makes it super easy to embed YouTube videos into your WordPress posts and pages.
However, you’ll have to do that manually each time. This works out great for YouTube channels that create detailed articles accompanying their YouTube videos.
On the other hand, some YouTube publishers may simply want to auto-post the latest video to their website.
That being said, let’s take a look at two easy methods to auto-post YouTube videos to your WordPress website:
Method 1: Create a New WordPress Post From a YouTube Video using IFTTT
IFTTT is an online tool that allows users to automate popular apps. IFTTT stands for “if this then that”. It is a powerful service that lets you automate certain tasks based on your specified criteria. For example:
If this happens: ‘A new video is uploaded to YouTube’.
Then do that: ‘Create a new post in WordPress’.
The example above is called an Applet. You can create it for many web-based services, social media platforms, smart devices, and even your WordPress website.
Check out our article on how to automate WordPress and social media with IFTTT for more examples.
To post your YouTube videos from IFTTT to WordPress, the first thing you need to do is visit the IFTTT website.
IFTTT has a premium plan, but you can sign up on the website for free as well.
Once signed up, go ahead and click on the ‘Create’ button at the top to create your first applet.
This will bring you to the If This Then That wizard.
First, you need to click on the ‘Add’ button to select the app that will trigger this applet to run.
This will take you to the ‘Choose a service’ page.
Since you want to auto-post YouTube videos, you have to select YouTube as the platform.
As soon as you select YouTube, IFTTT will show you a bunch of triggers that you can use.
You need to select ‘New Video by Channel’ as your trigger.
Next, you’ll see a prompt asking you to connect your YouTube account with IFTTT.
Go ahead and click the ‘Connect’ button.
This will bring up a popup in a new window.
Here, you have to select the YouTube account that you use to manage your channel.
This will take you to the next step, where IFTTT will ask for permission to view your YouTube account.
Click the ‘Allow’ button to move forward.
After the authorization, you need to enter your YouTube account and channel ID.
Once you do that, click on the ‘Create Trigger’ button.
Note: You can find your channel ID by visiting the YouTube website and clicking on your profile icon.
From there, select Settings and then switch to the Advanced Settings tab.
Once you have created the trigger, IFTTT will prompt you to fill in the Then That part.
This is the action you want to perform after IFTTT finds a new video published on your channel.
Click on the Add button to continue.
On the next screen, you need to search and select WordPress.
After that, you need to click on the ‘Create a post’ as the action that you want to perform.
This will take you to the next step.
Here, IFTTT will prompt you to connect your WordPress site.
You can do that by entering your WordPress website URL, user name, and password.
Once connected, you’ll be asked to choose the action you want to perform.
Click on the ‘Create a post’ action to continue.
On the next screen, you’ll be able to choose different options for the WordPress post you want to create from the YouTube video.
Important: Make sure that the YouTube video URL tag is wrapped around a paragraph tag. This will ensure that WordPress will be able to detect and embed the video.
You can change the post title, content, category, and tags. You can also add dynamic elements by clicking on the Add Ingredient button.
You can also choose to publish immediately or save the post as a draft to publish later.
Feel free to modify these options. The only option that you must include in the post body is the YouTube video URL so that the video appears in your WordPress blog post.
Once you are done, click on the create button to continue, and then IFTTT will show you a summary of your applet.
You can optionally turn on notifications when this applet runs. Don’t forget to click on the Finish button to save and activate your applet.
Turn off URL Shortening in IFTTT
Now, before you can test your IFTTT applet, first you need to turn off the URL shortening feature in IFTTT.
By default, IFTTT will use a URL shortening service for YouTube URLs, which would prevent WordPress from embedding the video.
To fix this, simply click on your profile icon at the top and choose the Account menu item.
From here, scroll down to the URL shortening section.
After that, uncheck the box next to the ‘Auto-shorten URL’ option.
Don’t forget to click on the ‘Update’ button to save your changes.
You can now upload a new video to your YouTube channel and see it automatically appear as a new post on your WordPress website.
Method 2: Auto Post YouTube Videos to WordPress Using Smash Balloon
This method allows you to automatically show your YouTube videos on your WordPress website.
It will not create new blog posts for each YouTube video. Instead, it will automatically fetch your latest videos and display them beautifully.
This method helps you to avoid the negative effects of WordPress SEO due to duplicate content and lack of original content on video-only posts.
It also allows you to create custom YouTube gallery feeds and embed them anywhere on your website.
For this tutorial, we will be using the Smash Balloon YouTube Feed plugin. It is the best WordPress YouTube plugin on the market and allows you to automatically display your social media posts on your WordPress website.
Upon activation, visit the Youtube Feed » Settings page from the WordPress admin dashboard. Here, you must enter the license key and click on the ‘Activate’ button.
You can get this information from your account on the Smash Balloon website.
Next, head to the YouTube Feeds » All Feeds page from the WordPress admin sidebar.
Here, click the ‘Add New’ button to create a YouTube feed.
Since you want to automatically display new YouTube videos, we recommend using the ‘Channel’ option.
Once you do that, Smash Balloon will ask you to provide the API key for your YouTube account to connect it to the plugin.
If you already have an API key, simply copy and paste it into the ‘Enter API Key’ box and click on the ‘Add’ button.
However, if you don’t have an API key for your YouTube account, then you can see our tutorial on how to create a video gallery in WordPress for details.
You will now be taken to the ‘Add Source’ page, where you have to add your channel ID to connect it to your WordPress site.
To do this, visit your YouTube channel and copy the text that comes after ‘/channel/’ or ‘/user/’ in the URL at the top.
Now, go back to your WordPress admin dashboard and paste the ID under the ‘Add Source’ option.
Next, click the ‘Connect’ button to connect your YouTube channel with the plugin.
This will take you to the next step, where you have to select a template for your YouTube feed.
Upon making your choice, click the ‘Next’ button to move on.
This will open Smash Balloon’s feed editor on your screen, where you will see a preview of your YouTube channel on the right with customization settings on the left.
From here, you can change the layout, add buttons, configure video settings, and so much. For details, you can see our tutorial on how to show the latest videos from the YouTube channel in WordPress.
Upon customization, simply click the ‘Save’ button to store your settings and then the ‘Embed’ button.
This will open a prompt on the screen.
From here, copy the embed code for the YouTube feed. After that, click the ‘X’ icon to exit the feed editor.
Now open the page or post where you want to show the feed for your YouTube channel from the WordPress dashboard.
Once you are there, click the ‘Add Block’ (+) button at the top left corner to open the block menu. From here, add the ‘Feeds For YouTube’ block.
Next, simply paste the shortcode for the YouTube feed under the ‘Shortcode Settings’ option in the block panel.
Finally, click the ‘Update’ or ‘Publish’ button to store your settings.
You can now view your post and page to see your YouTube videos displayed in a neat grid layout.
Now, whenever you post a new video on your YouTube channel, the feed on your WordPress site will automatically be updated.
We hope this article helped you learn how to automatically create WordPress posts from YouTube videos. You may also want to see our list of the best social proof plugins for WordPress and our tutorial on how to add a YouTube subscribe button in WordPress.