Setting up Twitter Cards in Yoast SEO

With Twitter cards, you can add rich content, like images, when your content is shared on Twitter.

Table of Contents

Related Articles

How to activate Twitter Cards in Yoast SEO

You can set up or change Twitter Cards in Yoast SEO by going to SEO → Social. 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.

  1. Log in to your WordPress website.

    When you’re logged in, you will be in your ‘Dashboard’.

  2. Click on ‘SEO’.

    On the left-hand side, you will see a menu. In that menu, click on ‘SEO’.

  3. Click on ‘Social’.

    The ‘SEO’ settings will expand providing you additional options. Click on ‘Social’.

  4. Under ‘Accounts’, add your site wide Twitter username.

    Enter your site wide Twitter username if it’s not already entered.

  5. Click on the ‘Twitter’ tab.

  6. Enable ‘Add Twitter card meta data’ and select your preferred card type.

  7. Click ‘Save Changes’.

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.