How to Embed a Facebook Video in WordPress


Do you want to embed a Facebook video on your WordPress site? With the popularity of Facebook live and Facebook’s videos, we’ve had several of our users ask if it was possible to embed Facebook videos in WordPress. In this video, we will show you how to easily embed a Facebook video and a Facebook live video in WordPress.

To start, you will want to visit the Facebook Embedded Video and Live Video Player page found here:

https://developers.facebook.com/docs/plugins/embedded-video-player

Here you will add the URL of the video from Facebook you would like to display as well as set the pixel width you want the video to display at and it should display below. There’s even the option to include the full post in a checkbox under the URL of the video box.

Now that your selected video is set, click the get code button to bring up the required code. For a Facebook video to display on your site you will need to add the first code block to your theme’s header. If your theme does not have a built-in method, you can use the Insert Headers and Footers plugin found here:

https://wordpress.org/plugins/insert-headers-and-footers/

With the above plugin, you would go under Settings, Insert Headers and Footers and add the code in the top box and click the Save button. This will automatically add the code in your site’s header for you. With that added you can add the second code from Facebook and it will embed the video the same as it would a YouTube video.

For a Facebook Live video, you will first need to go live due to Facebook’s limitations. That will allow you to right click on the date that you went live and copy the live video’s URL. Take that URL back to the Facebook Video Player Configurator to customize the display to how you’re wanting and click the Get Code button.

If you’ve already added the JavaScript to your header from another video or embed then you don’t need to add that for this new video. Add the second code block to your site where you want the live video to appear.

If you liked this video, then please Like and consider subscribing to our channel here for more WordPress videos.
https://www.youtube.com/subscription_center?add_user=wpbeginner

Feel free to take a look at the written version of this tutorial here:
https://www.wpbeginner.com/wp-tutorials/how-to-embed-a-facebook-video-in-wordpress/

Check us out on Facebook
https://www.facebook.com/wpbeginner

Follow us on Twitter
http://twitter.com/wpbeginner

Check out our website for more WordPress Tutorials
http://www.wpbeginner.com

Read more: youtube.com

Read More

How to Switch from Blogger to WordPress without Losing Google Rankings


Do you want to move your site from Blogger to WordPress? Blogger is a free tool to let you start blogging but as your site grows most users begin to hit the limits of the platform and they want to swap to another tool like WordPress. In this video, we will show you how to properly swap from Blogger to WordPress without losing your Google ranking.

To begin this process you will need hosting and we recommend using BlueHost and our deal for BlueHost can be found Using this link:

https://www.wpbeginner.com/refer/bluehost/

For just starting out we recommend the basic plan which includes a free domain with your purchase. We also normally recommend removing the additional services to reduce the cost.

With the hosting set up and your WordPress site installed you will want to go back to your Blogger site under Settings to select Back up Content and save that XML file somewhere you can find on your computer.

Go back to your WordPress site and under Tools, Import and you want to click Install Now beneath Blogger to install the importer. The importer will install and activate itself then you will be able to click run importer at the top of the screen or in the same location that the Install Now link was located.

On the screen you are brought to after clicking ‘Run Importer’ you will want to add your file that was downloaded previously to begin the process. Upload the file and you will be able to choose to import the user from your blogger site or assign the content to your current WordPress user. Once the import is complete you will see an ‘All done. Have fun!’ message which means the posts should be imported. Pages and other custom content would need to be manually transferred.

Your permalinks will be different from how they were on Blogger so to resolve that you would want to fix that under Settings, Permalinks. We give the custom code in the text article for you to copy and paste into the custom structure. We also include the code to add to your functions.php for your theme.

With the content imported to easily update the URLs on your site, you would want to install and activate the ‘Blogger to WordPress Redirection’ plugin. Under Tools, Blogger to WordPress Redirection you will want to click the ‘Start Configuration’ button to have the plugin create the redirect you need and then you can click the ‘Get Code’ button below.

The plugin will generate a code snippet for you to redirect your blogger visitors to the new WordPress site. Go to your Blogger dashboard and under ‘Themes’ you will want to edit the HTML and if there is any code in there you want to keep be sure to save it in a new file. Replace the code in the theme with the code from the WordPress plugin and save to activate the redirect. Be sure to check the options under the mobile theme that it is not enabled and instead pointing to the desktop site.

The final step would normally be to redirect your RSS feed under Settings, Other and set the Post Feed Redirect URL to point to the new domain followed by /feed.

Text version of this tutorial
https://www.wpbeginner.com/wp-tutorials/how-to-switch-from-blogger-to-wordpress-without-losing-google-rankings/

If you liked this video, then please Like and consider subscribing to our channel here for more WordPress videos.
https://www.youtube.com/subscription_center?add_user=wpbeginner

Check us out on Facebook
https://www.facebook.com/wpbeginner

Follow us on Twitter
http://twitter.com/wpbeginner

Check out our website for more WordPress Tutorials
http://www.wpbeginner.com

Read more: youtube.com

Read More