Support » Plugin: WP Facebook Open Graph protocol » Facebook excerpt grabs HTML code

  • Resolved wanderlightly


    Hi Chuck! Thanks for the plugin. The problem I have is that when I link to articles on my site, the HTML code that creates the “Continue Reading” link shows up after the excerpt. The excerpt then looks like this:

    The things of our childhoods have not travelled as far as we have. It’s a tiny disappointment our intoxicated grown-up selves quickly forget. by Zimin Ho <​a href="" class="more-link">Continue Reading <​span class="meta-nav">→<​/span><​/a>

    The <a href> bit etc makes it look really terrible, and I was wondering how I could fix that.

    Also, when I link to my site’s main page, it grabs a random image and doesn’t follow the description I’ve written in the meta tags (using the Yoast SEO plugin).

    Is there something wrong that I’m doing? Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Chuck Reynolds


    Well you have my plugin outputting og: tags on lines 109-121 in source and you have WPSEO doing them too and also there’s another plugin outputting them too. So… you need to choose one and turn the other plugins/settings off. If you have more than one set of open graph tags facebook starts to freak out.

    Thank you for the response! I’ve deactivated WP SEO’s Facebook OG tags and left yours activated, but the HTML still shows up. I’ve removed what I think are the conflicting plugins, too.

    Is it theme-related? Because I saw that in your updates list, you had to remove the “Continue Reading” injection in particular themes so I don’t know if it’s a setup of my theme that this is happening – I’m using Fashionistas.

    Plugin Author Chuck Reynolds


    You still have another plugin outputting open graph tags and that’s the one that is outputting html in the tags. not mine.

    Here’s a screenshot of my plugin output:

    Here’s a screenshot of that other one’s output:

    Sorry I can’t tell what plugin is doing that for you but you should try turning off other social plugins and viewing that page source to see when that other code goes away. Good luck!

    OK – thanks for your help, Chuck! 🙂

    Plugin Author Chuck Reynolds


    yup. cheers

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Facebook excerpt grabs HTML code’ is closed to new replies.