PHPackages                             voceconnect/wp-twitter-cards - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. voceconnect/wp-twitter-cards

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

voceconnect/wp-twitter-cards
============================

Helper class to generate meta tags for twitter card support. When support is added to a post type, a meta box is added on the post edit view to configure the twitter card properties.

1.3.1(10y ago)02.4k1GPLv2+PHP

Since Mar 3Pushed 9y ago12 watchersCompare

[ Source](https://github.com/voceconnect/wp-twitter-cards)[ Packagist](https://packagist.org/packages/voceconnect/wp-twitter-cards)[ RSS](/packages/voceconnect-wp-twitter-cards/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (6)Dependencies (3)Versions (13)Used By (0)

WP Twitter Cards
================

[](#wp-twitter-cards)

Contributors: voceplatforms, kevinlangleyjr
Tags: twitter, cards, meta, helper
Requires at least: 3.0
Tested up to: 4.0
Stable tag: 1.2.1
License: GPLv2 or later
License URI:

Description
-----------

[](#description)

Helper class to generate meta tags for twitter card support. When support is added to a post type, a meta box is added on the post edit view to configure the twitter card properties.

Requires both Voce Post Meta and Multi Post Thumbnails WordPress plugins.

Installation
------------

[](#installation)

### As standard plugin:

[](#as-standard-plugin)

> See [Installing Plugins](http://codex.wordpress.org/Managing_Plugins#Installing_Plugins).

### As theme or plugin dependency:

[](#as-theme-or-plugin-dependency)

> After dropping the plugin into the containing theme or plugin, add the following:

```
if( ! class_exists( 'WP_Twitter_Cards' ) ) {
    require_once( $path_to_wp_twitter_cards . '/wp-twitter-cards.php' );
}
```

Usage
-----

[](#usage)

On the WordPress `init` hook:
`WP_Twitter_Cards::add_post_type( 'post-type-here' );`
In the post edit view configure the Twitter Card metabox to enable the tag output.

Changelog
---------

[](#changelog)

**1.3.0**

- Modify handling to prevent fatal errors when dependencies are loaded before WP

**1.1**

- Adding support for player card

**1.0**

- Initial release

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~62 days

Recently: every ~20 days

Total

9

Last Release

4004d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/877634?v=4)[Kevin Langley Jr.](/maintainers/kevinlangleyjr)[@kevinlangleyjr](https://github.com/kevinlangleyjr)

![](https://avatars.githubusercontent.com/u/3452?v=4)[Voce Platforms](/maintainers/voceconnect)[@voceconnect](https://github.com/voceconnect)

---

Top Contributors

[![kevinlangleyjr](https://avatars.githubusercontent.com/u/877634?v=4)](https://github.com/kevinlangleyjr "kevinlangleyjr (3 commits)")

---

Tags

helperwordpresstwittermetacards

### Embed Badge

![Health badge](/badges/voceconnect-wp-twitter-cards/health.svg)

```
[![Health](https://phpackages.com/badges/voceconnect-wp-twitter-cards/health.svg)](https://phpackages.com/packages/voceconnect-wp-twitter-cards)
```

###  Alternatives

[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.5M52](/packages/nystudio107-craft-seomatic)[samrap/acf-fluent

A fluent interface for the Advanced Custom Fields WordPress plugin

28357.1k4](/packages/samrap-acf-fluent)[webdevstudios/cmb2-user-select

Special CMB2 Field that allows users to define an autocomplete text field for users

211.3k1](/packages/webdevstudios-cmb2-user-select)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
