Using WordPress

How to Make a Social Networking Site Like Facebook

How to create a social networking site like Facebook on WordPress

Do you want to create a social networking website like Facebook with WordPress?

WordPress is so flexible that it allows you to build any kind of website, including a niche social network, like Facebook. In this article, we’ll show you how to make a niche social networking site like Facebook with WordPress.

Why Build a Niche Social Network?

There are many social networks like Facebook, Twitter, Instagram, etc. But, these platforms are for everyone, and you couldn’t control your audience on them. You may create private groups on Facebook that aren’t publicly accessible, but since you don’t own the group, Facebook can delete it anytime without your consent.

A niche social network will give you complete control over the users, user activities, and the network itself. You can build a website like Facebook for your users to let them connect with each other.

Making Your Social Networking Site Like Facebook Using BuddyPress

BuddyPress is a popular WordPress plugin that can transform any WordPress website into a social network. It’s available for free from the repository.

It comes with similar features as Facebook like user registration, profile management, user groups, and more. The users can also send friend requests to each other and communicate on private messages. As an administrator, you can control the activity and no one can delete your niche social network.

Step 1: Purchase a Domain Name and Web Hosting

The first thing you need to do is to purchase a domain name and web hosting.

We recommend using Bluehost. It’s one of the most popular web hosting providers and an official WordPress hosting partner.

For IsItWP users, they’re also offering a free domain name, free SSL certificate, and a great discount on web hosting.

Bluehost review

Click Here to Claim This Exclusive Bluehost Offer »

You might also want to check out this complete Bluehost review!

Visit Bluehost website and click on the Get started button. Next, you’ll be asked to choose a hosting plan. For a Facebook like social network, let’s select the basic plan as you’re just getting started (it includes a free domain name and free SSL certificate). You can always upgrade later as your site grows.

Select a Bluehost Plan

Now you need to enter the domain information. You can either proceed with an existing domain that you own or purchase a new one for free. Select the best option that suits your situation.

Bluehost Choose Domain

After choosing a domain name, you need to enter your account information. For easy registration, you can sign in with Google and complete the setup in a few clicks.

Bluehost account creation

Next, scroll down until you find the package information box. You can choose the basic plan for 12 months, 24 months, or 36 months. It also shows that a few addons are preselected, adding up the total price. We recommend unchecking the addons because you don’t need these right away. You can always purchase them later whenever you want.

Choosing the 36-month plan will get you the best value for your money.

Bluehost package information

Lastly, you need to scroll down to the page further and enter your payment details. You have to agree to their Terms of Service and then, click on the Submit button.

That’s it!

You’ve successfully subscribed to a hosting plan. Go ahead and create a password for your account.

After that, you’ll receive an email with details on how to log in to your web hosting control panel (cPanel), where you can manage everything, including web files, emails, and support.

Step 2: Set Up WordPress for Your Social Networking Site

It’s easy to set up a website like Facebook with WordPress.

Bluehost offers 1-click WordPress installation on their dashboard. You need to visit your Bluehost account and enter your website details. It will install WordPress in a few minutes.

With Bluehost, you don’t have to go through a manual WordPress installation process. This saves you time and effort. Add your website name and tagline, select a theme, and you’ll be ready to get started with WordPress instantly.

You can change all settings later from your WordPress admin dashboard.

Step 3: Select the Right WordPress Theme for Your Social Network

While you can find a lot of different WordPress themes for your BuddyPress site, we recommend Kleo. This theme transforms your website into a community-powered site. Aside from BuddyPress, this theme supports bbPress as well.

Go ahead and install and activate the Kleo theme. For more details, you should check out our guide on how to install a WordPress theme.

Kleo WordPress Theme Review

Step 4: Install BuddyPress for Creating a Facebook-like Website

Next, install and activate the BuddyPress plugin. For more details, you can see our guide on how to install a WordPress plugin.

After activation, you need to go to Settings » BuddyPress to take a look at the default plugin settings.

BuddyPress settings

The settings page has multiple tabs, including components, options, pages, and credits.

