WordPress.org

Ready to get started?Download WordPress

Forums

SEO Facebook Comment
[resolved] Broken links in posts (8 posts)

  1. Guido Eugenio aka Zhenya
    Member
    Posted 2 years ago #

    Hello,
    thank you for your wonderful plugin. Still, I have a problem with it. After I activated the plugin, all the links above it (in the posts) have become not clickable, while the links of facebook box and the WordPress comments situated below are clickable.
    In the html code all is correct, because the links are present.
    It seems like the post above is covered by something.. strange.
    The header, footer and sidebars are ok, their links work properly.

    (wp 3.3.1 and theme Magazine Basic)

    Thanks for any help or suggestions.

    http://wordpress.org/extend/plugins/seo-facebook-comments/

  2. Guido Eugenio aka Zhenya
    Member
    Posted 2 years ago #

    Hi again,
    I have made some test, and I found out that this issue happens only with the browsers Opera, FireFox and Chrome, while with Internet Explorer 8 all the links work properly.

  3. Guido Eugenio aka Zhenya
    Member
    Posted 2 years ago #

    There is a severe bug in SEO Facebook Comment. I suppose that it can be the CSS that redefining something connected with the tag DIV. If the plugin is deactivated, all those links work again.
    A fix is necessary.

    Thank you in advance.

  4. Guido Eugenio aka Zhenya
    Member
    Posted 2 years ago #

    In the file seofacebook.php, around the line 400 I have changed the "div" in "span":

    echo "<span id=\"fbSEOComments\" style=\"width:{$this->options['width']}\">";
    self::fbAddComment($postUrl, $postId, $comments);
    echo "</span>";

    Around the line 424 doing the same thing:::

    echo "<span id=\"fbSEOComments\" style=\"width:{$this->options['width']}\"> Please, insert a valid <a href='$fb_optionsPage' style='color: #c00;'>App ID</a>, otherwise your plugin won't work correctly.</span>";
    }

    Now the plugin does his job fine, And the page or posts links are clickable.

  5. Johnny Bravo
    Member
    Posted 2 years ago #

    thank you zhenya,. worked a treat! :)

  6. Guido Eugenio aka Zhenya
    Member
    Posted 2 years ago #

    To be really the best SEO Facebook Comment this plugin still need few code. Before and after the container must insert the special html tags:::

    <!--googleoff: all-->
    here all the stuff and the FaceBook box
    <!--googleon: all-->

    This need to exclude unwanted text, anchor and contents from its index:
    http://code.google.com/intl/it/apis/searchappliance/documentation/46/admin_crawl/Preparing.html#pagepart

    Already I tried to do it, but I was not able to make it printed on the html source.

    Hope his developer will do it for the next release.

  7. Guido Eugenio aka Zhenya
    Member
    Posted 2 years ago #

    Done!
    I have insert the echo to print in the html source this tags, see below.

    Around the line 400:

    $this->loadJS();
    echo "<!--googleoff: all-->";
    echo "<span id=\"fbSEOComments\" style=\"width:{$this->options['width']}\">";
    self::fbAddComment($postUrl, $postId, $comments);
    echo "</span>";
    echo "<!--googleon: all-->";
    }

    And around the line 425:

    $fb_optionsPage = admin_url($url);
    echo "<!--googleoff: all-->";
    echo "<span id=\"fbSEOComments\" style=\"width:{$this->options['width']}\"> Please, insert a valid <a href='$fb_optionsPage' style='color: #c00;'>App ID</a>, otherwise your plugin won't work correctly.</span>";
    echo "<!--googleon: all-->";

    Now this plugin is really SEO!

  8. foto.adriano
    Member
    Posted 2 years ago #

    My seofacebook.php doesn't have the "div" you mentioned. I'm having the same problem, the plugin is making the links not clikable in the posts. I have the recent version. My site is http://soltaopause.com.br.
    Please i need some help and i'm not a code expert.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic