• I need to add display of the date of publication of calendar entry, I tried using simple WP functions in theme, but that’s a date of the template for the entry, not the entry itself. Similar situation was with using custom shortcode in entry template.

    Can I create custom templates that have calendar entry ID or is there a function of some kind where I can get current details entry ID to pass to get_the_date function?

Viewing 1 replies (of 1 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    Have to be honest, nobody has ever asked for that before; and it’s not currently part of the templated data. You could certainly create a custom piece of data, though.

    You’d want to use the filter mc_filter_shortcodes; the post ID is at $e->event_post, and you can request any necessary post data there.

Viewing 1 replies (of 1 total)
  • The topic ‘custom shortcode (date added/modified)’ is closed to new replies.