Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Michael Ott

    (@mikeyott)

    Hi ricomtl,

    I’m unable to duplicate what you described. My only thought is maybe it’s a conflict with another plugin.

    If you wouldn’t mind, disable all other plugins and let me know if the problem still exists?

    Thanks in advance.

    Thread Starter ricomtl

    (@ricomtl)

    I just launched my site and I can’t afford disabling all plugins as the entire site will get broken (multilingual plugin, shortcodes for layout)…

    I will continue testing… and see what I can do. if I find anything, I’ll share it here…

    Plugin Author Michael Ott

    (@mikeyott)

    Hi ricomtl,

    My apologies. I had assumed you may have had a local version or even remote development version to test on.

    May I suggest doing that anyway as it’s a great way to test new things before putting them live. The easiest way is to grab WAMP for Windows or MAMP for Mac. There’s more to it of course and there are a stack of tutorials online.

    Good luck and thanks for the response.

    Thread Starter ricomtl

    (@ricomtl)

    I’m trying to set up a stage/test environment so I can test this.

    When I use the Facebook debug tool, I do see the OG:title & OG:site_name are correct and populated, but only the OG:site_name gets stripped out.

    At least I know the information is somewhat visible to Facebook, what’s odd is why it’s not being ported over when shared.

    Thread Starter ricomtl

    (@ricomtl)

    Found the issue, seriously it was a mistake as I was trying to achieve something else and it seems to be working perfectly now. Still confused but happy that it works! 🙂

    In the plugin file:
    _facebook-thumb-fixer.php

    I found this:
    <meta property=”og:title” content=”‘ . get_the_title() . ‘” />

    I added the extra code (strip_tags)
    <meta property=”og:title” content=”‘ . get_the_title (strip_tags(‘title’)) . ‘” />

    Ran all my urls through the Facebook debug tool and now my URL shares will show OG:title + OG:site_name

    Plugin Author Michael Ott

    (@mikeyott)

    Thanks ricomtl.

    Based on that and given someone else might run into this problem, I think I’ll update the plugin to strip_tags in more places.

    Cheers.

    Plugin Author Michael Ott

    (@mikeyott)

    1.3.3 update being pushed out now.

    Thread Starter ricomtl

    (@ricomtl)

    Woah… that was fast. Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Site title is stripped out’ is closed to new replies.