Hello Summer Sale!
Exclusive season-opening discount on TheGem theme.
Limited time offer.

Okay
  Public Ticket #1321856
Social Sharing Information
Closed

Comments

  • jo_southwell started the conversation

    I have tried using Yoast SEO to alter what is shared on social media, but no matter what I do, the theme seems to be overriding the information Facebook grabs. It is sharing the og:title and og:description, which is the same thing and all my posts shared to Facebook have this info repeated. I have tried lots of different plug-ins, but cannot alter the information shared? I don't know what else to do!

    og:titleCan you afford NOT to get solar?
    og:descriptionCan you afford NOT to get solar?
  •  7,280
    Oliver replied

    HI!

    Try to remove:

    $output .= '<meta property="og:title" content="'.trim(esc_attr($og_title)).'">'."\n";
            $output .= '<meta property="og:description" content="'.trim(esc_attr($og_description)).'">'."\n";
            $output .= '<meta property="og:site_name" content="'.trim(esc_attr($og_site_name)).'">'."\n";
            $output .= '<meta property="og:type" content="'.trim(esc_attr($og_type)).'">'."\n";
            $output .= '<meta property="og:url" content="'.trim(esc_attr($og_url)).'">'."\n";

    From the 

    /wp-content/themes/thegem/functions.php

    And check

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • jo_southwell replied

    Oh thanks so much! Thank did the trick.

    You have made my day Gregor! 

    Cheers for taking the time to reply :)

  •  7,280
    Oliver replied

    Welcome!

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver