Forums

SEO Ultimate
[resolved] Meta description not being shared on facebook, google plus etc (5 posts)

  1. Luke McGrath
    Member
    Posted 7 months ago #

    My meta descriptions are working correctly on page in the html and showing up perfectly in SERPS, but when I add any kind of sharing button (I've tried all the top plugins and added buttons freehand) it shares the start of the content's html.

    Usually this is "[caption id=", so not even the text content of a post.

    Anyone know of a fix for this?

    http://wordpress.org/extend/plugins/seo-ultimate/

  2. sanderbaks
    Member
    Posted 4 months ago #

    Ik have the same issue. Any Solutions yet?

  3. OC2PS
    Member
    Posted 4 months ago #

    This is marked as resolved. So what's the solution?

  4. ElJuano
    Member
    Posted 3 months ago #

    Yeah, this is so not resolved...

  5. ElJuano
    Member
    Posted 3 months ago #

    Okay, I got this to work by modifying /wp-content/plugins/seo-ultimate/modules/meta/meta-descriptions.php. I modified line 237 to read:

    echo "\t<meta name=\"description\" content=\"$desc\" />\n\t<meta property='og:description' content='$desc' />\n";

    This adds in the Open Graph description meta tag. Then, I went into my plugin that was adding in the Open Graph code and commented out (//) the description section.

    Initially I had tried to go the other way, but I couldn't figure that out. Essentially, I think the problem is that a plugin can't rewrite the excerpt because the_excerpt can't be modified outside of the loop (I think). I'm not a coder by trade, so use at your own risk.

    Also, when you update SEO Ultimate, this change will be overwritten and you'll have to add it in by hand again. I would be very surprised if the guys over at SEO Design Solutions don't already have this in the works.

Reply

You must log in to post.

About this Plugin

About this Topic