Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve display of Player to show Results and Attendance history #8

Closed
bobbingwide opened this issue Feb 22, 2019 · 4 comments
Closed
Assignees

Comments

@bobbingwide
Copy link
Owner

The Player post currently displays any description and [bw_fields].
We would also like:
Roll of Honour: where the result was Winner, Runner up, Third
Then NTPs and other awards.
Can we get away with [bw_related post_type=result] ?

Plus Event history showing the Competitions the player was registered for.
For past comps this needs to be ordered by Event date desc.

@bobbingwide
Copy link
Owner Author

bobbingwide commented Feb 22, 2019

Any easy fix for displaying Results is to extend bw_fields to automatically set a value for meta_value if it’s not set but meta_key is. Or change bw_related to support table display. Then we can think about a block. This could also probably also be used for displaying events.

An even easier fix is to implement bobbingwide/oik-fields#6

@bobbingwide bobbingwide changed the title Improve display of Player to show Roll of Honour and Event history Improve display of Player to show Results and Attendance history Feb 22, 2019
@bobbingwide
Copy link
Owner Author

I'm going to implement Results and Attendance first,
I'll reconsider Roll of Honour in the future.

@bobbingwide
Copy link
Owner Author

I've implemented a solution for Results which shows the count of each result then the details, in 3 sections:

  1. Results: Winner, Runner up, Third
  2. Birdies or better: Hole-in-one, Eagle, Birdies
  3. Other: NTP, NTP in two, Longest drive, Miscellaneous

Attendance uses the same shortcode with posts_per_page=20.

@bobbingwide
Copy link
Owner Author

Now implemented on v0.3.0 on anchorgolf.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant