=== WP G2A Goldmine CD Keys Affiliate ===
Contributors: hwk-fr
Donate link: http://hwk.fr/
Tags: G2A, Goldmine, Affiliate, CD Keys, Games, Gaming, Affiliation, Referral
Requires at least: 4.0
Tested up to: 4.7.4
Stable tag: 0.7.1.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Search, Add & Manage G2A Goldmine REF Links. Display them direclty in your Wordpress! Earn money easily on every purchase your visitors make!

== Description ==

Welcome to WP G2A Goldmine Affiliate plugin!

In order to use this plugin you need to [Create a G2A Goldmine Account](https://www.g2a.com/goldmine/join/us/Z49U47G6T).

This plugin will let you manage your G2A.com Goldmine links and display them in your Wordpress allowing you to earn money on every purchase your visitors make!

= Features: =

* Search any Games, Page or Category from Wordpress
* Add new G2A Links & Synchronize them with your account
* Display your G2A Links using shortcodes (Title, Price, Image & URL)
* Bulk Import existing G2A Links in your Wordpress
* Anti Ad-Block System! All Links use redirection method against ad blockers
* Manage your REF Links Permalinks & URL Rewriting Rules

= Requirements: =

* G2A Goldmine Account
* PHP 5 + cURL

= Contributions: =

* [PHP Unirest Library](https://github.com/Mashape/unirest-php) by Mashape

= My Other Plugins: =

* [WP Steam Auth](https://wordpress.org/plugins/wp-steam-auth/)
* [WP 404 Auto Redirect to Similar Post](https://wordpress.org/plugins/wp-404-auto-redirect-to-similar-post/)

== Installation ==

= Wordpress Install =

1. Upload the plugin files to the `/wp-content/plugins/wp-g2a-goldmine` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Use the Settings-WP G2A Goldmine screen to configure the plugin
4. Create & Login to your [G2A Goldmine Dashboard](https://www.g2a.com/goldmine/join/us/Z49U47G6T)
4. Add your link directly from the "Links" tab using the built-in Search Engine!

= Available Shortcodes =

* `[G2A id="33042" display="title"]`
* `[G2A id="33042" display="image"]`
* `[G2A id="33042" display="image_url"]`
* `[G2A id="33042" display="price"]`
* `[G2A id="33042" display="url"]`

== Frequently Asked Questions ==

= Do I need an API key? =

No. There is no G2A Api Key. All you need is a G2A Goldmine account. You can [create one here for free](https://www.g2a.com/goldmine/join/us/Z49U47G6T)!

= What is the "Links Limit"? =

G2A has a limit of 100 REF links per Goldmine account.

= How can I add new Links? =

Make sure you created a G2A Goldmine Account & login. Go to the "Links" Tab and search for a Game/Page/Category!

= How can I display Links infos in my WP Pages? =

Use the available shortcodes:

* `[G2A id="33042" display="title"]`
* `[G2A id="33042" display="image"]`
* `[G2A id="33042" display="image_url"]`
* `[G2A id="33042" display="price"]`
* `[G2A id="33042" display="url"]`

== Screenshots ==

1. WP G2A Goldmine: Links & Search Engine Tab
2. WP G2A Goldmine: Settings & Rewrite Rules Tab
3. WP G2A Goldmine: Bulk Import Tab

== Changelog ==

= 0.7.1.1 =
* Added `display="image_url"` shortcode option. `display="image"` will now show `<img src="http://..." class="g2a_image" />` tag.
* If you were using `display="image"` to show image url before this update, please replace it by `display="image_url"`.

= 0.7.1 =
* Shortcode Hotfix

= 0.7 =
* Reworked UI & code
* Reworked Search Engine 
* Added Bulk Import Feature! Import all your existing G2A REF Links
* Added ReSync. Feature to make sure links are still OK.
* Added "ReSync. All" Feature to Re-Synchronize all links at once

= 0.4 =
* Initial Release

== Upgrade Notice ==

None