In the Components tab, you can checkmark any option to activate or deactivate the settings. After making the changes, you need to click on the Save Settings button at the bottom of the page.

Save components

In the Options tab, you can manage general, profile, and activity settings. By default, these settings work with any social network.

Options settings

If you intend to change an option, then checkmark on it and go to the bottom of the page to click on the Save Settings button.

In the Pages tab, you can manage the directories and registration pages. When you install BuddyPress, it creates the required pages automatically which means the default settings can work for your social network.

Pages settings

If you change any page settings, then click on the Save Settings button.

The Credits tab will display the team behind the BuddyPress plugin.

Step 5: Creating the Navigation Menu for Your Niche Social Network

After the general settings, you need to create a navigation menu for your social network. It will help users navigate to other pages easily.

For this, you need to visit Appearance » Menus page in the WordPress admin area. And, add all the BuddyPress pages to your navigation menu.

Navigation menus

Click on the Save Menu button to continue.

Next, you can visit your niche social network website to check out the pages.

Site pages

You can click on any BuddyPress page like the Activity page. This will show you the user activity and also allows you to post a status update just like Facebook.

Activity page

The BuddyPress plugin is compatible with the popular WordPress themes. You can also find several BuddyPress-specific templates on the internet. So, the navigation menu will look great on your niche social network site.

Step 6: Running Your Social Network With BuddyPress

Now that you set up a social networking site, it’s important to keep it running and make users engaged. It also means avoid spam and moderate content submitted by your users.

Luckily, BuddyPress comes with several ready-made tools to help manage and run your social networking site smoothly.

First, you need to visit the Activity page from the WordPress admin menu. From there, you can manage recent user activity. It lets you filter the activity by members, profiles, and activity streams.

Activity Settings

You can take bulk actions to mark as spam, delete permanently, and mark no spam on the activities.

Next, you should visit the Users page. From there, you can take bulk actions to delete users, edit profiles, mark spam users, etc. You can also change user roles to control their access to your social network.

User signups

You can also visit the Manage Signups page to check out new user signups. From there, you can approve a user and delete the spam users.

Step 7: Adding Groups to Your Social Network

User groups are a common feature on Facebook. You can also allow your social network users to create groups. These groups work as social communities where the users can add other members, invite users, post status updates, etc.

You can visit the Groups page in your WordPress admin area to create your first user group. Click on the Add New button to start creating the group.

Add new group

Start by adding the group name and description. Next, you need to click on the Create Group and Continue button.

Create group and continue

After that, it will show you the privacy options. You can create public, private, or hidden groups. With each privacy option, you can find the terms and conditions that help decide how you want to run your group.

Group privacy

You can also select the group invitations settings below. Click on the Next Step button to continue.

Now you need to add a group profile photo and click on the Next Step button.

Group profile photo

In the next option, you should add the cover photo for your group. Click on the Next Step button.

After that, you can invite users to join your group. The members can also search for your group and send the request to join it.

Add members to group

Click on the Finish button and the group is ready.

Your users can visit the Groups page from the navigation menu to check out all the groups on your social networks.

Step 8: Set Up Email Notifications

To send alerts to users about the recent activity on their timeline, you can set up email notifications and customize the messages for users.

Visit the Emails page in the WordPress admin area. If you want to create a new email notification, then click on the Add New button.

Add new email

There are multiple pre-built email templates that you can edit and change according to your niche social network.

Edit emails

With the customize option, you can change the background color, text color, and text size for your notification emails.

Email customize option

Click on the Publish button to store these settings.

We hope this article helped you learn how to create a social networking site like Facebook on WordPress. You may also want to check out our guide on how to create a website like Reddit with WordPress.

Source link

Using WordPress

How to Effectively Track Facebook Traffic With Google Analytics

How to track Facebook users in Google Analytics

Do you want to track your Facebook traffic in Google Analytics? Knowing the behavior of Facebook users on your site is important because it helps you optimize your site for driving more Facebook traffic and revenue.

In this article, we’ll explain how to accurately track your Facebook users in Google Analytics.

