Tag - Posts

How to Easily Embed Videos in WordPress Blog Posts


Do you want to embed videos in your WordPress blog posts? Videos bring life to your website, and they are a great way to increase user engagement.

WordPress makes it super easy to embed videos from video hosting sites like YouTube, Vimeo, Facebook, Twitter, and many others.

In this beginner’s guide, we will show you how to easily embed videos in WordPress blog posts, pages, and sidebar widgets.

How to easily embed videos in WordPress

How to Embed Videos in WordPress Blog Posts and Pages

WordPress comes with a great feature called auto-embeds which allows your website to automatically get the embed code from popular video hosting services like YouTube, Vimeo, etc.

All you need to do is paste the video URL into the WordPress editor.

For example, you can copy the YouTube URL for a video that you want to embed.

Next, edit the WordPress post or page where you want to add the video, and simply paste the URL in the content area.

Embedding video in WordPress post editor

As soon as you paste the video URL, WordPress will fetch the embed code and display the YouTube video inside the content editor.

You can now save your post and click on the preview button to see the embedded video in your blog post.

Video embedded in a WordPress blog post

Wasn’t that easy?

After you have added the video, you can change its settings from the block toolbar and settings column on the right.

Video block toolbar and settings

You can adjust the video width, make it full-width, change alignment, and more. You can also add a caption and preserve the video’s aspect ratio on mobile devices.

WordPress can only do auto-embeds for white-listed video services. For other websites, you will still have to obtain the embed code and then paste it in your blog posts.

Here is a list of white-listed video services for auto embeds in WordPress:

  • Amazon
  • Animoto
  • Cloudup
  • CollegeHumor
  • Crowdsignal
  • Dailymotion
  • Facebook
  • Flickr
  • Hulu
  • Imgur
  • Instagram
  • Issuu
  • Kickstarter
  • Meetup.com
  • Mixcloud
  • Reddit
  • ReverbNation
  • Screencast
  • Scribd
  • Slideshare
  • SmugMug
  • Someecards
  • SoundCloud
  • Speaker Deck
  • Spotify
  • TED
  • Tumblr
  • Twitter
  • VideoPress
  • Vimeo
  • WordPress.tv
  • YouTube

If you want to add a video from a website outside this list, then you will need the full HTML embed code for the video.

Simply copy the HTML code provided by the video website and paste it inside a ‘Custom HTML’ block in the editor.

Add a custom embed code in WordPress

Embed Videos in WordPress Using Old Classic Editor

If you are still using the old WordPress classic editor, then you can embed the videos the same way.

Simply copy the URL from a video hosting service like YouTube, and paste it in the editor. If you are using the visual editor, then you will see a preview of the video.

Emedding video in old WordPress editor

However, you will not be able to use the width adjustment and other options that you can use in the new WordPress block editor.

How to Embed Videos in WordPress Sidebar Widgets

Just like a WordPress page or post, you can also embed videos in WordPress sidebar widgets.

Simply go to Appearance » Widgets page and add the ‘Text’ widget to a sidebar. See our article on how to add and use widgets in WordPress.

Inside the widget settings, you need to paste the video URL in the content area. WordPress will automatically fetch the embed code and display the video preview.

Embed videos in WordPress sidebar widget

Don’t forget to click on the ‘Save’ button to store your widget settings.

You can now visit your website to see the video embed in the WordPress sidebar widget.

Why can’t I upload the videos to WordPress?

Well you can, but we do not recommend you to do so.

Most small blogs use shared WordPress hosting accounts, and videos can take up a lot of server resources. If your video got tons of traffic, then your website is more likely to crash.

Secondly, you are missing out the traffic from YouTube users.

YouTube is not only the biggest video hosting site, but it is also the world’s second most popular search engine, and the second most popular social network right after Facebook.

If you don’t want to upload your videos to YouTube, then you can try Vimeo or DailyMotion. See our comparison of YouTube vs Vimeo to see which platform is better for your needs.

For more on this topic, take a look at our article on why you should never upload a video to WordPress.

WordPress Video Embed Plugins

By default, you don’t need to use a plugin to embed videos in WordPress. However, you may want to use plugins to improve video viewing experience on your website.

Following are a few plugins that you may want to try.

1. YouTube Subscribe Bar

YouTube Subscribe Bar in action

YouTube Subscribe Bar shows a YouTube subscribe button below your YouTube video embeds in WordPress. It also fetches your YouTube subscriber count to add social proof and encourage more users to subscribe.

We first created it to promote WPBeginner’s YouTube channel on this website. Many of our users asked us to share how we did this, so we decided to release it as a free plugin.

2. Envira Gallery

A video gallery in WordPress

By default, WordPress does not come with embedded video gallery feature. If you wanted to show a video gallery on a page, then you’ll need a plugin to do that.

Envira Gallery is one of the best photo gallery plugins for WordPress. It also comes with a videos addon which allows you to create beautiful video galleries with lightbox popup support.

3. Lazy Load for Videos

