Creating a variable from scheduled post publish

Background:
For announcements made in our community, we want them to be posted in an internal category for a week before going to respective public category. We’re accomplishing this by scheduling the post, but I would love to surface that publish date more.

We could do this adjusting the published text at the bottom…

BUT! I would love to surface this even further to utilize the calendar/sidebar component like this:

To make it easier on the people who will be creating the announcements, I would love if we could create a variable that recognizes the scheduled date and auto-populates the text in this event object (we’re going to hide the event object with the following text).

[wrap="hidden"]
[event start="2025-02-18 12:00" status="standalone" timezone="America/New_York" minimal="true"]
[/event]
[/wrap]

Does anyone know how to connect these two aspects or repurpose the sidebar to detect the publish date?

1 Like