Skip to content
Twitter Cards for Easy Digital Downloads
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
README.md
edd-twitter-cards.class.php
edd-twitter-cards.php

README.md

Twitter card markup for Easy Digital Downloads

Adds Twitter card markup for EDD downloads, maximizing the impact of tweets about your product.

ScreenShot

Installation

  1. Install, and activate the plugin, just as you would any other WordPress plugin.
  2. Once activated, the plugin goes straight to work, no setup, no manual adjustment of templates - twitter card meta tags will be added to your product pages.
  3. Before cards will show up on twitter, you'll have to validate your tags using the online validator.
  4. Once you've received confirmation that your site has been whitelisted you should be good to go.

What information is sent?

The plugin sets the following elements:

  • twitter:site
    • Your site's title, pulled direct for WordPress' settings.
  • twitter:title
    • The product title.
  • twitter:description
    • A short excerpt, pulled from your download's excerpt.
  • twitter:label1 / data1
    • Your product's price - accepts free, single price, and variable price products.
  • twitter:label2 / data2
    • The product's categories, comma separated if there are multiple.

Can I change the information sent?

Yes, there is a WordPress filter called edd_twitter_cards_meta that gets passed the default set of generated content and the download post so you can override whichever elements you want.

Is the plugin translatable?

I'm afraid not - patches welcome :)

Where can I get support?

I can't provide any support for this plugin unless it's on a paid-for basis. If you do wish to go ahead, please get in touch via my contact form.

You can’t perform that action at this time.