Lazy load videos in WordPress

Video embeds load scripts from external websites, which has a small impact on page load speed and performance.

Lazy Load for Videos solves this problem by only loading the video image on page load. It loads embed code only when the user clicks on the play button. See our tutorial on how to add lazy load for videos in WordPress.

We hope this article helped you learn how to easily embed videos in WordPress blog posts. You may also want to see our list of the must have WordPress plugins for all websites.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Easily Embed Videos in WordPress Blog Posts appeared first on WPBeginner.





Source link

Read more...

How to Schedule Your Posts in WordPress (Step by Step)


Did you know that WordPress has the ability to schedule your posts to be published at a future time? This extremely useful feature is slightly hidden which is why many beginners don’t even notice it.

By scheduling your posts, you never have to worry about publishing your articles at a specific time. You can finish writing and schedule them to go live on the day and time that you choose.

In this article, we will show you how to easily schedule WordPress posts step by step and share some bonus tips to use WordPress scheduled posts like a Pro.

Schedule posts in WordPress

Why Schedule Posts in WordPress?

To create a successful blog, the best strategy is to plan your editorial calendar and publish articles on a regular basis.

That’s where schedule posts feature comes in handy. You can write your articles at your own pace and get ahead on your editorial calendar. Once you finish writing, you can schedule the post to be published at a specific date and time.

Another reason to schedule your posts is to benefit from peak traffic hours. There is a certain time in a day when each website gets the peak of their users. By publishing at that time, you can leverage existing traffic to increase your page views.

Now if you live in a different time zone than your readers, then it can be a problem. Imagine having your peak time as 3 a.m. where you live. Scheduling posts can be very handy for this.

Scheduling posts also comes in handy when you are going on vacation. You can simply schedule your blog posts and enjoy your holidays without worrying about writing and publishing content.

Now that you understand the benefits, let’s take a look at how to actually schedule your blog posts in WordPress.

How Do You Schedule a Post in WordPress?

It is easy to schedule WordPress posts if you know where to look. The option to schedule blog posts is not easily noticeable.

Once you have finished writing your blog post, you need to look under the ‘Document’ tab in the right column of the edit screen.

Under the ‘Status & Visibility’ panel, you need to click on the ‘Immediately’ link next to ‘Publish’ option.

WordPress post scheduling option

This will show you a date and time picker. You can select the date and time when you want to publish this post.

You can select a future date and time to schedule your article in WordPress.

You can also select a past date using the same tool to back date your blog post.

When you select a future date, you will notice that the publish button at the top will change into ‘Schedule…’.

Publish button changed into Schedule

Simply click on the Schedule button and WordPress will schedule your post.

The scheduled posts will be automatically published on the date and time you choose.

How to Schedule WordPress Posts in Classic Editor

If you are using the classic WordPress editor, then we highly recommend you to start using the new WordPress block editor, called Gutenberg.

The new WordPress editor is incredibly fast, modern, intuitive, and helps you create better content for your blog.

However, if you still want to use the older classic editor, then here is how you would schedule posts in WordPress.

Once you are done writing your post, look under the ‘Publish’ meta box in the right column of the edit screen and click on the ‘Edit’ link next to ‘Publish immediately’ option.

Change when to publish a post in WordPress

It will now show you the date and time options. Go ahead and enter the date and time when you want to publish your blog post and click on the OK button.

Select schedule date and time in classic editor

You’ll notice that the blue ‘Publish’ button will now change into ‘Schedule’. Go ahead and click on the schedule button to save your changes.

WordPress will now publish your blog post on the date and time you entered.

Troubleshooting WordPress Scheduled Posts

As your website grows, you will be regularly managing and scheduling WordPress posts. Following are some handy tips that will help you efficiently manage your scheduled posts in WordPress.

How do I use my own timezone in WordPress?

You need to change WordPress timezone settings, so that it uses your preferred timezone to publish scheduled posts.

How to view all scheduled posts in WordPress?

Simply go to Posts » All Posts page in your WordPress admin and then click on the ‘Scheduled’ link above the posts table. It will show all scheduled WordPress posts in the queue.

What to do if WordPress scheduled posts missed schedule?

To run scheduled tasks, WordPress uses a system called WP Cron. If the cron is unable to run due to a misconfiguration on your WordPress hosting server, then your scheduled posts will miss the schedule and won’t be published.

If you notice that your blog is affected by this, then you can install WP Missed Schedule plugin.

To learn more, see our article on how to fix the missed schedule post error in WordPress.

How to unschedule a WordPress post?

You can unschedule a WordPress post by editing the post and changing its status from ‘Scheduled’ to ‘Draft’.

In the new default WordPress editor, you will find the option to switch to draft at the top. In the classic editor, you will find it under the publish meta box.

Unschedule WordPress post

After you have changed a scheduled post to a draft, you can continue working on it, or you can publish it right-away if you want.

Can I also schedule WordPress pages?

Yes, you can schedule a WordPress page just like you would schedule a normal blog post.

