Remove Twitter data from every page

#469550
  • Resolved Troy
    Rank Math free

    Hi,

    I have noticed that the following data is in the head section of every page on my website.

    <meta name=”twitter:label1″ content=”Written by” />
    <meta name=”twitter:data1″ content=”Author” />
    <meta name=”twitter:label2″ content=”Time to read” />
    <meta name=”twitter:data2″ content=”Less than a minute” />

    I have tried removing it using this filter in rank-math.php but it didn’t work.

    /**
    * Allows changing the Twitter Card type as output in the Twitter card.
    *
    * @param string $type
    */
    add_filter( ‘rank_math/opengraph/twitter_card’, ‘__return_false’ );

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

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    Those details are added when you enable the Slack Enhanced Sharing feature in Rank Math.

    Slack

    To remove them, head over to Rank Math > Titles & Meta > [Post Type] and disable the Slack Enhanced Sharing option

    Slack

    Here’s a link for more information:
    https://rankmath.com/kb/slack-enhanced-sharing/

    Please note that some options are only available when you enable the Advanced Mode in Rank Math. If it’s not showing, you must have chosen to use Easy Mode. Please follow the steps in this link to switch to Advanced Mode:
    https://rankmath.com/kb/advanced-mode/

    Hope that helps.

    Thank you.

    Troy
    Rank Math free

    Thank you. That worked.

    Hello,

    Glad that helped.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

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

The ticket ‘Remove Twitter data from every page’ is closed to new replies.