Three features + patches

Support for the WordPress Calendar plugin
tammojan
Posts: 1
Joined: Mon Feb 01, 2016 8:48 pm

Three features + patches

Unread post by tammojan » Mon Feb 01, 2016 9:16 pm

I have altered your plugin slightly in three respects. Would you consider adding these additions in the official version?

CSS hooks for the * and the time, so that they can be styled (or hidden) individually. I wanted to show the calendar days with display=block and the * prevented me to do this. Also, I wanted to hide the text all day because all my events happen to be all day. http://www.tammo80.nl/files/css-hooks.patch

Determine FG colors based on background: for dark category colors, it would be better to render the text in white rather than the default color. Adding this to the database is probably a hassle, and it's quite easy to determine the 'best' foreground color to maximize contrast with the background color. http://www.tammo80.nl/files/contrast.patch

Use category colors in the minical. Does what it says. For multiple events on a day, the color of the first one is used. This uses the contrast patch above. http://www.tammo80.nl/files/color-minical.patch

User avatar
Kieran
Posts: 2057
Joined: Sat May 26, 2007 1:55 pm
Location: London
Contact:

Re: Three features + patches

Unread post by Kieran » Sun Feb 18, 2018 8:46 pm

Thank you for these, I'll look into them for the next release - I suspect that 1.3.10 already has the first one or a variant thereof, but will look at them all anyway. Thanks.

User avatar
SteveSeidel
Posts: 1
Joined: Tue Feb 26, 2019 10:34 am

Re: Three features + patches

Unread post by SteveSeidel » Tue Feb 26, 2019 10:41 am

Can it be used for Mobile Templates as well? I've been searching for the guides to customize the Template Files and thought there could be a variant of color scheme for color blind users as well.
Thanks.

User avatar
Kieran
Posts: 2057
Joined: Sat May 26, 2007 1:55 pm
Location: London
Contact:

Re: Three features + patches

Unread post by Kieran » Sun Mar 03, 2019 5:41 pm

The contrast elements might help for colour blind users, but it may not cover every eventuality. Try it and see is all I can suggest. This has reminded me however to try and get these into the main release!

Post Reply