
List layout with date, name, meta and status.
Gudjons Turneringer for Golfbox fetches a golf club’s upcoming tournaments from Golfbox and displays them in WordPress in the club’s own style, without loading the full Golfbox widget. The plugin is generic and works for any club by setting the club’s customerID.
Data is fetched server-side from the Golfbox schedule endpoint, cached with WordPress Transients, filtered and displayed. The same data source and cache are shared by all views on the page.
functions.php required.Basic usage:
[gudjons_turneringer limit="50"]
Examples:
[gudjons_turneringer layout="table" fields="date,time,name,venue,badge"][gudjons_turneringer layout="cards" limit="6"][gudjons_turneringer density="compact" limit="5" all_url="/turneringer/"][gudjons_turneringer accent="#0a3d2a" tint="#e6f4ea"][gudjons_turneringer series="torsdagsduellen"][gudjons_turneringer exclude="atlungstad match"]This plugin connects to the Golfbox tournament schedule API to display your golf club’s upcoming tournaments. This is required for the plugin to function.
https://scores.golfbox.dk/Handlers/ScheduleHandler/GetSchedule/.... The request URL contains the club’s customerID, the season (year) and a language ID that you configure. No personal data about your site visitors is sent. Responses are cached with WordPress Transients to limit the number of requests.If you do not configure a customerID, the plugin makes no external requests.