Tracking Facebook Users in Google Analytics

With over a billion active monthly users, Facebook is a reliable platform for you to expand your reach to a new audience that is sure to be interested in what you have to offer. Without knowing what your Facebook fans are doing on your website, you can’t possibly know whether your content is actually working.

However, it’s important to track Facebook users to find out their activities and behavior. It will help you monetize those visitors and increase conversions.

Facebook also offers reports on user clicks, but you should know that these insights are different from the tracking results in Google Analytics.

Facebook Insights focuses on activity that happens on your Facebook page and shows stats like pageviews, page likes, reach, page followers, and more. These insights show you how many users click on your links. But you’ll never know what happens after the users visit your website.

It’s where Google Analytics comes in action. You can track Facebook users and their behavior on Google Analytics to improve your pages for better user engagement.

Tracking Conversions and Contributed Social Conversions From Facebook

Facebook is more of a social channel where users interact with each other and share content that they care about than a conversion channel. If you’re using Facebook only to drive direct conversions, then you’re probably doing it wrong. In fact, considering Facebook as selling platforms will create an adverse impact and make your profiles look spammy.

In order to succeed in Facebook, it’s essential for you to analyze your Facebook ROI. Generally speaking, Facebook ROI is the sum of all actions that provide value to your business in comparison to the resources you invest in Facebook. Basically, calculating the ROI tells you whether the time and money you spend on Facebook are worth it.

If you’ve already set up eCommerce tracking with WordPress, you can visit Aquisition » Social to direct conversions, contributed social conversions and more.

Visit the Overview section to analyze the data from all social networks and see the traffic distribution in percentage.

Social overview

Click on the Conversions category to take a look at the number of conversions from each social network. It also shows the conversion value from all social channels.

Conversion value

After that, you can visit the Social Referrals category. This category will display the number of sessions, pageviews, average session duration, and more.

Social referrals

How to Track User Interaction From Facebook With Google Analytics

Visit Acquisition » All Traffic » Channels and you’ll see multiple traffic sources like organic search, direct, referral, social, etc.

Google Analytics acquisition

You need to click on the Social link to see the list of all social networks driving traffic to your website. This list also includes data from Facebook that you can compare with other social networks like YouTube, Twitter, etc.

Google Analytics social

The data will show you the total number of visits, bounce rate, average sessions duration, pages/sessions, and more. It’s a comprehensive analytics report for all social channels, including Facebook.

To view landing page report, click on the Facebook link to view detailed reports.

To view the pages where your Facebook users land on your site, you need to click on Other link and type ‘Landing Pages’ in the search box.

Landing pages tracking

Select the Landing Pages option, and now you’ll see the pages that your users land on your site from Facebook.

Google Analytics Metrics

Google Analytics shows you complete information, including new users, sessions, bounce rate, etc, so you can see what your converting pages are and thus boost your traffic. If you’ve set up eCommerce tracking, you’ll see a detailed eCommerce conversions report that are coming from Facebook.

You can also change the conversion category based on the goals you’ve created on Google Analytics by clicking on Conversions dropdown and change it to any goal like form conversions.

Goals conversion

With MonsterInsights Forms addon, you can easily track your form views, submissions, and more.

That’s all.

We hope this article helped you learn how to track Facebook users in Google Analytics. You may also want to check out our expert pick of the best WordPress social media plugins for engagement.

Source link


How to Add a Facebook Giveaway in WordPress to Boost Engagement

Do you want to boost engagement on your website while increasing your Facebook followers?

If your answer is yes, then you need to run a Facebook contest. A giveaway can help direct users’ attention to your Facebook page and help you get more likes / followers on Facebook.

In this guide, we’ll show you how to properly add a Facebook giveaway in WordPress to boost engagement and get more likes / views.

Creating a Facebook giveaway on your WordPress website

Why Run a Facebook Giveaway in WordPress?

Facebook’s policies do not allow you to giveaway prizes for getting likes.

However, these policies do not restrict you from sending visitors to your Facebook page or group from your website.

