Display your Facebook Fanpage widget in your sidebar or post content via a shortcode. Enable Facebook comments next to or instead of the WordPress comments.
Facebook Fanpage
Widget
This feature is available in themes that support widgets only.
You may display your Facebook Fanpage widget in your sidebar by following these steps:
- Navigate to Appearance → Widgets.
- Drag the Facebook Fanpage widget to the desired widget area.
- Configure available widget options and click Save.
Shortcode
You may also add Facebook Fanpage in your post or page content by adding the following shortcode:
[premiumkits_facebook_fanpage href="https://www.facebook.com/themeinwp"]
Accepted Attributes
href
Facebook Page URL. (Required)
hide_cover
Hide Cover. Default is false
.
show_facepile
Show Facepile. Default is false
.
show_posts
Show Posts Default is false
.
small_header
Small Header. Default is false
.
Example
[premiumkits_facebook_fanpage href="https://www.facebook.com/themeinwp" hide_cover="false" show_facepile="false" show_posts="false" small_header="false"]
Facebook Comments
To enable Facebook Comments on your website, navigate to Settings → Discussion → Facebook Comments.
Access Tokens
User Access Token
Go to https://developers.facebook.com/apps.
Click on “Create App“: