這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Review Pro

外掛說明

This plugin was developed in order to easily install Review Pro within a WordPress environment. The plugin uses a shortcode to activate the required CSS and JavaScript assets, as well as providing the markup that is needed. Requires an active Review Pro account.

Shortcode Defaults

“color” => ‘light’,
“type” => ‘stream’,
“id” => ‘999’,
“datamax” => ‘999’,
“datasort” => ”,
“multi” => ”

To recap, using [reviewpro id=”123″] will load required CSS and JavaScript assets and load the markup:

If you want to change the type, color, datamax, or datasort, you simply add these attributes to the shortcode, as follows:

[reviewpro id="123" type="post" color="dark" datamax="5" datasort="random"]<h3>Multiple Account Usage</h3>

There are two multi-account options to use with Review Pro. Adding a comma separated list of IDs on the shortcode will automatically initiate support for multi-accounts if “stream” is being used as the type.

If you want to have multiple unique streams for each account, you simply need to add multi=”yes” to the shortcode. As long as there are multiple IDs set for the ID attribute, it will load a separate DIV for each unique ID. Example:

[reviewpro id="123,456" multi="yes"]

Please note that usage of multi=”yes” will now load a different script source for the javascript. https://reviewpro.smilesavvy.com/Modules/external_module/embed1.js instead of https://reviewpro.smilesavvy.com/Modules/external_module/embed.js

Shortcode Shortcut Templates

Load Review Pro stream
[reviewpro id=”123″]

Load Review Pro post
[reviewpro id=”123″ type=”post”]

Load Review Pro stream, with data-max
[reviewpro id=”123″ datamax=”5″]

Load Review Pro stream, with data-sort
[reviewpro id=”123″ datasort=”random”]

Load Review Pro stream, multiple accounts within same stream
[reviewpro id=”123,456″]

Load Review Pro stream, separate streams on same page
[reviewpro id=”123,345″ multi=”yes”]

安裝方式

  1. Upload the Review Pro plugin via the Plugin management area within WordPress
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. Use “[reviewpro id=”123″]” in your templates

常見問題集

Coming soon

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Review Pro〉的開發相關工作。

參與者

將〈Review Pro〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0

  • Initial base plugin, no current changes