How to add opengraph

  • Hello before your plugin has the option to add opengraph for facebook, instagram, linkden why did you remove them , and how we can add them again.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thanks for getting in touch with us.

    Yes, we have removed certain social networks from the social meta tab in titles & meta settings.

    The same thing is mentioned in our changelog:
    Removed: Multiple Social meta options, as they are not required anymore for the Knowledge Graph by Google & Bing. You should only see the needed options in the Global Social Meta settings page

    https://rankmath.com/changelog/

    These are all the options we have now:

    Please run the SEO Analysis again so you can see the updated tests.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    i know that your plugin remove them, how we can add this manually do you know how

    Hello,

    The options removed are just the social data. The opengraph data which is used in social sharing such as og:image, og:url and other is are still added to your page.

    However, if you want to add your social URLs to your site schema, you can do that by use of the following filter:

    
    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
        if ( isset( $data['Organization'] ) ) {
            $data['Organization']['sameAs'] = ['https://twitter.com/RankMath', 'https://facebook.com/Rankmath'];
        }
        return $data;
    }, 99, 2 );
    

    Change the URLs to your own social URLs

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    ok thank you

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

The ticket ‘How to add opengraph’ is closed to new replies.