Finance Pivot Table self-updates
WordPress plugin for displaying drillable financial pivot tables
by NonaTech Services Ltd · github.com/nonatech-uk/wp-finance-pivot-table · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/nonatech-uk/wp-finance-pivot-table/archive/refs/heads/main.zipShips its own WordPress updater (built-in updater), so new versions show up under Dashboard → Updates.
Finance Pivot Table - WordPress Plugin
Interactive pivot table for displaying parish council financial data from CSV files.
Live URL: https://alburyparishcouncil.gov.uk/finance/
Features
- Year tabs (newest first) with current year selected by default
- Drill-down hierarchy: Type → Centre Name → Account Name → Transaction details
- Summary statistics: Income, Expenditure, Net Position, Transaction count
- Data currency indicator showing how up-to-date partial year data is
- Download data as CSV
- Responsive design for mobile/tablet
- Print-friendly styles
Installation
- Copy plugin folder to
/wp-content/plugins/finance-pivot-table/ - Activate in WordPress Admin → Plugins
- Configure data directory in Settings → Finance Pivot Table
- Add
[finance_pivot_table]shortcode to any page
Usage
Add the shortcode to any page or post:
[finance_pivot_table]
Data Directory
Configure the path to your CSV files in Settings → Finance Pivot Table.
Default: /var/www/html/wp-content/uploads/public-docs/Finance/data
CSV File Format
Expected columns:
type, date, payee, reference, vat, centre, centre_name, account, account_name, amount, total_amount, detail
Filename Conventions
The fiscal year and data currency are extracted from filenames:
| Filename Pattern | Result |
|---|---|
Receipts and Payments 2022-3.CSV |
Year 2022/23, Complete |
Cashbook Report 30-11-2025.CSV |
Year 2025/26, Data to 30 Nov 2025 |
Cashbook Report 2025-6 to 31-12.CSV |
Year 2025/26, Data to 31 Dec |
File Structure
finance-pivot-table/
├── finance-pivot-table.php # Main plugin file
├── includes/
│ ├── class-finance-pivot-table.php # Shortcode, admin, assets
│ └── class-finance-data-loader.php # CSV parsing
├── assets/
│ ├── css/
│ │ └── styles.css
│ └── js/
│ ├── pivot-table.js # Pivot table component
│ └── app.js # Application controller
└── templates/
└── shortcode-output.php # Shortcode HTML
Updates
The plugin checks GitHub for new releases automatically. When an update is available:
- WordPress will show the update notification on the Plugins page
- Click "Update Now" to update directly from GitHub
To manually check for updates, click "Check for updates" link on the plugin row.
Creating a New Release
- Update
FINANCE_PIVOT_TABLE_VERSIONinfinance-pivot-table.php - Commit changes
- Create a tag:
git tag -a v1.0.1 -m "Release notes" - Push:
git push && git push --tags
Development
Repository: https://github.com/nonatech-uk/wordpress-finance-pivot-table