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

GearGrams

外掛說明

With this plugin you can show GearGrams.com lists along with graphs in wordpress.

Specifically this plugins adds short codes that can be added to most anywhere in wordpress.

If you haven’t used wordpress short codes you can read more about them here: https://codex.wordpress.org/shortcode

螢幕擷圖

安裝方式

  • First you must install the Wp-D3 plugin which is used for graphs. You can do this by searching for Wp-D3 in the add new plugins of your wordpress admin. Or follow the instructions at https://wordpress.org/plugins/wp-d3/installation/
  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

Usage

Add the following shortcodes to any text in wordpress

  • gg-table

    • Displays a list in table form
    • Attributes
      • list_id
        • Required
        • The id of the list to be displayed
      • categories
        • Optional
        • Comma seprated list of categories. example: “food,clothing”
        • Default: “” (empty string means all categories are displayed)
    • Examples
      • [gg-table list_id=”123″]
      • [gg-table list_id=”4432″ categories=”food,clothing”]
  • gg-minimal

    • Adds a simple text list.
    • Attributes
      • list_id
        • Required
        • The id of the list to be displayed
      • categories
        • Optional
        • Comma seprated list of categories. example: “food,clothing”
        • Default: “” (empty string means all categories are displayed)
    • Examples
      • [gg-minimal list_id=”123″]
      • [gg-minimal list_id=”4432″ categories=”food,clothing”]
  • gg-pie-graph

    • Displays a pie graph
    • Attributes
      • list_id
        • Required
        • The id of the list to be displayed
      • diameter
        • Optional
        • The diameter of the pie
        • default 300
      • categories
        • Optional
        • Comma seprated list of categories. example: “food,clothing”
        • empty string means all categories are displayed
        • Default: “”
    • Example
      • [gg-pie-graph list_id=”123″]
      • [gg-pie-graph list_id=”4432″ categories=”food,clothing”]
  • gg_heading

    • Displays a list title and weight totals
    • Attributes
      • list_id
        • Required
        • The id of the list to be displayed
      • title
        • Optional
        • The title of the list.
        • Default: gg_default (this gives the actual name of the list)
      • unit
        • Optional
        • The unit to be used for the weights.
        • Accepted values: default,gram, lbs, oz, kg
        • Default: default
      • totals
        • Optional
        • Comma seprated list of total types.
        • Accepted Values: all, total, pack, worn, consumable
        • Default: “all”
    • Example
      • [gg-heading list_id=”123″]
      • [gg-headingh list_id=”4432″ title=”List Total and Pack Weights” totals=”total,pack”]
  • gg-full

    • Adds a full report view style list
    • Attributes
      • list_id
        • Required
        • The id of the list to be displayed
      • width
        • Optional
        • The width of the list
        • default: 100%
      • height
        • Optional
        • The height of the list
        • default: 600
    • Example
      • [gg-full list_id=”123″ width=”800″ height=”500″]

常見問題集

.

使用者評論

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

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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