WP Envato Affiliate Card

WP Envato Affiliate Card

WP Envato Affiliate Card is a premium add-on of the free plugin WP Plugin Info Card (available in the WordPress repository).

WP Envato Affiliate Card

It lets you display nice cards (3D or flat layout) about Envato products through Envato API data with your affiliate username embedded. Get affiliate cash in the process !


WP Envato Affiliate Card

This plugin supports all Envato products types and markets. If you embed an audio product, it will automatically add an audio player. If the included product has a video preview or is a video, the plugin will automatically add a video player. Audio and video players are based on the native WordPress players (HTML5).

WP Envato Affiliate Card

Supported markets are: themeforest, codecanyon, videohive, audiojungle, graphicriver, photodune, 3docean, activeden.

This plugin is responsive-friendly :

  • the flipping card has a fixed with of 280px
  • the large layout is fully responsive

How does it work?

It uses Envato API to fetch product data. All you need to do is provide a valid product ID, and then insert the shortcode in any page to make it work at once! (support page content + sidebar)

This plugin is very light and includes scripts and CSS only if and when required. The shortcode may be added everywhere shortcodes are supported in your theme (content, sidebar widget).

The plugin also uses WordPress transients to store data returned by the API for 12 hours (720min by default), so your page loading time will not be increased due to too many requests. You may change this cache duration and/or load the API data asynchronously with AJAX.

The dashboard widget is very easy to set up: you simply add as many products as you want in the admin page and they become visible in your dashboard. Easily monitor all your Envato product from one central location in your admin area!(Fields are added on-the-fly and are sortable via drag-and-drop.) Perfect to keep track of your own products!

WP Envato Affiliate Card

As a bonus, the plugin uses the TinyMCE API to improve UI and make inserting shortcodes easier.

You may provide a list of slugs (comma-separated) in your shortcode slug parameter, WPPIC will randomly choose one item of the list on each page refresh.

You may easily overload the plugin render. You need to create a new “wppic-templates” folder into your theme folder, then copy the template you want to overload from WP Envato Affiliate Card “wppic-templates” folder.

You may create your own template file. You need to create a new ”wppic-templates” folder into your theme folder, then copy the template file “wppic-template-envato-large.php” from WP Envato Affiliate Card ’/wppic-templates’ folder. Rename the file like this “wppic-template-envato-NEWTEMPLATE.php”, edit it as you go and add your own CSS rules. Finally, call your new template by adding the following parameter in your shortcode: layout=”NEWTEMPLATE”

Knonw issues

Some H.264 encoded videos from the Envato market cannot be played in the Firefox browser. This is a known issue and the only current solution is to play them through a Flash player. However because the render layouts are responsive, we can’t load a SWF player as a fallback.

Shortcode parameters

Please refer to the WP Plugin Info Card plugin page for full documentation.

  • type: envato (default: plugin)
  • slug: envato product ID – Please refer to the product URL on the envato market to determine its ID. Eg: http://themeforest.net/item/item-name/ITEM-ID custom: value to output : slug, url, name, market, cost, author, avatar, followers, sales, live_preview_url, thumbnail, rating, downloaded, last_updated, audio_url, video_url (default: empty)


[wp-pic type="envato" slug="9917232"]
[wp-pic type="envato" slug="9917232" align="left" scheme="scheme1" margin="5px 5px 0 0" layout="large" ajax="yes" ]
[wp-pic type="envato" slug="9917232" custom="name" ] has been sold [wp-pic type="envato" slug="9917232" custom="sales" ] times!

WP Envato Affiliate Card


Plugin is fully translatable through PO & MO files. Available languages are:

  • English
  • French
  • Deutsch


  1. Upload and activate the two plugins “WP Envato Affiliate Card” and “WP Plugin Info Card”
  2. Click on the “WP Plugin Info Card” menu
  3. Follow instructions, every option is documented WP Envato Affiliate Card


WP Envato Affiliate Card


 1.0.6 - 04/16/2015 * Fix a PHP warning if product does not exists * Tested on WP 4.2 with success! * readme.txt update 
 1.0.5 - 01/14/2015 * Deutsch translation added * Minor security improvement 
 1.0.4 - 01/11/2015 * Fix date render on dashboard widget 
 1.0.3 - 01/09/2015 * Minor PHP improvements * Remove logo from meta * Date internationalization * Templates update for better date support 
 1.0.2 - 01/04/2015 * Minor CSS fixes on card layout (backface visibility problem) * Readme update 
 1.0.1 - 12/30/2014  * Minor PHP fixes * CSS update * Minified CSS file added * Translation update 
Date: June 25, 2015