Ron Amick
Forum Replies Created
-
Thanks so much, Jonathan. I had not checked my own past work deeply enough, but your note got me looking at Elements for snippets. I had implemented the awesome Template Tags code (by Taylor Drayson) and then failed to update it with any new versions Taylor came out with since 15nov2023 (my bad). Disabling this brought Pie Calendar a bit closer to normalcy: a new event with a future date now shows up on the Events page.
The Template Tags implementation for single events that had worked in the past was this:
WHEN:
WHERE:
WHAT:
{{field.date-start}} at {{field.start-time}}
{{field.venue}}
{{field.event-description}}But . . . the error persists in WP admin, with or without dates and times set, blocking ability to Publish a new event (also a new post). I can save as a draft, exit the editor, and successfully use Quick Edit to change status to Publish — a workaround.
Two other possible culprits besides Template Tags: 1) my client’s Bluehost shared hosting, which regrettably is still using the now ancient MySQL server 5.x. Despite many hours pleading and cajoling, Bluehost has not upgraded its servers to MySQL 8.x as WordPress and all of my professional colleagues recommend. Argggh!
And, 2), my ACF setup for Custom Post Type I see has a “Calendar” section in the CPT definition, Advanced area, with four fields: “Post Is Event” and “All Day Event” (checkboxes, both cleared as of now) plus two date fields: Start Date (and time), End Date (and time). Could it be that I should be ticking the two checkboxes?
— R o n