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.

评价

此插件暂无评价。

贡献者及开发者

「Heat Map Graph」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Heat Map Graph」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

  • Initial release