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

Percent to Infograph

描述

Percent to Infograph represents simple percent (%) into Infograph with some effects. [percent_to_graph] Shortcode made it so simple, all you need is to copy [percent_to_graph data_percent=”70″ data_text=”70%”] to your post content box. You can adjust almost all values of your Infograph by passing values to variables. Here is full list of variable with some example values:

螢幕截圖

  • screenshot-1.jpg

安裝

  1. Install as regular WordPress plugin.
  2. Go your Pluings setting via WordPress Dashboard and activate it.

after activating plugin create a post and copy-paste the following shortcode:

[percent_to_graph data_percent=”30″ data_text=”30%” data_info=” Value Increased” data_width=”25″ data_fontsize=”16″ data_dimension=”200″ data_fgcolor=”#E439A1″ data_bgcolor=”#eee” data_fill=”#fff”]

you can copy paste multiple shortcode in one post, try the following shortcodes:

[percent_to_graph data_percent=”45″ data_text=”45%” data_info=”New Products” data_width=”25″ data_fontsize=”18″ data_dimension=”200″ data_fgcolor=”#80E800″ data_bgcolor=”#eee” data_fill=”#fff”]

[percent_to_graph data_percent=”45″ data_text=”45%” data_info=”Users Online” data_width=”25″ data_fontsize=”16″ data_dimension=”200″ data_fgcolor=”#FFFF00″ data_bgcolor=”#eee” data_fill=”#fff”]

[percent_to_graph data_percent=”90″ data_text=”90%” data_info=”Growth Rate” data_width=”25″ data_fontsize=”16″ data_dimension=”200″ data_fgcolor=”#FFD200″ data_bgcolor=”#eee” data_fill=”#fff”]

How does this work ?

Plug work with shortcode with multiple parameters. Parameters have default values, for example, if you do not pass any value to any of the parameters, plugin will show all default values. So, you need to enter your own values to the parameter. Here is a full list of parameters with their default values:

data-percent=”65″
data-text=”65%”
data-info=”Users Online”
data-width=”25″
data-fontsize=”20″
data-dimension=”170″
data-fgcolor=”#80E800″
data-bgcolor=”#eee”
data-fill=”#fff”>

Make sure you already have changed your own percent information while using the pluin. There should not be any broken line or comma seperator and as ususal should be opening and closign bracks before and after the shortcode [], for example:

[percent_to_graph data_percent=”30″ data_text=”30%” data_info=” Value Increased” data_width=”25″ data_fontsize=”16″ data_dimension=”200″ data_fgcolor=”#E439A1″ data_bgcolor=”#eee” data_fill=”#fff”]

N.B. Please rate and advice me so that I can improve the plugin for everyone.

常見問題

Why did you wrote this plugin?

I thought it might require for me or somebody else.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Percent to Infograph” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Percent to Infograph 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0

  • Initial release