Disabling markup <meta property = "og:

#23798
  • Resolved Ilya Protasov
    Rank Math free

    Hello! Thank you for the great plugin. Is it possible to disable markup for Social networks? <meta property = “og:
    and other lines of this markup

    I reviewed all the settings, I did not find it. I use a separate plugin for this, with which I can flexibly configure the necessary parameters. Of course it’s convenient when you can disable unnecessary functionality

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

    Thank you for contacting Rank Math today.

    You can easily disable the addition of Rank Math OpenGraph tags on the head of your pages by adding the following code to your (child) theme’s functions.php file:

    /**
     * Hook to remove og:tags
     */
    add_action( 'rank_math/head', function() {
    	remove_all_actions( 'rank_math/opengraph/facebook' );
    	remove_all_actions( 'rank_math/opengraph/twitter' );
    });

    Looking forward to helping you. Thank you.

    ​​​​​​

    Thank you very much!

    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/?rate=5#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 3 replies - 1 through 3 (of 3 total)

The ticket ‘Disabling markup <meta property = "og:’ is closed to new replies.