Can I schedule changes to a published post or page in WordPress?

By default, you cannot schedule changes to a post or page you have already published. Any changes you make to a published post will become live as soon as you save it.

However, you can use the Tao Schedule Update plugin to make scheduled content updates.

For more details, please see our tutorial on how to schedule content updates in WordPress.

We hope this article helped you learn how to easily schedule your blog posts in WordPress. You may also want to see our guide on how to do keyword research for your WordPress blog to find blog post ideas and get more traffic.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.





Source link

Read more...

How to Update Your Old WordPress Posts with Gutenberg Block Editor


Wondering how to update your old blog posts with Gutenberg, the new WordPress block editor? If you haven’t upgraded to WordPress 5.0, then you’re not alone.

A lot of readers are concerned because Gutenberg is a completely new experience. The good news is that your old articles are safe even after upgrading to Gutenberg. In this article, we’ll show you how to update your old articles with Gutenberg, the new WordPress Block editor.

You may also want to know what will happen to your existing content after upgrading your blog to Gutenberg.

update-your-old-articles-with-gutenberg

What’s The Difference Between Classic Editor and Gutenberg Editor?

Before we get started, let’s first discuss the major differences between the old Classic Editor and the new Gutenberg Editor.

The Classic Editor was a text editor that looked very similar to Microsoft Word. It had a single editing field with formatting options at the top. Here’s what the Classic Editor looks like:

Old WordPress editor

On the other hand, the new Gutenberg editor is a fully block-based editor. You’ll add all the content in the form of blocks. Here’s how the Gutenberg Block Editor looks like:

New WordPress Block Editor also known as Gutenberg

Blocks are content elements which are separate from each other with their own set of formatting options. There’re individual blocks for every piece of content including:

  • Regular text or paragraph
  • Image
  • Button
  • Gallery
  • List
  • Table
  • Embeds, etc.

Plus, you can find more blocks and widgets provided by your plugins and theme.

gutenberg-blocks

In order to create or edit a post in the new Gutenberg editor, you’ll need to use blocks. Here’s how to update your old blog posts and pages with Gutenberg block editor.

Editing Your Older WordPress Articles with Gutenberg

If you’ve updated your WordPress blog to 5.0 or the later version, then you’ll have the new Gutenberg block editor as your default editor.

The good part about Gutenberg is that it doesn’t affect any of your old content, and you can easily edit them.

To edit an older article, simply edit it as you would normally do in WordPress.

On the post edit screen, you’ll see the entire content wrapped inside a single Classic block.

classic-block-guteberg-edit

The same post would look like the screenshot below in the old classic editor.

classic-wp-editor

As you can notice, the content is same however the way it’s organized looks slightly different.

Yes, that’s the only change you’ll see.

The new WordPress block editor will not make any changes to the content, and it would still look the same on your website.

Now, you have two options to edit your old blog posts and pages:

  1. Continue editing inside the Classic block
  2. Convert your old content to new Gutenberg blocks
  3. The first option is to continue editing your old article inside the Classic block.

    The Classic block offers you the same Classic editor interface with formatting options at the top. This should be fairly straight forward.

    The second option is converting your old content into new Gutenberg blocks.

    You can do this by clicking on the three-dot menu option on the top right corner of Classic block.

    From the menu dropdown, you need to select Convert to Blocks option.

    convert-to-blocks-wp-block-editor

    That’s it!

    Your old content will be automatically converted into appropriate blocks. The content inside the Classic block will be split into several different blocks.

    wp-block-editor-classic-block-converted

    Now, you can edit your old article using the new Gutenberg editor blocks. Each block is a separate entity with its own formatting options, styles, and design options.

    For example, in our screenshot above, there’s an image block and a paragraph block.

    If you want to make changes to how the image appears, then you can simply click the image to select the block, and the editing options will appear at the top.

    You will also see more options under the Block tab in the right column of the screen.

    image-block-edit-options

    You can realign the image, make it full width, add Alt text, change image dimensions, add a link, and more.

    Following the same process, you can edit all of the blocks and make your article look visually impressive.

    Once you’re done making all the necessary edits, you can simply click the Update button at the top right of the screen to save your changes.

    Note: Although Gutenberg works fine with most themes and plugins, some may still not have Gutenberg support. It’s better to test your theme and plugins for Gutenberg compatibility before switching to it.

    The new WordPress Gutenberg editor offers an easy and flexible way of creating content in WordPress. However if you are not ready to use it yet, then you can disable Gutenberg and keep using the classic editor.

    You can keep using the Classic editor until 2022 which should be enough time for getting familiar with the new WordPress block editor. We have a complete Gutenberg Block Editor tutorial for beginners that you should check out.

    We hope this article helped you learn how to update your old articles with Gutenberg Block Editor. You may also want to see our list of the must have WordPress plugins for professional websites.

    If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

    The post How to Update Your Old WordPress Posts with Gutenberg Block Editor appeared first on WPBeginner.





    Source link

Read more...