Twitter Card meta tags (WCMS 2)

Twitter Card meta tags (WCMS 2)

How to configure Twitter Card meta tags

 

Twitter Card meta tags allows you to control how your WCMS page is displayed on a Twitter Card when a Tweet links to your WCMS page.

WCMS supports four types of Twitter Cards:

  • Summary (default)

  • Summary with large image

  • Media player

  • App

This how-to document demonstrates how to configure summary Twitter Cards meta tags for Web Page content type.

Notes:

  • Media player requires title, description, image, media player URL, media player width, and media player height fields.

  • App requires iPhone app ID, iPad app ID, and Google Play app ID fields.


  1. From the Administration bar, click My Workbench.

  2. Select Create/Manage Content tab.

  3. Select the content type (e.g., Web Page) for which you wish to configure the meta tags for Twitter Card.

  4. Add a new page (e.g., Add web page).

  5. Enter a title and body content.

  6. On Listing page image for social media field, upload an image you want to appear in the Twitter Card.

  7. Scroll down and select Meta tags.

  8. Select Twitter Card.

  9. Set the Twitter card type to Summary (default).

  10. On Title field, add a title if different from the title of the WCMS page. Note: [node:title] token pulls the title (heading 1) of the WCMS page.

  11. On Description field, add a description that summarizes the content of the page (maximum 200 characters).

    Note: [node:summary] token pulls the text from Summary field. If Summary field is empty, it will pull the text from the body.

  12. On Image URL field, add the full URL of the image. Note: [node:field_event_image] token pulls image from Listing page image for social media field.

  13. Click Save.

  14. Set moderation state to Published, and click Apply.