WordPress.org

Ready to get started?Download WordPress

Forums

Sharebar
Issue with Facebook permalink (1 post)

  1. noltha
    Member
    Posted 1 year ago #

    Plugin works smoothly and I have got just 1 issue.

    FB social plugins on wordpress don't work well if we don't add the href="<?php the_permalink(); ?>".

    Example: <fb:like colorscheme="light" href="<?php the_permalink(); ?>">

    Adding the permalink will make sure counts are right for the post page even if the URL is http://www.exaple.com/?12345 or http://www.exaple.com/#comment1

    But when I add the get_permalink function to sharebar my buttons stop working, probably because PHP code is not allowed.

    How can I fix this? Is there a way to get the permelink on WordPress without using PHP? I think there isn't. So, can you enable PHP on Sharebar?

    http://wordpress.org/extend/plugins/sharebar/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.