Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bemcapaz

    (@bemcapaz)

    Hi Jenn,

    The version 1.5.1+ of the plugin now supports this feature, all you have to do is go to the part of the code of the page that you wan’t the plugin to be shown and add the following code

    do_action(‘seo_facebook_comments’);

    Thanks for the feedback

    vallovic

    (@vallovic)

    This is a great feature and I’m using it right now, but I think that if we use it on a given page, then the comments shouldn’t be rendered again.

    Right now, using the do_action PHP code, I’m getting the comments box 2 times, so I added a boolean in the FBComments class that checks if the comments box has been already rendered – if false, renders it, if true, don’t render.

    Maybe there’s a more elegant way to do this, but it worked for me without much hassle.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcode or php code?’ is closed to new replies.