Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter threegroup

    (@threegroup)

    Just noticed I copied and pasted the wrong code. The fix is:

    // Pass along the correct content-type
                if ( !is_singular( 'post' ) ) {
                    echo '_hsq.push(["setContentType", "standard-page"]);'."\n";
                } else {
                    echo '_hsq.push(["setContentType", "blog-post"]);'."\n";
                }

    Sorry to revive an old thread, but I think I have a solution because I too had the problem.

    The problem seems to be when you embed the code yourself on a page, versus the plugin automatically adding the code.

    I believe your issue is on lines 84 and 129 of class-frontend.php. Without modification, they read:

    if (empty($fbcomments[linklove])) {

    However, your instructions for linklove say:

    enter “1” to link to the plugin

    If you enter 1, then that configuration setting is no longer empty. Therefore, the modification to lines 84 and 129 should simply be one character:

    if (!empty($fbcomments[linklove])) {

    This resolved all problems for me, hope it does for others – and that if I’m right, Alex can incorporate this fix into the next patch of the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)