How to add real -time Facebook to your WordPress website

Facebook

Having more than 2.27 billion monthly active users It is one of the world’s leading brands and social networks.

In addition to simply displaying the link to your Facebook page on your website, there are many other ways to make your company’s Facebook personal information with you WordPress website integration. A choice is to display your Facebook post on your website.

将 Facebook Feed 添加到 WordPress 演示预览

In the following article, we will show you how to integrate your Facebook account with your WordPress website in order to display Facebook on your website Summary. This will not only increase the participation, but also have a positive impact on the user experience of your website.

Tutorial setting

As usual, we recommend testing new code in the development site or test environment before working directly on your real -time site. Essence

If you still want遵循以下教程之一:

如何使用DesktopServer 设置本地开发环境

  • (Aspen Grove Studios) [123 ] How to use Flywheel
  • (Divi Space)

  • Use LOCAL to build a local development environment How to use MAMP
  • (Elegant theme)

  • At MAC Create local WordPress installation For this tutorial, I use
  • DIVI All Purpose Sub -theme

.

Divi All Purpose is a free children’s theme of Divi, which can be ed for free from Aspen Grove Studios stores. Divi All Purpose immediately and start using Divi All Purpose to create an excellent Divi website.

How to refer to real -time Facebook referral Add to your WordPress website

You can add Facebook to your WordPress website in various ways.

使用Facebook 页面插件将实时Facebook 提要添加到您的WordPress 网站

Facebook for Developers

提供了一Series

Social plug -in

, to help show your Facebook page on your website to the maximum extent.

除了能够嵌入评论流、在您的网站上显示Facebook 群组等等之外,页面插件还提供了一个简单的解决方案,可以It will be mentioned in your website. First, visit the page plugin .

Here, specify the variable you want Feed.

Facebook 页面插件

Facebook page URL

: Enter the URL that you want to share Facebook.

  • tab : You can decide whether to include a timeline, event or message confession here. To display one of the three options, just write \”timeline\”, \”event\” or \”message\”, in order to display all three options in multiple tabs, use the commas List.
  • Width and Height
  • : You can set the custom size here to be within the specified maximum parameter.

  • Other options : Finally, you can choose whether to display the slender view of the title, completely delete the cover photo, allow the plug -inThe container and whether the configuration file that wants to be associated with the user is displayed in feeding.

Completed the summary After the display settings, click

to get the code.

Now, a pop -up window with two code fragments will appear. According to the instructions, copy the first code and paste it to the header.php file in your WordPress website theme, below the start \u0026 lt; body \u0026 gt; mark.

If you use an elegant theme DIVI theme, you don’t have to worry about the code in the theme of touching the child.

In contrast, navigation to Divi \u0026 gt; theme option

menu and click

Integrated tab

. Roll down until you see the code to \u0026 lt; body \u0026 gt; (suitable for tracking code, such as Google analysis) Text box. Paste the code here, then click Save Changes.

JavaScript code has now been added, and you want to display any pages, posts or projects you want to display Facebook’s argument in it. Copy the second code generated from the page plug -in and paste it to any place you want in the page.

If you use DIVI, you can paste this code paste this code To

code module. Facebook Page Plugin page provides some custom options, such Wait.

Another option to be displayed is to add the code to the small component.

To this end, navigation to appearance \u0026 gt; small components , select

html component

and drag it to the position you want to place, that is, in the foot or side of the foot or side In the sidebar.

Paste the code to the small part of the text area, and then click to save.

The following is a Facebook queuing example added to the blog sidebar . If you are looking for a simpler solution to use the Facebook page plug -in option, consider using the free plug -in Facebook subscription source from the free plugin from the WordPress memory.

Use the Facebook page plugin to add real -time Facebook to your WordPress website

Smash Balloon’s

CUSTOM FACEBOOK Feed plug -in is a free plug -in, with more than 1,000 five -star rating, For those who want to display on their websites on their websites For people with a customized Feed, it is a good solution.

First, install and activate the plug -in on your WordPress website. We add a plug -in

guide to

.

After installing the plug -in, it will create a new menu item.

If you want to know, the Instagram Feed plug -in below the Facebook Feed plugin also comes from Smash Balloon, the same development company. As the name suggests, the plug -in allows you to easily add Instagram to your WordPress website.

Back to the custom Facebook Feed plug -in.

插件设置页面只有三个选项卡:

配置,您将在其中使用WordPress 网站设置Facebook 帐户,[ 123]

Custom , you will set the display method in which, and, and,,,, to,,,,

    Support

  • .
  • First, transfer to the configuration tab and click to log in and get my access token button.
  • At this time, a pop -up window will appear, asking you to log in to the Facebook account.

On the Facebook certification page, the page list you managed. Select the relevant page from the list, and then click OK.

Next, enter your

Facebook ID.

If the URL of your Facebook page looks like this –

https://www.facebook.com/your_page_name

Your_page_name The text is your Facebook ID.

  • If the URL of your Facebook page is shown below- http://www.facebook.com /your_page_name-1234567890 – Then 1234567890 The text is your Facebook ID.
    Once you ask for access token, the key will automatically enter
  • Facebook access token .

After the account fully passes the authentication Set up some additional settings.

To add Facebook to your website, please copy the short code [Custom-Facebook-Feed] and paste it anywhere on your website.

For appearance, click the custom tab in the plug -in settings.

There are countless custom settings, divided into different tabs. In each tab, you will find many custom options. With so many style options, you can create a truly unique Facebook referral to meet your brand logo and the beauty of the website.

If you want to imitate the visual style of Facebook’s preparation, then the Facebook page plug -in option may be your better choice, but if you want The matching Facebook promises and feelings, then custom Facebook feed posts may be a better choice.

Use Adob \u200b\u200bE spark to create your own Facebook cover

]

Adobe Spark Post is a web and iOS application specializing in designing social media posts. Just click on, you can choose the size that is suitable for Facebook cover photos, so you don’t have to worry about adjusting the size of the image. This Facebook cover photo maker is super fast and super simple, which is very suitable for those who have no design experience. In a few seconds, you will have a fashion and professional cover photo to enhance your image of Facebook.

Read more

We want to receive your letter! Have you integrated Facebook to your WordPress website?

If so, do you use one of the above options or completely different solutions?

Let us know the experience of integrating Facebook with your website.

Thank you for reading!

Author:

Leave a Reply

Your email address will not be published. Required fields are marked *