Ready to get started?Download WordPress


problem when sharing on facebook (7 posts)

  1. pomelo
    Posted 3 years ago #


    I've got a problem but I don't really know if it comes from a theme or a plugin...

    I use a plugin that allows me to share a page of my site on facebook.

    Instead of having the description of the page (or an Extract of the page) I've got code like this :
    '; winimg.document.writeln(doc); winimg.document.close(); } //]]> .recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}

    I've asked for support on the french wordpress 2 months ago and nobody is able to help me ... Si I turn to you

    I tried other themes and different plugins (share content, fixed social buttons ..) and the problem is always there.

    You can try if you want, to share this page :
    using the facebook button on the right bar (just to see whay will be shared)

    If someone could help me, I would really appreciate it ...

    Thanks a lot !

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Have you tried:

    - deactivating all other plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Ten theme to rule out any theme-specific problems.

  3. pomelo
    Posted 3 years ago #


    Thanks a lot for your answer

    I've just tried your 2 options (both at the same time) and the problem is still present.

    So, I wonder if it possible to come from my web hosting ?

    I'm with infomaniak for this site but I've got other blogs (1and1) and no problem there ...

    Is it possible and is it possible to fix the problem ?

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    Try re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress.

  5. pomelo
    Posted 3 years ago #

    I've just done that and it is still the same :((

  6. esmi
    Forum Moderator
    Posted 3 years ago #

    My guess is that the code you're seeing (javascript) is coming from your current Facebook plugin.

  7. pomelo
    Posted 3 years ago #

    But I don't understand why this code appears with other plugins allowing to share content on facebook :(
    I've tried other ones and the problem is always he same ...

Topic Closed

This topic has been closed to new replies.

About this Topic