/query-monitor-sage

Query Monitor plugin extension for viewing data related to Sage theme

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

Query Monitor - Sage Extension

A WordPress plugin that extends Query Monitor to provide insights into Sage-based theme view composition and data.

Features

  • Monitors Sage view composition and timing
  • Shows view data passed to templates
  • Tracks view file paths and render times
  • Integrates seamlessly with Query Monitor's interface

Requirements

  • Query Monitor plugin
  • Sage-based theme with Acorn

Installation

  1. Install via Composer:
composer require hiondigital/query-monitor-sage
  1. Activate the plugin through WordPress admin interface.

Usage

Once activated, the plugin adds a new "Sage" panel to Query Monitor. This panel shows:

  • View names and file paths
  • View composition timing
  • Data passed to each view

The data is collected only on front-end requests and when using a Sage-based theme.

Development

Building from Source

  1. Clone the repository
  2. Install dependencies:
composer install

Credits

Created and maintained by Hion Digital.