Running a giveaway on your WordPress website enables you to point users to your Facebook page, which ultimately results in more followers and engagement on your Facebook page.

Giveaways also allow you to add other engagement metrics simultaneously such as asking users to join your email newsletter, viewing your Instagram profile, watching your YouTube video, and more.

Giveaways and contests can go viral due to the social sharing actions, which increase your reach and help you find new users.

That being said, let’s take a look at how to easily run a Facebook giveaway in WordPress to get more likes and engagements.

Running a Facebook Giveaway in WordPress

For this tutorial, we’ll be using RafflePress. It is the best WordPress giveaway plugin on the market.

RafflePress makes it easy to design your giveaway using a drag and drop builder. You can add prize photo, choose dates, select winners randomly, and use templates to quickly launch new giveaway campaigns.

It comes with social actions to direct your users to your social media channels including Facebook. You can make an action mandatory to join a giveaway. It also comes with social logins and integrates with all popular email marketing platforms.

RafflePress was co-founded by WPBeginner’s founder, Syed Balkhi, to help us boost engagement on our own site, and it works really well.

With that said, let’s start your first Facebook giveaway campaign.

Step 1. Creating Your First Facebook Giveaway Campaign

The first thing you need to do is install and activate the RafflePress plugin. For more details, see our step by step guide on how to install a WordPress plugin.

You can also use the RafflePress lite plugin for free, but for the sake of this tutorial, we will be showing the Pro version.

Upon activation, the plugin will add a new menu item labeled RafflePress to your WordPress admin sidebar.

Clicking on it will take you to the plugin’s settings, and you’ll be asked to enter your license key. You can find this information under your account on the RafflePress website.

RafflePress license key

After that, you need to visit RafflePress » Add New to launch the giveaway builder.

First, you need to provide a title for your giveaway and then choose a template. RafflePress comes with several pre-made templates for specific campaigns including one for growing your Facebook page.

Giveaway template

This will launch the giveaway builder with select actions users need to perform to join the contest. You can still add / remove actions to your giveaway (more on this later).

Facebook template

By default, the template will add login with the Facebook button, visit us on Facebook, and View a Facebook post or video actions.

Let’s start customizing this giveaway by adding our Prize details. Simply click on the edit icon next to the Prize title from the left column.

First, you need to provide a title for the prize. After that, you can provide a brief description and add a picture of the prize.

Note: Need help finding prize ideas? Here are 105 proven contest prize ideas for viral giveaways.

Just below the title, you’ll be able to select the start and end dates for the giveaway.

Campaign start and end date

Step 2. Adding More Actions to Your Facebook Giveaway

Now that you have done the basic set up for the giveaway, let’s add some more ways for users to join the giveaway.

You need to switch to the ‘Actions’ tab in the giveaway builder and start adding actions to your giveaway.

Adding actions to your Facebook giveaway

For example, you can ask users to join your email list, view your Instagram, Pinterest, or Twitter profile, send a Tweet, visit a page or a WooCommerce product on your store, and so on.

Simply click on an action and add it to your giveaway. The builder will then show you specific settings for that particular action.

Action settings

From here you need to provide a title for the action which users will see on the action button in your giveaway.

After that, you need to assign a value to the action. The value is the number of entries users will earn for performing an action. For example, if you are trying to get more likes on Facebook, then you would want to give more weight to your Facebook actions.

Below that, you have a choice to make an action mandatory. Users will not be able to participate in your Facebook contest if they don’t perform the mandatory action.

Finally, you’ll have action-specific settings such as providing your Facebook page URL, Facebook group link, or connecting to your email service.

Step 3: Design your Facebook Giveaway to Stand out

RafflePress gives you easy to use design tools to customize the appearance of your giveaway campaigns.

Simply switch to the Design tab, and you will see options to choose a layout, button color, and fonts for your giveaway.

Design your Facebook giveaway campaign

If you plan to use the giveaway as a standalone landing page vs embedding it in a blog post, page, or a sidebar widget, then you can also choose the page background color.

