[Plugin: WP Calendar] Template shortcodes?
-
I see in the instructions that you can add a calendar to a post using the post tag {events_calendar}. However, I was wondering if there is a way to add a calendar to a template page. I tried:
echo do_shortcode('[events_calendar]');
This didn’t work.
I’m looking for a way to specify a category depending on a querystring variable. If I pass ?market=NY, I want to be able to display a calendar with only NY events in it. Ideally, it would work be doing the shortcode, as in:
echo do_shortcode('[events_calendar categories="11"]');
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: WP Calendar] Template shortcodes?’ is closed to new replies.