GamiPress – Link

Description

GamiPress – Link let’s you add activity triggers filtered by link clicks adding new activity events on GamiPress!

New Events

  • Click any link: When an user clicks on any link.
  • Click a link with a specific URL: When an user clicks on any link with a specific URL.
  • Click a link with a specific ID: When an user clicks on any link with a specific identifier (link id attribute).
  • Click a link with a specific Class: When an user clicks on any link with a specific class (link class attribute).
  • Get a click on any link: When the post/comment author gets clicks on any link.
  • Get a click on a link with a specific URL: When the post/comment author gets clicks on any link with a specific URL.
  • Get a click on a link with a specific ID: When the post/comment author gets clicks on any link with a specific identifier (link id attribute).
  • Get a click on a link with a specific Class: When the post/comment author gets clicks on any link with a specific class (link class attribute).

Important: The unique links that trigger this activities are the links generated by [gamipress_link] shortcode

Installation

From WordPress backend

  1. Navigate to Plugins -> Add new.
  2. Click the button “Upload Plugin” next to “Add plugins” title.
  3. Upload the downloaded zip file and activate it.

Direct upload

  1. Upload the downloaded zip file into your wp-content/plugins/ folder.
  2. Unzip the uploaded zip file.
  3. Navigate to Plugins menu on your WordPress admin area.
  4. Activate this plugin.

FAQ

Installation Instructions

From WordPress backend

  1. Navigate to Plugins -> Add new.
  2. Click the button “Upload Plugin” next to “Add plugins” title.
  3. Upload the downloaded zip file and activate it.

Direct upload

  1. Upload the downloaded zip file into your wp-content/plugins/ folder.
  2. Unzip the uploaded zip file.
  3. Navigate to Plugins menu on your WordPress admin area.
  4. Activate this plugin.
Which attributes support [gamipress_link] shortcode?

[gamipress_link] shortcode supports:

  • href: The link URL.
  • label: The link label text.
  • id: The link identifier.
  • class: The link CSS classes.
  • target: The link target attribute.
  • title: The link title attribute.

Example: [gamipress_link href="https://gamipress.com" label="Click here!" id="my-link" class="awesome-links one-class other-class" target="_blank" title="Click here!"]

Can this plugin work with custom elements?

Yes! GamiPress – Link is looking for elements with the class gamipress-link, you can make it work with a custom element using the following code:

<div id="{optional-id}" class="gamipress-link {optional-class} {optional-class-2}">Click Here!</div>

If you set an id attribute, triggers limited by specific ID will be triggered too.
Also, if you define more classes to the class attribute, triggers limited by specific class will be triggered too.

Important: If you setup custom elements without use [gamipress_link] you will need to enqueue GamiPress – Link scripts by adding the following code at your theme functions.php file:

add_action( 'wp_enqueue_scripts', 'gamipress_link_enqueue_scripts', 100 );

Contributors & Developers

“GamiPress – Link” is open source software. The following people have contributed to this plugin.

Contributors

Translate “GamiPress – Link” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.5

  • Updated logs fields to meet with newest GamiPress version.

1.0.4

  • Added support for GamiPress 1.3.7 requirements UI.

1.0.3

  • Added support for GamiPress automatic updates.

1.0.2

  • Added support to non links elements.

1.0.1

  • Added activity triggers to award to the post/comment author that receive clicks on a link.

1.0.0

  • Initial release.