Setting up Twitter Cards in Yoast SEO

Last update: 31 March, 2018

You can set up or change Twitter Cards in Yoast SEO by going to SEO → Social.

Table of Contents

Activate Twitter Cards

Apart from enabling 'Add Twitter card meta data', you'll need to add few pieces of information so the plugin can generate the appropriate card data.

  • Log in to your WordPress website. When you're logged in, you will be in your 'Dashboard'. On the left-hand side, you will see a menu. In that menu, click on 'SEO'.
  • The ‘SEO’ settings will expand providing you additional options. Click on 'Social'.
  • Enter your site wide Twitter username if it's not already entered.
  • Click on the 'Twitter' tab across the top and enable 'Add Twitter card meta data' and select the default card type.
    Twitter offers different card types. At this time the available card types are Summary and Summary with large image.

  • Click 'Save Changes'.

You have now successfully added the appropriate information for the card type you selected.

Validating & Applying for Twitter Cards

It is no longer necessary to apply for Twitter cards. However you can still use the Twitter Card validator to check links for accurate information.

What Card Types Are Available?

Summary or Summary with Large Image Cards

Summary cards are included for all Yoast SEO users and are the default for all posts and pages. As of Yoast SEO (Premium) version 5.8, summary with large image cards are selected by default upon first installation of the Yoast SEO (Premium) plugin.

Gallery, Product, Photo Cards

Twitter no longer supports gallery, product, and photo cards. They will be automatically mapped to an appropriate card type. Learn more directly from Twitter here.

Player or App Cards

Player or app cards are not supported, at this time, with our plugins.

Is It Working?

Your content is cached by Twitter for 7 days after a link to your page with card markup has been published in a tweet.

After sharing a URL with Twitter cards setup correctly, you will see a Twitter card added to your tweet. Here is an example of Summary card with Large Image.

kb-twitter-cards-2

Still not working? Check out Twitter's troubleshooting guide for help.

Was this article helpful? ·