Title: iG:Twitter Cards
Author: Amit Gupta
Published: <strong>8. april, 2013</strong>
Last modified: 24. november, 2013

---

Søg plugins

![](https://ps.w.org/ig-twitter-cards/assets/banner-772x250.png?rev=694017)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://s.w.org/plugins/geopattern-icon/ig-twitter-cards_ffffff.svg)

# iG:Twitter Cards

 Af [Amit Gupta](https://profiles.wordpress.org/amit/)

[Download](https://downloads.wordpress.org/plugin/ig-twitter-cards.zip)

 * [Detaljer](https://da.wordpress.org/plugins/ig-twitter-cards/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/ig-twitter-cards/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/ig-twitter-cards/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/ig-twitter-cards/#developers)

 [Support](https://wordpress.org/support/plugin/ig-twitter-cards/)

## Beskrivelse

**iG:Twitter Cards** enables [Twitter Cards](https://dev.twitter.com/docs/cards)
on your WordPress website to present your website in an extra useful and stylish
way when anyone shares your website URLs on Twitter, be it Twitter website or Twitter
mobile app.

At present only summary and player cards are supported. Support for other cards 
will be added in future. You can validate your website’s Twitter Cards using official
[Twitter Cards Validator](https://dev.twitter.com/docs/cards/validation/validator).

This plugin allows complete customization of Twitter Cards meta tags before output
via filters. If you have custom post types and you wish to have Twitter Cards enabled
for them too then this plugin allows you to do that using filters to add/remove 
post types on which Twitter Cards are enabled.

This plugin has been written with WordPress.com VIP compliance in mind, so you can
use it as is even if you host your website with WordPress.com VIP.

**Requirements**: This plugin requires PHP 5.3 or better and is supported on WordPress
3.4 or better. It might work on a lower version of PHP or WordPress but no support
would be provided for those platforms.

Pull requests on Github are welcome.

Github: https://github.com/coolamit/ig-twitter-cards

WordPress.org plugin repo: https://plugins.svn.wordpress.org/ig-twitter-cards/

### Plugin Usage

Using this plugin is fairly easy. Set the options by going to `Settings > iG:Twitter
Cards` in your wp-admin. If you select to customize cards when creating/editing 
a post or page then a metabox would be available when you create/edit a post or 
page. There you can tweak the card by selecting card type, adding/changing Twitter
username of author, etc.

## Skærmbilleder

 * [[
 * Settings page of the plugin where global options can be set for plugin
 * [[
 * Metabox on the post/page add/edit screen which allows fine control over each 
   post and page

## Installation

### Installing The Plugin

Extract all files from the zip file and then upload it to `/wp-content/plugins/`.**
Make sure to keep the file/folder structure intact.**

Go to WordPress admin section, click on “Plugins” in the menu bar and then click“
Activate” link under “iG:Twitter Cards”.

**See Also:** [“Installing Plugins” article on the WP Codex](https://codex.wordpress.org/Managing_Plugins#Installing_Plugins)

## FAQ

  I selected Player card for a post/page and entered the player URL but video does
not play. What is wrong?

Twitter needs your player URL to be served over SSL, so your URL must start with`
https://` and not `http://`.

  I see some code that I can improve. Do you accept pull requests?

By all means, feel free to submit a pull request.

  I want XYZ feature. Can you implement it?

Please feel free to suggest a new feature. Its inclusion might be speedier if you
can provide the code to make it work.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“iG:Twitter Cards” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

 *   [ Amit Gupta ](https://profiles.wordpress.org/amit/)

[Oversæt “iG:Twitter Cards” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/ig-twitter-cards)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/ig-twitter-cards/), 
tjek [SVN repository](https://plugins.svn.wordpress.org/ig-twitter-cards/), eller
abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/ig-twitter-cards/)
via [RSS](https://plugins.trac.wordpress.org/log/ig-twitter-cards/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### v1.3

 * removed video aspect ratio calculation in card options UI on post screen
 * added aspect ratio calculation helper text for video height in card options UI
   on post screen

#### v1.2

 * added data escaping to admin UI elements

#### v1.1

 * Updated labels for admin UI elements
 * Added `ig_twitter_cards_post_mb_ui` & `ig_twitter_cards_post_mb_data` hooks to
   extend card options UI on post screen in wp-admin
 * Added aspect ratio calculation for video in card options UI on post screen in
   wp-admin

#### v1.0

 * Initial release with support for _Summary_ and _Player_ cards

## Meta

 *  Version **1.3**
 *  Senest opdateret **12 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 3.4 eller højere **
 *  Testet op til **3.7.41**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/ig-twitter-cards/)
 * Tags
 * [meta](https://da.wordpress.org/plugins/tags/meta/)[twitter](https://da.wordpress.org/plugins/tags/twitter/)
   [twitter cards](https://da.wordpress.org/plugins/tags/twitter-cards/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/ig-twitter-cards/advanced/)

## Bedømmelser

 3 ud af 5 stjerner.

 *  [  1 5-stjernet anmeldelse     ](https://wordpress.org/support/plugin/ig-twitter-cards/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/ig-twitter-cards/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/ig-twitter-cards/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/ig-twitter-cards/reviews/?filter=2)
 *  [  1 1-stjernet anmeldelse     ](https://wordpress.org/support/plugin/ig-twitter-cards/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ig-twitter-cards/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/ig-twitter-cards/reviews/)

## Bidragsydere

 *   [ Amit Gupta ](https://profiles.wordpress.org/amit/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/ig-twitter-cards/)