DFP Plugin for Wordpress
PHP JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


=== wp-dfp ===
Contributors: Stephen Veerman <sveerman@postmedia.com>, Keith Benedict <kbenedict@postmedia.com>
Tested up to: 3.5
Stable tag: 1.3.1

Insert DFP ads into WordPress.

== Description ==

Insert DART for Publishers (DFP) ads into WordPress via a widget or shortcode. Includes admin options for Network ID, Site ID, Global Parameters, Category Priority, Category Translation, and Approved Tags. An ad manager in the admin options include fields for Ad ID, Size, Location, Keywords, Page, Zone, and Ad System.

== Installation ==

Activate the plugin, configure admin options, and then insert ad with either a plugin or shortcode.

== Usage Example ==

[dfp id='adid1']

== Changelog ==

= 1.0 =

* First version

= 1.1 =

* Rewrote plugin to build dart url on client side
* Implemented DFP alongside Dart

= 1.2 =

* Now utilizing more parameters with DFP
* Added async toggle for DFP code
* Replaced keywords with keyvalues (more flexible, keywords still possible using kw=)

= 1.3 =

* Fixed use of constant params[id] generating warnings
* Changed admin screen to use category slug instead of name when adding, organizing and removing categories
* Modified input for category prioritization to a select input, prevents input errors and ajax calls to get slug.
* Modified validation routine, better check of data being set/correct type
* Modified options store to use slugs, this change breaks old data store, requires prioritization to be reset.

= 1.3.1 =

* modified enqueue script function for wp-dfp.js to depend on gpt script for googletag object