Twitter Cards and OG Meta Tags
-
I updated to the latest version of Jetpack yesterday and suddenly my site has started duplicating Twitter Card data and OG Meta tags. Both are already handled. I don’t have sharing or publicise modules switched on. I have added the following code to my
functions.php
file which seems to resolve the problem but I don’t understand why Jatpack has suddenly started adding to my header without modules switched on or selections ticked? Is this expected behaviour? In the case of Twitter cards it over-rode my own Twitter handle to inset Jetpack’s.add_filter( 'jetpack_disable_twitter_cards', '__return_true', 99 );
add_filter( 'jetpack_enable_opengraph', '__return_false', 99 );
Are there likely to be any other areas these modules are affecting that I haven’t considered?
- The topic ‘Twitter Cards and OG Meta Tags’ is closed to new replies.