Post Widgets

Facebook Comments and Likes

The Facebook comments plugin lets people comment on content on your site using their Facebook account. People can choose to share their comment activity with their friends (and friends of their friends) on Facebook as well. The comments plugin also includes built-in moderation tools and social relevance ranking.

  1. Firstly you need to integrate Facebook SDK, by setting following options in theme config file:

    next/_config.yml
    # Facebook SDK Support.
    facebook_sdk:
    enable: false
    app_id: #<app_id>
    fb_admin: #<user_id>
    like_button: #true
    webmaster: #true
  2. Then set the value enable to true in facebook_comments_plugin section, and change following options below:

    next/_config.yml
    # Facebook comments plugin
    # This plugin depends on Facebook SDK.
    # If facebook_sdk.enable is false, Facebook comments plugin is unavailable.
    facebook_comments_plugin:
    enable: false
    num_of_posts: 10 # min posts num is 1
    width: 100% # default width is 550px
    scheme: light # default scheme is light (light or dark)

VKontakte Comments and Likes

VKontakte offers flexible commentting tools that can be easily built into your website. This enables VK users to comment on your materials without having to register on your site.

Login to VKontakte Developers and create apps. Go to the Comments Widget, you will get some code:

<script type="text/javascript">
VK.init({apiId: API_ID, onlyWidgets: true});
</script>

You can enable it by setting value vkontakte_api.enable to true, and copy API_ID value of apiId key in theme config file.

next/_config.yml
vkontakte_api:
enable: false
app_id: API_ID #<app_id>
comments: true
num_of_posts: 10

With «Like» widget your visitors can express their attitude towards an article with one click or immediately share the link to it with their friends.

Login to VKontakte Developers and create apps. Go to the Like Widget, you will get some code:

<script type="text/javascript">
VK.init({apiId: API_ID, onlyWidgets: true});
</script>

You can enable it by setting value vkontakte_api.enable to true, and copy API_ID value of apiId key in theme config file.

next/_config.yml
vkontakte_api:
enable: false
app_id: API_ID #<app_id>
like: true
num_of_posts: 10

Widgetpack Rating

Rating service with login through any social networks like Facebook, Twitter, Google+, LinkedIn, Instagram and others.

Login to widgetpack and add new site, you will get your site ID:

wpac_init.push({widget: 'Rating', id: ID});

You can enable it by setting value rating.enable to true, and copy ID value of id in theme config file. You can also configure the rating color by editing values in rating.color section.

next/_config.yml
rating:
enable: false
id: ID #<app_id>
color: fc6423

AddThis

Sign up in AddThis. You can use Google/Facebook/Twitter to login.

Get AddThis ID in this menu: More..GeneralID. See example on the picture below:
AddThis ID

Edit the configurations in add_this_id section in the theme config file as following:

next/_config.yml
add_this_id: your_add_this_id