The Events Calendar and me

I have been trying to figure out an easy way to list upcoming events on the homepage of a web site using The Events Calendar. I won’t say I’ve been pulling my hair out over it, but close.

For such a great plugin, it is strange to me why the makers of this don’t include what I consider very basic functionality: insert a list of upcoming events using a simple wordpress shortcode.

I am not new to WordPress. I am not a full-fledged coder/programmer. This took way longer than it should have. Here’s what I’m doing:

This was the start of my solution. I initially thought I would find a way to add a sidebar with a short code. Then, I could just use The Events Calendar sidebar widget. What I found enabled me to skip a step, and just insert a sidebar widget anywhere with a short code.

http://stackoverflow.com/questions/18506146/how-to-add-a-widget-by-its-shortcode-on-wordpress-posts-pages

http://digwp.com/2010/04/call-widget-with-shortcode/

Some CSS styling and we are off.

In general, I try to avoid solving problems with plugins. I think this does it for me for now.

If you aren’t familiar with a theme’s functions.php file, read this:

http://justintadlock.com/archives/2010/12/30/wordpress-theme-function-files