How to display Ultimate Facebook Comments in a popup box.

So, I’ve placed the following line inside the loop, to display a link to each post’s facebook comments.

<a href="<?php comments_link(); ?>"><?php comments_number('Be the first to comment!', '1 comment.', '% comments already!'); ?></a>

When I click the link it takes me to the single post page and displays the post content and the facebook comments section at the bottom. But I don’t want to display the post content, I just need to display the facebook comments in a separate page.

I tried comments_popup_link and comments_popup_script but they only display default wordpress comments inside the popup.

By the way I’m calling the comments box by using <?php do_action(“my_comments”:wink:;?> function. But the same function doesn’t work in a popup or lightbox.

  • DavidM
    • DEV MAN’s Mascot

    Hi Taltin,

    The plugin hasn’t been designed to be used in a lightbox, it’d require some custom code to get it to work like that. It sounds like a neat idea though, hope you don’t mind me moving this over to the feature suggestion forum to have a look at.

    Anyone else looking for something like this?


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.