Thread Starter
jod
(@jod)
Extra info:
Same result when I remove all other options as startdate, limitdays, pastdays and location. :/
This appears to be a glitch with feedlabel on the week view. Try it without that parameter and let me know if the calendar appears for you. If so, I’ll dig into what’s wrong with feedlabel. If removing it doesn’t cause the calendar to appear for you, then it must be something else and I’ll need to ask some follow-up questions. (Also, just to be sureβ¦ there are a bunch of smart quotes in the example code you pasted in, but I assume the forum did that conversion. Just be sure your actual shortcode is using straight quotes.)
I’ve identified the source of this issue. A fix is on its way out now in version 5.8.0.3.
The problem has to do with the nature of the :first-of-type CSS selector. I always forget that type is just the HTML tag and not the specific CSS class, even if that’s how you define it. The color key uses a <div> tag, as does the wrapper for the calendar, so when the color key was present, the calendar didn’t appear. (This seems to only be affecting week view because of some other logic that is specific to that view.)
I’ve worked around this issue by changing all of the wrappers for the calendars to use <article> tags instead.
Note: None of the CSS or JavaScript within the plugin itself specifically identifies the HTML tag these classes use, but any custom CSS or JavaScript sites may have added that do identify the HTML tag will need to be changed from div. to article. to continue functioning properly.