Support » Plugins » Facebook button (new version)

  • Hello,
    I need to update my old version of fb button.


    <div class="fb-like" data-href="<?php echo urlencode(get_permalink($post->ID)); ?>" data-width="30" data-layout="button_count" data-show-faces="false" data-send="false"></div>


    <fb:like href="<?php the_permalink() ?>" layout="button_count" show_faces="false" send="false"></fb:like>

    is <?php the_permalink() ?> right? Cause with <?php echo urlencode(get_permalink($post->ID)); ?> doesn’t work..
    Any helps?


Viewing 1 replies (of 1 total)
  • No answer?

    Which is better? <?php the_permalink() ?> or <?php echo urlencode(get_permalink($post->ID)); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Facebook button (new version)’ is closed to new replies.