Smart Arbor Statistics
Pull live data from Arbor and display statistics anywhere on your school website using shortcodes.
Overview
Smart Arbor Statistics connects your school website to Arbor's data export API. You configure endpoints pointing to your Arbor data exports, and the plugin fetches, stores, and refreshes values daily. Display any statistic on a page using simple shortcodes — pupil numbers, attendance percentages, staff counts, and more.
You can also combine multiple statistics in mathematical expressions.
Getting Set Up
- Go to Arbor Statistics in the WordPress sidebar.
- Add an endpoint with a label and your Arbor export URL.
- Click refresh to fetch data.
- Go to Values & Shortcodes to see available shortcodes.
- Add shortcodes to your pages.
Features
Endpoints
Where to find it: Arbor Statistics → Endpoints
| Field | Description |
|---|---|
| Label | Friendly name for this data source |
| Arbor Export URL | The data export URL from Arbor |
| Basic Auth Token | Optional authentication token |
| Active | Include in daily automatic refresh |
Display shortcodes
| Shortcode | Parameters | Example |
|---|---|---|
[arbor-data-export] |
id, decimals, prefix, suffix, fallback |
[arbor-data-export id="1" decimals="0" suffix="%"] |
[arbor_math] |
decimals, prefix, suffix, math |
See below |
Math example:
[arbor_math decimals="1" suffix="%"]
([arbor-data-export id="1"] / [arbor-data-export id="2"]) * 100
[/arbor_math]
Supports +, -, *, /, %, and parentheses.
Automatic refresh
Data refreshes automatically every day. You can also refresh manually from the Endpoints page.
Common Tasks
Displaying pupil numbers on the homepage
- Create an endpoint pointing to your Arbor pupil count export.
- Refresh to fetch the value.
- Note the endpoint ID from Values & Shortcodes.
- Add
[arbor-data-export id="1" decimals="0"]to your homepage.
Tips & Best Practice
- Label endpoints clearly — you will reference them by ID in shortcodes.
- Use the
fallbackparameter to show a placeholder if data is temporarily unavailable. - Test endpoints after Arbor configuration changes.
- Data refreshes daily — for real-time figures, use manual refresh.
Troubleshooting
Shortcode shows nothing or the fallback value
Why it happens: The endpoint may not have fetched successfully, or the export URL may be wrong.
How to fix it:
- Go to Endpoints and click refresh on the endpoint.
- Check the Arbor export URL is correct and accessible.
- Verify the Basic Auth Token if your export requires authentication.
Last updated: 9 July 2026 · Plugin version: 1.0.0