RafflePress allows you to add your giveaway to any WordPress post or page. You can also create a custom landing page for your Facebook giveaway contest by using your favorite WordPress page builder and simply add your giveaway widget there (more on this later).

Step 4. Fine Tuning Your Giveaway Settings

Now that your giveaway looks great, let’s review its settings for the last time. Switch to the ‘Settings’ tab under the builder to see various options.

They are all very self-explanatory, but we’ll go through them one by one.

General settings

First, you need to click on the ‘General’ tab and review the options.

If you wanted to create a standalone Facebook giveaway contest page, then you can do that here. Provide a name for your campaign page under the Page Permalink option without any spaces.

You can also show and hide the number of entries, contest winners, and the powered by link.

Next, switch to the ‘Giveaway Rules’ tab. This is where you’ll list the rules for joining the giveaway. You can start by clicking on the ‘Generate Rules’ button to automatically generate rules using a sample template.

Generate contest rules

If you want participants to confirm their email address, then switch to the email verification tab. From here, turn on the email verification feature and configure the confirmation email options.

Enable email verification

RafflePress allows you to track users who have successfully completed giveaway actions. You can do so by adding tracking scripts under the ‘Success tracking’ tab. For example, you can add your Google Analytics script here or a Facebook retargeting pixel code here.

Success tracking

If you want to redirect users to a specific page, then switch to the Success redirect tab and enter the URL of the page where you want to send users.

Success redirect

Lastly, you can turn the social login feature On/Off from the social logins tab. Turning it off will disable the login with Facebook button on your giveaway campaign.

Your giveaway is now ready to be launched. Don’t forget to click on the ‘Save’ button at the top right corner to save all your settings.

Step 5. Add Your Facebook Giveaway to a WordPress Post or Page

RafflePress makes it very easy to display your giveaway anywhere on your WordPress website.

You can simply edit a post or page or create a new one and then add the RafflePress block to the block editor.

Add RafflePress block

After that, you need to select the giveaway you created earlier. RafflePress block will now load a preview of your giveaway right inside the editor.

Giveaway preview

You can also add your giveaway to a sidebar or any other place using the shortcode.

Simply edit your giveaway and switch to the ‘Publish’ tab in the builder interface. From here, click on the shortcode option and RafflePress will show the shortcode you can use.

Copy the shortcode

Copy the shortcode and edit the post or page where you want to display the giveaway. Simply paste the shortcode inside the post editor and you are done.

You can also add the shortcode to a sidebar widget. Go to Appearance » Widgets page and then add the ‘Text’ widget to your sidebar.

Adding the shortcode to a sidebar widget

You can now paste your shortcode inside the widget settings and click on the save button to store it. After that, you can preview your website to see it in action.

Giveaway widget in sidebar

Step 6. Promoting Your Facebook Giveaway

You’ll need to start promoting your giveaway to build anticipation before the contest begins. We recommend planning ahead to give yourself enough time to publicize the campaign.

Here are a few things you can do to build anticipation for a successful giveaway campaign.

  • Send an email to the subscribers of your email newsletter.
  • Announce the event on social channels: Facebook, Twitter, Instagram, and more.
  • Run a paid advertising campaign (not required but it does help).
  • Reach out to influencers, bloggers, forums, and communities to get the word out.

By putting in all the hard work before the event increases the chances of your campaign to get viral. It will also increase the return on investment in terms of Facebook likes, followers, and new subscribers you’ll get for your website.

Step 7. Announcing The Giveaway Winners

The best part about RafflePress is that it automates the whole process. Your giveaway will automatically end once it reaches the end time and date you have set.

After that, you can automatically choose the lucky winners through a random draw.

Simply go to RafflePress » Giveaways page and click on the ‘Need Winners’ link next to your giveaway.

Need winners

Next, you’ll see a list of users who participated in the contest. You need to click on the Pick winner button at the top and select the number of users who can win and whether you want to allow unverified emails to win.

Choose a random winner for your Facebook giveaway

Click on the ‘Choose winner now’ button to continue.

RafflePress will now randomly select a winner for your giveaway.

