WordPress.org

Forums

Facebook Likes You!
Button is liking ALL posts instead of individual posts (4 posts)

  1. Tom
    Member
    Posted 3 years ago #

    As per the title- when I click the like button on WordPress, it likes ALL of the posts within my site, rather than that individual post.

    Also, rather than the link (that appears in the Facebook newsfeed) linking to the root of the domain (as I'd expect), it links to one POST in particular, and I can't for the life of me figure out what's going on.

    Any ideas?

    I've inserted this code directly into these template(s):
    index.php
    single.php

    <?php echo do_shortcode('[fb-like-button]'); ?>

  2. Piotr Sochalewski
    Member
    Plugin Author

    Posted 3 years ago #

    I've got simple advice for you - don't use PHP if you don't have to. Let the plugin do what it should.

  3. Tom
    Member
    Posted 3 years ago #

    Care to elaborate?

  4. Andreas Beer
    Member
    Posted 3 years ago #

    I'm getting 24 recommendations the instant a post is published and I am letting the plugin work. So, unless search bots have developed a finger to click on Recommend or Like I would presume that there is something wrong with this plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic