Realsmart Help

← Realsmart Help

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

  1. Go to Arbor Statistics in the WordPress sidebar.
  2. Add an endpoint with a label and your Arbor export URL.
  3. Click refresh to fetch data.
  4. Go to Values & Shortcodes to see available shortcodes.
  5. 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

  1. Create an endpoint pointing to your Arbor pupil count export.
  2. Refresh to fetch the value.
  3. Note the endpoint ID from Values & Shortcodes.
  4. 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 fallback parameter 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:

  1. Go to Endpoints and click refresh on the endpoint.
  2. Check the Arbor export URL is correct and accessible.
  3. Verify the Basic Auth Token if your export requires authentication.

Last updated: 9 July 2026 · Plugin version: 1.0.0

Was this helpful?