Email giveaway winner

You can now click on the Email Winner link to send the winner an email about how they can claim their prize.

We hope this article helped you learn how to easily add a Facebook giveaway in WordPress to boost engagement. You may also want to see these actionable tips that you can use to get more traffic to your WordPress website.

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


How to Install and Setup Facebook Comments in WordPress

Facebook is the largest social network in the world. That’s why some of the top WordPress blogs use Facebook comments instead of the default WordPress comments.

If you are planning to add the Facebook comment system to your WordPress site, then you are in the right place.

In this article, we will show you how to install and setup Facebook comments in WordPress. We will also explain how to display the Facebook comment count on your website.

Install and Setup Facebook Comments in WordPress

Pros and Cons of Using Facebook Comments in WordPress

Before we get started with the tutorial, let’s cover the pros and cons of using Facebook comments compared to default WordPress comments.

One of the most obvious benefits is that Facebook comments increase your website’s visibility on Facebook.

When someone leaves a comment on your site, they can check the “Also post on Facebook” option to share their comment with their Facebook friends. This has a huge potential for additional traffic to your website.

Facebook comment form

Also, spammers will stay away from your website because they won’t receive a SEO backlink by commenting on your posts.

Another benefit of using Facebook comments is that it removes the anonymity factor, so users are less likely to leave spam comments because it’s tied to their Facebook profile.

However, this can act as a major downside as well.

Some users don’t feel comfortable leaving a comment using their Facebook profile because they like the sense of being anonymous.

Another disadvantage of using Facebook comments is that they are not stored or synced to WordPress, whereas third-party commenting systems like Disqus does sync with WordPress.

If you have older posts with default WordPress comments, then those comments may appear before or after the Facebook comments.

However, it is better to remove the WordPress comment system entirely if you are using the Facebook comment system on your site. Otherwise, spammers and bots will use the WordPress comments to spam your website.

Now that you know the pros and cons, let’s take a look at how to install Facebook comments in WordPress.

Setting Up Facebook Comments in WordPress

The easiest way to add Facebook comments in WordPress is by using a WordPress plugin.

We will be using the Lazy FB Comments plugin for the sake of this tutorial. This free plugin not only adds the Facebook comment system to your site, but it also lazy loads the comments to improve page speed.

First, you need to install and activate the Lazy FB Comments plugin. You may follow our guide on how to install a WordPress plugin for detailed instructions.

Upon activation, you need to visit Settings » Lazy FB Comments to configure the plugin.

Lazy FB Comments Plugin settings page

To use Facebook comments on your website, you will have to create a Facebook app and then add the application ID to the plugin’s settings page.

If you have previously created an app for your site, then you can use that application ID here. Otherwise, you will have to create a new app by going to the Facebook for Developers page.

To get started, you need to register for a Facebook Developer account if you don’t have one. Next, you will have to click on the My Apps link, present at the top-right corner of the page.

Create Facebook App button

A dropdown menu will open up where you need to click on the Create App option. This will open a modal window where you will have to provide your email address and a name for your app.

Create a new Facebook app

Once done, you need to click on the Create App ID button. This will open a popup box and will ask you to enter some CAPTCHA letters. Simply fill in the CAPTCHA textbox and then click on the Submit button.

Facebook will now create a new app for you and then redirect you to the app dashboard. You will notice your APP ID displayed there.

Facebook APP dashboard

Next, you need to tell Facebook how you’d use the App.

Simply click on the Settings » Basic link from the left sidebar, and then click on the + Add Platform button, present at the bottom of the page.

Facebook app platform button

A new popup window would appear on the screen. You need to click on Website to select it as your platform.

Select Facebook app platform

This will add a new “Website” section in your app’s settings page where you can enter your website URL.

Add website address

After saving your settings, you can now copy the APP ID and paste it in the FB Application ID textbox of the plugin’s settings page on your WordPress site.

Once you are done, you need to scroll down and then click on the Save All Changes button to store your settings.

Moderate Facebook Comments option

