• Resolved ddas

    (@ddas)


    Can anyone help with me figuring out shortcodes to create notifications containing data from The Events Calendar’s events?

    Permalink, post title, post name, and post slug seem to work out-of-the-box just fine.

    Post category doesn’t work (it just returns nothing), and I’d love to be able to retrieve the event start and end dates and times. Has anyone figured this out?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bnfw

    (@voltronik)

    Hi @ddas,
    Thanks for your message.

    If you’re able to determine what taxonomy the events are in, then you should be able to use this shortcode with the associated taxonomy to output the relevant terms (categories) of the event:
    [post_term taxonomy="TAXONOMY_NAME"]

    Additionally, if the event start and end dates and timings are stored as custom fields on the event post, then you should be able to use the Custom Fields add-on to output this in your notifications, but I’d recommend looking at the database first to determine this.

    Let me know if this helps.

    Plugin Author bnfw

    (@voltronik)

    Closing due to inactivity. If you need further help with this, please feel free to re-open this thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shortcodes for Event Calendar events?’ is closed to new replies.