• Hi,

    I recently installed the flare plugin and it seems to have overwritten my og:description.

    Here is an exact example of one of my posts where this has occurred:

    <meta property=’og:description’ content=’20 Flares Twitter 4 Tweet Facebook 15 Pin It Share 1 LinkedIn 0 Google+ 0 StumbleUpon 0 20 Flares × 20 Flares Twitter 4 Tweet Facebook 15 Pin It Share 1 LinkedIn 0 Google+ 0 StumbleUpon 0 20 Flares ×’/>

    It luckily isn’t showing up when sharing articles on social platforms, but would be nice to have a solution to this.

    http://wordpress.org/extend/plugins/flare/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author telepathy

    (@dtelepathy)

    Hi Chris – what method are you using to populate the og:description?

    I’m having the same issues – and I’m using Yoast SEO plugin.

    Plugin Author telepathy

    (@dtelepathy)

    Hi George – this looks like a get_the_excerpt() issue we have fixed in this upcoming release.

    If you want you can add in a line of code to the the_content() hooked function in the flare.php file.

    Immediately after the global $post;

    function the_content( $content ) {
        global $post;
        .
        .
        .
        .
        return $content;
    }

    Add in this line:

    if( in_array( 'get_the_excerpt', $GLOBALS['wp_current_filter'] ) ) return $content;

    So it will look like this:

    function the_content( $content ) {
        global $post;
    
        if( in_array( 'get_the_excerpt', $GLOBALS['wp_current_filter'] ) ) return $content;
    
        // If Flare shouldn't be here, just return the $content
        if( !$this->_include_flare() ) {
            return $content;
        }
        .
        .
        .
        .
        return $content;
    }
    Thread Starter chris-slick

    (@chris-slick)

    Hi dtelepathy,

    I started using the Facebook Revised Open Graph Meta Tag plugin and it seems to have fixed the display of Flare text in the meta, but I wouldn’t recommend this is a solution.

    I am going to try getting Yoast to work again but I think it was causing me issues as well. I am guessing its a conflict of plugins or even the plugins and my theme because Yoast worked perfectly before..

    Thread Starter chris-slick

    (@chris-slick)

    I made your fix and switched back to Yoast plugin and all is working well now.

    I’m having the same issue to with my blog post like http://www.mrryanconnors.com/7-things-never-ever-to-do-on-twitter/. I made the changes to the code mentioned above to no avail. Any other ideas on a solution or timeline for a patch?

    I have the latest version of Flare (1.2.4) and am still experiencing this problem :-/ I manually checked flare.php and it appears that the “fix” is in there. Unfortunately I am still seeing the problem.

    Example: http://www.lifelisted.com/blog/my-ted-talk-the-most-important-question/

    Help would be much appreciated! 🙂

    I manually edited the plugin to display the flare info at the end of the content rather then at the beginning (thus making it not affect the meta description, og:description and twitter:description). My hack isn’t ideal and I’d love to see a real fix instead 🙂

    DannyDover, I’d like to see where in flare.php you made your edits, and how. I’m having the same problem with Flare outputting info in excerpts, which we’re using to describe news articles on our site. The first solution was to put in an $result = substr($result, 28); in one of our custom filters, but since the string input by Flare varies, it’s no permanent solution.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Flares content is displaying in og:description’ is closed to new replies.