Beskrywing
Golf Handicap & Slope is a WordPress plugin that allows golf clubs to offer a useful course handicap calculator and complete handicap tables on their websites.
The plugin uses the official formula from the World Handicap System (WHS) to calculate course handicap:
Course Handicap = (Handicap Index × Slope Rating ÷ 113) + (Course Rating – Par)
Main Features
- Course Handicap Calculator – Allows users to easily calculate their course handicap by selecting a tee and entering their handicap index.
- Handicap Tables – Displays complete tables with course handicaps for all handicap indexes for each tee.
- Simple Admin Interface – Add, edit, and organize tees with a user-friendly administration interface.
- Customizable Design – Customize colors and appearance to match your WordPress site.
- Responsive Design – Works perfectly on all devices, from desktop to mobile.
- Simple Shortcodes – Use simple shortcodes to display the calculator and tables anywhere on your website.
- Multilingual Support – The plugin is translated into English, Norwegian, and Icelandic, and can be translated into more languages.
Shortcodes
[golfhs_calculator]
– Displays the course handicap calculator[golfhs_tables]
– Displays tables with course handicap for all tees[golfhs_tables tees="1,2,3"]
– Displays tables for specific tees (specify IDs)
More Information and Demo
Visit slope.no for more information and a live demo of the plugin. An English version is also available at slope.no/en.
Installation
- Download and install the plugin via the WordPress dashboard or by uploading the files manually to the plugins folder.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to “Golf Handicap & Slope” > “Tee Management” to add tees.
- Configure tees for your golf course with Slope Rating, Course Rating, and Par.
- Go to “Golf Handicap & Slope” > “Settings” to customize the appearance.
- Use shortcodes to display the calculator and tables on your website:
[golfhs_calculator]
– Displays the course handicap calculator[golfhs_tables]
– Displays tables with course handicap for all tees[golfhs_tables tees="1,2,3"]
– Displays tables for specific tees (specify IDs)
Kwel-vrae
-
Is the plugin compatible with my WordPress version?
-
Golf Handicap & Slope requires WordPress 5.6 or newer and PHP 7.0 or newer.
-
Can I customize the appearance to match my website?
-
Yes, you can choose to use theme colors or define your own colors in the settings.
-
How many tees can I add?
-
There is no limit to the number of tees you can add.
-
Does the plugin follow the World Handicap System (WHS)?
-
Yes, the plugin uses the official formula from WHS to calculate course handicap.
-
Can I display only selected tees in the tables?
-
Yes, you can use the shortcode [golfhs_tables tees=”1,2,3″] to display only specific tees.
-
Is the plugin translated into other languages?
-
Yes, the plugin is now available in English, Norwegian, and Icelandic. It automatically follows the WordPress language, as long as it is translated. If you would like to contribute with translations to other languages, please contact the plugin author.
Aanbevelings
There are no reviews for this plugin.
Contributors & Developers
“Golf Handicap & Slope” is oopbron sagteware. Die volgende mense het bygedra tot die ontwikkeling van hierdie uitbreiding:
ContributorsTranslate “Golf Handicap & Slope” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
2.1.5
- Fixed: Added missing translations for calculator labels (“Your handicap”, “Which tee?”, “Course handicap:”)
2.1.4
- Fixed: Norwegian translation not loading – restored load_plugin_textdomain() function
2.1.3
- Fixed: Removed all inline CSS styles and style blocks per WordPress.org coding standards
- Fixed: Properly enqueued all CSS using wp_enqueue_style()
- Fixed: Dynamic colors now injected via wp_add_inline_style()
- Improved: All styles moved to external CSS file golf-handicap-slope-frontend.css
- Improved: Updated element IDs in calculator template to match JavaScript expectations
- Improved: Added CSS classes to replace inline display:none attributes
- Improved: Full compliance with WordPress coding standards (PHPCS clean)
2.1.2
- Fixed: Properly escaped all wp_add_inline_style() calls for security compliance
- Fixed: Removed unnecessary load_plugin_textdomain() call as per WordPress 4.6+ guidelines
- Fixed: Renamed JavaScript objects to use golfhs_ prefix for better namespace compliance
- Fixed: Calculator display bug showing incorrect allocated strokes
- Improved: Mobile responsive layout – input fields now stack vertically on small screens
- Removed: All debug console.log statements for production readiness
- Updated: Contributors list to comply with WordPress.org requirements
2.1.1
- Added translations for all texts in admin and frontend
- Improved mobile view for tables – always one column on mobile devices
- Updated plugin name from “WP Slopekalkulator” to “Golf Handicap & Slope”
- Improved responsive design
- Added support for theme colors
- Various bug fixes and performance improvements
2.0.0
- New feature: Customizable colors
- Improved administration interface
- Added drag-and-drop for tee ordering
- New feature: Adjustable number of columns for table display
- Improved formula for course handicap according to WHS
- Added support for plus handicaps
1.0.0
- First public version
- Basic course handicap calculator
- Display of handicap tables
- Management of tees