current page URL

hi guys,

I want to just print my current pageurl in my facebook comment code

<th><div class="fb-comments" data-href="<?php echo getCurrentPage();?>" data-width="470" data-num-posts="10" data-colorscheme="dark"></div></th>

but when i do the above it gives me some other pages comments, am i doing something wrong?

Comments

  • i got it guys

    <th><div class="fb-comments" data-href="<?php echo getImageLinkURL();?>" data-width="470" data-num-posts="10" data-colorscheme="dark"></div></th>
Sign In or Register to comment.