Now you will see a new option to “Moderate Comments” beside the title of this plugin. We will explain how to moderate Facebook comments in the next section.

This plugin also comes with a comprehensive set of options. You can go through the settings to see if there is something that you would like to change.

For example, you can change the Load Comments option to “On Scroll”. This will load the Facebook comment system only when someone reaches the end of the article. This will help you improve page load speed.

Lazy FB comments load on scroll

Other than that, the default settings should work for most websites.

Now, you can visit any post on your WordPress site to see the Facebook comment system in action.

Facebook comment system in action

Moderating the Facebook Comments on Your Website

As the admin of the Facebook app, you will get notifications for new comments when you log in to your Facebook account.

You will also find a link to moderate comments on the plugin’s settings page.

Facebook comment moderation tool

Just like WordPress comments, you can set comment moderation rules on Facebook by clicking on the Settings link. This will open a popup where you need to click on the “Moderation Rules” tab.

FB Comments moderation rules

From here, you can decide the maximum character limit to be allowed in a comment. You can also set a limit after which the comments will be automatically closed on your posts.

Facebook allows you to add new comment moderators as well. You need to click on the “Moderators” tab and then add the person using the textbox.

Adding Comment Moderators

Once you are done, you need to click on the Save button to store the settings.

Display the Facebook Comment Count in WordPress

One of the downsides of using the Lazy FB Comments plugin is that it overtakes WordPress comment count functions and outputs a Facebook-branded version of the comment count.

If your theme displays comment count, then this would not look good

If you still want to display the Facebook comment count, then you can do that with the help of a code snippet.

First, you need to connect to your WordPress hosting account using an FTP client and then go to the /wp-content/themes/ folder. 

From here you need to open your current theme folder and then locate the single.php file.

Download single.php file using FTP

Next, you need to right-click on that file and then click on Download.

After that, you should open the single.php file using a plain text editor like Notepad. Once the file is open, look for the code used by your theme to display comment count and carefully replace it with the following code.


This code snippet will help you to display the Facebook comment count on every post.

Finally, you need to save the file and then upload it back to the current theme folder using FTP.

That’s all! We hope this article helped you install and set up Facebook comments on your WordPress site.

You may also want to check out our guide on how to add Facebook open graph meta data in WordPress or how to get a virtual phone number for your website.

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


How to Add Facebook Like Reactions to Your WordPress Posts

Do you want to add Facebook like reactions to your WordPress blog posts? Emotional reactions allow users a way to provide quick feedback on your articles. In this article, we will show you how to add Facebook like reactions to your WordPress posts.

Adding Facebook Type Reactions for WordPress Blog Posts

What is Reactions?

Facebook recently added more ways for users to show their reaction on posts in their timelines. Aside from just clicking like on the post, they can also show other expressions.

Facebook reactions

However this Facebook feature is not yet available for WordPress sites. You can still use the old Facebook like button.

However there are other WordPress plugins that allow you to engage readers with post reactions or with points system.

Since Facebook’s implementation is the fastest and more visually appealing, we found a WordPress plugin that allows you to add facebook like reactions to your WordPress posts..

Let’s see how you can add the functionality similar to Facebook reactions in your WordPress blog posts.

Setting up Emotional Reactions in WordPress

First thing you need to do is install and activate the DW Reactions plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Settings » Reactions page to configure the plugin settings.

Reactions Settings

For automatic display of reactions in your blog posts, check the boxes next to Show reactions button and Show reactions count options.

By default, the plugin allows registered and logged in users to react. You can change that by unchecking the box next to ‘Users must be registered and logged in to add reaction’ option.

After that click on the Save changes button to store your plugin settings.

You can now visit your website to see the plugin in action.

Facebook type Reactions in WordPress

If you only want to show reactions on selected posts and pages, then you need to disable automatic display by unchecking the first two options in the plugin settings.

After that, you can use the [reactions] shortcode in your posts and pages where you want to display reactions.

That’s all, we hope this article helped you add Facebook like reactions to your WordPress blog posts. You may also want to see our guide on adding a post rating system in WordPress.

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