Heat Map Graph

描述

Heat Map Graph lets administrators build data heat maps backed by SQL SELECT queries on WordPress tables. Configure:

  • Query: a single SELECT statement targeting WP tables
  • Field mapping: row, column, and value fields produced by the query
  • Color range: hex colors for min and max
  • Status: enable/disable

Use the shortcode on pages/posts:

[heat_map_graph id="123"]

Security features:
– Validates SQL is a single SELECT against WP tables only
– Blocks DML/DDL keywords
– No multiple statements
– Admin-only UI with nonces and strict sanitization

On activation, two sample heat maps are created:
– Posts per Day per Category (Last 30 Days)
– Number of Post Tags per Category

螢幕截圖

安裝

  1. Upload the plugin folder heat-map-graph to /wp-content/plugins/
  2. Activate the plugin
  3. Under Heat Map Graph in the admin menu, create a heat map or use samples
  4. Place the shortcode [heat_map_graph id="<ID>"] where you want the heat map

常見問題

Which tables can I query?

Only WordPress core tables, prefixed by your site’s $wpdb->prefix.

Can I pass parameters?

Use static queries or views; dynamic user input is not supported for security.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Heat Map Graph” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Heat Map Graph 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0.0

  • Initial release