We need to finish some details of a web site created in WordPress + Advanced Custom Fields Pro + wp-types Toolset.
Good knowledge of ACF and Toolset is required as the API of these should be used.
Some functions should be programmed to show some data collected from the custom fields. There are several little things to do.
They are two web sites that are almost the same (one is a clone of the other with some slight modifications) because of the variants of the game. These are 2 golf game scores web sites.
Leagues are custom post types, which have a custom field for the players as a an ACF repeater field. Each player line of the repeater field has some personal details, a handicap value, 10 fields for scores values (one for each game played) and the total field.
1- In one site there is a page to make, with a summary of the 150 best players (because there are 150 leagues, so the best player of each league should be picked up and displayed in a listing page, similar to the page following point).
2- There is a page for each playing zone that already displays the 5 best ranked players. Each box of 5 players should have the same height as the other boxes. It could be done with jQuery if needed.
3- There is a map in the home page (jpg) with the different zones where the games are played. In there it should appear the player with the best score from all the leagues. In a floating layer somewhere.
4- Create a function to show the total number of players in the page header (top left), so it will be visible site wide.
5- Fix Google map not showing when creating and editing a league. If the window is resized, then the map shows. The create and edit forms are in a hidden layer that is made visible by the press of a button. That field is made with the Toolset Map plugin. For now there's no interaction to force reload and center of the map (developers said so), so maybe just by adding a 1 px window resize after animation completes (jQuery slideDown() animation) should solve the problem.
6- In the League page (it's a content template made with Toolset) it's loaded the league details and the list of all the players, ordered by the total score of each player. Higher values at the top. The problem comes when there is a tie: more than one player with the same total score.
The tie-breaker is another field called handicap that should be taken into account when there are players with the same total score.
There are 3 different classifications for the leagues: Masculine, Feminine and Scratch (combination of the players of both the 2 previous ones). There are also 5 categories for each classification based on the age of the players. So each geographical place has 15 leagues and there are 10 geographical places.
To define the order of the players listed when there are players with the same score:
Scratch leagues ratings use the following rule: First place should be for the player with the highest handicap value (for the players with the same total score).
Masculine and feminine leagues ratings use the following rule: First place should be for the player with the lowest handicap value (for the players with the same total score).
This rules are to be applied in the 2 summary pages (points 1 and 2) and in the league page too, so the players are ordered correctly. Right now the players listing is using a View from Toolset. It should be changed to a custom function.
7- Some Spanish notions are recommended, but not required, because this site is in Spanish.
Site B (English site):
1- Create a function to show the total number of players in the page header, so it will appear site wide. The same function from site A will work. So it's just copy, paste and change ACF custom field ID to load data from.
2- Apply step 5 from previous site to this one too.
Site B is more urgent, so this should be the first one to fix.
Approximate budget for this is around 120€. Not much work to do, but it should be completed in 24h.
More details by chat