GamiPress – Link

描述

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

Note: This add-on is designed to award users for link clicks, if you want to award them for button clicks, then you should check the GamiPress – Button add-on.

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.

安裝

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.

評價

閱讀全部2個評價

貢獻者及開發者

“GamiPress – Link” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

GamiPress – Link 外掛目前已有 3 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 GamiPress – Link 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.1.5

  • Bug Fixes
  • Added security to shortcode.

1.1.4

  • Improvements
  • Added the label attribute on the shortcode generated on the requirements UI.

1.1.3

  • Bug Fixes
  • Fixed type on the awards engine check.

1.1.2

  • New Features
  • Added a shortcode section on the requirements UI to better guide about the shortcode required.
  • Improvements
  • Performance improvements by limiting the number of requirements to check to only those who match with the event parameters.

1.1.1

  • Improvements
  • Make links click don’t prevent any default event to let work other plugins.

1.1.0

  • Improvements
  • Updated plugin security by adding the most up to date WordPress security methods.
  • Developer Notes
  • Old changelog moved to changelog.txt file.