Support » Plugin: Display Posts - Easy lists, grids, navigation, and more » Is your plugin confusing Facebook’s metadata?

  • Resolved Number_6

    (@number_6)


    Hello,

    As I write this, Facebook is using the metadata of my most recent post instead of that which I supplied in the <head>. It came about after I remade my home.php and included your shortcode in it. Now that it’s removed, it still pulls the same metadata (imaged below). I still suspect he plugin, as when I added attributes to your shortcode it resulted in an unknown error which made the page return blank white.

    http://prntscr.com/k1nq2g (image of Facebook debugger as it is upon my writing)

    Any info will be appreciated.

    • This topic was modified 2 years, 4 months ago by Number_6.

    The page I need help with: [log in to see the link]

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

    (@billerickson)

    Thanks for the message.

    No, this is not caused by Shared Counts, but there is definitely something wrong on your site. Shared Counts does not add any open graph tags (what Facebook uses to specify site metadata) to your site. That is typically handled by an SEO plugin like Yoast SEO.

    Either your theme or another plugin is adding incorrect open graph tags on your homepage. Here’s a screenshot. There are two ways I can imagine this happening:

    1. The “open graph provider” (ie: theme or plugin that’s adding the tags) doesn’t know how to display correct tags on your blog homepage. I think this is unlikely.

    2. Your theme or another plugin is overwriting the global query, making your WordPress site *think* its on that blog post rather than your homepage, at the time those tags are rendered. This is more likely.

    I recommend you ask your host to create a staging environment where you can test changes to your site without them being visible on the live site (ex: testing.evrn.net ).

    Switch to one of the default WordPress themes and view the source of your page (look for og:url). If the open graph URL shows your homepage, that means its an issue with your theme. If it still displays the blog post url, it’s an issue in one of your plugins.

    Deactivate your plugins one-by-one and view the source again. Once you see the og:url change to the homepage, you’ll know what plugin is causing the issue.

    Once you know if it’s a theme or plugin issue, you can decide if you want to remove that theme/plugin or try to fix the issue. You can then contact the theme/plugin creator for guidance.

    Alternatively, you could hire someone on Codeable to help you through this process.

    I hope that helps.

    Yes, it helped tremendously. But what the problem actually was will remain a mystery as it wasn’t the theme, yet it was one of the plugins. Reactivating each one, it didn’t revert back to the improper metadata.
    It’s like that old joke about restarting the computer to fix it.

    Many thnaks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is your plugin confusing Facebook’s metadata?’ is closed to new replies.