{"id":333092,"date":"2026-06-30T12:57:52","date_gmt":"2026-06-30T12:57:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/golfbox-turneringer\/"},"modified":"2026-06-30T13:17:19","modified_gmt":"2026-06-30T13:17:19","slug":"gudjons-turneringer-for-golfbox","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/gudjons-turneringer-for-golfbox\/","author":5838591,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.1.2","stable_tag":"2.1.2","tested":"7.0","requires":"5.0","requires_php":"7.0","requires_plugins":null,"header_name":"Gudjons Turneringer for Golfbox","header_author":"Gudjonsson","header_description":"Viser klubbens kommende turneringer fra Golfbox i WordPress \u2013 med liste-, tabell- og kort-visning, felt- og fargevalg, filtrering p\u00e5 serie\/tekst\/kategori, og egen innstillingsside. Sett klubbens customerID under Gudjons Turneringer for Golfbox i menyen.","assets_banners_color":"1b523d","last_updated":"2026-06-30 13:17:19","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/gudjons-turneringer.gudjonsson.com","header_author_uri":"https:\/\/gudjonsson.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":26,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.1.1":{"tag":"2.1.1","author":"gudjon","date":"2026-06-30 12:57:26"},"2.1.2":{"tag":"2.1.2","author":"gudjon","date":"2026-06-30 13:17:19"}},"upgrade_notice":{"2.1.2":"<p>Fixes a cards-layout display issue where the status badge could overlap the time.<\/p>","2.1.1":"<p>Renamed plugin and shortcode (now <code>[gudjons_turneringer]<\/code>). Update any pages that used <code>[golfbox_turneringer]<\/code>.<\/p>","2.1.0":"<p>New layouts (table\/cards), field and color options, and template override. <code>variant=&amp;quot;compact&amp;quot;<\/code> is now <code>density=&amp;quot;compact&amp;quot;<\/code>, but the old spelling still works.<\/p>"},"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3591545,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3591545,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.1.1","2.1.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3591545,"resolution":"1","location":"assets","locale":"","width":1440,"height":1218},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3591545,"resolution":"2","location":"assets","locale":"","width":1440,"height":858},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3591557,"resolution":"3","location":"assets","locale":"","width":1640,"height":646},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3591545,"resolution":"4","location":"assets","locale":"","width":2120,"height":3654}},"screenshots":{"1":"List layout with date, name, meta and status.","2":"Table layout with selected columns.","3":"Cards layout in a grid.","4":"The settings page with display, color and series options."}},"plugin_section":[],"plugin_tags":[416,30216,4062,4776,16923],"plugin_category":[37,40],"plugin_contributors":[243754],"plugin_business_model":[],"class_list":["post-333092","plugin","type-plugin","status-publish","hentry","plugin_tags-calendar","plugin_tags-golf","plugin_tags-schedule","plugin_tags-sports","plugin_tags-tournaments","plugin_category-arts-and-entertainment","plugin_category-calendar-and-events","plugin_contributors-gudjon","plugin_committers-gudjon"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/gudjons-turneringer-for-golfbox\/assets\/icon-256x256.png?rev=3591545","icon_2x":"https:\/\/ps.w.org\/gudjons-turneringer-for-golfbox\/assets\/icon-256x256.png?rev=3591545","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/gudjons-turneringer-for-golfbox\/assets\/screenshot-1.png?rev=3591545","caption":"List layout with date, name, meta and status."},{"src":"https:\/\/ps.w.org\/gudjons-turneringer-for-golfbox\/assets\/screenshot-2.png?rev=3591545","caption":"Table layout with selected columns."},{"src":"https:\/\/ps.w.org\/gudjons-turneringer-for-golfbox\/assets\/screenshot-3.png?rev=3591557","caption":"Cards layout in a grid."},{"src":"https:\/\/ps.w.org\/gudjons-turneringer-for-golfbox\/assets\/screenshot-4.png?rev=3591545","caption":"The settings page with display, color and series options."}],"raw_content":"<!--section=description-->\n<p>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 <strong>customerID<\/strong>.<\/p>\n\n<p>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.<\/p>\n\n<h4>Main features<\/h4>\n\n<ul>\n<li><strong>Three layouts:<\/strong> list (rows), table (columns) and cards (grid).<\/li>\n<li><strong>Field and column selection:<\/strong> choose which fields are shown and in what order: date, time, name, type, venue and status.<\/li>\n<li><strong>Theming with colors and font:<\/strong> set accent color, soft accent, tint color and heading font, from the settings page or per shortcode. Built on CSS variables, so your theme can override everything.<\/li>\n<li><strong>Density:<\/strong> normal or compact (great for a front-page box).<\/li>\n<li><strong>Filtering:<\/strong> by named series, free text search and\/or Golfbox category IDs.<\/li>\n<li><strong>Deep link per tournament<\/strong> to the Golfbox calendar.<\/li>\n<li><strong>Template override:<\/strong> developers can copy the layout files into the theme and override the markup completely, and use filters.<\/li>\n<li>Its own settings page, shortcode and template tag. No editing of <code>functions.php<\/code> required.<\/li>\n<\/ul>\n\n<h4>Shortcode<\/h4>\n\n<p>Basic usage:<\/p>\n\n<pre><code>[gudjons_turneringer limit=\"50\"]\n<\/code><\/pre>\n\n<p>Examples:<\/p>\n\n<ul>\n<li>Table: <code>[gudjons_turneringer layout=\"table\" fields=\"date,time,name,venue,badge\"]<\/code><\/li>\n<li>Cards: <code>[gudjons_turneringer layout=\"cards\" limit=\"6\"]<\/code><\/li>\n<li>Front-page box: <code>[gudjons_turneringer density=\"compact\" limit=\"5\" all_url=\"\/turneringer\/\"]<\/code><\/li>\n<li>Custom color: <code>[gudjons_turneringer accent=\"#0a3d2a\" tint=\"#e6f4ea\"]<\/code><\/li>\n<li>A series: <code>[gudjons_turneringer series=\"torsdagsduellen\"]<\/code><\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>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.<\/p>\n\n<ul>\n<li><strong>Service:<\/strong> Golfbox (scores.golfbox.dk), provided by Golfbox A\/S.<\/li>\n<li><strong>What is sent and when:<\/strong> On front-end page views that render a tournament list, the plugin makes a server-side request to <code>https:\/\/scores.golfbox.dk\/Handlers\/ScheduleHandler\/GetSchedule\/...<\/code>. The request URL contains the club's <strong>customerID<\/strong>, the <strong>season<\/strong> (year) and a <strong>language ID<\/strong> that you configure. No personal data about your site visitors is sent. Responses are cached with WordPress Transients to limit the number of requests.<\/li>\n<li><strong>Deep links<\/strong> from each tournament point to the club's own Golfbox calendar page.<\/li>\n<li>Golfbox terms of service: https:\/\/www.golfbox.no\/<\/li>\n<li>Golfbox privacy policy: https:\/\/www.golfbox.no\/<\/li>\n<\/ul>\n\n<p>If you do not configure a customerID, the plugin makes no external requests.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>wp-content\/plugins\/<\/code>, or install the ZIP via <strong>Plugins &gt; Add New &gt; Upload<\/strong>.<\/li>\n<li>Activate <strong>Gudjons Turneringer for Golfbox<\/strong> under <strong>Plugins<\/strong>.<\/li>\n<li>Open <strong>Gudjons Turneringer for Golfbox<\/strong> in the admin menu and set at least the club's <strong>customerID<\/strong>.<\/li>\n<li>Place <code>[gudjons_turneringer]<\/code> on a page, or use one of the variants above.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20do%20i%20find%20the%20club%27s%20customerid%3F\"><h3>Where do I find the club's customerID?<\/h3><\/dt>\n<dd><p>It is part of the club's Golfbox setup, and is often visible in the URL of the club's Golfbox calendar. Contact your club administrator or Golfbox\/NGF if you are unsure.<\/p><\/dd>\n<dt id=\"can%20i%20control%20which%20fields%20are%20shown%3F\"><h3>Can I control which fields are shown?<\/h3><\/dt>\n<dd><p>Yes. On the settings page you can tick fields on or off, and in the shortcode you can set the order with <code>fields=\"date,name,venue,badge\"<\/code>.<\/p><\/dd>\n<dt id=\"can%20i%20change%20colors%20and%20font%3F\"><h3>Can I change colors and font?<\/h3><\/dt>\n<dd><p>Yes, from the settings page (color pickers and font), or per shortcode with <code>accent<\/code>, <code>accent_soft<\/code>, <code>tint<\/code> and <code>font_heading<\/code>. Everything is built on CSS variables, so your theme can also override <code>.gudjons-turneringer-for-golfbox { --gbt-accent: ... }<\/code>.<\/p><\/dd>\n<dt id=\"can%20i%20override%20the%20html%20itself%3F\"><h3>Can I override the HTML itself?<\/h3><\/dt>\n<dd><p>Yes. Copy one of the files in the plugin's <code>templates\/<\/code> folder (for example <code>list.php<\/code>, <code>table.php<\/code>, <code>cards.php<\/code>) into <code>your-theme\/gudjons-turneringer-for-golfbox\/<\/code> and edit it there. There are also filters such as <code>golfbox_turneringer_entry<\/code>, <code>golfbox_turneringer_entry_fields<\/code> and <code>golfbox_turneringer_render_args<\/code>.<\/p><\/dd>\n<dt id=\"how%20often%20is%20the%20data%20updated%3F\"><h3>How often is the data updated?<\/h3><\/dt>\n<dd><p>It is cached for the number of seconds set by \"Cache time\" (default 30 minutes). The cache is cleared when you save the settings.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.1.2<\/h4>\n\n<ul>\n<li>Fixed: cards layout - the status badge could overlap the start time on multi-day tournaments; the card header now wraps cleanly.<\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>Changed: renamed the plugin to \"Gudjons Turneringer for Golfbox\" and the shortcode to <code>[gudjons_turneringer]<\/code> to clearly mark it as a third-party integration (no affiliation with Golfbox).<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>New: three layouts - list, table and cards (<code>layout=\"list|table|cards\"<\/code>).<\/li>\n<li>New: field and column selection (<code>fields=\"...\"<\/code>) and choices in the admin.<\/li>\n<li>New: theming with CSS variables - accent color, soft accent, tint color and heading font (admin + shortcode).<\/li>\n<li>New: template override from the theme, and the filters <code>golfbox_turneringer_entry<\/code>, <code>golfbox_turneringer_entry_fields<\/code>, <code>golfbox_turneringer_render_args<\/code>.<\/li>\n<li>New: time as a selectable field.<\/li>\n<li>Changed: <code>variant=\"compact\"<\/code> is now <code>density=\"compact\"<\/code> (the old <code>variant<\/code> still works).<\/li>\n<li>Improved: full internationalization (i18n), text domain and translation template.<\/li>\n<li>Improved: admin script and style are loaded as separate files (no inline script\/style).<\/li>\n<li>Fixed: robust date handling and an early return when customerID is not set.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>List and compact view, filtering by series\/text\/category, deep link, caching and a settings page.<\/li>\n<\/ul>","raw_excerpt":"Show a golf club&#039;s upcoming tournaments from Golfbox in WordPress as a list, table or cards, with field and color options via shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/333092","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=333092"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/gudjon"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=333092"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=333092"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=333092"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=333092"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=333092"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=333092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}