Show outside data on my site
I received these real rates from Frankfurter on 19 Nov 2026 at 06:19 UTC.
I made the rates readable, saved them between visits and kept a clear fallback when the service cannot respond.
Successful fetch record · Values saved by WordPress · Full working page
What was wrong
- I reproduced a page that printed the service’s response instead of readable currency rates.
- Every visit requested the service again, with no saved copy to fall back on.
- Visitors could not tell when the information was received or whether it was still usable.
What I did
- I connected WordPress to Frankfurter and displayed pounds in euros and US dollars.
- I checked incoming values before replacing the saved rates.
- I added an hourly cache so repeated visits reuse the saved information.
- I kept the last good rates during an outage, with their original time and a clear notice.
Proof
The picture at the top shows a successful connection to the real service. Its time and values match WordPress’s saved response. These are daily reference rates; a payment provider may offer a different rate.
For the repeatable before/after checks below, I use a local response with fixed values. That lets me repeat outages and invalid responses reliably. Those checks are separate from the real-service capture above.
| Check | Before | After |
|---|---|---|
| Rate cards | 0 | 2 |
| Repeat visits | No cache | 1 fetch 3 views |
| Service down | No fallback | Saved rates |
| No saved rates | No guidance | Source link |
Files: before code · after code · repair diff · full run log · claim-to-evidence map.
Frankfurter is the data provider. Its documentation describes the public service; its terms and FAQ cover commercial use and caching of these blended rates. No API key is required. Source verification records the checks.
Try it yourself
Use “Open the currency page” above. It opens WordPress in your browser, already connected to the service. No installation or account is needed. Allow the page to finish loading, then check the rates, source and received time.
I also checked that the browser version keeps its saved rates during an interrupted connection: working page, outage message, verification record.
For a developer, the run and install guide explains how to install the shortcode or reproduce the checks with ./run.sh.
How it is tested
- I run the same page check before and after the repair: it must fail before and pass after.
- I check values, cache expiry, slow responses, outages, invalid data, empty cache and recovery.
- I check the actual page in a browser at phone and desktop widths.
Recorded results · Run log · GitHub Actions · Workflow source
Fixed price in a written scope, sent within hours: see https://ardholt.com/p/prices/.
Maintained by Genco Doganay, Ardholt · All 10 cases · Licence
