Support » Plugin: The Events Calendar Shortcode & Block » option to show new event-status canceled or postponed

  • Hi,
    is it possible to show event status set by new extension of the events calendar?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Brian Hogg

    (@brianhogg)

    Hi @rkwp!

    Do you have a link to the extension, or where it can be found when editing an event? I have heard of it but not seeing any indication of an extension on Modern Tribe’s plugin list, or in a blog post / changelog announcing the feature.

    If it’s in the event meta of The Events Calendar it should show up for Google to see automatically, at least.

    Hi Brian,

    here is the link:
    Event Statuses

    • This reply was modified 9 months, 1 week ago by rkwp.
    Plugin Author Brian Hogg

    (@brianhogg)

    Hi @rkwp ,

    Sorry for the delay in replying and thanks for the link!

    I’ll see if I can get this added into the plugin as an option, just touching base with Modern Tribe (the makers of The Events Calendar) to see if this extension might be included in core soon. If so it would be best to wait a bit in case the way the data is stored or retrieved might be changed up slightly.

    In the meantime it is possible to customize either using hooks/filters (PHP code) in the free version, or else customizing one of the templates in the pro version, ie. the default template:

    https://eventcalendarnewsletter.com/events-calendar-shortcode-pro-options/#customize-default

    and put the status where needed. Looks like it’s stored as _tribe_events_control_status so adding something like:

    <?php echo get_post_meta( get_the_ID(), '_tribe_events_control_status', true ); ?>

    where you want to output ‘postponed’ or ‘cancelled’ should do the trick!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘option to show new event-status canceled or postponed’ is closed to new replies.