Simple functionality plugin that thru shortcodes allows you to show which ages bellongs in which groups.
Agegroups in danish swimming changes once every year so this little plugin simply automatically changes which ages bellongs in which groups so I don't have to update manually.
It can be seen in action here: http://www.svommeklubbennord.dk/konkurrenceafdeling/klubrekorder/ and on it's subpages
Download it, upload it and activate it!
The shortcode to insert looks like this:
[agegroup group=junior gender=female]
options:
group=aargang2 - choices: 'aargang2', 'aargang1', 'junior' or 'senior'
gender=female - choices: 'female' or 'male'
I'm self-taught by scattering code across the web, so if you see some bad practices PLEASE contact me, so I can learn from the mistakes I'm making!
Also feel free to contact me if you have som great ideas for improvements.
Credits would be nice, but feel free to use as often as you like.