Hey guys. I’m diggin’ the plugin. While I’ve been working with it, I’ve felt the need to be able to pull in some kind of short event description or the excerpt from the event when pulling in a list view with a shortcode. After a little playing around, I stumbled across a pretty easy way to accomplish it.
Around line 148 in class-shortcodes.php, if you add something like:
$data['DESC'] = get_the_excerpt( $post->ID );
you can use “%DESC%” in your shortcode arguments to pull in the excerpt for the event (which is essentially a post or a blog post anyway). Just thought I’d share in case anybody else was looking for this functionality.
But of course, now I’ve essentially guaranteed that I can’t update the plugin, but regardless, it might be something to include in future releases?
- The topic ‘[Plugin: FT Calendar] Pull in an event's excerpt (suggestion and simple solution)’ is closed to new replies.