Posting to Twitter

#455567
  • Resolved steve collins
    Rank Math pro

    I am using another plugin to post to my social media accounts. Viewing the page source of posts shows both Rank Math and the other plugin show <meta name= details for Twitter – I don’t know if this will cause conflicts, but if so how do I disable Rank Math generating them?

    Thanks

Viewing 1 replies (of 1 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math.

    It is not recommended to use the same meta tags multiple times on the page.

    You can use this filter to remove the Twitter tags added by Rank Math:

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

    Here is a guide you can follow to add the filter:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hope this helps.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Posting to Twitter’ is closed to new replies.