Different FB like for single posts and whole site (1 post)

  1. Tamara-IT
    Posted 4 years ago #

    I'm setting up a website where I'd like to implement two different Facebook Like buttons: one button for the site (it has some static pages and this button is already set up and working) and one for every single posts of the blog.
    I've tried various plugins and some of them make the user "like" the whole site instead of the post; another works but display a preview of the home page and its title instead of posts', though the linking is correct.
    Also tried this in single.php:
    <fb:like href="<?php the_permalink() ?>" send="true" width="450" show_faces="false"></fb:like>
    but it gives the same "like" of the whole site.
    Any hint?

Topic Closed

This topic has been closed to new replies.

About this Topic