Viewing 5 replies - 1 through 5 (of 5 total)
  • on line 482 change $encoded_link to $unencoded_link
    Worked for me.

    Thread Starter Jack Yan

    (@jack-yan)

    Thanks, Enej. Sadly, it makes no difference to me. ??

    I’m having the same issue. Referencing enej, changing line 482 made no difference for me.

    Thread Starter Jack Yan

    (@jack-yan)

    Hi Edengabe: I changed to a WordPress plug-in called ‘Really simple Facebook Twitter share buttons’. Does the same thing. I still prefer Social Media Counters but couldn’t afford to be without a Facebook “like”.

    I wasn’t getting any errors, the button just vanished for me. Using version 1.1.2 and WP 3.5.1

    I got it working again using this suggestion, but I had to make the change in two places, for me it was on lines 437 and 500.

    The lines are in the two sections labeled FACEBOOK SHARE, and look like this:
    $phsmc .= '<div class="fb-like" data-href="'.$encoded_link.'" data-send="false" data-layout="button_count"></div>';

    when I changed that to $unencoded_link in both places, the Like button showed up on my posts again.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘The href URL must be absolute’ is closed to new replies.