function “display_event_banner” does not support alt text well
-
First of all, this plugin is the WORST. They’ve closed their support. You can’t reach them as a paying customer except through, possibly, this support forum here. I cannot recommend this plugin EVER. Do not buy it. It’s a waste of your time and money.
Their function for displaying a single image banner (“display_event_banner”) has an issue where if you don’t have an organizer, no alt text of any kind appears. Rather than making use of the built-in attachment functions (e.g. wp_get_attachment_image), and the respective meta data (like ALT text data), they’ve rolled their own, and it sucks.
For all single-image versions of the banner image, their function calls for an organizer to fill in the alt data:
alt="' . esc_attr(get_organizer_name($post)) . '"
Of course, if you have no organizer for an event (and this is OFTEN the case), there is no fallback mechanism. None of this would be an issue, if they just used the built-in functions.
God I hate this plugin so much.
- The topic ‘function “display_event_banner” does not support alt text well’ is closed to new replies.